Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a83e326d9ee955a2f23b987b84e9a21b6c920fa2
      
https://github.com/WebKit/WebKit/commit/a83e326d9ee955a2f23b987b84e9a21b6c920fa2
  Author: Alan Baradlay <[email protected]>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/rendering/LegacyInlineBox.cpp
    M Source/WebCore/rendering/LegacyInlineIterator.h
    M Source/WebCore/rendering/LegacyInlineTextBox.cpp
    M Source/WebCore/rendering/RenderElement.h
    M Source/WebCore/rendering/RenderTreeAsText.cpp

  Log Message:
  -----------
  [Cleanup] Add writingMode to RenderElement
https://bugs.webkit.org/show_bug.cgi?id=290125

Reviewed by Antti Koivisto.

Having writingMode on RenderElement ensures non-branchy RenderStyle access (see 
RenderObject::style).

* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForPreferredWidthComputation):
* Source/WebCore/rendering/LegacyInlineBox.cpp:
(WebCore::LegacyInlineBox::locationIncludingFlipping const):
(WebCore::LegacyInlineBox::flipForWritingMode const):
* Source/WebCore/rendering/LegacyInlineIterator.h:
(WebCore::LegacyInlineIterator::direction const):
* Source/WebCore/rendering/LegacyInlineTextBox.cpp:
(WebCore::LegacyInlineTextBox::localSelectionRect const):
* Source/WebCore/rendering/RenderElement.h:
(WebCore::RenderElement::writingMode const):
* Source/WebCore/rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to