Skip to content
Permalink
Browse files
Repaint cleanup:
button-spurious-layout-hint.html -> reftest
change-transform.html -> reftest
clip-with-layout-delta.html -> reftest
clipped-relative.html -> reftest
containing-block-position-change.html -> reftest
content-into-overflow.html -> reftest
continuation-after-outline.html -> reftest
control-clip.html -> reftest
create-layer-repaint.html -> reftest
dynamic-table-vertical-alignment-change.html -> reftest
erase-overflow.html -> reftest
fixed-position-transparency-with-overflow.html -> reftest

Unreviewed.

* fast/repaint/button-spurious-layout-hint-expected.html: Added.
* fast/repaint/button-spurious-layout-hint-expected.png: Removed.
* fast/repaint/button-spurious-layout-hint.html:
* fast/repaint/change-transform-expected.html: Copied from LayoutTests/fast/repaint/change-transform.html.
* fast/repaint/change-transform.html:
* fast/repaint/clip-with-layout-delta-expected.html: Copied from LayoutTests/fast/repaint/clip-with-layout-delta.html.
* fast/repaint/clip-with-layout-delta-expected.txt: Removed.
* fast/repaint/clip-with-layout-delta.html:
* fast/repaint/clipped-relative-expected.html: Copied from LayoutTests/fast/repaint/clipped-relative.html.
* fast/repaint/clipped-relative.html:
* fast/repaint/containing-block-position-change-expected.html: Copied from LayoutTests/fast/repaint/containing-block-position-change.html.
* fast/repaint/containing-block-position-change.html:
* fast/repaint/content-into-overflow-expected.html: Copied from LayoutTests/fast/repaint/content-into-overflow.html.
* fast/repaint/content-into-overflow-expected.png: Removed.
* fast/repaint/content-into-overflow-expected.txt: Removed.
* fast/repaint/content-into-overflow.html:
* fast/repaint/continuation-after-outline-expected.html: Copied from LayoutTests/fast/repaint/continuation-after-outline.html.
* fast/repaint/continuation-after-outline.html:
* fast/repaint/control-clip-expected.html: Copied from LayoutTests/fast/repaint/control-clip.html.
* fast/repaint/control-clip.html:
* fast/repaint/create-layer-repaint-expected.html: Copied from LayoutTests/fast/repaint/create-layer-repaint.html.
* fast/repaint/create-layer-repaint.html:
* fast/repaint/dynamic-table-vertical-alignment-change-expected.html: Copied from LayoutTests/fast/repaint/dynamic-table-vertical-alignment-change.html.
* fast/repaint/dynamic-table-vertical-alignment-change.html:
* fast/repaint/erase-overflow-expected.html: Copied from LayoutTests/fast/repaint/erase-overflow.html.
* fast/repaint/erase-overflow-expected.png: Removed.
* fast/repaint/erase-overflow-expected.txt: Removed.
* fast/repaint/erase-overflow.html:
* fast/repaint/fixed-position-transparency-with-overflow-expected.html: Added.
* fast/repaint/fixed-position-transparency-with-overflow-expected.png: Removed.
* fast/repaint/fixed-position-transparency-with-overflow-expected.txt: Removed.
* fast/repaint/fixed-position-transparency-with-overflow.html:
* platform/efl/compositing/repaint/content-into-overflow-expected.png: Removed.
* platform/efl/compositing/repaint/content-into-overflow-expected.txt: Removed.
* platform/efl/fast/forms/control-clip-expected.png: Removed.
* platform/efl/fast/forms/control-clip-expected.txt: Removed.
* platform/efl/fast/repaint/button-spurious-layout-hint-expected.txt: Removed.
* platform/efl/fast/repaint/change-transform-expected.png: Removed.
* platform/efl/fast/repaint/change-transform-expected.txt: Removed.
* platform/efl/fast/repaint/clip-with-layout-delta-expected.png: Removed.
* platform/efl/fast/repaint/clipped-relative-expected.png: Removed.
* platform/efl/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/efl/fast/repaint/containing-block-position-change-expected.png: Removed.
* platform/efl/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/efl/fast/repaint/continuation-after-outline-expected.png: Removed.
* platform/efl/fast/repaint/continuation-after-outline-expected.txt: Removed.
* platform/efl/fast/repaint/control-clip-expected.png: Removed.
* platform/efl/fast/repaint/control-clip-expected.txt: Removed.
* platform/efl/fast/repaint/create-layer-repaint-expected.png: Removed.
* platform/efl/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/efl/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Removed.
* platform/efl/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.
* platform/gtk/fast/forms/control-clip-expected.png: Removed.
* platform/gtk/fast/forms/control-clip-expected.txt: Removed.
* platform/gtk/fast/repaint/button-spurious-layout-hint-expected.txt: Removed.
* platform/gtk/fast/repaint/change-transform-expected.png: Removed.
* platform/gtk/fast/repaint/change-transform-expected.txt: Removed.
* platform/gtk/fast/repaint/clip-with-layout-delta-expected.png: Removed.
* platform/gtk/fast/repaint/clipped-relative-expected.png: Removed.
* platform/gtk/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/gtk/fast/repaint/containing-block-position-change-expected.png: Removed.
* platform/gtk/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/gtk/fast/repaint/continuation-after-outline-expected.png: Removed.
* platform/gtk/fast/repaint/continuation-after-outline-expected.txt: Removed.
* platform/gtk/fast/repaint/control-clip-expected.png: Removed.
* platform/gtk/fast/repaint/control-clip-expected.txt: Removed.
* platform/gtk/fast/repaint/create-layer-repaint-expected.png: Removed.
* platform/gtk/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/gtk/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Removed.
* platform/gtk/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.
* platform/ios-simulator-wk2/fast/forms/control-clip-expected.txt: Removed.
* platform/ios-simulator/compositing/repaint/content-into-overflow-expected.txt: Removed.
* platform/ios-simulator/fast/forms/control-clip-expected.txt: Removed.
* platform/mac-mavericks/fast/forms/control-clip-expected.png: Removed.
* platform/mac-mavericks/fast/forms/control-clip-expected.txt: Removed.
* platform/mac-mavericks/fast/repaint/control-clip-expected.png: Removed.
* platform/mac-mavericks/fast/repaint/control-clip-expected.txt: Removed.
* platform/mac/compositing/repaint/content-into-overflow-expected.png: Removed.
* platform/mac/compositing/repaint/content-into-overflow-expected.txt: Removed.
* platform/mac/fast/forms/control-clip-expected.png: Removed.
* platform/mac/fast/forms/control-clip-expected.txt: Removed.
* platform/mac/fast/repaint/button-spurious-layout-hint-expected.png: Removed.
* platform/mac/fast/repaint/button-spurious-layout-hint-expected.txt: Removed.
* platform/mac/fast/repaint/change-transform-expected.png: Removed.
* platform/mac/fast/repaint/change-transform-expected.txt: Removed.
* platform/mac/fast/repaint/clip-with-layout-delta-expected.png: Removed.
* platform/mac/fast/repaint/clip-with-layout-delta-expected.txt: Removed.
* platform/mac/fast/repaint/clipped-relative-expected.png: Removed.
* platform/mac/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/mac/fast/repaint/containing-block-position-change-expected.png: Removed.
* platform/mac/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/mac/fast/repaint/content-into-overflow-expected.png: Removed.
* platform/mac/fast/repaint/continuation-after-outline-expected.png: Removed.
* platform/mac/fast/repaint/continuation-after-outline-expected.txt: Removed.
* platform/mac/fast/repaint/control-clip-expected.png: Removed.
* platform/mac/fast/repaint/control-clip-expected.txt: Removed.
* platform/mac/fast/repaint/create-layer-repaint-expected.png: Removed.
* platform/mac/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Removed.
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.
* platform/mac/fast/repaint/erase-overflow-expected.png: Removed.
* platform/mac/fast/repaint/fixed-position-transparency-with-overflow-expected.png: Removed.
* platform/win/fast/forms/control-clip-expected.txt: Removed.
* platform/win/fast/repaint/change-transform-expected.txt: Removed.
* platform/win/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/win/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/win/fast/repaint/control-clip-expected.png: Removed.
* platform/win/fast/repaint/control-clip-expected.txt: Removed.
* platform/win/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/win/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.

Canonical link: https://commits.webkit.org/166811@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
alanbujtas committed Sep 1, 2015
1 parent 43cd350 commit b0efde4397faa54c9eb7aa0cab567c23721b0b12
Showing 111 changed files with 438 additions and 1,114 deletions.
@@ -1,3 +1,132 @@
2015-09-01 Zalan Bujtas <zalan@apple.com>

Repaint cleanup:
button-spurious-layout-hint.html -> reftest
change-transform.html -> reftest
clip-with-layout-delta.html -> reftest
clipped-relative.html -> reftest
containing-block-position-change.html -> reftest
content-into-overflow.html -> reftest
continuation-after-outline.html -> reftest
control-clip.html -> reftest
create-layer-repaint.html -> reftest
dynamic-table-vertical-alignment-change.html -> reftest
erase-overflow.html -> reftest
fixed-position-transparency-with-overflow.html -> reftest

Unreviewed.

* fast/repaint/button-spurious-layout-hint-expected.html: Added.
* fast/repaint/button-spurious-layout-hint-expected.png: Removed.
* fast/repaint/button-spurious-layout-hint.html:
* fast/repaint/change-transform-expected.html: Copied from LayoutTests/fast/repaint/change-transform.html.
* fast/repaint/change-transform.html:
* fast/repaint/clip-with-layout-delta-expected.html: Copied from LayoutTests/fast/repaint/clip-with-layout-delta.html.
* fast/repaint/clip-with-layout-delta-expected.txt: Removed.
* fast/repaint/clip-with-layout-delta.html:
* fast/repaint/clipped-relative-expected.html: Copied from LayoutTests/fast/repaint/clipped-relative.html.
* fast/repaint/clipped-relative.html:
* fast/repaint/containing-block-position-change-expected.html: Copied from LayoutTests/fast/repaint/containing-block-position-change.html.
* fast/repaint/containing-block-position-change.html:
* fast/repaint/content-into-overflow-expected.html: Copied from LayoutTests/fast/repaint/content-into-overflow.html.
* fast/repaint/content-into-overflow-expected.png: Removed.
* fast/repaint/content-into-overflow-expected.txt: Removed.
* fast/repaint/content-into-overflow.html:
* fast/repaint/continuation-after-outline-expected.html: Copied from LayoutTests/fast/repaint/continuation-after-outline.html.
* fast/repaint/continuation-after-outline.html:
* fast/repaint/control-clip-expected.html: Copied from LayoutTests/fast/repaint/control-clip.html.
* fast/repaint/control-clip.html:
* fast/repaint/create-layer-repaint-expected.html: Copied from LayoutTests/fast/repaint/create-layer-repaint.html.
* fast/repaint/create-layer-repaint.html:
* fast/repaint/dynamic-table-vertical-alignment-change-expected.html: Copied from LayoutTests/fast/repaint/dynamic-table-vertical-alignment-change.html.
* fast/repaint/dynamic-table-vertical-alignment-change.html:
* fast/repaint/erase-overflow-expected.html: Copied from LayoutTests/fast/repaint/erase-overflow.html.
* fast/repaint/erase-overflow-expected.png: Removed.
* fast/repaint/erase-overflow-expected.txt: Removed.
* fast/repaint/erase-overflow.html:
* fast/repaint/fixed-position-transparency-with-overflow-expected.html: Added.
* fast/repaint/fixed-position-transparency-with-overflow-expected.png: Removed.
* fast/repaint/fixed-position-transparency-with-overflow-expected.txt: Removed.
* fast/repaint/fixed-position-transparency-with-overflow.html:
* platform/efl/compositing/repaint/content-into-overflow-expected.png: Removed.
* platform/efl/compositing/repaint/content-into-overflow-expected.txt: Removed.
* platform/efl/fast/forms/control-clip-expected.png: Removed.
* platform/efl/fast/forms/control-clip-expected.txt: Removed.
* platform/efl/fast/repaint/button-spurious-layout-hint-expected.txt: Removed.
* platform/efl/fast/repaint/change-transform-expected.png: Removed.
* platform/efl/fast/repaint/change-transform-expected.txt: Removed.
* platform/efl/fast/repaint/clip-with-layout-delta-expected.png: Removed.
* platform/efl/fast/repaint/clipped-relative-expected.png: Removed.
* platform/efl/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/efl/fast/repaint/containing-block-position-change-expected.png: Removed.
* platform/efl/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/efl/fast/repaint/continuation-after-outline-expected.png: Removed.
* platform/efl/fast/repaint/continuation-after-outline-expected.txt: Removed.
* platform/efl/fast/repaint/control-clip-expected.png: Removed.
* platform/efl/fast/repaint/control-clip-expected.txt: Removed.
* platform/efl/fast/repaint/create-layer-repaint-expected.png: Removed.
* platform/efl/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/efl/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Removed.
* platform/efl/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.
* platform/gtk/fast/forms/control-clip-expected.png: Removed.
* platform/gtk/fast/forms/control-clip-expected.txt: Removed.
* platform/gtk/fast/repaint/button-spurious-layout-hint-expected.txt: Removed.
* platform/gtk/fast/repaint/change-transform-expected.png: Removed.
* platform/gtk/fast/repaint/change-transform-expected.txt: Removed.
* platform/gtk/fast/repaint/clip-with-layout-delta-expected.png: Removed.
* platform/gtk/fast/repaint/clipped-relative-expected.png: Removed.
* platform/gtk/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/gtk/fast/repaint/containing-block-position-change-expected.png: Removed.
* platform/gtk/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/gtk/fast/repaint/continuation-after-outline-expected.png: Removed.
* platform/gtk/fast/repaint/continuation-after-outline-expected.txt: Removed.
* platform/gtk/fast/repaint/control-clip-expected.png: Removed.
* platform/gtk/fast/repaint/control-clip-expected.txt: Removed.
* platform/gtk/fast/repaint/create-layer-repaint-expected.png: Removed.
* platform/gtk/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/gtk/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Removed.
* platform/gtk/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.
* platform/ios-simulator-wk2/fast/forms/control-clip-expected.txt: Removed.
* platform/ios-simulator/compositing/repaint/content-into-overflow-expected.txt: Removed.
* platform/ios-simulator/fast/forms/control-clip-expected.txt: Removed.
* platform/mac-mavericks/fast/forms/control-clip-expected.png: Removed.
* platform/mac-mavericks/fast/forms/control-clip-expected.txt: Removed.
* platform/mac-mavericks/fast/repaint/control-clip-expected.png: Removed.
* platform/mac-mavericks/fast/repaint/control-clip-expected.txt: Removed.
* platform/mac/compositing/repaint/content-into-overflow-expected.png: Removed.
* platform/mac/compositing/repaint/content-into-overflow-expected.txt: Removed.
* platform/mac/fast/forms/control-clip-expected.png: Removed.
* platform/mac/fast/forms/control-clip-expected.txt: Removed.
* platform/mac/fast/repaint/button-spurious-layout-hint-expected.png: Removed.
* platform/mac/fast/repaint/button-spurious-layout-hint-expected.txt: Removed.
* platform/mac/fast/repaint/change-transform-expected.png: Removed.
* platform/mac/fast/repaint/change-transform-expected.txt: Removed.
* platform/mac/fast/repaint/clip-with-layout-delta-expected.png: Removed.
* platform/mac/fast/repaint/clip-with-layout-delta-expected.txt: Removed.
* platform/mac/fast/repaint/clipped-relative-expected.png: Removed.
* platform/mac/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/mac/fast/repaint/containing-block-position-change-expected.png: Removed.
* platform/mac/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/mac/fast/repaint/content-into-overflow-expected.png: Removed.
* platform/mac/fast/repaint/continuation-after-outline-expected.png: Removed.
* platform/mac/fast/repaint/continuation-after-outline-expected.txt: Removed.
* platform/mac/fast/repaint/control-clip-expected.png: Removed.
* platform/mac/fast/repaint/control-clip-expected.txt: Removed.
* platform/mac/fast/repaint/create-layer-repaint-expected.png: Removed.
* platform/mac/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Removed.
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.
* platform/mac/fast/repaint/erase-overflow-expected.png: Removed.
* platform/mac/fast/repaint/fixed-position-transparency-with-overflow-expected.png: Removed.
* platform/win/fast/forms/control-clip-expected.txt: Removed.
* platform/win/fast/repaint/change-transform-expected.txt: Removed.
* platform/win/fast/repaint/clipped-relative-expected.txt: Removed.
* platform/win/fast/repaint/containing-block-position-change-expected.txt: Removed.
* platform/win/fast/repaint/control-clip-expected.png: Removed.
* platform/win/fast/repaint/control-clip-expected.txt: Removed.
* platform/win/fast/repaint/create-layer-repaint-expected.txt: Removed.
* platform/win/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt: Removed.

2015-09-01 Zalan Bujtas <zalan@apple.com>

Repaint cleanup:
@@ -0,0 +1 @@
<button id="target" style="height: 100px; width: 100px; background-color: lightpink; border: none;">&nbsp;</button>
Deleted file not rendered
@@ -1,12 +1,15 @@
<head>
<script src="resources/repaint.js" type="text/javascript"></script>
<script>
function repaintTest()
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
document.getElementById("target").style.backgroundColor = "lightpink";
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="runRepaintTest()">
<body onload="setTimeout(runTest, 0);">
<button id="target" style="height: 100px; width: 100px; background-color: lightblue; border: none;">&nbsp;</button>
</body>
@@ -0,0 +1,30 @@
<html>
<head>
<style type="text/css" media="screen">
body {
margin: 10px;
}
#square {
width: 100px;
height: 100px;
background: red;
transform: scale(0.5, 0.5);
}
#overlay {
position: absolute;
left: 35px;
top: 35px;
width: 50px;
height: 50px;
background: green
}
</style>
</head>
<body>
<div id="square"></div>
<div id="overlay"></div>

<p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.org/show_bug.cgi?id=19623</a></p>
<p>Test for incomplete repaint when a non-layer object gains a transform. You should see a green square above. If you see any red, the test has failed.</p>
</body>
</html>
@@ -1,12 +1,14 @@
<html>
<head>
<script src="resources/repaint.js"></script>
<script type="text/javascript" charset="utf-8">
function repaintTest()
{
var target = document.getElementById("square");
target.style.webkitTransform = "scale(0.5, 0.5)";
}
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
document.getElementById("square").style.webkitTransform = "scale(0.5, 0.5)";
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<style type="text/css" media="screen">
body {
@@ -27,7 +29,7 @@
}
</style>
</head>
<body onload="runRepaintTest()">
<body onload="setTimeout(runTest, 0);">
<div id="square"></div>
<div id="overlay"></div>

@@ -0,0 +1,23 @@
<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=15994</title>
<style type="text/css">
div {
overflow: hidden;
}
div, span {
height: 100px;
width: 100px;
display: block;
}
span.blue {
padding: 100px 0 0 0;
background: blue;
}
</style>
</head>
<body>
<div style="background: green;"><span id="t1">&nbsp;</span></div>
<div style="position: relative; margin: -100px 0 0 100px; background: red;"><span id="t2" class="blue">&nbsp;</span></div>
</body>
</html>

This file was deleted.

@@ -15,16 +15,19 @@
background: blue;
}
</style>
<script src="resources/repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest()
{
document.getElementById('t1').removeAttribute("class");
document.getElementById('t2').setAttribute("class", "blue");
}
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
document.getElementById('t1').removeAttribute("class");
document.getElementById('t2').setAttribute("class", "blue");
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="runRepaintTest()">
<body onload="setTimeout(runTest, 0)">
<div style="background: green;"><span id="t1" class="blue">&nbsp;</span></div>
<div style="position: relative; margin: -100px 0 0 100px; background: red;"><span id="t2">&nbsp;</span></div>
</body>
@@ -0,0 +1,14 @@
<body>
<p>
This is a repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9121">http://bugzilla.opendarwin.org/show_bug.cgi?id=9121</a>
REGRESSION: [Incremental Repaint] DHTML movement test failures</i>.
</p>
<hr>
<div style="position: relative; overflow: hidden; width: 214px; height: 232px;">
<div id="i" style="position: relative; left: 430px;">
<div style="position: absolute; left: -440px; width: 214px; height: 232px;">
<img src="resources/apple.jpg">
</div>
</div>
</div>
</body>
@@ -1,14 +1,17 @@
<html>
<head>
<script src="resources/repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest()
{
document.getElementById('i').style.left = '430px'
}
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
document.getElementById('i').style.left = '430px'
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="runRepaintTest();">
<body onload="setTimeout(runTest, 0);">
<p>
This is a repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9121">http://bugzilla.opendarwin.org/show_bug.cgi?id=9121</a>
REGRESSION: [Incremental Repaint] DHTML movement test failures</i>.
@@ -0,0 +1,11 @@
<body>
<p>
This is a repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9121">http://bugzilla.opendarwin.org/show_bug.cgi?id=9121</a>
REGRESSION: [Incremental Repaint] DHTML movement test failures</i>.
</p>
<hr>
<div id="t" style="position: relative; left: 50px; width: 500px;">
<div style="width: 50px; height: 50px; background: blue; position: absolute; left: 100px;"></div>
</div>
</body>
</html>
@@ -1,14 +1,17 @@
<html>
<head>
<script src="resources/repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest()
{
document.getElementById('t').style.position = 'relative';
}
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
document.getElementById('t').style.position = 'relative';
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="runRepaintTest();">
<body onload="setTimeout(runTest, 0);">
<p>
This is a repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9121">http://bugzilla.opendarwin.org/show_bug.cgi?id=9121</a>
REGRESSION: [Incremental Repaint] DHTML movement test failures</i>.
@@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title>
<style type="text/css">
div.wide { width: 100px; height: 50px; }
div.narrow { width: auto; }
div.tall { width: 50px; height: 100px; }
div.short { height: auto; width: 50px; }
#main-content { float: left; width: 100px; height: 80px; }
#target3 { display: block; clear: both; height: 20px; background: green; }
</style>
</head>
<body>
<div style="position: absolute; border: medium solid green; top: 8px; height: 100px;">
<div class="narrow" id="target1">
<div class="wide"></div>
</div>
</div>

<div style="position: absolute; border: medium solid green; top: 158px; width: 100px;">
<div class="short" id="target2">
<div class="tall"></div>
</div>
</div>

<div style="position: absolute; top: 308px;">
<div style="background: green;">
<div style="position: relative;">
<div id="main-content">
</div>
</div>
<div id="target3"></div>
</div>
</div>
</body>
</html>
Deleted file not rendered

0 comments on commit b0efde4

Please sign in to comment.