[Webkit-unassigned] [Bug 36683] For compatibility, execCommand should support deprecated 'useCSS' alias for 'styleWithCSS'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 1 08:03:13 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=36683





--- Comment #8 from Aryeh Gregor <ayg at aryeh.name>  2011-09-01 08:03:13 PST ---
What the spec says, and what Gecko does, is to interpret a case-insensitive match for "false" as "false", and anything else as "true".  So "false", "FALSE", and "fAlSe" all count as false, while "", "1", "0", " false", "true", "amsi993", "\0", etc. all count as true.  It doesn't make a big difference, since authors will usually pass boolean true or false, which will become the string "true" or "false".  But WebKit may as well match Gecko here.  Gecko's behavior is simpler here -- it can only do two things (enable/disable), not three (enable/disable/nothing).  Also, Gecko's behavior is probably more compatible.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list