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

Unified Diff: LayoutTests/transitions/background-webkit-mask-crash.html

Issue 38573005: Web Animations CSS: Fix crash when transitioning background or mask properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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/transitions/background-webkit-mask-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/transitions/background-webkit-mask-crash.html
diff --git a/LayoutTests/transitions/background-webkit-mask-crash.html b/LayoutTests/transitions/background-webkit-mask-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..44f484e24d5d684a4acac3b9617f67d5dac4dbe4
--- /dev/null
+++ b/LayoutTests/transitions/background-webkit-mask-crash.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+#test {
+ transition: background, -webkit-mask 1s;
+}
+</style>
+<div id="test"></div>
+<p>This tests a crash that was occuring when a transition was targeting background or -webkit-mask properties on an element that did not have any style specified for those properties. This test passes if it does not crash.</p>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+setTimeout(function() {
+ test.style.backgroundColor = 'green';
+ setTimeout(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 0);
+}, 0);
+</script>
« no previous file with comments | « no previous file | LayoutTests/transitions/background-webkit-mask-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698