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

Unified Diff: LayoutTests/animations/base-render-style-body-crash.html

Issue 1000413003: Clear need for animation style for forced styleForElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review issue: removed constness Created 5 years, 9 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/animations/base-render-style-body-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/base-render-style-body-crash.html
diff --git a/LayoutTests/animations/base-render-style-body-crash.html b/LayoutTests/animations/base-render-style-body-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..22b870bdb32a4a3e43a3a4cc536f1ace48cc40bc
--- /dev/null
+++ b/LayoutTests/animations/base-render-style-body-crash.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<style>
+body { transition: background-color 1s }
+.green { background-color: green }
+</style>
+<style id="sheet"></style>
+<script>
+if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+}
+
+onload = function(){
+ document.body.className = "green";
+ // Needs these frames to establish a baseLayoutStyle.
+ requestAnimationFrame(function(){
+ requestAnimationFrame(function(){
+ requestAnimationFrame(function(){
+ sheet.innerText = "@font-face { font-family: notfound; src: url(notfound.ttf) }";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ });
+ });
+};
+</script>
+<p>Pass if no crash or assert</p>
« no previous file with comments | « no previous file | LayoutTests/animations/base-render-style-body-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698