[Webkit-unassigned] [Bug 107416] New: text-indent behaviour differs to Moz and Opera

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 20 22:21:59 PST 2013


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

           Summary: text-indent behaviour differs to Moz and Opera
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mikelawther at chromium.org


With the attached test file

---
<!DOCTYPE HTML>
<title>intrinsic width of text-indent on blocks</title>
<style>

body { font-size: 10px }
div { float: left; clear: left;
       margin: 0 0 1px 0; background: blue; color: white; height: 5px }
span { display: inline-block; width: 10px }

</style>

<div style="text-indent: 50%"><span></span></div>
----

WebKit's behaviour differs to Moz and Opera (Moz and Opera agree).

WebKit renders the div at 50% of the client width. Moz and Opera render it as 10px wide.

Note: this test was reduced from a Mozilla test case for CSS3 calc() (http://mxr.mozilla.org/mozilla-central/source/layout/reftests/w3c-css/submitted/values3/calc-text-indent-intrinsic-1.html?force=1). Credit to David Baron for the original test.

-- 
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