Closed
Bug 1223003
Opened 9 years ago
Closed 9 years ago
Image with will-change is not rendered when added outside of container bounds
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1219230
People
(Reporter: diiiimaaaa, Assigned: mattwoodrow)
References
Details
(Keywords: regression, Whiteboard: [gfx-noted])
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
Steps to reproduce:
There is an element, with no styles (or width:auto).
Inside this element there is absolute-positioned square element (say 200x200px).
Inside this square, there is another div with style will-change:transform;
If you try to append IMG element inside the last element, it won't render in FF 42+ on Mac (in Windows seems to work). Toggling any style on this image via dev tools – displays it.
It happens not every time, but most of time. Sometimes you need to close Firefox and open it again, as it seems that layer gets cached.
Isolated jsFiddle example that reproduces the problem: http://jsfiddle.net/DmitrySemenov/v16799v0/
Screencast of the issue: https://www.youtube.com/watch?v=wXjdE8BfdMI
Additional note: if the root element has defined dimensions (e.g. 300x300px) and you try to place its child absolute positioned element outside of the bounds (say left:310px;), its will-change child with image won't render too.
![]() |
||
Comment 1•9 years ago
|
||
I can't reproduce on the first load of the page, but if I load the page again the bug definitely shows up.
This works fine in Fx41, so a regression in 42... And still seeing it in current nightly.
Given the platform dependence, this is almost certainly graphics. Milan, do you have someone who can look into this?
![]() |
||
Comment 2•9 years ago
|
||
[Tracking Requested - why for this release]: Web compat regression.
Anthony, can you help with the regression range?
Flags: needinfo?(milan) → needinfo?(anthony.s.hughes)
(In reply to Milan Sreckovic [:milan] from comment #4)
> Anthony, can you help with the regression range?
Sorry, this doesn't reproduce at all for me. Boris, could you try using mozregression to bisect this further?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(anthony.s.hughes)
Whiteboard: [gfx-noted]
Reporter | ||
Comment 6•9 years ago
|
||
Here is another example that you might reproduce (it fails on my side more often): http://jsfiddle.net/agkmLgcL/20/ (there are two rectangles, one in viewport, second one – outside, clicking "Append image" button adds image in outer rectangle, then "Move wrapper" button moves it in viewport and you should see the image).
Comment 7•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → matt.woodrow
Flags: needinfo?(matt.woodrow)
Assignee | ||
Comment 9•9 years ago
|
||
This ended up being the same issue as bug 1219230, I've attached a patch there.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
No need to track this as it's a dup and bug 1219230 is already tracked.
You need to log in
before you can comment on or make changes to this bug.
Description
•