mirror of
https://github.com/servo/servo.git
synced 2025-08-29 09:08:20 +01:00
Update web-platform-tests to revision 4dbc8a0d7b1b1c032aaddc2579ec7239ad565127
This commit is contained in:
parent
40f1e188d0
commit
d1e28c482e
329 changed files with 5366 additions and 1699 deletions
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is green square.</p>
|
||||
<div></div>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://drafts.csswg.org/css2/visudet.html" />
|
||||
<link rel="match" href="abspos-float-with-inline-container-ref.html" />
|
||||
<meta name="assert" content="A inline-level element can contain a absolute-positioned child within a float." />
|
||||
<style>
|
||||
#abs {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100px;
|
||||
background: green;
|
||||
}
|
||||
#float { float: left; }
|
||||
span {
|
||||
position: relative;
|
||||
padding-left: 100px;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is green square.</p>
|
||||
<div>
|
||||
<span>
|
||||
<div id="float">
|
||||
<div id="abs"></div>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue