Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 207dacce90355dd3c8bb23f638a72a49cd3c4a65 https://github.com/WebKit/WebKit/commit/207dacce90355dd3c8bb23f638a72a49cd3c4a65 Author: Anne van Kesteren <ann...@annevk.nl> Date: 2023-10-25 (Wed, 25 Oct 2023)
Changed paths: M Source/WebCore/CMakeLists.txt M Source/WebCore/DerivedSources-input.xcfilelist M Source/WebCore/DerivedSources.make M Source/WebCore/WebCore.xcodeproj/project.pbxproj A Source/WebCore/css/htmlSwitchControl.css M Source/WebCore/style/InspectorCSSOMWrappers.cpp M Source/WebCore/style/UserAgentStyle.cpp M Source/WebCore/style/UserAgentStyle.h Log Message: ----------- Add <input type=checkbox switch> style sheet https://bugs.webkit.org/show_bug.cgi?id=263667 rdar://117482084 Reviewed by Aditya Keerthi. Conditionally create a style sheet when <input type=checkbox switch> is enabled and used. This makes it so that a switch has no styling apart from its intrinsic size. * Source/WebCore/CMakeLists.txt: * Source/WebCore/DerivedSources-input.xcfilelist: * Source/WebCore/DerivedSources.make: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/css/htmlSwitchControl.css: Added. (@namespace "http://www.w3.org/1999/xhtml";): * Source/WebCore/style/InspectorCSSOMWrappers.cpp: (WebCore::Style::InspectorCSSOMWrappers::collectDocumentWrappers): * Source/WebCore/style/UserAgentStyle.cpp: (WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement): * Source/WebCore/style/UserAgentStyle.h: Canonical link: https://commits.webkit.org/269790@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes