mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Grid Layout Test: grid lines shorthands</title>
|
||||
<link href="mailto:myst.dg@gmail.com" rel="author" title="Leo Deng">
|
||||
<link href="http://www.w3.org/TR/css-grid-1/#grid-line" rel="help">
|
||||
<link href="reference/grid-layout-basic-ref.htm" rel="match">
|
||||
<meta content="the subgrid layout should behave the same as reference." name="assert">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#caseTitle {
|
||||
margin: 10px;
|
||||
height: 40px;
|
||||
}
|
||||
#grid {
|
||||
width: 150px;
|
||||
background: #eee;
|
||||
display: grid;
|
||||
grid-definition-columns: "left" 100px "center" 50px "right";
|
||||
}
|
||||
.a {
|
||||
background: blue;
|
||||
grid-column: "left" / "center";
|
||||
}
|
||||
.b {
|
||||
background: yellow;
|
||||
grid-column: "center" / "right";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p id="caseTitle">The test passes if it has the same visual effect as reference.</p>
|
||||
<div id="grid">
|
||||
<div class="a"> </div>
|
||||
<div class="b"> </div>
|
||||
</div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue