You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following doesn't create a rule in Firefox.
jsb.createStyleSheet(
{ ".left": { "float": "left" }}
);
See attachment for test case.
Tested in Firefox 3.5 and base2-jsb-fp.js in trunk.
Original issue reported on code.google.com by [email protected] on 13 Mar 2010 at 3:20
Analysis: the call to createStyleSheet results in a call to
createRule({"float":"left", ".left") inside the file createStyleSheet.js. Then,
via a forEach.detect and an anonymous function the propertyName "float" is
translated in Firefox by "propertyName =
CSSStyleDeclaration.getPropertyName(propertyName);" to the value "css-float"
and later added to the "rule" (and thus "styleSheet") object. The
toString-method on the styleSheet object translate the "css-float" property
name to the string "cssFloat". And that's not a valid CSS property name.
Original issue reported on code.google.com by
[email protected]
on 13 Mar 2010 at 3:20Attachments:
The text was updated successfully, but these errors were encountered: