[Webkit-unassigned] [Bug 79914] New: text-align:-webkit-match-parent does not work for default text-align value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 29 07:52:55 PST 2012


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

           Summary: text-align:-webkit-match-parent does not work for
                    default text-align value
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aharon at google.com
                CC: eric at webkit.org, playmobil at google.com,
                    xji at chromium.org, rniwa at webkit.org


When used under an element with an explicit text-align:start (or text-align:end), text-align:match-parent works properly. However, it does not seem to have any effect when no ancestor of the element has an explicit text-align value.

Thus, data:text/html,<div dir=ltr style="text-align:start">a!<div dir=rtl style="text-align:-webkit-match-parent">b!</div></div> works properly.
But data:text/html,<div dir=ltr>a!<div dir=rtl style="text-align:-webkit-match-parent">b!</div></div> does not.

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