mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Update web-platform-tests to revision 28ac8ff82f255bfb5c799b6d433d19d0a0eb0e34
This commit is contained in:
parent
b2465a1f22
commit
9115c87050
166 changed files with 2072 additions and 749 deletions
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div></div>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
|
||||
<!-- This test requires a 300px tall multicolumn to reproduce the issue. -->
|
||||
<link rel="match" href="out-of-flow-in-multicolumn-014-ref.html">
|
||||
<!-- Fragmented OOF element with block-size percentage resolution and overflow. -->
|
||||
<style>
|
||||
#multicol {
|
||||
columns: 2;
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
column-fill: auto;
|
||||
column-gap: 0px;
|
||||
background-color: red;
|
||||
}
|
||||
.rel {
|
||||
position: relative;
|
||||
}
|
||||
.abs {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div id="multicol">
|
||||
<div style="width: 150px; height: 450px; background-color: green;"></div>
|
||||
<div class="rel">
|
||||
<div class="abs"></div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue