Reviewed by Eric Seidel.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
* page/Settings.cpp:
(WebCore::Settings::Settings):
2010-06-15 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
This patch updates the expected results for tests that conflict with
the HTML5 specification. In a later patch, I'll update the tests
themselves to fix pass/fail messages.
* fast/doctypes/005-case-preserving-expected.txt:
- HTML5 specifies case normalization for DOCTYPEs.
* fast/js/missing-title-end-tag-js-expected.txt:
- HTML5 requires us to swallow the entire document when <title> is
unterminated.
* fast/parser/comment-in-iframe-expected.txt:
* fast/parser/comment-in-script-tricky-expected.txt:
* fast/parser/comment-in-title-expected.txt:
* fast/parser/comments-expected.txt:
- Differences due to HTML5 comment parsing.
* fast/parser/eightdigithexentity-expected.txt:
- HTML5 specifies a different behavior for �
* fast/parser/entity-end-iframe-tag-expected.txt:
- HTML5 specifies a different behavior for </iframe>
* fast/parser/entity-surrogate-pairs-expected.txt:
- HTML5 doesn't allow entities to create surrogate pairs.
* fast/parser/html-whitespace-expected.txt:
- HTML5 has a different handling of CR in this case.
* fast/parser/script-tag-with-trailing-slash-expected.txt:
- HTML5 does not allow self-closing <script/> tags.
* fast/parser/tag-with-exclamation-point-expected.txt:
- HTML5 treats bogus DOCTYPEs as comments.
* fast/parser/xml-directive-in-dom-expected.txt:
- HTML5 attaches <?xml?> processing directives to the DOM as
comments.
* fast/xpath/xpath-functional-test-expected.txt:
- I don't fully understand this test, but our new behavior matches
the Firefox nightly builds (which have an HTML5 parser).
* html5lib/runner-expected.txt:
* html5lib/webkit-resumer-expected.txt:
- Massive progressions on HTML5 conformance.
* http/tests/loading/gmail-assert-on-load-expected.txt:
- I don't fully understand this behavior change. It might
represent a bug. We're still investigating.
* http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
- Update expected results for change in NULL char handling.
* http/tests/security/xssAuditor/img-onerror-tricky-expected.txt:
- This exploit no longer works in the HTML5 parser, so it's not
blocked.
* http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
- This a real regression. We need to update the XSSAuditor to use
the HTML5 parser's HTML entity decoder. I'll do that in a
followup patch because there doesn't appear to be an easy way to
key the choice off of the WebCore::Setting.
* http/tests/security/xssAuditor/malformed-HTML-expected.txt:
- Slightly different handling of malformed HTML. The exploit is still blocked.
* http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
- Update expected result due to different NULL character handling.
* inspector/audits-panel-functional-expected.txt:
* inspector/timeline-script-tag-1-expected.txt:
- Slightly different semantics around document.write.
* inspector/elements-panel-structure-expected.txt:
- HTML5 specifies case normalization for DOCTYPEs.
* platform/mac/css1/box_properties/float_elements_in_series-expected.txt:
- HTML5 specifies different handling of "<foo<bar"
* platform/mac/fast/doctypes/003-expected.txt:
- HTML5 specifies case normalization for DOCTYPEs.
* platform/mac/fast/dom/stripNullFromTextNodes-expected.txt:
- HTML5 specifies different handling of NULL characters.
* platform/mac/fast/invalid/016-expected.txt:
- HTML5 specifies different handling of "<foo<bar"
* platform/mac/fast/parser/broken-comments-vs-parsing-mode-expected.txt:
- HTML5 specifies different handling of HTML comments.
* platform/mac/fast/parser/comment-in-style-expected.txt:
- HTML5 specifies different handling of HTML comments.
* platform/mac/fast/parser/parseCommentsInTitles-expected.txt:
- HTML5 specifies different handling of HTML comments.
* platform/mac/fast/text/international/bidi-linebreak-001-expected.txt:
* platform/mac/fast/text/international/bidi-linebreak-002-expected.txt:
* platform/mac/fast/text/international/bidi-linebreak-003-expected.txt:
* platform/mac/fast/text/international/hindi-whitespace-expected.txt:
- HTML5 specifies different handling CR. I don't fully understand
the consequences of this change, but our new behavior matches the
Firefox nightly.
* platform/mac/fast/text/stripNullFromText-expected.txt:
- HTML5 specifies different handling of NULL characters.
* platform/mac/fast/tokenizer/missing-title-end-tag-1-expected.txt:
* platform/mac/fast/tokenizer/missing-title-end-tag-2-expected.txt:
- HTML5 requires us to swallow the entire document when <title> is
unterminated.
* platform/mac/fast/tokenizer/script_extra_close-expected.txt:
- We're coalescing text nodes slightly different in the new parser.
We're going to get this up to spec when we work on the
TreeConstructor (which is where the spec handles text node
coalescing).
* platform/mac/tables/mozilla/images/adforce_imgis_com-expected.txt:
- Different handling of crazy unicode characters (replaced with
FFFD). Still investigating whether this is a real bug.
* webarchive/archive-empty-frame-dom-expected.webarchive:
- HTML5 specifies case normalization for DOCTYPEs.
2010-06-15 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
* DumpRenderTree/mac/DumpRenderTree.mm:
(initializeGlobalsFromCommandLineOptions):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61234
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2010-06-15 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Enable HTML5 lexer
+ https://bugs.webkit.org/show_bug.cgi?id=40650
+
+ This patch updates the expected results for tests that conflict with
+ the HTML5 specification. In a later patch, I'll update the tests
+ themselves to fix pass/fail messages.
+
+ * fast/doctypes/005-case-preserving-expected.txt:
+ - HTML5 specifies case normalization for DOCTYPEs.
+ * fast/js/missing-title-end-tag-js-expected.txt:
+ - HTML5 requires us to swallow the entire document when <title> is
+ unterminated.
+ * fast/parser/comment-in-iframe-expected.txt:
+ * fast/parser/comment-in-script-tricky-expected.txt:
+ * fast/parser/comment-in-title-expected.txt:
+ * fast/parser/comments-expected.txt:
+ - Differences due to HTML5 comment parsing.
+ * fast/parser/eightdigithexentity-expected.txt:
+ - HTML5 specifies a different behavior for �
+ * fast/parser/entity-end-iframe-tag-expected.txt:
+ - HTML5 specifies a different behavior for </iframe>
+ * fast/parser/entity-surrogate-pairs-expected.txt:
+ - HTML5 doesn't allow entities to create surrogate pairs.
+ * fast/parser/html-whitespace-expected.txt:
+ - HTML5 has a different handling of CR in this case.
+ * fast/parser/script-tag-with-trailing-slash-expected.txt:
+ - HTML5 does not allow self-closing <script/> tags.
+ * fast/parser/tag-with-exclamation-point-expected.txt:
+ - HTML5 treats bogus DOCTYPEs as comments.
+ * fast/parser/xml-directive-in-dom-expected.txt:
+ - HTML5 attaches <?xml?> processing directives to the DOM as
+ comments.
+ * fast/xpath/xpath-functional-test-expected.txt:
+ - I don't fully understand this test, but our new behavior matches
+ the Firefox nightly builds (which have an HTML5 parser).
+ * html5lib/runner-expected.txt:
+ * html5lib/webkit-resumer-expected.txt:
+ - Massive progressions on HTML5 conformance.
+ * http/tests/loading/gmail-assert-on-load-expected.txt:
+ - I don't fully understand this behavior change. It might
+ represent a bug. We're still investigating.
+ * http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
+ - Update expected results for change in NULL char handling.
+ * http/tests/security/xssAuditor/img-onerror-tricky-expected.txt:
+ - This exploit no longer works in the HTML5 parser, so it's not
+ blocked.
+ * http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
+ - This a real regression. We need to update the XSSAuditor to use
+ the HTML5 parser's HTML entity decoder. I'll do that in a
+ followup patch because there doesn't appear to be an easy way to
+ key the choice off of the WebCore::Setting.
+ * http/tests/security/xssAuditor/malformed-HTML-expected.txt:
+ - Slightly different handling of malformed HTML. The exploit is still blocked.
+ * http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
+ - Update expected result due to different NULL character handling.
+ * inspector/audits-panel-functional-expected.txt:
+ * inspector/timeline-script-tag-1-expected.txt:
+ - Slightly different semantics around document.write.
+ * inspector/elements-panel-structure-expected.txt:
+ - HTML5 specifies case normalization for DOCTYPEs.
+ * platform/mac/css1/box_properties/float_elements_in_series-expected.txt:
+ - HTML5 specifies different handling of "<foo<bar"
+ * platform/mac/fast/doctypes/003-expected.txt:
+ - HTML5 specifies case normalization for DOCTYPEs.
+ * platform/mac/fast/dom/stripNullFromTextNodes-expected.txt:
+ - HTML5 specifies different handling of NULL characters.
+ * platform/mac/fast/invalid/016-expected.txt:
+ - HTML5 specifies different handling of "<foo<bar"
+ * platform/mac/fast/parser/broken-comments-vs-parsing-mode-expected.txt:
+ - HTML5 specifies different handling of HTML comments.
+ * platform/mac/fast/parser/comment-in-style-expected.txt:
+ - HTML5 specifies different handling of HTML comments.
+ * platform/mac/fast/parser/parseCommentsInTitles-expected.txt:
+ - HTML5 specifies different handling of HTML comments.
+ * platform/mac/fast/text/international/bidi-linebreak-001-expected.txt:
+ * platform/mac/fast/text/international/bidi-linebreak-002-expected.txt:
+ * platform/mac/fast/text/international/bidi-linebreak-003-expected.txt:
+ * platform/mac/fast/text/international/hindi-whitespace-expected.txt:
+ - HTML5 specifies different handling CR. I don't fully understand
+ the consequences of this change, but our new behavior matches the
+ Firefox nightly.
+ * platform/mac/fast/text/stripNullFromText-expected.txt:
+ - HTML5 specifies different handling of NULL characters.
+ * platform/mac/fast/tokenizer/missing-title-end-tag-1-expected.txt:
+ * platform/mac/fast/tokenizer/missing-title-end-tag-2-expected.txt:
+ - HTML5 requires us to swallow the entire document when <title> is
+ unterminated.
+ * platform/mac/fast/tokenizer/script_extra_close-expected.txt:
+ - We're coalescing text nodes slightly different in the new parser.
+ We're going to get this up to spec when we work on the
+ TreeConstructor (which is where the spec handles text node
+ coalescing).
+ * platform/mac/tables/mozilla/images/adforce_imgis_com-expected.txt:
+ - Different handling of crazy unicode characters (replaced with
+ FFFD). Still investigating whether this is a real bug.
+ * webarchive/archive-empty-frame-dom-expected.webarchive:
+ - HTML5 specifies case normalization for DOCTYPEs.
+
2010-06-15 Dmitry Titov <dimich@chromium.org>
Not reviewed, updating Chromium test expectations.
-SUCCESS - This document has a doctype and each component has the correct case
+FAILED - This document has a doctype, but one or more components has the wrong case
-name = HtMl
-publicId = -//W3C//DTD HTML 4.01 Transitional//EN
-systemId = http://www.w3.org/TR/html4/loose.dtd
+name = html (should be HtMl)
+publicId = -//W3C//DTD HTML 4.01 Transitional//EN (should be -//W3C//DTD HTML 4.01 Transitional//EN)
+systemId = http://www.w3.org/TR/html4/loose.dtd (should be http://www.w3.org/TR/html4/loose.dtd)
-This test checks that the first <script> tag after an unclosed <title> tag is parsed correctly. Early versions of the patch for Bugzilla Bug 3905 did not reset a state variable properly, causing the first <script></script> tag in the document to contain everything after the <title> tag.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
- There should be no text above this line.
+ --> This should be part of the iframe (and therefore invisible).
+There should be no text above this line.
-This should invoke document.write.
+--> document.write('This should invoke document.write.');
+--> This text should be part of the title.
The title of this document is:
-<!-- </title> --> This text should be part of the title.
+<!--
Output of this test should match WinIE (no strict SGML comment parsing).
Basic comments (1 PASSED):
-PASSED
+PASSED FAILED-->
+
Comment series (1 PASSED):
-PASSED
+PASSED FAILED-->
+
Dash runs (3 PASSED):
-PASSED PASSED PASSED
+PASSED FAILED PASSED PASSED
Empty comments (2 PASSED):
-PASSED PASSED
+PASSED FAILED--> PASSED
Multiple lines (1 PASSED):
-PASSED
+PASSED FAILED-->
Compatibility (2 PASSED):
-PASSED PASSED
+PASSED FAILED--> PASSED FAILED-->
Tab after comment close:
+FAILED: should be part of the comment -->
+
Text after comment close:
Extra comment after markup declaration close:
FAILED: extra comment end and markup declaration close -->
+FAILED: extra comment end w/space and markup declaration close -->
+
Nested comment (1 PASSED):
PASSED (outer nested comment) -->
-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA�some more stuff &hello;
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA�some more stuff &hello;
This test passes if the output does not contain a garbage character.
See https://bugs.webkit.org/show_bug.cgi?id=26454
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.getElementById("myiframe").textContent is expectedResult
+FAIL document.getElementById("myiframe").textContent should be </iframe>. Was </iframe>.
PASS successfullyParsed is true
TEST COMPLETE
Should be the same character (DESERET CAPITAL LETTER LONG I), repeated three times:
-𐐀𐐀𐐀
+𐐀����
08 rgb(0, 128, 0)
09 rgb(0, 128, 0)
0a rgb(0, 128, 0)
-0b rgb(0, 128, 0)
+0b rgb(255, 0, 0)
0c rgb(0, 128, 0)
0d rgb(0, 128, 0)
0e rgb(0, 128, 0)
-CONSOLE MESSAGE: line 1: SyntaxError: Parse error
-You should not see the text "inside" the following script tag: This is the text inside the script tag.
+You should not see the text "inside" the following script tag:
!doctype with id "doctype": null
-!foo div child count: 0
+!foo div child count: 2
-!doctype div child count: 0
+child 1 -- nodeName: #comment nodeValue: foo id="foo"
+
+child 2 -- nodeName: #comment nodeValue: !foo
+
+!doctype div child count: 1
+
+child 1 -- nodeName: #comment nodeValue: !doctype
[object HTMLHtmlElement]
[object DocumentType]
+[object Comment]
[ok].//*[@id]
[ok].//*[attribute::id]
[ok].//blockquote/text()
-[ok].//blockquote/comment()
+[ng].//blockquote/comment()
[ng].//blockquote/processing-instruction()
[ng].//blockquote/processing-instruction("pi")
[ng].//blockquote/node()
CONSOLE MESSAGE: line 3: FOO<span>BAR</span>BAZ
resources/tests1.dat:
25
-27
29
30
32
34
35
37
-38
-39
-40
41
-42
-43
-44
-45
-46
-47
-48
-49
50
51
52
54
57
59
-77
78
79
80
81
82
-84
87
90
91
113
resources/tests2.dat:
-2
6
7
8
9
10
11
-16
17
18
19
45
53
54
-56
57
-59
resources/tests3.dat:
-14
-15
16
17
18
7
8
9
-14
-15
16
resources/tests6.dat:
1
-4
-5
6
8
9
17
18
19
-22
-23
24
25
27
13
resources/tests16.dat:
-2
3
4
5
15
16
17
-19
-20
-21
-22
-23
-24
25
-26
27
28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
42
-43
44
45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
56
57
58
-59
-60
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-75
-78
-79
-81
-83
84
85
86
87
88
-89
-91
-92
94
-96
97
98
99
109
110
111
-113
-114
-115
-116
-117
-118
119
-120
121
122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
136
-137
138
139
-140
-141
-142
-143
-144
-145
-146
-147
148
149
150
-151
-152
-156
-157
-158
-159
-160
-161
-162
-163
-164
-165
-167
-170
-171
-173
-175
176
177
178
179
180
-181
-183
-184
186
resources/webkit01.dat:
-13
-15
-16
-
-resources/doctype01.dat:
-2
-4
-5
-8
-9
-10
-11
-12
-13
17
-18
-19
-20
-21
-22
-24
-26
-27
-31
-33
-resources/scriptdata01.dat:
-6
-17
-18
-19
-21
-22
-23
-24
-26
+resources/doctype01.dat: PASS
+
+resources/scriptdata01.dat: PASS
resources/entities01.dat:
2
5
-21
-22
-59
-60
-61
-62
-67
-68
-resources/entities02.dat:
-5
+resources/entities02.dat: PASS
-resources/comments01.dat:
-3
-6
-8
-9
-10
-11
-12
+resources/comments01.dat: PASS
CONSOLE MESSAGE: line 3: FOO<span>BAR</span>BAZ
CONSOLE MESSAGE: line 3: FOO<span>BAR</span>BAZ
resources/webkit01.dat:
-517.1
-518.2
519.3
520.4
521.5
522.6
523.7
-549.1
-550.2
-551.3
-552.4
-553.5
-554.6
-555.7
-556.8
-557.9
-558.10
-559.11
-560.12
-561.13
-562.14
-563.15
-564.16
-565.17
-566.18
-567.19
-568.20
-569.21
-570.1
-571.2
-572.3
-573.4
-574.5
-575.6
-576.7
-577.8
-578.9
-579.10
-580.11
-581.12
-582.13
-583.14
-584.15
-585.16
-586.17
-587.18
-588.19
-589.20
-590.21
-591.22
-592.23
+593.1
+594.2
+595.3
+596.4
+597.5
+598.6
+599.7
+600.8
+601.9
+602.10
+603.11
main frame - didFinishDocumentLoadForFrame
frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
-main frame - didHandleOnloadEventsForFrame
+frame "<!--framePath //<!--frame0-->-->" - didFailLoadWithError
main frame - didFinishLoadForFrame
This test provokes HTMLTokenizer::timerFired to be called and from within timerFired we want to call WebCore::pageDestroyed.
-CONSOLE MESSAGE: line 1: Refused to load an object. URL found within request: "http://127.0.0.1:8000/security/xssAuditor/resources/dummy.swf".
+CONSOLE MESSAGE: line 1: Refused to load an object. URL found within request: "http://127.0.0.1:8000/sec�urity/xssAuditor/resources/dummy.swf".
-CONSOLE MESSAGE: line 1: Refused to execute a JavaScript script. Source code of script found within request.
-
-CONSOLE MESSAGE: line 1: Refused to execute a JavaScript script. Source code of script found within request.
-
+CONSOLE MESSAGE: line 1: SyntaxError: Parse error
--------
Frame: '<!--framePath //<!--frame0-->-->'
--------
-<
+
-CONSOLE MESSAGE: line 1: Refused to load an object. URL found within request: "http://127.0.0.1:8000/security/xssAuditor/resources/dummy.swf".
+CONSOLE MESSAGE: line 1: Refused to load an object. URL found within request: "http://127.0.0.1:8000/sec�urity/xssAuditor/resources/dummy.swf".
Combine external JavaScript (4)
There are multiple resources served from same domain. Consider combining them into as few files as possible.
4 JavaScript resources served from [domain].
+ Minimize cookie size
+ The average cookie size for all requests on this page is 11B
Specify image dimensions (2)
A width and height should be specified for all images in order to speed up page display. The following image(s) are missing a width and/or height:
foo2.jpg
Tests that elements panel shows dom tree structure.
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>…
</head>
Tests the Timeline API instrumentation of an HTML script tag.
ParseHTML
+ParseHTML
----> EvaluateScript
--------> MarkTimeline : SCRIPT TAG
EvaluateScript Properties:
usedHeapSize : <number>
totalHeapSize : <number>
}
+ParseHTML
RenderImage {IMG} at (0,0) size 20x1
RenderTableCell {TD} at (20,9) size 100x1 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 100x1
- RenderTableCell {TD} at (120,9) size 20x1 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
- RenderImage {IMG} at (0,0) size 20x1
+ RenderTableCell {TD} at (120,9) size 20x0 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
RenderTableCell {TD} at (140,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=3 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 20x1
RenderTableCell {TD} at (160,9) size 20x1 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 20x1
RenderTableCell {TD} at (20,9) size 100x1 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 100x1
- RenderTableCell {TD} at (120,9) size 20x1 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
- RenderImage {IMG} at (0,0) size 20x1
+ RenderTableCell {TD} at (120,9) size 20x0 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
RenderTableCell {TD} at (140,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=3 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 20x1
RenderTableCell {TD} at (160,9) size 20x1 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x576
+layer at (0,0) size 800x176
+ RenderBlock {HTML} at (0,0) size 800x176
+ RenderBody {BODY} at (8,8) size 784x152
RenderBlock {DIV} at (0,0) size 784x100
RenderBlock (anonymous) at (0,100) size 784x18
RenderText {#text} at (0,0) size 489x18
text run at (0,0) width 309: "This file has a doc type with no public identifier. "
text run at (309,0) width 180: "We should be in strict mode."
- RenderBlock {UL} at (0,134) size 784x36
- RenderListItem {LI} at (40,0) size 744x36
- RenderBlock (anonymous) at (0,0) size 744x18
- RenderListMarker at (-17,0) size 7x18: bullet
- RenderBlock {UL} at (0,18) size 744x18
+ RenderBlock {UL} at (0,134) size 784x18
+ RenderListItem {LI} at (40,0) size 744x18
+ RenderBlock {UL} at (0,0) size 744x18
RenderListItem {LI} at (40,0) size 704x18
+ RenderListMarker at (-57,0) size 7x18: bullet
RenderListMarker at (-17,0) size 7x18: white bullet
RenderText {#text} at (0,0) size 251x18
text run at (0,0) width 251: "Both bullets should be on the same line."
-layer at (0,0) size 1072x585
+layer at (0,0) size 1104x585
RenderView at (0,0) size 800x585
-layer at (0,0) size 1072x585
+layer at (0,0) size 1104x585
RenderBlock {HTML} at (0,0) size 800x585
RenderBody {BODY} at (8,8) size 784x564
- RenderBlock {DIV} at (0,0) size 784x18
- RenderText {#text} at (0,0) size 31x18
- text run at (0,0) width 31: "hello"
- RenderBlock {PRE} at (0,31) size 784x15
+ RenderBlock {DIV} at (0,0) size 784x19
+ RenderText {#text} at (0,1) size 255x18
+ text run at (0,1) width 255: "\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}hell\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}o"
+ RenderBlock {PRE} at (0,32) size 784x15
RenderText {#text} at (0,0) size 1048x15
text run at (0,0) width 1048: "The null characters should be stripped out of the sting above and it should have a length of 5. And the DOM thinks the length is..."
- RenderText {#text} at (1048,0) size 16x15
- text run at (1048,0) width 16: "5!"
+ RenderText {#text} at (1048,0) size 48x15
+ text run at (1048,0) width 48: "19 :-("
text run at (448,0) width 286: "If you see only one square, the test has failed."
RenderBlock {P} at (0,34) size 784x104
RenderImage {IMG} at (0,0) size 104x104 [bgcolor=#008000] [border: (2px solid #000000)]
- RenderImage {IMG} at (104,0) size 104x104 [bgcolor=#008000] [border: (2px solid #000000)]
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x576
- RenderBlock {P} at (0,0) size 784x18
- RenderInline {A} at (0,0) size 60x18 [color=#0000EE]
- RenderText {#text} at (0,0) size 60x18
- text run at (0,0) width 60: "bug 8626"
- RenderText {#text} at (60,0) size 363x18
- text run at (60,0) width 8: ": "
- text run at (68,0) width 355: "Strict mode erroneously triggered by a broken comment."
- RenderBlock {P} at (0,34) size 784x18 [color=#00FF00]
- RenderText {#text} at (0,0) size 642x18
- text run at (0,0) width 642: "This text should be green, not black (CSS color values not beginning with '#' are OK in quirks mode)."
+ RenderBody {BODY} at (8,8) size 784x584
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x571
- RenderBlock {H1} at (0,0) size 784x37 [bgcolor=#008000]
+ RenderBlock (anonymous) at (0,0) size 784x18
+ RenderText {#text} at (0,0) size 538x18
+ text run at (0,0) width 538: "--> */ h1 { background-color: green; } /* This comment should be part of the style. */"
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock {H1} at (0,39) size 784x37
RenderText {#text} at (0,0) size 581x37
text run at (0,0) width 581: "This text should have a green background."
+ALERT: You should not see this.
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
- RenderText {#text} at (0,0) size 47x18
- text run at (0,0) width 47: "Fix for "
+ RenderText {#text} at (0,0) size 23x18
+ text run at (0,0) width 23: "--> "
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (23,0) size 47x18
+ text run at (23,0) width 47: "Fix for "
RenderInline {A} at (0,0) size 56x18 [color=#0000EE]
- RenderText {#text} at (47,0) size 56x18
- text run at (47,0) width 56: "4921692"
- RenderText {#text} at (103,0) size 415x18
- text run at (103,0) width 415: ". We should NOT run the script nested in the comment in the title."
+ RenderText {#text} at (70,0) size 56x18
+ text run at (70,0) width 56: "4921692"
+ RenderText {#text} at (126,0) size 415x18
+ text run at (126,0) width 415: ". We should NOT run the script nested in the comment in the title."
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
-layer at (0,0) size 800x176
- RenderBlock {HTML} at (0,0) size 800x176
- RenderBody {BODY} at (8,16) size 784x144
+layer at (0,0) size 800x157
+ RenderBlock {HTML} at (0,0) size 800x157
+ RenderBody {BODY} at (8,16) size 784x125
RenderBlock {P} at (0,0) size 784x36
RenderText {#text} at (0,0) size 762x36
text run at (0,0) width 762: "This HTML tests if the 'while-space' property controls the behavors of line-break characters (U+000A and U+000D) in a"
text run at (0,1) width 292: "If this test succeeds, you can see three words \""
text run at (292,1) width 37 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
text run at (329,1) width 177: "\", separated with line-break."
- RenderBlock {P} at (0,87) size 784x57
- RenderText {#text} at (0,1) size 37x56
+ RenderBlock {P} at (0,87) size 784x38
+ RenderText {#text} at (0,1) size 73x37
text run at (0,1) width 37 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
text run at (37,1) width 0: " "
- text run at (0,20) width 37 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
- text run at (37,20) width 0: " "
- text run at (0,39) width 37 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
+ text run at (0,20) width 73 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}\x{D}\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
text run at (292,1) width 37 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
text run at (329,1) width 149: "\", separated with space."
RenderBlock {P} at (0,87) size 784x19
- RenderText {#text} at (0,1) size 119x18
- text run at (0,1) width 119 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4} \x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4} \x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
+ RenderText {#text} at (0,1) size 115x18
+ text run at (0,1) width 115 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4} \x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}\x{D}\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
text run at (292,1) width 37 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
text run at (329,1) width 149: "\", separated with space."
RenderBlock {P} at (0,87) size 784x19
- RenderText {#text} at (0,1) size 119x18
- text run at (0,1) width 119 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4} \x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4} \x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
+ RenderText {#text} at (0,1) size 115x18
+ text run at (0,1) width 115 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4} \x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}\x{D}\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
text run at (0,1) width 719: "If this test succeeds, you can see this Hindi word \"\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}\" repeated three times separated by a space in the first two"
text run at (0,19) width 491: "paragraphs. In the third paragraphs, it'll be shown three times in separate lines."
RenderBlock {P} at (0,105) size 784x19
- RenderText {#text} at (0,1) size 138x18
- text run at (0,1) width 138: "1. \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902} \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902} \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
+ RenderText {#text} at (0,1) size 134x18
+ text run at (0,1) width 134: "1. \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902} \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}\x{D}\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
RenderBlock {P} at (0,140) size 784x19
- RenderText {#text} at (0,1) size 138x18
- text run at (0,1) width 138: "2. \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902} \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902} \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
- RenderBlock {P} at (0,175) size 784x75
- RenderText {#text} at (0,0) size 38x75
+ RenderText {#text} at (0,1) size 134x18
+ text run at (0,1) width 134: "2. \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902} \x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}\x{D}\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
+ RenderBlock {P} at (0,175) size 784x56
+ RenderText {#text} at (0,0) size 76x56
text run at (0,0) width 12: "3."
text run at (12,0) width 0: " "
text run at (0,19) width 38: "\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
text run at (38,19) width 0: " "
- text run at (0,38) width 38: "\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
- text run at (38,38) width 0: " "
- text run at (0,57) width 38: "\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
+ text run at (0,38) width 76: "\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}\x{D}\x{935}\x{93F}\x{937}\x{92F}\x{94B}\x{902}"
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {DIV} at (0,0) size 784x2 [border: (1px solid #FF0000)]
+ RenderBlock {DIV} at (0,0) size 784x21 [border: (1px solid #FF0000)]
+ RenderText {#text} at (1,2) size 16x18
+ text run at (1,2) width 16: "\x{FFFD}"
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {DIV} at (0,0) size 784x36
- RenderText {#text} at (0,0) size 773x36
- text run at (0,0) width 326: "This document is missing its </title> tag in its head. "
- text run at (326,0) width 447: "The tokenizer should retokenize this document after consuming all of it"
- text run at (0,18) width 504: "looking for the missing end tag, then let the parser clean up the missing tag. See "
- RenderInline {A} at (0,0) size 120x18 [color=#0000EE]
- RenderText {#text} at (504,18) size 120x18
- text run at (504,18) width 120: "Bugzilla Bug 3905"
- RenderText {#text} at (624,18) size 4x18
- text run at (624,18) width 4: "."
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {DIV} at (0,0) size 784x36
- RenderText {#text} at (0,0) size 775x36
- text run at (0,0) width 328: "This document is missing its </title> tag in its body. "
- text run at (328,0) width 447: "The tokenizer should retokenize this document after consuming all of it"
- text run at (0,18) width 504: "looking for the missing end tag, then let the parser clean up the missing tag. See "
- RenderInline {A} at (0,0) size 120x18 [color=#0000EE]
- RenderText {#text} at (504,18) size 120x18
- text run at (504,18) width 120: "Bugzilla Bug 3905"
- RenderText {#text} at (624,18) size 4x18
- text run at (624,18) width 4: "."
RenderText {#text} at (0,0) size 55x18
text run at (0,0) width 55: "TEST...\x{9}"
RenderText {#text} at (0,0) size 0x0
- RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (55,0) size 232x18
text run at (55,0) width 69: "PASSED. "
text run at (124,0) width 163: "This text should show up."
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
- RenderText {#text} at (0,0) size 665x18
- text run at (0,0) width 665: "GIF89a\x{D4}\x{1}<\x{20AC}\x{7F}!\x{FF}\x{B}NETSCAPE2.0\x{3}\x{1}!\x{F9}\x{4}\x{4}<,\x{D4}\x{1}<\x{201A}\x{7F}\x{FF}\x{FF}\x{FF}\x{FF}\x{FF}\x{DF}\x{DF}\x{DF}\x{BF}\x{BF}\x{BF}\x{7F}\x{7F}\x{7F}\x{3}\x{FF}8\x{BA}\x{DC}\x{FE}0\x{CA}I\x{AB}\x{BD}8\x{EB}\x{CD}\x{BB}\x{FF}`(\x{17D}di*\x{C6} \x{AC}l\x{EB}\x{BE}p,\x{CF}tm\x{DF}x\x{AE}\x{EF}|\x{EF}\x{FF}\x{C0} pH,"
+ RenderText {#text} at (0,1) size 61x18
+ text run at (0,1) width 61: "GIF89a\x{D4}\x{1}"
+ RenderText {#text} at (61,1) size 326x18
+ text run at (61,1) width 326: "<\x{FFFD}\x{20AC}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{7F}\x{FFFD}\x{FFFD}\x{FFFD}!\x{FF}\x{B}NETSCAPE2.0\x{3}\x{1}\x{FFFD}\x{FFFD}\x{FFFD}!\x{F9}\x{4}\x{4}"
+ RenderText {#text} at (387,1) size 137x18
+ text run at (387,1) width 137: "<\x{FFFD}\x{FFFD}\x{FFFD},\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{D4}\x{1}"
+ RenderText {#text} at (524,1) size 666x37
+ text run at (524,1) width 142: "<\x{FFFD}\x{201A}\x{FFFD}\x{FFFD}\x{7F}\x{FF}\x{FF}\x{FFFD}\x{FF}\x{FF}\x{FF}\x{DF}\x{DF}\x{DF}"
+ text run at (0,20) width 447: "\x{BF}\x{BF}\x{BF}\x{7F}\x{7F}\x{7F}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{FFFD}\x{3}\x{FF}8\x{BA}\x{DC}\x{FE}0\x{CA}I\x{AB}\x{BD}8\x{EB}\x{CD}\x{BB}\x{FF}`(\x{17D}di*\x{C6} \x{AC}l\x{EB}\x{BE}p,\x{CF}tm\x{DF}x\x{AE}\x{EF}|\x{EF}\x{FF}\x{C0} pH,"
<key>WebMainResource</key>
<dict>
<key>WebResourceData</key>
- <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head>
+ <string><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head>
<title>Empty iFrame causes archive exception</title>
<script>
if (window.layoutTestController)
+2010-06-15 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Enable HTML5 lexer
+ https://bugs.webkit.org/show_bug.cgi?id=40650
+
+ * page/Settings.cpp:
+ (WebCore::Settings::Settings):
+
2010-06-15 Mark Rowe <mrowe@apple.com>
Rubber-stamped by David Harrison.
, m_webGLEnabled(false)
, m_loadDeferringEnabled(true)
, m_tiledBackingStoreEnabled(false)
- , m_html5ParserEnabled(false)
+ , m_html5ParserEnabled(true)
, m_paginateDuringLayoutEnabled(false)
{
// A Frame may not have been created yet, so we initialize the AtomicString
+2010-06-15 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Enable HTML5 lexer
+ https://bugs.webkit.org/show_bug.cgi?id=40650
+
+ * DumpRenderTree/mac/DumpRenderTree.mm:
+ (initializeGlobalsFromCommandLineOptions):
+
2010-06-10 Yuzo Fujishima <yuzo@google.com>
Reviewed by Shinichiro Hamaji.
static int threaded;
static int dumpTree = YES;
static int forceComplexText;
-static int useHTML5Parser;
+static int useHTML5Parser = YES;
static BOOL printSeparators;
static RetainPtr<CFStringRef> persistentUserStyleSheetLocation;
{"tree", no_argument, &dumpTree, YES},
{"threaded", no_argument, &threaded, YES},
{"complex-text", no_argument, &forceComplexText, YES},
- {"html5-parser", no_argument, &useHTML5Parser, YES},
+ {"legacy-parser", no_argument, &useHTML5Parser, NO},
{NULL, 0, NULL, 0}
};