forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flatten colorInputStyleSheet into html.css
https://bugs.webkit.org/show_bug.cgi?id=286344 Reviewed by Sam Weinig. html.css already contained some <input type=color> styles. Might as well contain all of them for clarity and ease of ongoing maintenance. While we are in UserAgentStyle we move all the rules that implicitly are conditional upon is<HTMLElement> into that branch and remove some redundant comments. This ends up applying a couple more styles to <input type=color> in WK1, but that reduction in differences seems acceptable, if not worthwhile. * LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt: Removed. * Source/WebCore/css/html.css: (#endif): * Source/WebCore/rendering/RenderTheme.cpp: (WebCore::RenderTheme::colorInputStyleSheet const): Deleted. * Source/WebCore/rendering/RenderTheme.h: * Source/WebCore/rendering/ios/RenderThemeIOS.h: * Source/WebCore/rendering/ios/RenderThemeIOS.mm: (WebCore::RenderThemeIOS::colorInputStyleSheet const): Deleted. * Source/WebCore/style/InspectorCSSOMWrappers.cpp: (WebCore::Style::InspectorCSSOMWrappers::collectDocumentWrappers): * Source/WebCore/style/UserAgentStyle.cpp: (WebCore::Style::UserAgentStyle::initDefaultStyleSheet): (WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement): * Source/WebCore/style/UserAgentStyle.h: Canonical link: https://commits.webkit.org/289278@main
- Loading branch information
Showing
9 changed files
with
34 additions
and
429 deletions.
There are no files selected for viewing
381 changes: 0 additions & 381 deletions
381
...web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters