Page MenuHomePhabricator

VisualEditor: Protected node css with * selector breaks some template layouts
Closed, ResolvedPublic

Description

Specifically [[Template:Football kit]] which was created in 2004 by some young genius.

The rules which cause problems are:

.ve-ce-protectedNode * {
position: relative !important;
top: 0 !important;
left: 0 !important;
bottom: 0 !important;
right: 0 !important;
...
}

in ve.ce.Node.css


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=61497

Details

Reference
bz52499

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:49 AM
bzimport set Reference to bz52499.

Change 130823 had a related patch set uploaded by Esanders:
Remove '*' selector for protected nodes

https://gerrit.wikimedia.org/r/130823

Created attachment 15263
Screenshot of problem and patched version

Attached:

Screen_Shot_2014-05-01_at_17.47.28.png (1×1 px, 392 KB)

Change 130823 merged by jenkins-bot:
Remove '*' selector for protected nodes

https://gerrit.wikimedia.org/r/130823