This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 246 - HTML test expect ignorable whitespace to be preserved.
Summary: HTML test expect ignorable whitespace to be preserved.
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 1 (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-27 18:35 UTC by Curt Arnold
Modified: 2003-06-28 22:50 UTC (History)
0 users

See Also:


Attachments
Patches (11.45 KB, patch)
2003-06-28 15:52 UTC, Curt Arnold
Details
Fixed loop to consume whitespace (748 bytes, patch)
2003-06-28 18:42 UTC, Curt Arnold
Details
Fix for hc_noderemovechildnode.xml (709 bytes, patch)
2003-06-28 18:50 UTC, Curt Arnold
Details

Description Curt Arnold 2003-06-27 18:35:39 UTC
hc_elementgetelementsbytagnameaccessnodelist expects that a CharacterData node 
between the <p> and <em> element in a fragment like:

<p>
  <em>EMP0004</em>
</p>

IE and Konq fail this test since they omit the character data node.

The attached patch rewrites these tests so they do not require the 
CharacterData node to appear, but require that an <em> element be the first or 
second child and contain EMP0004.
Comment 1 Curt Arnold 2003-06-28 15:52:00 UTC
Created attachment 26 [details]
Patches
Comment 2 Curt Arnold 2003-06-28 18:42:18 UTC
Created attachment 35 [details]
Fixed loop to consume whitespace
Comment 3 Curt Arnold 2003-06-28 18:50:00 UTC
Created attachment 37 [details]
Fix for hc_noderemovechildnode.xml