[webkit-changes] [WebKit/WebKit] 6518b4: Rename RenderStyle effectiveContainment() to usedC...

Anne van Kesteren noreply at github.com
Fri Mar 15 07:22:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6518b4a1445be3678169097a917f25dd0700dd02
      https://github.com/WebKit/WebKit/commit/6518b4a1445be3678169097a917f25dd0700dd02
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M Source/WebCore/layout/layouttree/LayoutBox.cpp
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/style/RenderStyle.cpp
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleInlines.h
    M Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp
    M Source/WebCore/rendering/style/StyleRareNonInheritedData.h
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  Rename RenderStyle effectiveContainment() to usedContain() & effectiveStrokeColorProperty() to usedStrokeColorProperty()
https://bugs.webkit.org/show_bug.cgi?id=270969

Reviewed by Tim Nguyen.

This aligns them with terminology used in CSS standards.

* Source/WebCore/layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::isLayoutContainmentBox const):
(WebCore::Layout::Box::isSizeContainmentBox const):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::updateFromStyle):
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::rareDataChangeRequiresLayout):
(WebCore::RenderStyle::colorResolvingCurrentColor const):
(WebCore::RenderStyle::computedStrokeColor const):
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
(WebCore::RenderStyle::containsInlineSize const):
(WebCore::RenderStyle::containsLayout const):
(WebCore::RenderStyle::containsLayoutOrPaint const):
(WebCore::RenderStyle::containsPaint const):
(WebCore::RenderStyle::containsSize const):
(WebCore::RenderStyle::containsSizeOrInlineSize const):
(WebCore::RenderStyle::containsStyle const):
(WebCore::RenderStyle::usedContain const):
(WebCore::RenderStyle::usedStrokeColorProperty const):
(WebCore::RenderStyle::effectiveContainment const): Deleted.
(WebCore::RenderStyle::effectiveStrokeColorProperty const): Deleted.
* Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::usedContain const):
(WebCore::StyleRareNonInheritedData::effectiveContainment const): Deleted.
* Source/WebCore/rendering/style/StyleRareNonInheritedData.h:
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::propagateToDocumentElementAndInitialContainingBlock):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list