Closed Bug 999643 Opened 7 years ago Closed 7 years ago

Missing transitions on children of containers with overflow:[auto|scroll] and :before pseudo element

Categories

(Core :: Layout, defect)

28 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: munter, Assigned: mats)

References

()

Details

Attachments

(1 file)

When a parent element has the css properties overflow: hidden|auto; in either dimension and both :before and :after, transitions on child elements do not animate, but are skipping directly to the end.

Confirmed in Firefox 19, 26, 27, 28 on Windows 7, OSX Maverick and Linux
Component: General → Layout
Product: Firefox → Core
Attached file reduced testcase 1
This seems to happen specifically for :before, and specifically when the style change is triggered via a descendant selector, with :hover on the ancestor.

I'm using "body:hover i" in this testcase. "div:hover i" has the same broken results (as shown in the codepen).

Notably, though, if I tweak the testcase to replace "body:hover i" with "body i:hover" (or just "i:hover"), then I get smooth transitions in all cases.
And yes, this does look related to bug 913588. Setting dependency (though it may end up being a duplicate).
Depends on: 913588
Summary: Missing transitions on children of containers with overflow and :before and :after pseudo elements → Missing transitions on children of containers with overflow:[auto or scroll, and :before pseudo element
Summary: Missing transitions on children of containers with overflow:[auto or scroll, and :before pseudo element → Missing transitions on children of containers with overflow:[auto|scroll] and :before pseudo element
Chances are, the patch in bug 990340 fixes this.
Depends on: 990340
Should be fixed in Nightly in a few days, by bug 990340.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Thanks for the quick handling :)
Assignee: nobody → matspal
Target Milestone: --- → mozilla31
QA Whiteboard: [good first verify]
You need to log in before you can comment on or make changes to this bug.