⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 102060 in webkit


Ignore:
Timestamp:
Dec 5, 2011, 3:57:28 PM (15 years ago)
Author:
rniwa@webkit.org
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:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r102058 r102060  
     12011-12-05  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        REGRESSION(r101949): css3/bdi-element.html fails on Lion
     4        https://bugs.webkit.org/show_bug.cgi?id=73859
     5
     6        Reviewed by Dan Bernstein.
     7
     8        The failure was caused by span that contains the text inside bdi in the reference file
     9        was using display: inline-block. Because the width of an inline-block is always rounded up
     10        like any other inline element, it causes the text in the reference file to be one pixel
     11        longer than the one in the test file in certain cases.
     12
     13        Fixed the bug by using unicode-bidi: override instead of display: inline-block in
     14        the reference file.
     15
     16        * css3/bdi-element-expected.html:
     17
    1182011-12-05  Adam Barth  <abarth@webkit.org>
    219
  • trunk/LayoutTests/css3/bdi-element-expected.html

    r101949 r102060  
    1414 <li>User jcranmer: 12 posts.
    1515 <li>User hober: 5 posts.
    16  <li>User <span style="display: inline-block;">إيان</span><span dir="ltr">: 3 posts.</span></span>
     16 <li>User <span style="unicode-bidi: embed;">إيان</span><span style="direction: ltr; unicode-bidi: override;">: 3 posts.</span></span>
    1717</ul>
    1818</body>
Note: See TracChangeset for help on using the changeset viewer.