repo.or.cz
/
webkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[CSS container Queries] Include container queries in RuleSets
[webkit.git]
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
css
/
css-contain
/
contain-body-w-m-004-expected.html
blob
3341816e2b01433d8b24acc5cbd05a915c2c2736
1
<!doctype
html
>
2
<html
lang=en
>
3
<meta
charset=utf-
8
>
4
<title>
CSS-contain test reference
</title>
5
<link
rel
=
"author"
title
=
"Florian Rivoal"
href
=
"https://florian.rivoal.net"
>
6
7
<style>
8
html::before {
9
content:
""
;
10
width:
100
px;
11
height:
100
px;
12
background: orange;
13
display: block;
14
}
15
body { margin:
0
; }
16
p {
17
margin:
0
;
18
width:
200
px;
19
height:
200
px;
20
}
21
</style>
22
23
<p>
Test passes if the orange square is in the upper-left corner.