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

Unified Diff: LayoutTests/web-animations-api/font-builder-crash.html

Issue 203193002: Web Animations API: Initialise FontBuilder when resolving keyframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/web-animations-api/font-builder-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/web-animations-api/font-builder-crash.html
diff --git a/LayoutTests/web-animations-api/font-builder-crash.html b/LayoutTests/web-animations-api/font-builder-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..ca4566495b3b823dc8153dec136c4a98d4371dbf
--- /dev/null
+++ b/LayoutTests/web-animations-api/font-builder-crash.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<div id="target">This test passes if it does not crash.</div>
+<script>
+target.animate([
+ {fontSize: 'large', fontWeight: 'normal'},
+ {fontSize: 'small', fontWeight: 'bold'},
+], 1);
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+requestAnimationFrame(function() {
+ testRunner.notifyDone();
+});
+</script>
« no previous file with comments | « no previous file | LayoutTests/web-animations-api/font-builder-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698