[Webkit-unassigned] [Bug 241164] text-align: match-parent on root handles direction incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 31 19:48:48 PDT 2022


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

Tim Nguyen (:ntim) <ntim at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ntim at apple.com
            Summary|text-align: match-parent    |text-align: match-parent on
                   |should consider text        |root handles direction
                   |direction of parent.        |incorrectly

--- Comment #1 from Tim Nguyen (:ntim) <ntim at apple.com> ---
We do use the direction of the parent, which is effectively why it's wrong for the WPT: https://webkit-search.igalia.com/webkit/rev/00d01db2338b1568d39aa439334f39f0353d0b00/Source/WebCore/style/StyleBuilderConverter.h#617-622

There's no parent in the WPT, so it should just behave like `text-align: start`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220601/139f0ba4/attachment.htm>


More information about the webkit-unassigned mailing list