[webkit-changes] cvs commit: WebCore/layout-tests/fast/invalid
021-expected.txt 021.html
David
hyatt at opensource.apple.com
Fri Aug 5 13:47:36 PDT 2005
hyatt 05/08/05 13:47:36
Modified: . ChangeLog
khtml/css html4.css
khtml/html htmlparser.cpp
Added: layout-tests/fast/invalid 021-expected.txt 021.html
Log:
-added layout test for fix to: <rdar://problem/4161606> JavaScript regular
expressions with certain ranges of Unicode characters cause a crash
Test cases added:
* layout-tests/fast/js/regexp-big-unicode-ranges-expected.txt: Added.
* layout-tests/fast/js/regexp-big-unicode-ranges.html: Added.
Revision Changes Path
1.4528 +12 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4527
retrieving revision 1.4528
diff -u -r1.4527 -r1.4528
--- ChangeLog 5 Aug 2005 20:44:36 -0000 1.4527
+++ ChangeLog 5 Aug 2005 20:47:31 -0000 1.4528
@@ -10,6 +10,18 @@
2005-08-05 David Hyatt <hyatt at apple.com>
+ Make sure that <wbr> and <nobr> are included as residual style tags.
+
+ Reviewed by john
+
+ Test cases added: fast/invalid/wbrlink.html
+
+ * khtml/css/html4.css:
+ * khtml/html/htmlparser.cpp:
+ (HTMLParser::isResidualStyleTag):
+
+2005-08-05 David Hyatt <hyatt at apple.com>
+
Fix for bugzilla bug 4289, a regression from the QualifiedName landing. Make sure getNamedItemNS and
removeNamedItemNS are case-insensitive in HTML documents.
1.73 +0 -1 WebCore/khtml/css/html4.css
Index: html4.css
===================================================================
RCS file: /cvs/root/WebCore/khtml/css/html4.css,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- html4.css 2 Aug 2005 20:28:39 -0000 1.72
+++ html4.css 5 Aug 2005 20:47:35 -0000 1.73
@@ -371,7 +371,6 @@
}
nobr {
- display: inline;
white-space: nowrap
}
1.102 +2 -0 WebCore/khtml/html/htmlparser.cpp
Index: htmlparser.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/html/htmlparser.cpp,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- htmlparser.cpp 4 Aug 2005 21:33:47 -0000 1.101
+++ htmlparser.cpp 5 Aug 2005 20:47:35 -0000 1.102
@@ -934,6 +934,8 @@
residualStyleTags.insert(sampTag.localName().implementation());
residualStyleTags.insert(kbdTag.localName().implementation());
residualStyleTags.insert(varTag.localName().implementation());
+ residualStyleTags.insert(nobrTag.localName().implementation());
+ residualStyleTags.insert(wbrTag.localName().implementation());
}
return residualStyleTags.contains(tagName.implementation());
1.1 WebCore/layout-tests/fast/invalid/021-expected.txt
Index: 021-expected.txt
===================================================================
layer at (0,0) size 800x600
RenderCanvas 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
RenderBlock {P} at (0,0) size 784x18
RenderText {TEXT} at (0,0) size 266x18
text run at (0,0) width 266: "All the text below should be part of a link."
RenderBlock (anonymous) at (0,34) size 784x36
RenderInline {NOBR} at (0,0) size 27x18
RenderInline {A} at (0,0) size 27x18 [color=#0000EE]
RenderText {TEXT} at (0,0) size 27x18
text run at (0,0) width 27: "Test"
RenderInline {A} at (0,0) size 61x18 [color=#0000EE]
RenderText {TEXT} at (27,0) size 61x18
text run at (27,0) width 61: " more test"
RenderBR {BR} at (0,0) size 0x0
RenderInline {WBR} at (0,0) size 27x18
RenderInline {A} at (0,0) size 27x18 [color=#0000EE]
RenderText {TEXT} at (0,18) size 27x18
text run at (0,18) width 27: "Test"
RenderInline {A} at (0,0) size 61x18 [color=#0000EE]
RenderText {TEXT} at (27,18) size 61x18
text run at (27,18) width 61: " more test"
RenderBR {BR} at (0,0) size 0x0
1.1 WebCore/layout-tests/fast/invalid/021.html
Index: 021.html
===================================================================
<p>All the text below should be part of a link.</p>
<nobr><a href="foo.html">Test</nobr> more test</a><br>
<wbr><a href="foo.html">Test</wbr> more test</a><br>
More information about the webkit-changes
mailing list