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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-ex-units-crash.js

Issue 2676493005: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Addressing comments Created 3 years, 10 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 | « third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-consistency.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-ex-units-crash.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-ex-units-crash.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-ex-units-crash.js
deleted file mode 100644
index 2f275ad93b13d011691196ff21996522f4481824..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-ex-units-crash.js
+++ /dev/null
@@ -1,11 +0,0 @@
-description("Test that setting a font with size in 'ex' units doesn't crash.");
-
-ctx = document.createElement('canvas').getContext('2d');
-
-ctx.font = "5ex sans-serif";
-
-size = parseInt(ctx.font.substr(0, 2));
-family = ctx.font.substr(5);
-
-shouldBeCloseTo("size", 25, 10);
-shouldBe("family", "'sans-serif'");
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-consistency.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698