1
0
Fork 0
firefox/testing/web-platform/tests/css/css-cascade/layer-stylesheet-sharing-important.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

18 lines
No EOL
653 B
HTML

<!doctype html>
<title>Test important style in anonymous layers with stylesheet sharing</title>
<link rel="help" href="https://drafts.csswg.org/css-cascade-5/#layering">
<link rel="author" href="mailto:xiaochengh@chromium.org">
<link rel="match" href="layer-stylesheet-sharing-ref.html">
<style>
target {
display: block;
width: 100px;
height: 100px;
}
</style>
<link rel=stylesheet href="data:text/css,@layer{target{background-color:green !important}}">
<style>
@layer A { target { background-color: red !important} }
</style>
<link rel=stylesheet href="data:text/css,@layer{target{background-color:green !important}}">
<target></target>