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
[CSS] Unprefix text-decoration shorthand #23121
base: main
Are you sure you want to change the base?
Conversation
EWS run on previous version of this PR (hash 040ff91) |
040ff91
to
016917f
Compare
EWS run on previous version of this PR (hash 016917f) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked in detail, but this seems similar to 5425a41, which was reverted in https://bugs.webkit.org/show_bug.cgi?id=237412 for perf reasons.
Are you addressing that in a particular way, or just hoping that it will work this time?
It's a draft, it's not ready for review yet. For the perf issue, hopefully the early return should mitigate this (here https://github.com/WebKit/WebKit/pull/23121/files#diff-95930edb6b781ea4a9c186c448fbcf9a40b69ff535c822c96c284a67fb81a89aR1524 ) |
5c32c1b
to
c3033e9
Compare
EWS run on previous version of this PR (hash c3033e9) |
c3033e9
to
3b84c58
Compare
EWS run on previous version of this PR (hash 3b84c58)
|
3b84c58
to
024cfc1
Compare
EWS run on previous version of this PR (hash 024cfc1)
|
024cfc1
to
8d36b35
Compare
EWS run on previous version of this PR (hash 8d36b35)
|
6fbd584
to
06afee1
Compare
06afee1
to
7bb6f2e
Compare
EWS run on previous version of this PR (hash 7bb6f2e)
|
7bb6f2e
to
697eacd
Compare
EWS run on previous version of this PR (hash 697eacd)
|
697eacd
to
3093d70
Compare
EWS run on previous version of this PR (hash 3093d70)
|
3093d70
to
687d9a2
Compare
EWS run on previous version of this PR (hash 687d9a2)
|
687d9a2
to
f2d3912
Compare
EWS run on previous version of this PR (hash f2d3912)
|
f2d3912
to
edf61d5
Compare
EWS run on previous version of this PR (hash edf61d5)
|
https://bugs.webkit.org/show_bug.cgi?id=230083 rdar://83182835 Reviewed by NOBODY (OOPS!). Explanation of why this fixes the bug (OOPS!). * LayoutTests/TestExpectations: * LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt: * LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration.html: * LayoutTests/fast/css/style-enumerate-properties-expected.txt: * LayoutTests/fast/css/style-enumerate-properties.html: * LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-expected.txt: * LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand.html: * LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-dashed.html: * LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-dotted-dashed.html: * LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-dotted.html: * LayoutTests/fast/events/input-events-paste-rich-datatransfer-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-letter-allowed-properties-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-line-allowed-properties-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/parsing/text-decoration-computed-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/parsing/text-decoration-shorthand-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/parsing/text-decoration-valid-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-serialization.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/editing/run/inserttext_2001-last-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/editing/run/multitest_4001-5000-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/editing/run/multitest_8001-9000-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/editing/run/multitest_9001-last-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/editing/run/strikethrough_2001-last-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/editing/run/underline_2001-last-expected.txt: * Source/WebCore/animation/CSSPropertyAnimation.cpp: (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): * Source/WebCore/css/CSSProperties.json: * Source/WebCore/css/ComputedStyleExtractor.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyInStyle const): (WebCore::ComputedStyleExtractor::textDecorationShorthandValue const): * Source/WebCore/css/ComputedStyleExtractor.h: * Source/WebCore/css/MutableStyleProperties.cpp: (WebCore::MutableStyleProperties::setProperty): * Source/WebCore/css/MutableStyleProperties.h: * Source/WebCore/css/ShorthandSerializer.cpp: (WebCore::ShorthandSerializer::serialize): * Source/WebCore/css/StyleProperties.cpp: (WebCore::canUseShorthandForLonghand): * Source/WebCore/css/parser/CSSPropertyParser.cpp: (WebCore::CSSPropertyParser::parseShorthand): * Source/WebCore/editing/EditingStyle.cpp: (WebCore::HTMLTextDecorationEquivalent::HTMLTextDecorationEquivalent): (WebCore::EditingStyle::init): (WebCore::EditingStyle::styleWithResolvedTextDecorations const): (WebCore::EditingStyle::collapseTextDecorationProperties): (WebCore::EditingStyle::conflictsWithInlineStyleOfElement const): (WebCore::EditingStyle::mergeStyle): (WebCore::EditingStyle::removeEquivalentProperties): (WebCore::reconcileTextDecorationProperties): (WebCore::StyleChange::StyleChange): (WebCore::setTextDecorationProperty): (WebCore::StyleChange::extractTextStyles): (WebCore::diffTextDecorations): * Source/WebCore/editing/markup.cpp: (WebCore::serializePreservingVisualAppearanceInternal):
edf61d5
to
2cd03bd
Compare
EWS run on current version of this PR (hash 2cd03bd)
|
2cd03bd
2cd03bd