Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated.html

Issue 395813002: Resolve light-source position/direction when updated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated.html
diff --git a/LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated.html b/LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated.html
new file mode 100644
index 0000000000000000000000000000000000000000..feaa7f86ae6258c062f6661ade2e9439b0f041f2
--- /dev/null
+++ b/LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<script src="../../resources/run-after-display.js"></script>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
+window.onload = function() {
+ // Wait for a frame, then trigger animation.
+ runAfterDisplay(function() {
+ document.querySelector('set').beginElement();
+ if (window.testRunner)
+ runAfterDisplay(function() { testRunner.notifyDone(); });
+ });
+};
+</script>
+<svg>
+ <filter id="f" primitiveUnits="objectBoundingBox" x="0" y="0" width="1" height="1">
+ <feDiffuseLighting lighting-color="green">
+ <fePointLight x="0.5" y="0.5" z="-0.5">
+ <set attributeName="z" to="10" begin="indefinite"/>
+ </fePointLight>
+ </feDiffuseLighting>
+ </filter>
+ <rect width="100" height="100" fill="red" filter="url(#f)"/>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698