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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/text-rendering-frameless-canvas-expected.html

Issue 2336693002: Rendering text to a canvas in a frame-less document. (Closed)
Patch Set: Adding the failed tests to TestExpectations for Mac. Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/fast/canvas/text-rendering-frameless-canvas-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/text-rendering-frameless-canvas-expected.html b/third_party/WebKit/LayoutTests/fast/canvas/text-rendering-frameless-canvas-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..77ff357b5c1bfe9dd1688a288b9ac409eca5edac
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/canvas/text-rendering-frameless-canvas-expected.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<body>
+
+<canvas id="srcCanvas" width="200" height="100" style="border:1px solid #d3d3d3;"></canvas>
+
+<script>
+var cnv = document.getElementById('srcCanvas');
+var ctx = cnv.getContext('2d');
+ctx.strokeStyle='rgba(140, 0.013953202404081821)';
+ctx.strokeText('Hello World!' ,1, 30);
+ctx.font = "30px Verdana";
+ctx.strokeText('Goodbye!' ,1, 70);
+</script>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698