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 507 - documentgetdoctypenodtd could be HTML compatible
Summary: documentgetdoctypenodtd could be HTML compatible
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: 2004-01-23 21:43 UTC by Curt Arnold
Modified: 2004-01-28 23:47 UTC (History)
0 users

See Also:


Attachments
Adds hc_nodtdstaff (3.58 KB, patch)
2004-01-24 01:37 UTC, Curt Arnold
Details
Remove nodtdstaff, modify DOMTestSuite so that nodtdstaff tests are skipped for HTML processors (1.23 KB, patch)
2004-01-24 01:55 UTC, Curt Arnold
Details
Adds hc_documentgetdoctype (4.57 KB, patch)
2004-01-28 18:43 UTC, Curt Arnold
Details
Previous contained stray L3 patch (2.99 KB, patch)
2004-01-28 18:47 UTC, Curt Arnold
Details

Description Curt Arnold 2004-01-23 21:43:06 UTC
This test currently loads nodtdstaff.xml to check if a document with no DTD
returns null.  There is a guard that skips the test if hasFeature("XML") returns
true which previously was sufficient to prevent the test from being run on HTML
implementation.  Given an appropriate HTML compatible test document, this test
could be run on all implementations and the guard would be unnecessary.
Comment 1 Curt Arnold 2004-01-24 01:37:25 UTC
Created attachment 204 [details]
Adds hc_nodtdstaff
Comment 2 Curt Arnold 2004-01-24 01:55:13 UTC
Created attachment 205 [details]
Remove nodtdstaff, modify DOMTestSuite so that nodtdstaff tests are skipped for HTML processors
Comment 3 Curt Arnold 2004-01-28 18:43:08 UTC
Created attachment 208 [details]
Adds hc_documentgetdoctype

Adds hc_documentgetdoctype which checks behavior when a document type
declaration is present.  Test allows an HTML implementation to return non-null
for Document.doctype which is not consistent with the spec which requires an
unconditional null for HTML, but that restriction is expected to be relaxed
with an errata per 28 Jan 2004 Teleconference.
Comment 4 Curt Arnold 2004-01-28 18:47:24 UTC
Created attachment 209 [details]
Previous contained stray L3 patch