[Webkit-unassigned] [Bug 53180] New: CSS 2.1 Failure: rtl-linebreak In bidi contexts, borders of inline elements are sometimes suppressed in the presence of linebreaking.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 26 11:04:09 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53180

           Summary: CSS 2.1 Failure: rtl-linebreak In bidi contexts,
                    borders of inline elements are sometimes suppressed in
                    the presence of linebreaking.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://test.csswg.org/suites/css2.1/20110111/html4/rtl
                    -linebreak-ref.htm
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tabatkins at google.com
            Blocks: 47141


Testcase:
data:text/html,<!doctype html><div dir=rtl style="width: 20em" id=foo><span style="border: 2px solid;">Box</span> Some long text that should make sure we line-wrap.  If this didn't line-wrap, it should be longer.</div> <input type=range step=0.1 min=10 max=50 value=20 onchange="foo.style.width=this.value+'em';">

You should see that the right border of "Box" is suppressed at first, but it comes back if the box gets wide enough that the text no longer linewraps.

The same thing happens if dir=ltr and the text is all rtl, such as in this testcase:

data:text/html;charset=utf-8,<!doctype html><div style="width: 20em" id=foo><span style="border: 2px solid;">%D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99</span>%D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99 %D7%A2%D6%B4%D7%91%D6%B0%D7%A8%D6%B4%D7%99</div> <input type=range step=0.1 min=10 max=50 value=20 onchange="foo.style.width=t
 his.value+'em';">

I don't believe we should ever be suppressing the border here.  At the very least, no other browser suppresses the border.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list