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
+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
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
<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>
# 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 ]