mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 08fb3cceabe444c32264fdb44db50672ebea8610
This commit is contained in:
parent
ce9f22a5e4
commit
b74bf3ef9a
152 changed files with 4135 additions and 695 deletions
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Flexbox: Crash for flex box with relpos with scrollable with abspos</title>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@opera.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#flex-container">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable-overflow">
|
||||
<link rel="issue" href="https://crbug.com/498969">
|
||||
<meta name="assert" content="Check that crash doesn't happen in flex box with descendents that include relpos, overflow:auto scrollbars, and abspos.">
|
||||
|
||||
<div style="display:flex;">
|
||||
<div>
|
||||
<div style="position:relative; width:5em;">
|
||||
<div style="overflow:auto;">
|
||||
<div>xxxxxxxxxxxxxxxxxxxxxx</div>
|
||||
<div style="position:absolute;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Flexbox: Correct cross size of Table with 'align-self: stretch'</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-stretch">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-direction-property">
|
||||
<meta name="assert" content="This test ensures that flexbox computes a correct cross size of a <table> flex item with align-self: stretch.">
|
||||
<style>
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100px;
|
||||
width: 50px;
|
||||
}
|
||||
.first {
|
||||
flex: 1 1 auto;
|
||||
background-color: blue;
|
||||
}
|
||||
.test {
|
||||
flex: 0 0 auto;
|
||||
background-color: green;
|
||||
display: flex;
|
||||
}
|
||||
td {
|
||||
padding: 23px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<body onload="checkLayout('.test')">
|
||||
<div id=log></div>
|
||||
<div class="container">
|
||||
<div class="first">
|
||||
</div>
|
||||
<!-- This wrapper div is a row flexbox. It should get a height of 50px, matching the height
|
||||
of the inner table. In particular, it should not be 0 on the basis that tables don't
|
||||
have an intrinsic block-size. -->
|
||||
<div class="test" data-expected-height=50>
|
||||
<table>
|
||||
<tr><td></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue