mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +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,31 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS Flexible Box Test: display proprety - flex</title>
|
||||
<link href="mailto:haosdent@gmail.com" rel="author" title="haosdent" />
|
||||
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-containers" rel="help" />
|
||||
<link href="reference/ttwf-reftest-flex-base-ref.xht" rel="match" />
|
||||
<meta content="Statement describing what the test case is asserting" name="assert" />
|
||||
<style type="text/css">
|
||||
.container {
|
||||
position: relative;
|
||||
height: 6em;
|
||||
width: 3em;
|
||||
display: flex;
|
||||
background: red;
|
||||
margin: 1em;
|
||||
border: 1px solid black;
|
||||
}
|
||||
.success {
|
||||
background: green;
|
||||
width: 3em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passed if you can't find red color.</p>
|
||||
<div class="container">
|
||||
<span class="success">Hello</span>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue