Closed
Bug 367390
Opened 18 years ago
Closed 17 years ago
MochiKit's this._xhtml should be true for anything that's not tag-soup
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 386526
People
(Reporter: bzbarsky, Assigned: sayrer)
Details
Sicking suggests:
document.getElementsByTagName('HTML')[0] == document.documentElement
to detect tag-soup. Possibly along with checking that document.documentElement is in the null namespace and document is an HTMLDocument.
Failing that, just doing
this._xhtml = (document.createElementNS &&
!(document instanceof HTMLDocument));
will get us the right behavior, but sicking's approach is better.
The regression tests I'll add for bug 311681 will have a .xml file that can be used to test whether this is fixed. This bug causes the report to not be styled there.
Assignee | ||
Updated•18 years ago
|
Summary: this._xhtml should be true for anything that's not tag-soup → MochiKit's this._xhtml should be true for anything that's not tag-soup
Comment 1•17 years ago
|
||
This bug also causes the results of .xml mochitests to not be counted. (They show as 0/0/0.)
Severity: normal → blocker
Updated•17 years ago
|
Flags: blocking1.9?
Comment 2•17 years ago
|
||
Oh, you already said that in bug 386526.
Comment 3•17 years ago
|
||
Jesse why is this on the nom list?
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
Component: Testing → Mochitest
Flags: blocking1.9?
Product: Core → Testing
QA Contact: testing → mochitest
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•