mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision d8b8e0b8efe993a37404d6c6fc75e16fdc16b7d8
This commit is contained in:
parent
abc0f50d20
commit
e07315e6af
221 changed files with 7334 additions and 774 deletions
|
@ -22,13 +22,13 @@
|
|||
}
|
||||
|
||||
.flexbox > div {
|
||||
background: red;
|
||||
background: teal;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
span {
|
||||
.flexbox span {
|
||||
height: 100%;
|
||||
background: green;
|
||||
background: orange;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
@ -38,19 +38,20 @@ span {
|
|||
<body onload="checkLayout('.flexbox')">
|
||||
<div id=log></div>
|
||||
|
||||
<p>You should see no red</p>
|
||||
<!-- The wrapper divs are here to give the flexbox something to fill -->
|
||||
|
||||
<!-- This wrapper div is solely here to setup the max height so it can be computed consistently since body at 100% won't be consistent across devices -->
|
||||
<!-- definite unwrapped column flexbox -->
|
||||
<div style="height: 100px;">
|
||||
|
||||
<div class="flexbox column">
|
||||
<div class="flexbox column" style="height: 0">
|
||||
<div>
|
||||
<span data-expected-height="100"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- definite wrapped column flexbox -->
|
||||
<div style="height: 100px;">
|
||||
<div class="flexbox column-wrap">
|
||||
<div class="flexbox column-wrap" style="height: 0">
|
||||
<div>
|
||||
<span data-expected-height="50"></span>
|
||||
</div>
|
||||
|
@ -60,5 +61,26 @@ span {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- indefinite unwrapped column flexbox -->
|
||||
<div style="height: 100px;">
|
||||
<div class="flexbox column">
|
||||
<div>
|
||||
<span data-expected-height="0"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- indefinite wrapped column flexbox -->
|
||||
<div style="height: 100px;">
|
||||
<div class="flexbox column-wrap">
|
||||
<div>
|
||||
<span data-expected-height="0"></span>
|
||||
</div>
|
||||
<div>
|
||||
<span data-expected-height="0"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue