mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d
This commit is contained in:
parent
85fa6409bb
commit
c227604a2c
997 changed files with 45660 additions and 14650 deletions
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Reference: a square with a green bar</title>
|
||||
<link rel="author" title="Rachel Andrew" href="mailto:me@rachelandrew.co.uk" />
|
||||
<style>
|
||||
#grid {
|
||||
width:200px;
|
||||
height: 180px;
|
||||
background-color: green;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#grid > div {
|
||||
background-color: silver;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#grid :nth-child(1) {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#grid :nth-child(2) {
|
||||
top: 0;
|
||||
left: 110px;
|
||||
}
|
||||
|
||||
#grid :nth-child(3) {
|
||||
top: 90px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#grid :nth-child(4) {
|
||||
top: 90px;
|
||||
left: 110px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="grid">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Reference: a square with a green cross</title>
|
||||
<link rel="author" title="Rachel Andrew" href="mailto:me@rachelandrew.co.uk" />
|
||||
<style>
|
||||
#grid {
|
||||
width:200px;
|
||||
height: 220px;
|
||||
background-color: green;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#grid > div {
|
||||
background-color: silver;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#grid :nth-child(1) {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#grid :nth-child(2) {
|
||||
top: 0;
|
||||
left: 110px;
|
||||
}
|
||||
|
||||
#grid :nth-child(3) {
|
||||
top: 130px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#grid :nth-child(4) {
|
||||
top: 130px;
|
||||
left: 110px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="grid">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Reference: a square with a green cross</title>
|
||||
<link rel="author" title="Rachel Andrew" href="mailto:me@rachelandrew.co.uk" />
|
||||
<style>
|
||||
#grid {
|
||||
width:200px;
|
||||
height: 200px;
|
||||
background-color: green;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#grid > div {
|
||||
background-color: silver;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#grid :nth-child(1) {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#grid :nth-child(2) {
|
||||
top: 0;
|
||||
left: 110px;
|
||||
}
|
||||
|
||||
#grid :nth-child(3) {
|
||||
top: 110px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#grid :nth-child(4) {
|
||||
top: 110px;
|
||||
left: 110px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="grid">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue