Move block_formatting_context_max_width_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-10-14 10:04:36 +02:00
parent c222e60d98
commit c62a14b37d
4 changed files with 25 additions and 1 deletions

View file

@ -495,6 +495,18 @@
"url": "/_mozilla/css/block_formatting_context_float_placement_a.html"
}
],
"css/block_formatting_context_max_width_a.html": [
{
"path": "css/block_formatting_context_max_width_a.html",
"references": [
[
"/_mozilla/css/block_formatting_context_max_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_formatting_context_max_width_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -1772,6 +1784,18 @@
"url": "/_mozilla/css/block_formatting_context_float_placement_a.html"
}
],
"css/block_formatting_context_max_width_a.html": [
{
"path": "css/block_formatting_context_max_width_a.html",
"references": [
[
"/_mozilla/css/block_formatting_context_max_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/block_formatting_context_max_width_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<link rel=match href=block_formatting_context_max_width_ref.html>
<style>
html, body {
margin: 0;
}
section {
width: 300px;
}
div {
height: 100px;
}
#a {
float: right;
width: 100px;
background: gold;
}
#b {
overflow: hidden;
max-width: 200px;
background: blue;
}
</style>
<section><div id=a></div><div id=b>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<style>
html, body {
margin: 0;
}
section {
width: 300px;
}
div {
position: absolute;
height: 100px;
top: 0;
}
#a {
float: right;
width: 100px;
left: 200px;
background: gold;
}
#b {
overflow: hidden;
width: 200px;
background: blue;
}
</style>
<section><div id=a></div><div id=b>