Skip to content

[Style] Move RenderStyle::altFromContent() function to Style::Content#59133

Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
weinig:eng/Style-Move-RenderStyle-altFromContent-function-to-Style-Content
Feb 21, 2026
Merged

[Style] Move RenderStyle::altFromContent() function to Style::Content#59133
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
weinig:eng/Style-Move-RenderStyle-altFromContent-function-to-Style-Content

Conversation

@weinig
Copy link
Contributor

@weinig weinig commented Feb 21, 2026

4c8cd4e

[Style] Move RenderStyle::altFromContent() function to Style::Content
https://bugs.webkit.org/show_bug.cgi?id=308352

Reviewed by Darin Adler.

Continues moving things out of RenderStyle.h, this time, moving
RenderStyle::altFromContent() to be Style::Content::altText().

* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
* Source/WebCore/rendering/RenderImage.cpp:
* Source/WebCore/rendering/style/RenderStyle.cpp:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/style/values/content/StyleContent.cpp:
* Source/WebCore/style/values/content/StyleContent.h:

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

5f64ae1

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe 🛠 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2 🧪 win-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
✅ 🧪 ios-wk2-wpt 🧪 api-mac-debug ✅ 🛠 gtk3-libwebrtc
✅ 🧪 api-ios ✅ 🧪 mac-wk1 ✅ 🛠 gtk
✅ 🛠 ios-safer-cpp ✅ 🧪 mac-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 vision ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 api-gtk
✅ 🛠 🧪 merge ✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress ✅ 🛠 playstation
✅ 🧪 vision-wk2 ✅ 🧪 mac-intel-wk2
✅ 🛠 tv ✅ 🛠 mac-safer-cpp
✅ 🛠 tv-sim
✅ 🛠 watch
✅ 🛠 watch-sim

@weinig weinig self-assigned this Feb 21, 2026
@weinig weinig added the CSS Cascading Style Sheets implementation label Feb 21, 2026
@weinig weinig marked this pull request as ready for review February 21, 2026 02:03
@weinig weinig added the merge-queue Applied to send a pull request to merge-queue label Feb 21, 2026
https://bugs.webkit.org/show_bug.cgi?id=308352

Reviewed by Darin Adler.

Continues moving things out of RenderStyle.h, this time, moving
RenderStyle::altFromContent() to be Style::Content::altText().

* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
* Source/WebCore/rendering/RenderImage.cpp:
* Source/WebCore/rendering/style/RenderStyle.cpp:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/style/values/content/StyleContent.cpp:
* Source/WebCore/style/values/content/StyleContent.h:

Canonical link: https://commits.webkit.org/307960@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Style-Move-RenderStyle-altFromContent-function-to-Style-Content branch from 5f64ae1 to 4c8cd4e Compare February 21, 2026 05:17
@webkit-commit-queue
Copy link
Collaborator

Committed 307960@main (4c8cd4e): https://commits.webkit.org/307960@main

Reviewed commits have been landed. Closing PR #59133 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 4c8cd4e into WebKit:main Feb 21, 2026
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CSS Cascading Style Sheets implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants