Commit d67c400f authored by eseidel's avatar eseidel

Bug #: 6290

Submitted by: eseidel
Reviewed by: mjs
        XML documents with "html" in dtd name use XHTML entities when they shouldn't
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6290

        * fast/parser/xhtml-alternate-entities-expected.txt: Added.
        * fast/parser/xhtml-alternate-entities.xml: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1fda09d0
2005-12-29 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
XML documents with "html" in dtd name use XHTML entities when they shouldn't
http://bugzilla.opendarwin.org/show_bug.cgi?id=6290
* fast/parser/xhtml-alternate-entities-expected.txt: Added.
* fast/parser/xhtml-alternate-entities.xml: Added.
2005-12-28 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by eseidel.
......
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x148
RenderBlock {html} at (0,0) size 800x148
RenderBlock (anonymous) at (0,0) size 800x0
RenderInline {PARSERERROR} at (0,0) size 0x0 [bgcolor=#FFDDDD] [border: (2px solid #CC7777)]
RenderBlock (anonymous) at (0,18) size 800x94
RenderBlock {H3} at (0,0) size 800x22
RenderText {TEXT} at (0,0) size 324x22
text run at (0,0) width 324: "This page contains the following errors:"
RenderBlock {DIV} at (0,40) size 800x14
RenderText {TEXT} at (0,0) size 385x14
text run at (0,0) width 385: "error on line 4 at column 17: Entity 'fnof' not defined"
RenderBlock {H3} at (0,72) size 800x22
RenderText {TEXT} at (0,0) size 429x22
text run at (0,0) width 429: "Below is a rendering of the page up to the first error."
RenderBlock (anonymous) at (0,130) size 800x18
RenderInline {PARSERERROR} at (0,0) size 0x0 [bgcolor=#FFDDDD] [border: (2px solid #CC7777)]
RenderText {TEXT} at (0,0) size 0x0
RenderInline {h1} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderInline {p} at (0,0) size 489x18
RenderInline {font} at (0,0) size 489x18
RenderText {TEXT} at (0,0) size 489x18
text run at (0,0) width 263: "This should be the only line on this page. "
text run at (263,0) width 226: "You should see a parse error above."
RenderText {TEXT} at (0,0) size 0x0
<?xml-stylesheet href="data:text/css,.test%20{%20color:%20red;%20}" ?>
<!DOCTYPE html PUBLIC "-//WHATWG//DTD XHTML 1.0 AlternateEntities//EN" "010.dtd">
<html>
<h1> &fnof;&auml;&iuml;&Iuml; </h1> <!-- If you get a parse error, this test has PASSED. -->
<p class="test"><font color="red"> This should be the only line on this page. You should see a parse error above.</font></p>
</html>
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