mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Update web-platform-tests to revision b'ac590e83f80632559480abda677db69b17f6ece1'
This commit is contained in:
parent
14fbe153e2
commit
56531f4672
148 changed files with 3092 additions and 1755 deletions
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<style>
|
||||
#multicol {
|
||||
columns: 2;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
column-fill: auto;
|
||||
column-gap: 0px;
|
||||
background-color: red;
|
||||
}
|
||||
.rel {
|
||||
height: 100px;
|
||||
position: relative;
|
||||
}
|
||||
.abs {
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div id="multicol">
|
||||
<div class="rel">
|
||||
<div class="abs" style="top: 0px; height: 160px;"></div>
|
||||
<div class="abs" style="top: 100px; height: 20px;"></div>
|
||||
</div>
|
||||
<div style="column-span:all; height: 20px; background: green;"></div>
|
||||
<div style="height: 60px;"></div>
|
||||
</div>
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<title>
|
||||
Nested fragmentation for out-of-flow positioned elements create new columns.
|
||||
</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<style>
|
||||
.multicol {
|
||||
column-count: 2;
|
||||
column-fill: auto;
|
||||
column-gap: 0px;
|
||||
background-color: red;
|
||||
}
|
||||
#outer {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
#inner {
|
||||
width: 50px;
|
||||
}
|
||||
.rel {
|
||||
position: relative;
|
||||
}
|
||||
.abs {
|
||||
position: absolute;
|
||||
height: 400px;
|
||||
width: 25px;
|
||||
top: 800px;
|
||||
left: -200px;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div class="multicol" id="outer">
|
||||
<div class="multicol" id="inner">
|
||||
<div class="rel">
|
||||
<div class="abs"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue