[Webkit-unassigned] [Bug 7296] JavaScript error not thrown when trying to set a CSS property to an invalid value

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Feb 16 12:35:42 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7296





------- Comment #4 from ap at nypop.com  2006-02-16 12:35 PDT -------
I have now found this comment, it's in DOMCSSStyleDeclaration::put(). FWIW:
// We have to ignore exceptions here, because of the following unfortunate
situation:
//   1) Older versions ignored exceptions here by accident, because the put
function
//      that translated exceptions did not translate CSS exceptions.
//   2) Gecko does not raise an exception in this case, although WinIE does.
//   3) At least some Dashboard widgets are depending on this behavior.
// It would be nice to fix this some day, perhaps with some kind of "quirks
mode",
// but it's likely that the Dashboard widgets are already using a strict mode
DOCTYPE.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list