Closed
Bug 1216200
Opened 9 years ago
Closed 9 years ago
inset box-shadow renders incorrectly
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
VERIFIED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | verified |
People
(Reporter: dholbert, Assigned: mchang)
References
Details
(Keywords: regression)
Attachments
(4 files)
158 bytes,
text/html
|
Details | |
55.47 KB,
image/png
|
Details | |
2.25 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
2.45 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Load attached testcase.
EXPECTED RESULTS:
Shadow at lower-right of bordered box.
ACTUAL RESULTS:
Weird disjoint grid of shadows.
Firefox 41 (release) & chrome each give EXPECTED RESULTS.
Firefox Nightly 44.0a1 (2015-10-19) gives ACTUAL RESULTS.
This seems similar to bug 1213545, but the patch there (attachment 8674497 [details] [diff] [review]) doesn't fix the bug. (though it does change the rendering a bit) But feel free to dupe if we want to extend/adjust that bug's patch to fix this case, too.
Reporter | ||
Comment 1•9 years ago
|
||
Looks like this went from drawing the correct thing to drawing *nothing* with this regression range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=11dc79e232110ba6de5179e46dfbda77b52a88c3&tochange=4313752f69956ae248bd4e7ff3913c8dd4252698
(So, Bug 1188075)
Then a few days ago, this went back to drawing something (hooray! but it draws the wrong thing, per this bug). That change was likely a result of bug 1211363.
Blocks: 1188075
Reporter | ||
Comment 2•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mchang
![]() |
||
Comment 3•9 years ago
|
||
And also affect to a complete theme, See http://forums.mozillazine.org/viewtopic.php?f=23&t=2968697
I think I've got this problem on my system, but it's also related to the theme I'm using.
Please see http://forums.mozillazine.org/viewtopic.php?f=23&t=2968697
I've filed Bug 1216220, but now it may be a dupe.
Assignee | ||
Comment 7•9 years ago
|
||
This accounts for negative spread values when calculating the min inset blur. If we have a blur radius and a negative spread value, we would create a min inset blur size that is too small to actually blur correctly, and copy over incorrect parts to the final destination. This patch ensures that even if we have a negative spread radius, we still create a surface big enough to do the blur.
Attachment #8676945 -
Flags: review?(mstange)
Updated•9 years ago
|
Attachment #8676945 -
Flags: review?(mstange) → review+
Comment 9•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(mchang)
Assignee | ||
Comment 11•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8678313 -
Flags: review?(mstange)
Comment 12•9 years ago
|
||
Comment on attachment 8678313 [details] [diff] [review]
Reftest with negative spread value
You can just use about:blank as the reference, so that you don't need to add an empty -ref.html file.
Attachment #8678313 -
Flags: review?(mstange) → review+
Comment 13•9 years ago
|
||
Verified fixed FF 44.0a1 (2015-10-25) Win 7, Ubuntu 14.04, OS X 10.10.5
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 14•9 years ago
|
||
Successful try for reftest - https://treeherder.mozilla.org/#/jobs?repo=try&revision=3a1c98660200
Flags: needinfo?(mchang)
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
bugherder |
Comment 17•9 years ago
|
||
This may be related, let me know if not and I will file a new bug, but inset box-shadows are now displaying completely differently in Firefox than other browsers from version 44. I am on Windows 7.
I have a test case online: http://codepen.io/MattyBalaam/pen/ZQgdmP
Comment 18•9 years ago
|
||
Aplogies, I have found this issue mentioned already. https://bugzilla.mozilla.org/show_bug.cgi?id=1227216
You need to log in
before you can comment on or make changes to this bug.
Description
•