Closed
Bug 802658
Opened 12 years ago
Closed 12 years ago
strokeText and fillText bug with shadow and translate
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
VERIFIED
FIXED
mozilla19
People
(Reporter: kcleung88, Assigned: ajones)
References
Details
(Keywords: regression)
Attachments
(4 files, 2 obsolete files)
454 bytes,
text/html
|
Details | |
8.10 KB,
patch
|
Details | Diff | Splinter Review | |
3.36 KB,
patch
|
bas.schouten
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.12 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/18.0 Firefox/18.0
Build ID: 20121016042009
Steps to reproduce:
Using strokeText/fillText in canvas, with shadow and a translate of the position.
Actual results:
Only half (upper part) of the text "ABCDEFG" shown.
Tested in FF 18, window xp.
Comment 1•12 years ago
|
||
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/3d9424eb6eb4
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120901193714
Bad:
http://hg.mozilla.org/mozilla-central/rev/6c66c3997381
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120902185812
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3d9424eb6eb4&tochange=6c66c3997381
Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/476d122c82a6
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120902155712
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/6c66c3997381
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120902160711
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=476d122c82a6&tochange=6c66c3997381
Regressed by: Bug 781731
Blocks: 781731
Status: UNCONFIRMED → NEW
tracking-firefox18:
--- → ?
tracking-firefox19:
--- → ?
Ever confirmed: true
Keywords: regression
OS: Windows XP → All
Version: 13 Branch → 18 Branch
Updated•12 years ago
|
Attachment #672348 -
Attachment mime type: text/plain → text/html
Updated•12 years ago
|
Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Try run for 93b1400dc685 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=93b1400dc685
Results (out of 97 total builds):
exception: 3
success: 72
warnings: 17
failure: 5
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/ajones@mozilla.com-93b1400dc685
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #674029 -
Attachment is obsolete: true
Comment 6•12 years ago
|
||
Try run for 4307bd191edf is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=4307bd191edf
Results (out of 97 total builds):
exception: 2
success: 83
warnings: 7
failure: 5
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/ajones@mozilla.com-4307bd191edf
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #674094 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #674477 -
Flags: review?(bas)
Comment 8•12 years ago
|
||
Try run for 4307bd191edf is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=4307bd191edf
Results (out of 98 total builds):
exception: 2
success: 84
warnings: 7
failure: 5
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/ajones@mozilla.com-4307bd191edf
Comment 9•12 years ago
|
||
Try run for 4307bd191edf is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=4307bd191edf
Results (out of 100 total builds):
exception: 2
success: 86
warnings: 7
failure: 5
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/ajones@mozilla.com-4307bd191edf
Comment 10•12 years ago
|
||
Comment on attachment 674477 [details] [diff] [review]
Part 2: Apply transform to text bounds v2
Review of attachment 674477 [details] [diff] [review]:
-----------------------------------------------------------------
Nice find.
Attachment #674477 -
Flags: review?(bas) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 11•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1d7fc5c44ee2
https://hg.mozilla.org/integration/mozilla-inbound/rev/278e17fa10e7
Status: NEW → ASSIGNED
Keywords: checkin-needed
Updated•12 years ago
|
Flags: in-testsuite+
Comment 12•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1d7fc5c44ee2
https://hg.mozilla.org/mozilla-central/rev/278e17fa10e7
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
status-firefox19:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment 13•12 years ago
|
||
(In reply to :Ms2ger from comment #11)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/1d7fc5c44ee2
> https://hg.mozilla.org/integration/mozilla-inbound/rev/278e17fa10e7
Please nominate for aurora-uplifts once we comfortable with testing/bake-time on m-c.Thanks !
Assignee | ||
Comment 14•12 years ago
|
||
Comment on attachment 674477 [details] [diff] [review]
Part 2: Apply transform to text bounds v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 781731
User impact if declined: Text shadow truncated when transforms applied
Testing completed (on m-c, etc.): on m-c. local testing.
Risk to taking this patch (and alternatives if risky): Low risk and could only affect text shadow because the bounds only used for shadow.
String or UUID changes made by this patch: None.
Attachment #674477 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #674477 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 15•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/88df0b13ff34
https://hg.mozilla.org/releases/mozilla-aurora/rev/4682035751ea
status-firefox18:
--- → fixed
Keywords: checkin-needed
Reporter | ||
Comment 16•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Attachment #677750 -
Attachment mime type: text/plain → text/html
Reporter | ||
Comment 17•12 years ago
|
||
The text still get truncated even in the first attachment test.html with lower shadowBlur value. i.e.
c.shadowBlur=5;
....
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 18•12 years ago
|
||
If so, please file a new bug.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Comment 19•12 years ago
|
||
Verified fixed using the testcase and based on comment 18.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0b4
Aurora 19.0a2 (2012-12-18)
You need to log in
before you can comment on or make changes to this bug.
Description
•