mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Move position_relative_vertical_percentage_overflow_a.html to wpt reftests.
This commit is contained in:
parent
70746fc7e6
commit
d2a27ee9bf
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_vertical_percentage_overflow_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_vertical_percentage_overflow_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_vertical_percentage_overflow_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_vertical_percentage_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/pre_ignorable_whitespace_a.html": [
|
||||
{
|
||||
"path": "css/pre_ignorable_whitespace_a.html",
|
||||
|
@ -3048,6 +3060,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_vertical_percentage_overflow_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_vertical_percentage_overflow_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_vertical_percentage_overflow_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_vertical_percentage_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/pre_ignorable_whitespace_a.html": [
|
||||
{
|
||||
"path": "css/pre_ignorable_whitespace_a.html",
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel='match' href='position_relative_vertical_percentage_overflow_ref.html'>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
#a {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
transform: translateX(0px); /* force creation of stacking context */
|
||||
}
|
||||
#b {
|
||||
display: block;
|
||||
position: relative;
|
||||
top: -50%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: purple;
|
||||
}
|
||||
</style>
|
||||
<div id=a><div id=b>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
#a {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 100px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: purple;
|
||||
}
|
||||
</style>
|
||||
<div id=a>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue