[Webkit-unassigned] [Bug 39149] Canvas element cannot have negative width or height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 06:08:33 PDT 2010


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


Andreas Kling <andreas.kling at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56199|0                           |1
        is obsolete|                            |
  Attachment #57867|                            |review?, commit-queue?
               Flag|                            |




--- Comment #10 from Andreas Kling <andreas.kling at nokia.com>  2010-06-04 06:08:32 PST ---
Created an attachment (id=57867)
 --> (https://bugs.webkit.org/attachment.cgi?id=57867)
Proposed patch v4

Updated patch with additional test coverage.
The spec isn't too explicit on how NaN/etc should be handled.
NaN/Infinity/null becomes 0 on Firefox and 300/150 (default value) on Opera.
Opera OTOH doesn't allow 0 width/height.
Personally, while I think mapping NaN/Infinity/null to the default values makes some sense,
it doesn't justify adding custom JS bindings to deal with these cases.

-- 
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