Commit b0f447f1 authored by hamaji@chromium.org's avatar hamaji@chromium.org
Browse files

2010-01-22 Shinichiro Hamaji <hamaji@chromium.org>

        Reviewed by Darin Adler.

        incorrect results for css2.1 layout tests that use setTimeout in body onload event
        https://bugs.webkit.org/show_bug.cgi?id=17557

        * css2.1/README.txt: Added.
        * css2.1/t1204-increment-00-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-increment-00-c-o.html.
        * css2.1/t1204-increment-01-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-increment-01-c-o.html.
        * css2.1/t1204-increment-02-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-increment-02-c-o.html.
        * css2.1/t1204-reset-00-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-reset-00-c-o.html.
        * css2.1/t1204-reset-01-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-reset-01-c-o.html.
        * css2.1/t1204-reset-02-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-reset-02-c-o.html.
        * fast/css/counters/counter-increment-000-expected.txt: Renamed from LayoutTests/fast/css/counters/t1204-increment-00-c-o-expected.txt.
        * fast/css/counters/counter-increment-000.html: Renamed from LayoutTests/fast/css/counters/t1204-increment-00-c-o.html.
        * fast/css/counters/counter-increment-001-expected.txt: Renamed from LayoutTests/fast/css/counters/t1204-increment-01-c-o-expected.txt.
        * fast/css/counters/counter-increment-001.html: Renamed from LayoutTests/fast/css/counters/t1204-increment-01-c-o.html.
        * fast/css/counters/counter-reset-001-expected.txt: Added.
        * fast/css/counters/counter-reset-001.html: Added.
        * platform/mac/css2.1/t1204-increment-00-c-o-expected.checksum: Removed.
        * platform/mac/css2.1/t1204-increment-00-c-o-expected.png: Removed.
        * platform/mac/css2.1/t1204-increment-00-c-o-expected.txt: Removed.
        * platform/mac/css2.1/t1204-increment-01-c-o-expected.checksum: Removed.
        * platform/mac/css2.1/t1204-increment-01-c-o-expected.png: Removed.
        * platform/mac/css2.1/t1204-increment-01-c-o-expected.txt: Removed.
        * platform/mac/css2.1/t1204-increment-02-c-o-expected.checksum: Removed.
        * platform/mac/css2.1/t1204-increment-02-c-o-expected.png: Removed.
        * platform/mac/css2.1/t1204-increment-02-c-o-expected.txt: Removed.
        * platform/mac/css2.1/t1204-reset-00-c-o-expected.checksum: Removed.
        * platform/mac/css2.1/t1204-reset-00-c-o-expected.png: Removed.
        * platform/mac/css2.1/t1204-reset-00-c-o-expected.txt: Removed.
        * platform/mac/css2.1/t1204-reset-01-c-o-expected.checksum: Removed.
        * platform/mac/css2.1/t1204-reset-01-c-o-expected.png: Removed.
        * platform/mac/css2.1/t1204-reset-01-c-o-expected.txt: Removed.
        * platform/mac/css2.1/t1204-reset-02-c-o-expected.checksum: Removed.
        * platform/mac/css2.1/t1204-reset-02-c-o-expected.png: Removed.
        * platform/mac/css2.1/t1204-reset-02-c-o-expected.txt: Removed.
        * platform/qt/css2.1/t1204-increment-00-c-o-expected.txt: Removed.
        * platform/qt/css2.1/t1204-increment-01-c-o-expected.txt: Removed.
        * platform/qt/css2.1/t1204-increment-02-c-o-expected.txt: Removed.
        * platform/qt/css2.1/t1204-reset-00-c-o-expected.txt: Removed.
        * platform/qt/css2.1/t1204-reset-01-c-o-expected.txt: Removed.
        * platform/qt/css2.1/t1204-reset-02-c-o-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 20499a36
2010-01-22 Shinichiro Hamaji <hamaji@chromium.org>
Reviewed by Darin Adler.
incorrect results for css2.1 layout tests that use setTimeout in body onload event
https://bugs.webkit.org/show_bug.cgi?id=17557
* css2.1/README.txt: Added.
* css2.1/t1204-increment-00-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-increment-00-c-o.html.
* css2.1/t1204-increment-01-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-increment-01-c-o.html.
* css2.1/t1204-increment-02-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-increment-02-c-o.html.
* css2.1/t1204-reset-00-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-reset-00-c-o.html.
* css2.1/t1204-reset-01-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-reset-01-c-o.html.
* css2.1/t1204-reset-02-c-o.html-disabled: Renamed from LayoutTests/css2.1/t1204-reset-02-c-o.html.
* fast/css/counters/counter-increment-000-expected.txt: Renamed from LayoutTests/fast/css/counters/t1204-increment-00-c-o-expected.txt.
* fast/css/counters/counter-increment-000.html: Renamed from LayoutTests/fast/css/counters/t1204-increment-00-c-o.html.
* fast/css/counters/counter-increment-001-expected.txt: Renamed from LayoutTests/fast/css/counters/t1204-increment-01-c-o-expected.txt.
* fast/css/counters/counter-increment-001.html: Renamed from LayoutTests/fast/css/counters/t1204-increment-01-c-o.html.
* fast/css/counters/counter-reset-001-expected.txt: Added.
* fast/css/counters/counter-reset-001.html: Added.
* platform/mac/css2.1/t1204-increment-00-c-o-expected.checksum: Removed.
* platform/mac/css2.1/t1204-increment-00-c-o-expected.png: Removed.
* platform/mac/css2.1/t1204-increment-00-c-o-expected.txt: Removed.
* platform/mac/css2.1/t1204-increment-01-c-o-expected.checksum: Removed.
* platform/mac/css2.1/t1204-increment-01-c-o-expected.png: Removed.
* platform/mac/css2.1/t1204-increment-01-c-o-expected.txt: Removed.
* platform/mac/css2.1/t1204-increment-02-c-o-expected.checksum: Removed.
* platform/mac/css2.1/t1204-increment-02-c-o-expected.png: Removed.
* platform/mac/css2.1/t1204-increment-02-c-o-expected.txt: Removed.
* platform/mac/css2.1/t1204-reset-00-c-o-expected.checksum: Removed.
* platform/mac/css2.1/t1204-reset-00-c-o-expected.png: Removed.
* platform/mac/css2.1/t1204-reset-00-c-o-expected.txt: Removed.
* platform/mac/css2.1/t1204-reset-01-c-o-expected.checksum: Removed.
* platform/mac/css2.1/t1204-reset-01-c-o-expected.png: Removed.
* platform/mac/css2.1/t1204-reset-01-c-o-expected.txt: Removed.
* platform/mac/css2.1/t1204-reset-02-c-o-expected.checksum: Removed.
* platform/mac/css2.1/t1204-reset-02-c-o-expected.png: Removed.
* platform/mac/css2.1/t1204-reset-02-c-o-expected.txt: Removed.
* platform/qt/css2.1/t1204-increment-00-c-o-expected.txt: Removed.
* platform/qt/css2.1/t1204-increment-01-c-o-expected.txt: Removed.
* platform/qt/css2.1/t1204-increment-02-c-o-expected.txt: Removed.
* platform/qt/css2.1/t1204-reset-00-c-o-expected.txt: Removed.
* platform/qt/css2.1/t1204-reset-01-c-o-expected.txt: Removed.
* platform/qt/css2.1/t1204-reset-02-c-o-expected.txt: Removed.
2010-01-22 Csaba Osztrogonác <ossy@webkit.org>
 
[Qt] Skip test introduced in r53684 because of missing eventSender.textZoomIn()
This is the copy of W3C's CSS2.1 test suite.
http://www.w3.org/Style/CSS/Test/CSS2.1/20061011/
We should not add files into this directory and should not modify the
files in this directory. If you find invalid test cases in this
directory, report the problem to W3C and update the files of this
directory after they fixed the issue.
* About t1204-(increment|reset)-
These 6 tests produce wrong results with DumpRenderTree because they
use setTimeout but there are no waitUntilDone call. We disabled them
in this directory and have modified version of them as
fast/css/counters/counter-(increment|reset)-* .
The following two lines should be the same:
1-2-3-
1-2-3-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: dynamic changes to 'counter-increment'</title>
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
<meta http-equiv="Content-Script-Type" content="text/javascript"></meta>
<style type="text/css">
body { white-space: nowrap; }
#test, .reset { counter-reset: c; }
.increment:before { content: counters(c, ".") "-"; }
.increment { counter-increment: c; }
</style>
<script type="text/javascript">
function run() {
if (window.layoutTestController) {
layoutTestController.dumpAsText();
// This call ensures the layout happened before we modify the DOM tree.
layoutTestController.counterValueForElementById("span1");
}
var t = document.getElementById("test");
t.removeChild(t.childNodes.item(1));
if (window.layoutTestController) {
testElement = document.getElementById("test");
console = document.getElementById("console");
spanList = testElement.getElementsByTagName("span");
for (i = 0; i < spanList.length; ++i ) {
newSpanElement = document.createElement("span");
newSpanElement.innerText = layoutTestController.counterValueForElementById(spanList.item(i).getAttribute("id"));
if (newSpanElement.innerText.length)
newSpanElement.innerText = newSpanElement.innerText + "-";
console.appendChild(newSpanElement);
}
}
}
</script>
</head>
<body onload="run();">
<p>The following two lines should be the same:</p>
<div id="test"><span id="span1" class="increment"></span><span id="span2" class="reset"></span><span id="span3" class="increment"></span><span id="span4" class="increment"></span></div>
<div id="reference">1-2-3-</div>
<hr>
<div id="console"/>
</body>
</html>
acabdcf878b6d8b3320ef403a236f9bb
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x94
RenderBlock {HTML} at (0,0) size 800x94
RenderBody {BODY} at (8,16) size 784x70
RenderBlock {P} at (0,0) size 784x18
RenderText {#text} at (0,0) size 279x18
text run at (0,0) width 279: "The following two lines should be the same:"
RenderBlock {DIV} at (0,34) size 784x18
RenderInline {SPAN} at (0,0) size 13x18
RenderInline (generated) at (0,0) size 13x18
RenderCounter at (0,0) size 8x18
text run at (0,0) width 8: "1"
RenderText at (8,0) size 5x18
text run at (8,0) width 5: "-"
RenderInline {SPAN} at (0,0) size 13x18
RenderInline (generated) at (0,0) size 13x18
RenderCounter at (13,0) size 8x18
text run at (13,0) width 8: "2"
RenderText at (21,0) size 5x18
text run at (21,0) width 5: "-"
RenderInline {SPAN} at (0,0) size 13x18
RenderInline (generated) at (0,0) size 13x18
RenderCounter at (26,0) size 8x18
text run at (26,0) width 8: "3"
RenderText at (34,0) size 5x18
text run at (34,0) width 5: "-"
RenderBlock {DIV} at (0,52) size 784x18
RenderText {#text} at (0,0) size 84x18
text run at (0,0) width 84: "1-2-new-3-4-"
07e48cae2d35d59c9eaa46872b157c8f
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x94
RenderBlock {HTML} at (0,0) size 800x94
RenderBody {BODY} at (8,16) size 784x70
RenderBlock {P} at (0,0) size 784x18
RenderText {#text} at (0,0) size 279x18
text run at (0,0) width 279: "The following two lines should be the same:"
RenderBlock {DIV} at (0,34) size 784x18
RenderInline {SPAN} at (0,0) size 13x18
RenderInline (generated) at (0,0) size 13x18
RenderCounter at (0,0) size 8x18
text run at (0,0) width 8: "1"
RenderText at (8,0) size 5x18
text run at (8,0) width 5: "-"
RenderInline {SPAN} at (0,0) size 54x18
RenderInline (generated) at (0,0) size 13x18
RenderCounter at (13,0) size 8x18
text run at (13,0) width 8: "2"
RenderText at (21,0) size 5x18
text run at (21,0) width 5: "-"
RenderText {#text} at (26,0) size 41x18
text run at (26,0) width 41: "FAIL-"
RenderInline {SPAN} at (0,0) size 13x18
RenderInline (generated) at (0,0) size 13x18
RenderCounter at (67,0) size 8x18
text run at (67,0) width 8: "3"
RenderText at (75,0) size 5x18
text run at (75,0) width 5: "-"
RenderInline {SPAN} at (0,0) size 13x18
RenderInline (generated) at (0,0) size 13x18
RenderCounter at (80,0) size 8x18
text run at (80,0) width 8: "4"
RenderText at (88,0) size 5x18
text run at (88,0) width 5: "-"
RenderBlock {DIV} at (0,52) size 784x18
RenderText {#text} at (0,0) size 39x18
text run at (0,0) width 39: "1-2-3-"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment