Update fast/canvas/canvas-measureText-ideographicSpace.html after r177774
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Feb 2015 06:20:36 +0000 (06:20 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Feb 2015 06:20:36 +0000 (06:20 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141595

Reviewed by Zalan Bujtas.

* fast/canvas/canvas-measureText-ideographicSpace.html:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@180104 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-measureText-ideographicSpace.html
LayoutTests/platform/mac/TestExpectations

index cb5a28d..224cc5b 100644 (file)
@@ -1,3 +1,13 @@
+2015-02-13  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Update fast/canvas/canvas-measureText-ideographicSpace.html after r177774
+        https://bugs.webkit.org/show_bug.cgi?id=141595
+
+        Reviewed by Zalan Bujtas.
+
+        * fast/canvas/canvas-measureText-ideographicSpace.html:
+        * platform/mac/TestExpectations:
+
 2015-02-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
         Unreviewed, EFL gardening. Mark font & text tests to failure.
index 21e3ab9..2fa93dd 100644 (file)
@@ -13,9 +13,9 @@
     var str = 'a' + iSp + 'b' + iSp + 'c';\r
     context.font = '12px Arial';\r
     canvasWidth = context.measureText(str).width;\r
-  \r
+\r
     var span = document.getElementsByTagName('span')[0];\r
-    spanWidth = span.offsetWidth;\r
+    spanWidth = span.getBoundingClientRect().width;\r
     shouldBe("spanWidth", "canvasWidth");\r
 </script>\r
 <script src="../../resources/js-test-post.js"></script>\r
index 1f8e173..460f193 100644 (file)
@@ -1273,7 +1273,6 @@ webkit.org/b/139968 compositing/layer-creation/fixed-position-out-of-view-scaled
 webkit.org/b/139968 editing/pasteboard/5761530-1.html [ Failure ]
 webkit.org/b/139968 editing/selection/fake-drag.html [ Failure ]
 webkit.org/b/139968 editing/selection/move-by-word-visually-mac.html [ Failure ]
-webkit.org/b/139968 fast/canvas/canvas-measureText-ideographicSpace.html [ Failure ]
 webkit.org/b/139968 fast/css-grid-layout/grid-item-order-in-content-sized-columns-resolution.html [ Failure ]
 webkit.org/b/139968 fast/css/content/content-quotes-01.html [ Failure ]
 webkit.org/b/139968 fast/css/content/content-quotes-05.html [ Failure ]