mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
5bf9f97e61
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
14 lines
202 B
HTML
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>
|