Update fast/css/css3-ch-unit.html after r177774
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Feb 2015 21:51:45 +0000 (21:51 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Feb 2015 21:51:45 +0000 (21:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141657

Reviewed by Zalan Bujtas.

The alphabet is not expected to have the same width as 26 times the average character width.

* fast/css/css3-ch-unit-expected.txt:
* fast/css/css3-ch-unit.html:
* platform/mac/TestExpectations:

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

LayoutTests/ChangeLog
LayoutTests/fast/css/css3-ch-unit-expected.txt
LayoutTests/fast/css/css3-ch-unit.html
LayoutTests/platform/mac/TestExpectations

index 736afe1..035ceea 100644 (file)
@@ -1,3 +1,16 @@
+2015-02-16  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Update fast/css/css3-ch-unit.html after r177774
+        https://bugs.webkit.org/show_bug.cgi?id=141657
+
+        Reviewed by Zalan Bujtas.
+
+        The alphabet is not expected to have the same width as 26 times the average character width.
+
+        * fast/css/css3-ch-unit-expected.txt:
+        * fast/css/css3-ch-unit.html:
+        * platform/mac/TestExpectations:
+
 2015-02-16  Alexey Proskuryakov  <ap@apple.com>
 
         fullscreen/full-screen-plugin.html is very flaky on Yosemite WK2
index f87dc94..8d4d603 100644 (file)
@@ -8,8 +8,6 @@ PASS document.getElementById("box_mono_four1").clientWidth is document.getElemen
 PASS document.getElementById("box_monofallthrough_four1").clientWidth is document.getElementById("box_monofallthrough_four2").clientWidth
 PASS document.getElementById("mono_box_alphalen1").clientWidth is document.getElementById("mono_box_alphalen2").clientWidth
 PASS document.getElementById("box_one").clientWidth * 26 is document.getElementById("box_alphalen").clientWidth
-PASS document.getElementById("arial_box_one").clientWidth * 26 is document.getElementById("arial_box_alphalen").clientWidth
-PASS document.getElementById("helvetica_box_one").clientWidth * 26 is document.getElementById("helvetica_box_alphalen").clientWidth
 PASS document.getElementById("times_box_one").clientWidth * 4 is document.getElementById("box_times_four").clientWidth
 PASS document.getElementById("arial_box_one").clientWidth * 4 is document.getElementById("box_arial_four").clientWidth
 PASS document.getElementById("helvetica_box_one").clientWidth * 4 is document.getElementById("box_helvetica_four").clientWidth
index 5ea85f8..a096df9 100644 (file)
 
     <div id="arial_box_one" class="arial box one"></div>
     <div id="arial_box_alphalen" class="arial box alphalen"><span class="pass">abcdefghijklmnopqrstuvwxyz</span></div>
-    <script type="text/javascript">
-        shouldEvaluateTo('document.getElementById("arial_box_one").clientWidth * 26', 'document.getElementById("arial_box_alphalen").clientWidth');
-    </script>
 
     <div id="helvetica_box_one" class="helvetica box one"></div>
     <div id="helvetica_box_alphalen" class="helvetica box alphalen"><span class="pass">abcdefghijklmnopqrstuvwxyz</span></div>
-    <script type="text/javascript">
-        shouldEvaluateTo('document.getElementById("helvetica_box_one").clientWidth * 26', 'document.getElementById("helvetica_box_alphalen").clientWidth');
-    </script>
 
     Four zeroes should be visible, nothing else:
     <div id="times_box_one" class="times box one"></div>
index 4ca181e..051f61b 100644 (file)
@@ -1267,7 +1267,6 @@ webkit.org/b/139968 svg/transforms/transformed-text-fill-gradient.html [ ImageOn
 # The following tests' expected results don't look like render tree dumps
 webkit.org/b/139968 editing/pasteboard/5761530-1.html [ Failure ]
 webkit.org/b/139968 editing/selection/fake-drag.html [ Failure ]
-webkit.org/b/139968 fast/css/css3-ch-unit.html [ Failure ]
 webkit.org/b/139968 fast/dom/Element/getClientRects.html [ Failure ]
 webkit.org/b/139968 fast/dom/Range/getClientRects.html [ Failure ]
 webkit.org/b/139968 fast/regions/cssom/get-regions-by-content-horiz-bt.html [ Failure ]