From: Yang Hehua Date: Fri, 7 Mar 2025 09:26:21 +0000 (+0800) Subject: [common][canvas-html5] Sync test case with web-platform-tests/wpt. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F320803%2F2;p=test%2Ftct%2Fweb%2Fapi.git [common][canvas-html5] Sync test case with web-platform-tests/wpt. Change-Id: I06ea9694d048167708df63778fce3fd0ec684e47 Signed-off-by: Yang Hehua --- diff --git a/common/tct-canvas-html5-tests/canvas/canvas2d_measureText_basic.html b/common/tct-canvas-html5-tests/canvas/canvas2d_measureText_basic.html index 21a0f058b..45469e21b 100755 --- a/common/tct-canvas-html5-tests/canvas/canvas2d_measureText_basic.html +++ b/common/tct-canvas-html5-tests/canvas/canvas2d_measureText_basic.html @@ -29,21 +29,44 @@ Authors: + + +
+

The width of character is same as font used

+ A +

Actual output:

+ Your browser does not support the canvas element. + diff --git a/common/tct-canvas-html5-tests/canvas/w3c/COPYING b/common/tct-canvas-html5-tests/canvas/w3c/COPYING index 1248f2fab..dafe60171 100755 --- a/common/tct-canvas-html5-tests/canvas/w3c/COPYING +++ b/common/tct-canvas-html5-tests/canvas/w3c/COPYING @@ -83,6 +83,11 @@ canvas_complexshapes_ispointInpath_001.htm +
+ +canvas/canvas2d_measureText_basic.html + changes come from: https://github.com/web-platform-tests/wpt/blob/master/html/canvas/element/text/2d.text.measure.width.basic.html + + These tests are copyright by W3C and/or the author listed in the test file. The tests are dual-licensed under the W3C Test Suite License: http://www.w3.org/Consortium/Legal/2008/04-testsuite-license