3 <title>CSS Test: ::before and ::after generated with content: inherit
</title>
4 <link rel=
"author" title=
"Emilio Cobos Álvarez" href=
"mailto:emilio@crisal.io">
5 <link rel=
"match" href=
"generated-content-inherit-001-ref.html">
6 <link rel=
"help" href=
"https://drafts.csswg.org/css-pseudo/#generated-content">
7 <meta name=
"flags" content=
"">
8 <meta name=
"assert" content=
"Tests that pseudo-elements are properly generated with content: inherit">
10 TODO(emilio): upstream this to WPT once
11 https://github.com/w3c/csswg-drafts/issues/1757 is resolved
14 .first::before, .second::after {
18 <p>Test passes if you see two PASS lines below:
</p>
19 <div class=
"first" style=
"content: 'PA'">SS
</div>
20 <div class=
"second" style=
"content: 'SS'">PA
</div>