[Webkit-unassigned] [Bug 244982] New: css-pseudo: ::placeholder should not support 'writing-mode', 'direction', and 'text-orientation'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 9 08:23:51 PDT 2022


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

            Bug ID: 244982
           Summary: css-pseudo: ::placeholder should not support
                    'writing-mode', 'direction', and 'text-orientation'
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zlip.792 at gmail.com

It is to align Webkit with Web-Spec:

https://drafts.csswg.org/css-pseudo-4/#placeholder-pseudo
> All properties that apply to the ::first-line pseudo-element also apply to the ::placeholder pseudo-element.

and
https://drafts.csswg.org/css-pseudo-4/#first-line-styling
> User agents may apply other properties as well except for the following excluded properties:
> * writing-mode
> * direction
> * text-orientation

Current Safari Technology Preview 153 behavior is not aligned with Blink / Chromium, Gecko / Firefox and Web-Spec.

Chrome Commit to Merge - https://chromium.googlesource.com/chromium/src.git/+/68c32d4e9fe24e25e672095253e0f0b2e709ecf4%5E%21/

Where to merge - https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css#L762

Thanks!

-- 
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/20220909/d0dfcfb5/attachment.htm>


More information about the webkit-unassigned mailing list