Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1513920] Make <use> shadow trees lookup keyframe rules in the containing tree. #14562

Merged
merged 1 commit into from Dec 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions svg/linking/reftests/use-keyframes-ref.html
@@ -0,0 +1,6 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<svg width="100" height="100" viewBox="0 0 100 100">
<rect width="100%" height="100%" fill="lime" />
</svg>
19 changes: 19 additions & 0 deletions svg/linking/reftests/use-keyframes.html
@@ -0,0 +1,19 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test: Keyframe animations from the document match in use elements</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1513920">
<link rel="match" href="use-keyframes-ref.html">
<style>
@keyframes animationname {
from { fill: lime; }
to { fill: lime; }
}
</style>
<svg width="100" height="100" viewBox="0 0 100 100">
<symbol id="symbol">
<rect width="100%" height="100%" fill="red" style="animation: animationname 1s infinite;" />
</symbol>
<use href="#symbol" />
</svg>