[webkit-changes] [WebKit/WebKit] 3fa92b: Extract StyledElementInlineStylePropertyMap from S...
Chris Dumez
noreply at github.com
Fri Dec 2 10:28:22 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3fa92bc62217c8505831c71a5cd17dea8c207122
https://github.com/WebKit/WebKit/commit/3fa92bc62217c8505831c71a5cd17dea8c207122
Author: Chris Dumez <cdumez at apple.com>
Date: 2022-12-02 (Fri, 02 Dec 2022)
Changed paths:
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
A Source/WebCore/css/typedom/InlineStylePropertyMap.cpp
A Source/WebCore/css/typedom/InlineStylePropertyMap.h
M Source/WebCore/dom/StyledElement.cpp
Log Message:
-----------
Extract StyledElementInlineStylePropertyMap from StyledElement.cpp and to its own file
https://bugs.webkit.org/show_bug.cgi?id=248620
Reviewed by Antoine Quint.
Extract StyledElementInlineStylePropertyMap from StyledElement.cpp and to its
own file. Also rename it to InlineStylePropertyMap for simplicity.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/typedom/InlineStylePropertyMap.cpp: Added.
(WebCore::InlineStylePropertyMap::create):
(WebCore::InlineStylePropertyMap::InlineStylePropertyMap):
(WebCore::InlineStylePropertyMap::propertyValue const):
(WebCore::InlineStylePropertyMap::customPropertyValue const):
(WebCore::InlineStylePropertyMap::size const):
(WebCore::InlineStylePropertyMap::entries const):
(WebCore::InlineStylePropertyMap::removeProperty):
(WebCore::InlineStylePropertyMap::setShorthandProperty):
(WebCore::InlineStylePropertyMap::setProperty):
(WebCore::InlineStylePropertyMap::setCustomProperty):
(WebCore::InlineStylePropertyMap::removeCustomProperty):
(WebCore::InlineStylePropertyMap::clear):
(WebCore::InlineStylePropertyMap::clearElement):
* Source/WebCore/css/typedom/InlineStylePropertyMap.h: Added.
* Source/WebCore/dom/StyledElement.cpp:
(WebCore::StyledElement::ensureAttributeStyleMap):
(): Deleted.
Canonical link: https://commits.webkit.org/257292@main
More information about the webkit-changes
mailing list