Skip to content

Add painting method for search fields #40588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

lilyspiniolas
Copy link
Contributor

@lilyspiniolas lilyspiniolas commented Feb 13, 2025

@lilyspiniolas lilyspiniolas self-assigned this Feb 13, 2025
@lilyspiniolas lilyspiniolas added the New Bugs Unclassified bugs are placed in this component until the correct component can be determined. label Feb 13, 2025
#if ENABLE(MAC_STYLE_CONTROLS_ON_CATALYST)
if (paintSearchFieldForCatalyst(renderer, paintInfo, rect))
return false;
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some UNUSED_PARAM in an else.

@lilyspiniolas lilyspiniolas added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Feb 14, 2025
https://bugs.webkit.org/show_bug.cgi?id=287670
rdar://144816048

Reviewed by Aditya Keerthi.

It is not ideal to adjust the styling of search fields based on their layout.
Added an experimental solution.

* Source/WebCore/rendering/ios/RenderThemeIOS.h:
* Source/WebCore/rendering/ios/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::paintSearchField):

Canonical link: https://commits.webkit.org/290385@main
@webkit-commit-queue
Copy link
Collaborator

Committed 290385@main (32a1d0c): https://commits.webkit.org/290385@main

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

@webkit-commit-queue webkit-commit-queue merged commit 32a1d0c into WebKit:main Feb 14, 2025
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Bugs Unclassified bugs are placed in this component until the correct component can be determined.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants