blob: 7b3ff4abc6b5f8e4b5b457921ca73e9dda5fc622 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!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>
|