DescriptionPseudo elements may only appear in rightmost compound.
Pseudo elements are appended to an originating element as defined in
Selectors Level 4 and may only be followed by user action pseudo
classes. That means it also must appear in the rightmost compound. We
drop selectors as invalid when trying to add a compound when we have
already seen a pseudo element in a previous compound.
There are expections to this for Blink, where we implement ::content
and ::shadow to pierce through insertion points and shadow boundaries
as pseudo elements. Another exception is for custom pseudo elements in
UA stylesheets, as we rely on exposing inner shadow structure to style
media controls and VTT track regions (crbug.com/578131).
R=timloh@chromium.org
BUG=489481
Committed: https://crrev.com/c8fd6bd1740b6dca0fdca3a8c0171a4206e73a16
Cr-Commit-Position: refs/heads/master@{#370088}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Start counting from 0. #
Messages
Total messages: 14 (5 generated)
|