Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.whitespace.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.whitespace.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.whitespace.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b1f3e8b26a9bcda869311b10d167c696e1dd366 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.whitespace.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> |
+<title>OffscreenCanvas test: size.attributes.parse.whitespace</title> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script src="/common/canvas-tests.js"></script> |
+ |
+<h1>size.attributes.parse.whitespace</h1> |
+<p class="desc">Parsing of non-negative integers</p> |
+ |
+ |
+<script> |
+var t = async_test("Parsing of non-negative integers"); |
+t.step(function() { |
+ |
+var offscreenCanvas = new OffscreenCanvas(100, 50); |
+var ctx = offscreenCanvas.getContext('2d'); |
+ |
+_assertSame(offscreenCanvas.width, 100, "offscreenCanvas.width", "100"); |
+_assertSame(offscreenCanvas.height, 100, "offscreenCanvas.height", "100"); |
+ |
+t.done(); |
+ |
+}); |
+</script> |