| Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.decimal.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.decimal.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.decimal.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cf3ba787e98ae8878c7b9c819dd468750a28c5c8
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.decimal.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.decimal</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script src="/common/canvas-tests.js"></script>
|
| +
|
| +<h1>size.attributes.parse.decimal</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>
|
|
|