Skip to content

Commit

Permalink
[css-pseudo] Make all tree-abiding pseudos inherit from their origina…
Browse files Browse the repository at this point in the history
…ting element. Fixes #1646.
  • Loading branch information
tabatkins committed Jul 26, 2017
1 parent a504848 commit d0f08fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions css-pseudo/Overview.bs
Expand Up @@ -634,6 +634,9 @@ Security and Privacy Considerations</h3>
Tree-Abiding Pseudo-elements</h2>

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

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

<dl>
<dt><dfn>::before</dfn>
Expand Down

0 comments on commit d0f08fd

Please sign in to comment.