Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b73a449ec5ef5e240f89806e332486bfc79b1cac https://github.com/WebKit/WebKit/commit/b73a449ec5ef5e240f89806e332486bfc79b1cac Author: Vitor Roriz <vitor.ro...@apple.com> Date: 2023-02-24 (Fri, 24 Feb 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 M Source/WebCore/css/CSSCounterStyle.h M Source/WebCore/css/CSSCounterStyleRegistry.cpp M Source/WebCore/css/CSSCounterStyleRegistry.h A Source/WebCore/css/counterStyles.css M Source/WebCore/css/parser/CSSParserContext.cpp M Source/WebCore/style/UserAgentStyle.cpp M Source/WebCore/style/UserAgentStyle.h Log Message: ----------- Adding UA stylesheet for counter-styles (counterStyles.css) https://bugs.webkit.org/show_bug.cgi?id=252861 rdar://105853064 Adding a new UA stylesheet for storing the rules for the normative simple predefined counter styles as specified at https://www.w3.org/TR/css-counter-styles-3/#predefined-counters Reviewed by Tim Nguyen. * Source/WebCore/CMakeLists.txt: * Source/WebCore/DerivedSources-input.xcfilelist: * Source/WebCore/DerivedSources.make: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/css/CSSCounterStyleRegistry.cpp: (WebCore::CSSCounterStyleRegistry::addUserAgentCounterStyle): (WebCore::CSSCounterStyleRegistry::userAgentCounterStyles): * Source/WebCore/css/CSSCounterStyleRegistry.h: * Source/WebCore/css/counterStyles.css: Added. (@counter-style decimal): (@counter-style decimal-leading-zero): (@counter-style arabic-indic): (@counter-style armenian): (@counter-style upper-armenian): (@counter-style lower-armenian): (@counter-style bengali): (@counter-style cambodian): (@counter-style khmer): (@counter-style cjk-decimal): (@counter-style devanagari): (@counter-style georgian): (@counter-style gujarati): (@counter-style gurmukhi): (@counter-style hebrew): (@counter-style kannada): (@counter-style lao): (@counter-style malayalam): (@counter-style mongolian): (@counter-style myanmar): (@counter-style oriya): (@counter-style persian): (@counter-style lower-roman): (@counter-style upper-roman): (@counter-style tamil): (@counter-style telugu): (@counter-style thai): (@counter-style tibetan): (@counter-style lower-alpha): (@counter-style lower-latin): (@counter-style upper-alpha): (@counter-style upper-latin): (@counter-style lower-greek): (@counter-style hiragana): (@counter-style hiragana-iroha): (@counter-style katakana): (@counter-style katakana-iroha): (@counter-style disc): (@counter-style circle): (@counter-style square): (@counter-style disclosure-open): (@counter-style disclosure-closed): (@counter-style cjk-earthly-branch): (@counter-style cjk-heavenly-stem): * Source/WebCore/css/parser/CSSParserContext.cpp: (WebCore::CSSParserContext::CSSParserContext): * Source/WebCore/style/UserAgentStyle.cpp: (WebCore::Style::addToCounterStyleRegistry): (WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement): * Source/WebCore/style/UserAgentStyle.h: Canonical link: https://commits.webkit.org/260795@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes