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 504 - HTMLBaseFontElement03 contradicts itself between level1 and level2
Summary: HTMLBaseFontElement03 contradicts itself between level1 and level2
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 11:35 UTC by David Faure
Modified: 2004-03-10 06:35 UTC (History)
0 users

See Also:


Attachments
Skips affected tests if hasFeature("HTML", "2.0") is true (47.39 KB, patch)
2004-03-09 18:44 UTC, Curt Arnold
Details
Defining doc as 'Document' avoids weakness in test-to-java (1.15 KB, patch)
2004-03-10 01:35 UTC, Curt Arnold
Details

Description David Faure 2004-01-23 11:35:19 UTC
No browser can pass both level1/html/HTMLBaseFontElement03.html 
and level2/html/HTMLBaseFontElement03.html 
The first one tests that size returns a number, the second one tests that size 
returns a string. 
 
Can the level1 test be removed, since the test is obsoleted by the one on 
level2? 
Another approach would to enable that test only if !hasFeature("HTML","2.0")...
Comment 1 David Faure 2004-01-23 11:51:34 UTC
Same thing for all the attributes whose types have been changed. 
 
HTMLInputElement13.html 
HTMLImageElement05.html 
HTMLImageElement06.html 
HTMLImageElement11.html 
HTMLImageElement12.html 
HTMLImageElement14.html 
HTMLObjectElement01.html 
HTMLObjectElement11.html 
HTMLObjectElement16.html 
 
I fail to see any purpose in requiring that new browsers implement the outdated 
version of the specs :) 
 
Comment 2 Bob Clary 2004-02-10 15:36:57 UTC
to curt.
Comment 3 Curt Arnold 2004-03-09 18:44:01 UTC
Created attachment 289 [details]
Skips affected tests if hasFeature("HTML", "2.0") is true
Comment 4 Curt Arnold 2004-03-09 18:48:20 UTC
I've guarded the tests in the L1 suite that are affected by type changes in L2 
so the body of the test will be skipped if hasFeature("HTML", "2.0") returns 
true.  The L2 HTML test suite incorporates all appropriate L1 HTML tests, so 
there should be a vanishingly small need for the L1 HTML test suite.
Comment 5 Curt Arnold 2004-03-10 01:35:02 UTC
Created attachment 293 [details]
Defining doc as 'Document' avoids weakness in test-to-java