[Webkit-unassigned] [Bug 42211] New: Canvas: rect(x, y, w, h) should move to (x, y) even if w=0 and h=0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 13 16:37:42 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42211
Summary: Canvas: rect(x,y,w,h) should move to (x,y) even if w=0
and h=0
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: HTML5
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andreas.kling at nokia.com
Quoth HTML5:
The rect(x, y, w, h) method must create a new subpath containing just the four points (x, y), (x+w, y), (x+w, y+h), (x, y+h), with those four points connected by straight lines, and must then mark the subpath as closed. It must then create a new subpath with the point (x, y) as the only point in the subpath.
This would fix one in-tree layout test:
- canvas/philip/tests/2d.path.rect.zero.4.html
Spec link:
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-rect
--
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