[webkit-changes] [WebKit/WebKit] b79ce7: css-pseudo: ::placeholder should not support 'writ...

EWS noreply at github.com
Mon Sep 12 17:42:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b79ce718736d854df91a05173ba242e49d9cf2f2
      https://github.com/WebKit/WebKit/commit/b79ce718736d854df91a05173ba242e49d9cf2f2
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M Source/WebCore/css/html.css

  Log Message:
  -----------
  css-pseudo: ::placeholder should not support 'writing-mode', 'direction', and 'text-orientation'

css-pseudo: ::placeholder should not support 'writing-mode', 'direction', and 'text-orientation'

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

Reviewed by Alan Bujtas.

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

It is to align Webkit behavior 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.

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

* Source/WebCore/css/html.css - Updated ::placeholder to add 'direction', 'text-orientation' and 'writing-mode'

Canonical link: https://commits.webkit.org/254416@main




More information about the webkit-changes mailing list