mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
parent
9aa1b1e408
commit
35c74aecc2
11290 changed files with 92400 additions and 49214 deletions
|
@ -19,16 +19,16 @@
|
|||
line-height: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.flex-container.flex-direction-row{
|
||||
flex-direction : row;
|
||||
}
|
||||
|
||||
|
||||
.flex-container.flex-direction-row-reverse{
|
||||
flex-direction : row-reverse;
|
||||
}
|
||||
|
||||
|
||||
.flex-container.flex-direction-column{
|
||||
flex-direction : column;
|
||||
}
|
||||
|
@ -40,7 +40,7 @@
|
|||
<body>
|
||||
<h1>flex-direction:<span id="current_direction">row</span></h1>
|
||||
<div class="flex-container" id="flex_container"><div class="flex-item">1</div><div class="flex-item">2</div><div class="flex-item">3</div></div>
|
||||
|
||||
|
||||
<script>
|
||||
var container = document.getElementById("flex_container");
|
||||
var direction_text = document.getElementById("current_direction");
|
||||
|
@ -50,11 +50,11 @@
|
|||
container.className = baseClass + classPrefix + direction;
|
||||
notify( direction );
|
||||
}
|
||||
|
||||
|
||||
function notify( direction ){
|
||||
direction_text.innerHTML = direction;
|
||||
}
|
||||
|
||||
|
||||
change_direction("row");
|
||||
change_direction("row-reverse");
|
||||
change_direction("column");
|
||||
|
@ -62,4 +62,5 @@
|
|||
change_direction("row");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue