Closed
Bug 893330
Opened 11 years ago
Closed 11 years ago
Funny thing happens when a single div uses both box-shadow and border-radius, and change positions
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: timdream, Assigned: nrc)
Details
Attachments
(3 files)
426 bytes,
text/html
|
Details | |
3.50 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
2.24 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
Sorry for the non-descriptive summary, but you will get the idea when trying out the test case . I suspect this is a dup too coz it's very easy to reproduce. Expected result: a div rendered as a circle moved by setInterval() Actual result: the div itself doesn't seems to be updated, and the shadow and border of the previous position remains. Real world example: http://timdream.org/wordcloud2.js/#web-tech and hover the mouse over the canvas.
Assignee | ||
Comment 1•11 years ago
|
||
I would put a small amount of money on this being a mask layers bug. We should add a pref for mask layers so this is easy to test. Does using a box-shadow do something interesting to the layers?
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Nick Cameron [:nrc] from comment #1) > I would put a small amount of money on this being a mask layers bug. We > should add a pref for mask layers so this is easy to test. Does using a > box-shadow do something interesting to the layers? Well, turns out it is not a mask layer bug at all. There are no mask layers created for this test case.
Component: Graphics: Layers → Graphics
Assignee | ||
Updated•11 years ago
|
QA Contact: ncameron
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ncameron
QA Contact: ncameron
Assignee | ||
Comment 3•11 years ago
|
||
My current working theory is that we are not resetting a clip after drawing a box shadow and so we end up not overdrawing the frame. It seems that the problem is here without border radius too, but in that case we are overdrawing just what we are drawing, so we don't see it.
Assignee | ||
Comment 4•11 years ago
|
||
Turns out all my theories were wrong. It is an invalidation issue (I think). Patch coming up...
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #794379 -
Flags: review?(matt.woodrow)
Comment 6•11 years ago
|
||
Comment on attachment 794379 [details] [diff] [review] patch Review of attachment 794379 [details] [diff] [review]: ----------------------------------------------------------------- Nice
Attachment #794379 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d9f853609281
Needs a test!
Flags: in-testsuite?
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #794416 -
Flags: review?(matt.woodrow)
Updated•11 years ago
|
Attachment #794416 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9802d4d9a79a
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d9f853609281 https://hg.mozilla.org/mozilla-central/rev/9802d4d9a79a
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•