Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c52ed422c1142bdc57e173eca9d7f260efc1c2e3
      
https://github.com/WebKit/WebKit/commit/c52ed422c1142bdc57e173eca9d7f260efc1c2e3
  Author: Elika Etemad <[email protected]>
  Date:   2026-09-05 (Sat, 05 Sep 2026)

  Changed paths:
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/style/StyleDifference.cpp
    M Source/WebCore/style/computed/StyleComputedStyleBase+ConstructionInlines.h
    M Source/WebCore/style/computed/StyleComputedStyleBase.cpp
    M Source/WebCore/style/computed/StyleComputedStyleBase.h
    M Source/WebCore/style/computed/data/StyleBoxData.cpp
    M Source/WebCore/style/computed/data/StyleBoxData.h
    M Source/WebCore/style/computed/data/StyleNonInheritedRareData.cpp
    M Source/WebCore/style/computed/data/StyleNonInheritedRareData.h

  Log Message:
  -----------
  Minor ComputedStyle Data Cleanup
https://bugs.webkit.org/show_bug.cgi?id=322438
rdar://185720364

Reviewed by Antti Koivisto.

Some minor clean-up of our style data storage:
- Move box-sizing inline (from BoxData), since it's often set on every element.
- Reorder NonInheritedFlags and NonInheritedRareData thematically.
- Update some comments and move static bit counts closer to where they're used.

* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/style/StyleDifference.cpp:
* Source/WebCore/style/computed/StyleComputedStyleBase+ConstructionInlines.h:
(WebCore::Style::ComputedStyleBase::ComputedStyleBase):
(WebCore::Style::ComputedStyleBase::NonInheritedFlags::copyNonInheritedFrom):
* Source/WebCore/style/computed/StyleComputedStyleBase.cpp:
(WebCore::Style::ComputedStyleBase::NonInheritedFlags::dumpDifferences const):
(WebCore::Style::ComputedStyleBase::InheritedFlags::dumpDifferences const):
* Source/WebCore/style/computed/StyleComputedStyleBase.h:
* Source/WebCore/style/computed/data/StyleBoxData.cpp:
(WebCore::Style::BoxData::BoxData):
(WebCore::Style::BoxData::operator== const):
(WebCore::Style::BoxData::dumpDifferences const):
* Source/WebCore/style/computed/data/StyleBoxData.h:
* Source/WebCore/style/computed/data/StyleNonInheritedRareData.cpp:
(WebCore::Style::NonInheritedRareData::NonInheritedRareData):
(WebCore::Style::perspectiveOrigin):
(WebCore::Style::useSVGZoomRulesForLength):
(WebCore::Style::NonInheritedRareData::operator== const):
(WebCore::Style::NonInheritedRareData::dumpDifferences const):
(WebCore::Style::whiteSpaceTrim): Deleted.
* Source/WebCore/style/computed/data/StyleNonInheritedRareData.h:

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



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

Reply via email to