Move inline_absolute_hypothetical_clip_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 9badd19405
commit 463ed5f0da
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View file

@ -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>

View file

@ -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>