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

bzimport set Reference to bz52499.
Esanders created this task.Via LegacyAug 3 2013, 11:32 AM
gerritbot added a comment.Via ConduitMay 1 2014, 12:36 PM

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

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

Krinkle added a comment.Via ConduitMay 1 2014, 3:48 PM

Created attachment 15263
Screenshot of problem and patched version

Attached:

gerritbot added a comment.Via ConduitMay 1 2014, 3:48 PM

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

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

Add Comment