You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
3D transform: using perspective makes element disappear #7797
OK, this seems to be unrelated to transforms - it appears to be a general layout bug.
If I remove the perspective line from your test, and add opacity: 0.5 or mix-blend-mode: difference, those also make the element disappear.
When a new stacking context is created in any of those situations, it gets a height of 0px for the stacking context bounding rectangle, which will be the cause of it not displaying. Looking further into into now...
Activity
paulrouget commentedon Oct 19, 2015
@glennw could you take a quick look at this?
glennw commentedon Oct 20, 2015
OK, this seems to be unrelated to transforms - it appears to be a general layout bug.
If I remove the perspective line from your test, and add opacity: 0.5 or mix-blend-mode: difference, those also make the element disappear.
When a new stacking context is created in any of those situations, it gets a height of 0px for the stacking context bounding rectangle, which will be the cause of it not displaying. Looking further into into now...
glennw commentedon Oct 20, 2015
Any ideas @pcwalton ?
pcwalton commentedon Oct 20, 2015
Not sure off the top of my head. I don't recall explicitly setting zero height for any of those situations in layout.
metajack commentedon Nov 2, 2015
@glennw Could you spare some time to look into this? This is blocking browser.html progress.
glennw commentedon Nov 2, 2015
@metajack Sure, I'll look into this one today.
Change overflow calculation to be calculated after compute_absolute_p…
Change overflow calculation to be calculated after compute_absolute_p…
Change overflow calculation to be calculated after compute_absolute_p…
Auto merge of #8306 - glennw:fix-abd-overflow, r=pcwalton
layout: Move overflow calculation to be a separate, sequential,
Auto merge of #10064 - pcwalton:overflow-bottom-up, r=mbrubeck
layout: Move overflow calculation to be a separate, sequential,
Auto merge of #10064 - pcwalton:overflow-bottom-up, r=mbrubeck
Auto merge of #10064 - pcwalton:overflow-bottom-up, r=mbrubeck