mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 9064a51d4e4c177bf4b629031c3ac8010c910132
This commit is contained in:
parent
026dc7485f
commit
0eedd13bef
215 changed files with 1862 additions and 897 deletions
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Reference: Aligning grid items using 'auto' margins</title>
|
||||
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
|
||||
<style>
|
||||
#grid {
|
||||
display: grid;
|
||||
position: relative;
|
||||
background: grey;
|
||||
grid-template-columns: 100px;
|
||||
grid-template-rows: 40% 60%;
|
||||
height: 50vh;
|
||||
width: auto;
|
||||
align-items: center;
|
||||
}
|
||||
#item1 {
|
||||
font: 20px/1 Ahem;
|
||||
color: green;
|
||||
}
|
||||
#item2 {
|
||||
font: 40px/1 Ahem;
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
<p>The test passes if it has the same visual effect as reference.</p>
|
||||
<div id="grid">
|
||||
<div id="item1">XXX</div>
|
||||
<div id="item2">XXXXX</div>
|
||||
</div>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Reference: Aligning grid items using 'auto' margins</title>
|
||||
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
|
||||
<style>
|
||||
#grid {
|
||||
display: grid;
|
||||
position: relative;
|
||||
background: grey;
|
||||
grid-template-columns: 40% 60%;
|
||||
grid-template-rows: 100px;
|
||||
height: 200px;
|
||||
width: auto;
|
||||
justify-items: center;
|
||||
align-items: start;
|
||||
}
|
||||
#item1 {
|
||||
font: 20px/1 Ahem;
|
||||
color: green;
|
||||
}
|
||||
#item2 {
|
||||
font: 40px/1 Ahem;
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
<p>The test passes if it has the same visual effect as reference.</p>
|
||||
<div id="grid">
|
||||
<div id="item1">XXX</div>
|
||||
<div id="item2">XXXXX</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue