gecko-dev/layout/reftests/css-transitions/reframe-and-transition-starts-at-the-same-time-ref.html
Hiroyuki Ikezoe 5bf9f97e61 Bug 1384120 - Replace old pseudo style context with a new style context including animations. r=emilio
When a reframe happens on the parent of a pseudo element which has animations,
we need to grab style for the pseudo element that includes the animations'
style and also *replace* old style context (that does not include animations'
style) with it. Otherwise, we will use the old style context that has *no*
animations style, as a result, we will see a flicker right after the reframe.

Two reftests in this patch fail without this fix.  One is for CSS transitions,
the other one is for CSS animations.

MozReview-Commit-ID: 6pCdnQ1DGUY
2017-08-08 11:35:23 +09:00

14 lines
202 B
HTML

<!DOCTYPE html>
<html>
<style>
#target::before {
content: '';
background-color: rgb(255, 255, 255);
height: 100px;
width: 100px;
position: absolute;
}
</style>
<div id="target"></div>
</html>