| Differences between
and this patch
- a/LayoutTests/ChangeLog +15 lines
Lines 1-3 a/LayoutTests/ChangeLog_sec1
1
2009-11-17  Kinuko Yasuda  <kinuko@chromium.com>
2
3
        Reviewed by NOBODY (OOPS!).
4
5
        Rewrite the test fast/parser/comment-in-textarea to use dumpAsText
6
        so that the expected results can be independent of platform differences.
7
        https://bugs.webkit.org/show_bug.cgi?id=31580
8
9
        * fast/parser/comment-in-textarea-expected.txt: Added.
10
        * fast/parser/comment-in-textarea.html:
11
        * platform/mac/fast/parser/comment-in-textarea-expected.checksum: Removed.
12
        * platform/mac/fast/parser/comment-in-textarea-expected.png: Removed.
13
        * platform/mac/fast/parser/comment-in-textarea-expected.txt: Removed.
14
        * platform/win/fast/parser/comment-in-textarea-expected.txt: Removed.
15
1
2009-11-17  Yuta Kitamura  <yutak@chromium.org>
16
2009-11-17  Yuta Kitamura  <yutak@chromium.org>
2
17
3
        Reviewed by Eric Seidel.
18
        Reviewed by Eric Seidel.
- a/LayoutTests/fast/parser/comment-in-textarea-expected.txt +2 lines
Line 0 a/LayoutTests/fast/parser/comment-in-textarea-expected.txt_sec1
1
2
Test Passed
- a/LayoutTests/fast/parser/comment-in-textarea.html -2 / +20 lines
Lines 1-8 a/LayoutTests/fast/parser/comment-in-textarea.html_sec1
1
<html>
1
<html>
2
<body>
2
<body onload="test()">
3
<textarea>
3
<textarea id="test">
4
<!-- </textarea> -->
4
<!-- </textarea> -->
5
This should be part of the textarea
5
This should be part of the textarea
6
</textarea>
6
</textarea>
7
<div id="console"></div>
8
<script>
9
function log(msg)
10
{
11
    document.getElementById('console').appendChild(document.createTextNode(msg + '\n'));
12
}
13
14
function test()
15
{
16
    if (window.layoutTestController)
17
        layoutTestController.dumpAsText();
18
    var textArea = document.getElementById("test");
19
    if (textArea.innerHTML == "\n<!-- </textarea> -->\nThis should be part of the textarea\n")
20
        log("Test Passed");
21
    else
22
        log("Test Failed: " + textArea.innerHTML);
23
}
24
</script>
7
</body>
25
</body>
8
</html>
26
</html>
- a/LayoutTests/platform/mac/fast/parser/comment-in-textarea-expected.checksum -1 lines
Line 1 a/LayoutTests/platform/mac/fast/parser/comment-in-textarea-expected.checksum_sec1
1
92f3bd5cd9dd9391b6011237f8bb858a
- a/LayoutTests/platform/mac/fast/parser/comment-in-textarea-expected.txt -20 lines
Lines 1-20 a/LayoutTests/platform/mac/fast/parser/comment-in-textarea-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x600
4
  RenderBlock {HTML} at (0,0) size 800x600
5
    RenderBody {BODY} at (8,8) size 784x584
6
      RenderText {#text} at (0,0) size 0x0
7
      RenderText {#text} at (0,0) size 0x0
8
      RenderText {#text} at (0,0) size 0x0
9
layer at (10,10) size 129x32 clip at (11,11) size 112x30 scrollHeight 69
10
  RenderTextControl {TEXTAREA} at (2,2) size 129x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
11
    RenderBlock {DIV} at (3,3) size 108x65
12
      RenderText {#text} at (0,0) size 108x52
13
        text run at (0,0) width 108: "<!-- </textarea> -"
14
        text run at (0,13) width 16: "->"
15
        text run at (16,13) width 0: " "
16
        text run at (0,26) width 105: "This should be part"
17
        text run at (105,26) width 3: " "
18
        text run at (0,39) width 79: "of the textarea"
19
        text run at (79,39) width 0: " "
20
      RenderBR {BR} at (0,52) size 0x13
- a/LayoutTests/platform/win/fast/parser/comment-in-textarea-expected.txt -19 lines
Lines 1-19 a/LayoutTests/platform/win/fast/parser/comment-in-textarea-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x600
4
  RenderBlock {HTML} at (0,0) size 800x600
5
    RenderBody {BODY} at (8,8) size 784x584
6
      RenderText {#text} at (0,0) size 0x0
7
      RenderText {#text} at (0,0) size 0x0
8
      RenderText {#text} at (0,0) size 0x0
9
layer at (10,10) size 161x32 clip at (11,11) size 144x30 scrollHeight 56
10
  RenderTextControl {TEXTAREA} at (2,2) size 161x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
11
    RenderBlock {DIV} at (3,3) size 140x52
12
      RenderText {#text} at (0,0) size 140x39
13
        text run at (0,0) width 124: "<!-- </textarea> -->"
14
        text run at (124,0) width 0: " "
15
        text run at (0,13) width 140: "This should be part of the"
16
        text run at (140,13) width 0: " "
17
        text run at (0,26) width 44: "textarea"
18
        text run at (44,26) width 0: " "
19
      RenderBR {BR} at (0,39) size 0x13

Return to Bug 31580