Title: [102060] trunk/LayoutTests
- Revision
- 102060
- Author
- [email protected]
- Date
- 2011-12-05 15:57:28 -0800 (Mon, 05 Dec 2011)
Log Message
REGRESSION(r101949): css3/bdi-element.html fails on Lion
https://bugs.webkit.org/show_bug.cgi?id=73859
Reviewed by Dan Bernstein.
The failure was caused by span that contains the text inside bdi in the reference file
was using display: inline-block. Because the width of an inline-block is always rounded up
like any other inline element, it causes the text in the reference file to be one pixel
longer than the one in the test file in certain cases.
Fixed the bug by using unicode-bidi: override instead of display: inline-block in
the reference file.
* css3/bdi-element-expected.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (102059 => 102060)
--- trunk/LayoutTests/ChangeLog 2011-12-05 23:56:49 UTC (rev 102059)
+++ trunk/LayoutTests/ChangeLog 2011-12-05 23:57:28 UTC (rev 102060)
@@ -1,3 +1,20 @@
+2011-12-05 Ryosuke Niwa <[email protected]>
+
+ REGRESSION(r101949): css3/bdi-element.html fails on Lion
+ https://bugs.webkit.org/show_bug.cgi?id=73859
+
+ Reviewed by Dan Bernstein.
+
+ The failure was caused by span that contains the text inside bdi in the reference file
+ was using display: inline-block. Because the width of an inline-block is always rounded up
+ like any other inline element, it causes the text in the reference file to be one pixel
+ longer than the one in the test file in certain cases.
+
+ Fixed the bug by using unicode-bidi: override instead of display: inline-block in
+ the reference file.
+
+ * css3/bdi-element-expected.html:
+
2011-12-05 Adam Barth <[email protected]>
Mark this test as flaky.
Modified: trunk/LayoutTests/css3/bdi-element-expected.html (102059 => 102060)
--- trunk/LayoutTests/css3/bdi-element-expected.html 2011-12-05 23:56:49 UTC (rev 102059)
+++ trunk/LayoutTests/css3/bdi-element-expected.html 2011-12-05 23:57:28 UTC (rev 102060)
@@ -13,7 +13,7 @@
<ul>
<li>User jcranmer: 12 posts.
<li>User hober: 5 posts.
- <li>User <span style="display: inline-block;">إيان</span><span dir="ltr">: 3 posts.</span></span>
+ <li>User <span style="unicode-bidi: embed;">إيان</span><span style="direction: ltr; unicode-bidi: override;">: 3 posts.</span></span>
</ul>
</body>
</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes