[webkit-changes] cvs commit: LayoutTests/fast/parser xhtml-alternate-entities-expected.txt xhtml-alternate-entities.xml

Eric eseidel at opensource.apple.com
Thu Dec 29 21:51:39 PST 2005


eseidel     05/12/29 21:51:39

  Modified:    .        ChangeLog
  Added:       fast/parser xhtml-alternate-entities-expected.txt
                        xhtml-alternate-entities.xml
  Log:
  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.
  
  Revision  Changes    Path
  1.200     +10 -0     LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.199
  retrieving revision 1.200
  diff -u -r1.199 -r1.200
  --- ChangeLog	30 Dec 2005 02:42:45 -0000	1.199
  +++ ChangeLog	30 Dec 2005 05:51:37 -0000	1.200
  @@ -1,3 +1,13 @@
  +2005-12-29  Eric Seidel  <eseidel at 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 at bdash.net.nz>
   
           Reviewed by eseidel.
  
  
  
  1.1                  LayoutTests/fast/parser/xhtml-alternate-entities-expected.txt
  
  Index: xhtml-alternate-entities-expected.txt
  ===================================================================
  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
  
  
  
  1.1                  LayoutTests/fast/parser/xhtml-alternate-entities.xml
  
  Index: xhtml-alternate-entities.xml
  ===================================================================
  <?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>
  
  
  



More information about the webkit-changes mailing list