[Webkit-unassigned] [Bug 229496] New: Unprefix CSS value text-align: -webkit-match-parent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 25 08:00:34 PDT 2021


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

            Bug ID: 229496
           Summary: Unprefix CSS value text-align: -webkit-match-parent
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon at bocoup.com

What steps will reproduce the problem?
1. Open URL: data:text/html,<!doctype%20html><div%20dir=rtl><div%20dir=ltr%20style="text-align:%20match-parent">This%20should%20be%20right-aligned

Demo markup:
<!doctype html><div dir=rtl><div dir=ltr style="text-align: match-parent">This should be right-aligned

What is the expected result?
text-align: match-parent should be supported, as defined in https://drafts.csswg.org/css-text/#valdef-text-align-match-parent

What happens instead?
text-align: match-parent is not supported. However, a vendor-prefixed value text-align: -webkit-match-parent is supported.

The prefixed variant should be removed (unless it is found to be required for web compat, in which case add it to https://compat.spec.whatwg.org ).

Other browsers:
Chromium is like WebKit.
Gecko supports unprefixed 'match-parent', and does not support any prefixed variant.

Also see https://github.com/whatwg/html/pull/6989

-- 
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/20210825/dd43963d/attachment.htm>


More information about the webkit-unassigned mailing list