mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move inline_absolute_hypothetical_clip_a.html to wpt reftests.
This commit is contained in:
parent
9badd19405
commit
463ed5f0da
4 changed files with 25 additions and 1 deletions
|
@ -707,6 +707,18 @@
|
|||
"url": "/_mozilla/css/incremental_float_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_clip_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_clip_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_clip_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_clip_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_out_of_flow_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_out_of_flow_a.html",
|
||||
|
@ -4368,6 +4380,18 @@
|
|||
"url": "/_mozilla/css/incremental_float_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_clip_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_clip_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_clip_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_clip_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_out_of_flow_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_out_of_flow_a.html",
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel='match' href='inline_absolute_hypothetical_clip_ref.html'>
|
||||
<style>
|
||||
body {
|
||||
margin: 16px;
|
||||
}
|
||||
#a {
|
||||
position: relative;
|
||||
}
|
||||
#b {
|
||||
clip: rect(47px, 118px, 95px, 0);
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
<a href="http://bogus" id=a><img id=b width=250 src=400x400_green.png>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
position: absolute;
|
||||
background: lime;
|
||||
top: 63px;
|
||||
width: 118px;
|
||||
height: 48px;
|
||||
left: 16px;
|
||||
}
|
||||
</style>
|
||||
<section></section>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue