[Webkit-unassigned] [Bug 274817] [git-webkit pr] ERROR: Unexpected diff format when parsing a chunk
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 6 05:22:52 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=274817
--- Comment #3 from Karl Dubost <karlcow at apple.com> ---
Created attachment 471608
--> https://bugs.webkit.org/attachment.cgi?id=471608&action=review
diff compared to main
% python3 -V
Python 3.11.7
% /usr/bin/python3 -V
Python 3.9.6
% ruby -v
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin24]
I don't have the feeling this is dependent of the state of main.
This is coming from
```
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/canvas-host/2d.canvas.host.size.attributes.parse.whitespace.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/canvas-host/2d.canvas.host.size.attributes.parse.whitespace.html
new file mode 100644
index 0000000000000000000000000000000000000000..79e81c1020a85279ee119ebd2757c32bf89c10cb
--- /dev/null
+++ b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/canvas-host/2d.canvas.host.size.attributes.parse.whitespace.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
+<title>Canvas test: 2d.canvas.host.size.attributes.parse.whitespace</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/html/canvas/resources/canvas-tests.js"></script>
+<link rel="stylesheet" href="/html/canvas/resources/canvas-tests.css">
+<body class="show_output">
+
+<h1>2d.canvas.host.size.attributes.parse.whitespace</h1>
+<p class="desc">Parsing of non-negative integers</p>
+
+
+<p class="output">Actual output:</p>
+<canvas id="c" class="output" width="
+ 100" height="
+ 100"><p class="fallback">FAIL (fallback content)</p></canvas>
+<p class="output expectedtext">Expected output:<p><img src="2d.canvas.host.size.attributes.parse.whitespace.png" class="output expected" id="expected" alt="">
+<ul id="d"></ul>
+<script>
+var t = async_test("Parsing of non-negative integers");
+_addTest(function(canvas, ctx) {
+
+ _assertSame(canvas.width, 100, "canvas.width", "100");
+ _assertSame(canvas.height, 100, "canvas.height", "100");
+ _assertSame(window.getComputedStyle(canvas, null).getPropertyValue("width"), "100px", "window.getComputedStyle(canvas, null).getPropertyValue(\"width\")", "\"100px\"");
+ _assertSame(canvas.getAttribute('width'), '\r\n\t\x0c100', "canvas.getAttribute('width')", "'\\r\\n\\t\\x0c100'");
+ _assertSame(canvas.getAttribute('height'), '\r\n\t\x0c100', "canvas.getAttribute('height')", "'\\r\\n\\t\\x0c100'");
+
+});
+</script>
+
```
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/canvas-host/2d.canvas.host.size.attributes.parse.whitespace.html
It contains:
<canvas id="c" class="output" width="
100" height="
100"><p class="fallback">FAIL (fallback content)</p></canvas>
if I check the character into the characters table, I get U+0020 SPACE
which is indeed in https://github.com/web-platform-tests/wpt/blob/0c59636522/html/canvas/element/canvas-host/2d.canvas.host.size.attributes.parse.whitespace.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240606/6aae7306/attachment.htm>
More information about the webkit-unassigned
mailing list