1
0
Fork 0
firefox/testing/web-platform/tests/html/semantics/permission-element/pseudo-elements-in-div.tentative.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

31 lines
No EOL
923 B
HTML

<!DOCTYPE html>
<meta charset=utf-8>
<link rel="match" href="pseudo-elements-in-div-ref.html">
<link rel="help" href="https://github.com/WICG/PEPC/blob/main/explainer.md#locking-the-pepc-style">
<link rel="help" href="https://crbug.com/342355738">
<body>
<div>
The permission element should not create any pseudo elements.
</div>
<style>
/* The space (descendent combinator) is necessary to apply this CSS to children of .outer */
.outer ::before {
content: 'BEFORE';
}
.outer ::after {
content: 'AFTER';
}
</style>
<p>Should only see BEFOREAFTER once below</p>
<!-- Apply the ::before/::after to descendants of the .outer div. The empty inner div
simulates a quirk scenario discovered in chromium, but the expectation should match
all implementation. -->
<div class="outer">
<div></div>
<permission type="camera"></permission>
</div>
</body>
</html>