| Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.zero.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.zero.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.zero.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5188e3f7ad167d3623b0b4d880eab1ada79d8657
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/size.attributes.parse.zero.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.zero</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script src="/common/canvas-tests.js"></script>
|
| +
|
| +<h1>size.attributes.parse.zero</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, 0, "offscreenCanvas.width", "0");
|
| +_assertSame(offscreenCanvas.height, 0, "offscreenCanvas.height", "0");
|
| +
|
| +t.done();
|
| +
|
| +});
|
| +</script>
|
|
|