[Webkit-unassigned] [Bug 63185] New: text-indent wrongly applied to a non-first anonymous block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 22 14:37:14 PDT 2011


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

           Summary: text-indent wrongly applied to a non-first anonymous
                    block
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://fry.si/bugs/text-indent-test.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fry at friedcellcollective.net


Spec says "'Text-indent' only affects a line if it is the first formatted line of an element. For example, the first line of an anonymous block box is only affected if it is the first child of its parent element." [1]

The test [2] (first block) shows that :first-line is not applied to "Some text", neither is the anonymous box in question the first child of its parent element, yet text-indent is applied.

Reproduced in Safari, Chrome and nightly (r89415) on OSX and Safari and Chrome on Vista.

[1] http://www.w3.org/TR/CSS21/text.html#propdef-text-indent
[2] http://fry.si/bugs/text-indent-test.html

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