Bug 244982

Summary: css-pseudo: ::placeholder should not support 'writing-mode', 'direction', and 'text-orientation'
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Ahmad Saleem <ahmad.saleem792>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, bfulgham, karlcow, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 2022-09-09 08:23:51 PDT
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!
Attachments
Ahmad Saleem
Comment 1 2022-09-10 06:38:47 PDT
It seems that it does not fix WPT test but since it is to align with web-spec, I think it is still good to merge this change. So I pushed it without change request and let's see. Thanks!
Ahmad Saleem
Comment 2 2022-09-10 06:39:12 PDT
EWS
Comment 3 2022-09-12 17:42:41 PDT
Committed 254416@main (b79ce718736d): <https://commits.webkit.org/254416@main> Reviewed commits have been landed. Closing PR #4172 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2022-09-12 17:43:18 PDT
Karl Dubost
Comment 5 2022-09-16 16:12:00 PDT
Ahmad do you remember which WPT test is you were alluding to?
Ahmad Saleem
Comment 6 2022-09-16 23:12:22 PDT
Note You need to log in before you can comment on or make changes to this bug.