mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6
This commit is contained in:
parent
40c52d55e2
commit
349c75536d
7391 changed files with 304135 additions and 153491 deletions
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Test: Support for 'grid-auto-columns' and 'grid-auto-rows' properties</title>
|
||||
<link href="mailto:hello@jxs.pt" rel="author" title="Joao Oliveira">
|
||||
<style>
|
||||
#grid {
|
||||
position: relative;
|
||||
}
|
||||
.position {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
#first-column-first-row {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background-color: purple;
|
||||
}
|
||||
#third-column-first-and-second-rows {
|
||||
left: 60px;
|
||||
width: 30px;
|
||||
height: 60px;
|
||||
background-color: orange
|
||||
}
|
||||
#first-and-second-columns-second-row {
|
||||
top: 30px;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
background-color: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if it has the same visual effect as reference.</p>
|
||||
<div id="grid">
|
||||
<div id="first-column-first-row" class="position"></div>
|
||||
<div id="third-column-first-and-second-rows" class="position"></div>
|
||||
<div id="first-and-second-columns-second-row" class="position"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -1,12 +1,8 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<title>CSS Reftest Reference</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
@ -15,14 +11,9 @@
|
|||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue