Move after_block_iteration.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-10-08 16:54:36 +02:00
parent c9d4dc4e88
commit 92e3266b1f
4 changed files with 25 additions and 1 deletions

View file

@ -123,6 +123,18 @@
"url": "/_mozilla/css/absolute_z_index_auto_paint_order_a.html"
}
],
"css/after_block_iteration.html": [
{
"path": "css/after_block_iteration.html",
"references": [
[
"/_mozilla/css/after_block_iteration_ref.html",
"=="
]
],
"url": "/_mozilla/css/after_block_iteration.html"
}
],
"css/background.html": [
{
"path": "css/background.html",
@ -1040,6 +1052,18 @@
"url": "/_mozilla/css/absolute_z_index_auto_paint_order_a.html"
}
],
"css/after_block_iteration.html": [
{
"path": "css/after_block_iteration.html",
"references": [
[
"/_mozilla/css/after_block_iteration_ref.html",
"=="
]
],
"url": "/_mozilla/css/after_block_iteration.html"
}
],
"css/background.html": [
{
"path": "css/background.html",

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<!--
Although this test may seem (and is) trivial, it ensures that iteration with generated content
with `display: block` is correct during flow construction. Before this commit, this could hang
when combined with incremental reflow, since the parallel traversal counters would become
corrupted.
-->
<title>ack</title>
<link rel=match href=after_block_iteration_ref.html>
<style>
div.after-portlet-lang:after {
display: block;
}
</style>
<body>
<div class='after-portlet-lang'><div>x</div></div>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>ack</title>
<style>
</style>
<body>
<div>x</div>
</body>
</html>