Bug 1847397 - Check no post barrier needed when eliding it in UpdateRegExpStatics...
[gecko.git] / layout / reftests / generated-content / generated-content-inherit-001.html
blob67b9f242df27c05f0d352c5c5a03522fab1e7c9c
1 <!doctype html>
2 <meta charset="utf-8">
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">
9 <!--
10 TODO(emilio): upstream this to WPT once
11 https://github.com/w3c/csswg-drafts/issues/1757 is resolved
12 -->
13 <style>
14 .first::before, .second::after {
15 content: inherit;
17 </style>
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>