Closed
Bug 513383
Opened 15 years ago
Closed 15 years ago
[HTML5][Patch] Results not showing up on CSS3.info Selectors Test
Categories
(Core :: DOM: HTML Parser, defect, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: stebs, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20090828 Minefield/3.7a1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20090828 Minefield/3.7a1pre
Results Page of Selectors Test is displayed wrong while html5 parser is enabled
Reproducible: Always
Steps to Reproduce:
1. Set html5.enable to true
2. Goto url above and click on "Start the CSS Selectors Test"
Actual Results:
Test starts but no Results show up, area stays blank.
Expected Results:
43 Green Lines should appear one after one.
with html5.enable=false, everything is ok
Error that occurs only with html5 parser enabled:
Error: element is undefined
Source File: http://www.css3.info/selectors-test/jav ... csstest.js
Line: 234
That line says: var value = element.style[style.camelize()];
Confirmed on Vista. The whole function is:
getStyle: function(element, style) {
var value = element.style[style.camelize()];
if (!value) {
if (this.content.defaultView && this.content.defaultView.getComputedStyle) {
var css = this.content.defaultView.getComputedStyle(element, null);
value = css ? css.getPropertyValue(style) : null;
} else if (element.currentStyle) {
value = element.currentStyle[style.camelize()];
}
}
return value == 'auto' ? null : value;
}
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Version: unspecified → Trunk
Keywords: qawanted
Updated•15 years ago
|
Blocks: html5-parsing
Priority: -- → P1
Looks like something in my queue fixes this. (My guess is bug 531373.)
Summary: [HTML5] Results not showing up on CSS3.info Selectors Test → [HTML5][Patch] Results not showing up on CSS3.info Selectors Test
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Can confirm this Bug as fixed with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091212 Minefield/3.7a1pre
There is still a html5 regression with the Selectors Test (:checked fails), but this is already filed as Bug 534458
Comment 5•10 years ago
|
||
Issue is resolved - clearing old keywords - qa-wanted clean-up
Keywords: qawanted
You need to log in
before you can comment on or make changes to this bug.
Description
•