https://bugzilla.wikimedia.org/show_bug.cgi?id=43098
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal Status|NEW |ASSIGNED Web browser|Firefox |--- Assignee|[email protected] |[email protected] Summary|Aliens with z-index |VisualEditor: Elements |elements look real funny |nested inside Aliens with | |z-index appear on top of | |the zebra pattern --- Comment #2 from Krinkle <[email protected]> --- The following CSS rule exists: > .ve-ce-alienBlockNode, .ve-ce-alienInlineNode, > .ve-ce-alienBlockNode *, .ve-ce-alienInlineNode * { > position: relative !important; > top: 0 !important; > left: 0 !important; > bottom: 0 !important; > right: 0 !important; > } They have position relative, so the z-index within is relative and constraint within the alien. However that isn't the case. This is because the top node (alienBlockNode, not alienBlockNode *) needs z-index: 0; to complete this feature. It is the combination of z-index: 0; and position: relative; that makes it work. It was presumably forgotten because it needs to be on a separate rule (not inside the one above, since that would set z-index: 0; on all blocks, thus destroying the order of elements within the alien). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
