[webkit-changes] [WebKit/WebKit] 5d7fe1: Align UA Stylesheet by adding `writing-mode: horiz...

Ahmad Saleem noreply at github.com
Fri Oct 6 02:00:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d7fe12c4bef511874385e66431f740f8bbfa539
      https://github.com/WebKit/WebKit/commit/5d7fe12c4bef511874385e66431f740f8bbfa539
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/writing-mode/force-horizontal-tb-expected.txt
    M LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt
    M LayoutTests/platform/ios/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt
    M LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt
    M LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/margin-003-expected.txt
    M Source/WebCore/css/mathml.css

  Log Message:
  -----------
  Align UA Stylesheet by adding `writing-mode: horizontal-tb !important;` for all math elements in mathml.css

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

Reviewed by Tim Nguyen and Frédéric Wang.

This patch aligns WebKit with Web Specification [1]:

[1] https://w3c.github.io/mathml-core/#user-agent-stylesheet

WebKit was using 'writing-mode: horizontal-tb !important;' only on `math` but as per web standard,
it should be universal rule and used for all and this patch fixes it.

* Source/WebCore/css/mathml.css:
* LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/writing-mode/force-horizontal-tb-expected.txt: Rebaselined
* LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Rebaselined
* LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/margin-003-expected.txt: Rebaselined
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Rebaselined
* LayoutTests/platform/ios/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Rebaselined

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




More information about the webkit-changes mailing list