[webkit-changes] [WebKit/WebKit] 658e8c: [iFC][Ruby] Add a mechanism to partially enable st...

Antti Koivisto noreply at github.com
Mon Dec 11 07:18:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 658e8c04ba57845361f43f6310a64b1e0f39e357
      https://github.com/WebKit/WebKit/commit/658e8c04ba57845361f43f6310a64b1e0f39e357
  Author: Antti Koivisto <antti at apple.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M Source/WebCore/html/RubyElement.cpp
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  [iFC][Ruby] Add a mechanism to partially enable style based ruby
https://bugs.webkit.org/show_bug.cgi?id=266214
rdar://119489155

Reviewed by Alan Baradlay.

Allow incremental enabling.

* Source/WebCore/html/RubyElement.cpp:
(WebCore::RubyElement::createElementRenderer):
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::disableStyleBasedRubyIfNeeded):

For now disable style based ruby for 'text-align:justify' and nested case.

(WebCore::Style::Adjuster::adjust const):

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




More information about the webkit-changes mailing list