зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1382136 - Part 4: add a reftest for 'content' animation on pseudo element. r=hiro
'content' property shoud animate on pseudo element as well. To confirm the animation, add a reftest. MozReview-Commit-ID: 4hfx6PLThgZ
This commit is contained in:
Родитель
550258c416
Коммит
55696f4e05
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
@keyframes anim {
|
||||
from { content: 'content'; }
|
||||
to { content: ''; }
|
||||
}
|
||||
#target::before {
|
||||
content: 'initial';
|
||||
animation: anim 100s paused;
|
||||
}
|
||||
</style>
|
||||
<div id='target'></div>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
@keyframes anim {
|
||||
from { content: ''; }
|
||||
to { content: 'content'; }
|
||||
}
|
||||
#target::before {
|
||||
content: 'initial';
|
||||
animation: anim 100s linear -50s paused;
|
||||
}
|
||||
</style>
|
||||
<div id='target'></div>
|
||||
</html>
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
#target::before {
|
||||
content: 'content';
|
||||
}
|
||||
</style>
|
||||
<div id='target'></div>
|
||||
</html>
|
|
@ -54,4 +54,6 @@ fails == background-position-important.html background-position-ref.html # This
|
|||
== stop-animation-on-discarded-pseudo-element.html about:blank
|
||||
|
||||
== updating-animation-on-pseudo-element.html updating-animation-on-pseudo-element-ref.html
|
||||
== content-on-pseudo-element-at-beginning.html content-on-pseudo-element-ref.html
|
||||
== content-on-pseudo-element-at-half.html content-on-pseudo-element-ref.html
|
||||
== reframe-and-animation-starts-at-the-same-time.html reframe-and-animation-starts-at-the-same-time-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче