Closed
Bug 656844
Opened 13 years ago
Closed 13 years ago
Disable drawing of shadows with non-OVER operators
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla7
People
(Reporter: roc, Assigned: roc)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files, 1 obsolete file)
2.95 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
3.85 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-May/031594.html I think this is the way the spec should go and I think it's very unlikely to affect Web compatibility.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #532118 -
Flags: review?(joe)
Assignee | ||
Comment 2•13 years ago
|
||
Update test_canvas.html to disable tests that assume shadows work with non-over operators.
Attachment #532118 -
Attachment is obsolete: true
Attachment #532118 -
Flags: review?(joe)
Attachment #533234 -
Flags: review?(joe)
Comment 3•13 years ago
|
||
Comment on attachment 533234 [details] [diff] [review] fix v2 Review of attachment 533234 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/canvas/src/nsCanvasRenderingContext2D.cpp @@ +534,5 @@ > { > ContextState& state = CurrentState(); > > // The spec says we should not draw shadows when the alpha value is 0, > // regardless of the operator being used. You could update this comment if you wanted to
Attachment #533234 -
Flags: review?(joe) → review+
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs landing]
Assignee | ||
Comment 4•13 years ago
|
||
http://hg.mozilla.org/projects/cedar/rev/22ec5982eca7
Whiteboard: [needs landing] → [fixed-in-cedar]
Comment 5•13 years ago
|
||
Pushed: http://hg.mozilla.org/mozilla-central/rev/22ec5982eca7
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
OS: Windows 7 → All
Hardware: x86 → All
Resolution: --- → FIXED
Whiteboard: [fixed-in-cedar]
Target Milestone: --- → mozilla7
Version: unspecified → Trunk
Assignee | ||
Updated•13 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Comment 6•13 years ago
|
||
Actually I didn't add a testcase specifically for this behavior, and I should have.
Flags: in-testsuite+ → in-testsuite?
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #536196 -
Flags: review?(joe)
Assignee | ||
Comment 8•13 years ago
|
||
Bas, you might want to check that Azure behaves correctly with this test/behavior change.
Comment 9•13 years ago
|
||
Comment on attachment 536196 [details] [diff] [review] Testcase Review of attachment 536196 [details] [diff] [review]: ----------------------------------------------------------------- i like this especially for spelling colour correctly
Attachment #536196 -
Flags: review?(joe) → review+
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs landing]
Assignee | ||
Comment 10•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/a565838cfc3a
Flags: in-testsuite? → in-testsuite+
Whiteboard: [needs landing]
Comment 11•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/a565838cfc3a
Comment 12•13 years ago
|
||
Documentation updated: https://developer.mozilla.org/en/Canvas_tutorial/Applying_styles_and_colors#Shadows And mentioned on Firefox 7 for developers.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•