Skip to content

Commit d0f08fd

Browse files
committed
[css-pseudo] Make all tree-abiding pseudos inherit from their originating element. Fixes #1646.
1 parent a504848 commit d0f08fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-pseudo/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,9 @@ Security and Privacy Considerations</h3>
634634
Tree-Abiding Pseudo-elements</h2>
635635

636636
These pseudo-elements always fit within the box tree.
637+
They <a lt="inheritance">inherit</a> any inheritable properties from their <a>originating element</a>;
638+
non-inheritable properties take their <a>initial values</a> as usual.
639+
[[CSS3CASCADE]]
637640

638641
<h3 id="generated-content">
639642
Generated Content Pseudo-elements: ''::before'' and ''::after''</h3>
@@ -642,9 +645,6 @@ Generated Content Pseudo-elements: ''::before'' and ''::after''</h3>
642645
these pseudo-elements generate boxes
643646
as if they were immediate children of their <a>originating element</a>,
644647
and can be styled exactly like any normal document-sourced element in the document tree.
645-
They <a lt="inheritance">inherit</a> any inheritable properties from their <a>originating element</a>;
646-
non-inheritable properties take their <a>initial values</a> as usual.
647-
[[CSS3CASCADE]]
648648

649649
<dl>
650650
<dt><dfn>::before</dfn>

0 commit comments

Comments
 (0)