Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Calling strokeRect with zero width or height should do nothing

VERIFIED FIXED in mozilla7

Status

()

Core
Canvas: 2D
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Tracking

(Blocks: 1 bug, {dev-doc-complete})

Trunk
mozilla7
dev-doc-complete
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 538320 [details] [diff] [review]
Patch v1

http://www.w3c-test.org/html/tests/approved/canvas/2d.strokeRect.zero.2.html
Flags: in-testsuite+
(Assignee)

Updated

6 years ago
Attachment #538320 - Attachment description: Pat → Patch v1
Attachment #538320 - Attachment is patch: true
Attachment #538320 - Attachment mime type: message/rfc822 → text/plain
Attachment #538320 - Flags: review?(Olli.Pettay)
(Assignee)

Updated

6 years ago
Keywords: dev-doc-needed

Comment 1

6 years ago
Comment on attachment 538320 [details] [diff] [review]
Patch v1

OK
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-strokerect
Attachment #538320 - Flags: review?(Olli.Pettay) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/mozilla-central/rev/68ea3c29fb0f
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
Keywords: dev-doc-needed → dev-doc-complete
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0

Can anyone please tell me what is expected to be seen in the test case from the Description? Loading the test example gives me a green background and a "Pass" result bellow the second image. Is this the expected behavior?
(Assignee)

Comment 4

6 years ago
Correct.
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0

Verified on Win XP, Win 7, Ubuntu 11.04 and Mac OS X 10.6 - loading the test example from the Description gives me a green background and a "Passed" result.

Setting resolution to VERIFIED FIXED.

Thanks Ms2ger!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.