-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[content-visibility] Parse and add experimental flag for content-visibility #3158
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
Conversation
72a3332
to
18d0aa7
Compare
18d0aa7
to
6fc2a28
Compare
PTAL( finally all green again!). |
6fc2a28
to
e22475f
Compare
e22475f
to
bd8d9f6
Compare
bd8d9f6
to
602f3a6
Compare
EWS run on previous version of this PR (hash 602f3a6) |
EWS run on previous version of this PR (hash bd8d9f6) |
EWS run on previous version of this PR (hash e22475f) |
EWS run on previous version of this PR (hash 6fc2a28) |
EWS run on previous version of this PR (hash 18d0aa7) |
EWS run on previous version of this PR (hash 72a3332) |
Ok, I was wrong before, only today this became green :} |
602f3a6
to
399e9c9
Compare
EWS run on previous version of this PR (hash 399e9c9) |
EWS run on previous version of this PR (hash bd8d9f6) |
EWS run on previous version of this PR (hash e22475f) |
EWS run on previous version of this PR (hash 6fc2a28) |
EWS run on previous version of this PR (hash 18d0aa7) |
EWS run on previous version of this PR (hash 72a3332) |
d72ad8a
to
6a08ebe
Compare
EWS run on previous version of this PR (hash bd8d9f6)
|
EWS run on previous version of this PR (hash e22475f)
|
EWS run on previous version of this PR (hash 6fc2a28)
|
EWS run on previous version of this PR (hash 18d0aa7)
|
EWS run on previous version of this PR (hash 6a08ebe)
|
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.
Is there a way to do this and take advantage of cssValuePool
? Should help performance if we can.
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.
You are right, I see how that is more efficient. I went with your original idea, I guess we can implement that idea more in the future.
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.
In new code I think we should use constexpr
as well as static
for functions like this.
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.
Done.
6a08ebe
to
b064abe
Compare
|
|
EWS run on previous version of this PR (hash bd8d9f6)
|
1 similar comment
EWS run on previous version of this PR (hash bd8d9f6)
|
EWS run on previous version of this PR (hash e22475f)
|
1 similar comment
EWS run on previous version of this PR (hash e22475f)
|
EWS run on previous version of this PR (hash 6fc2a28)
|
1 similar comment
EWS run on previous version of this PR (hash 6fc2a28)
|
EWS run on previous version of this PR (hash 18d0aa7)
|
1 similar comment
EWS run on previous version of this PR (hash 18d0aa7)
|
|
|
…bility https://bugs.webkit.org/show_bug.cgi?id=236371 Reviewed by Darin Adler. Parsing of the content-visibility property according to [1]. This is controlled by the experimental flag CSSContentVisibilityEnabled. [1] https://www.w3.org/TR/css-contain-2/#content-visibility * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-026-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-077-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/inheritance-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/parsing/content-visibility-computed-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/parsing/content-visibility-valid-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/editing/the-hidden-attribute/hidden-ua-stylesheet-expected.txt: * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt: * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: * LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt: * LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: * LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: * Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml: * Source/WebCore/animation/CSSPropertyAnimation.cpp: (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): * Source/WebCore/css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): * Source/WebCore/css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator ContentVisibility const): * Source/WebCore/css/CSSProperties.json: * Source/WebCore/css/parser/CSSParserContext.cpp: (WebCore::operator==): (WebCore::add): * Source/WebCore/css/parser/CSSParserContext.h: * Source/WebCore/css/parser/CSSPropertyParser.cpp: (WebCore::consumeContentVisibility): (WebCore::CSSPropertyParser::parseSingleValue): * Source/WebCore/rendering/style/RenderStyle.h: (WebCore::RenderStyle::contentVisibility const): (WebCore::RenderStyle::setContentVisibility): (WebCore::RenderStyle::initialContentVisibility): * Source/WebCore/rendering/style/RenderStyleConstants.h: * Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp: (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): (WebCore::StyleRareNonInheritedData::operator== const): * Source/WebCore/rendering/style/StyleRareNonInheritedData.h: Canonical link: https://commits.webkit.org/253768@main
b064abe
to
fccee31
Compare
Committed 253768@main (fccee31): https://commits.webkit.org/253768@main Reviewed commits have been landed. Closing PR #3158 and removing active labels. |
…bility https://bugs.webkit.org/show_bug.cgi?id=236371 Reviewed by Darin Adler. Remove some code committed in PR #3158 that is not needed after r252720 landed. * Source/WebCore/css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): * Source/WebCore/css/parser/CSSParserContext.cpp: (WebCore::operator==): (WebCore::add): * Source/WebCore/css/parser/CSSParserContext.h: * Source/WebCore/css/parser/CSSPropertyParser.cpp: (WebCore::CSSPropertyParser::parseSingleValue): Canonical link: https://commits.webkit.org/253821@main
…bility https://bugs.webkit.org/show_bug.cgi?id=236371 Reviewed by Darin Adler. Remove some code committed in PR WebKit#3158 that is not needed after r252720 landed. * Source/WebCore/css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): * Source/WebCore/css/parser/CSSParserContext.cpp: (WebCore::operator==): (WebCore::add): * Source/WebCore/css/parser/CSSParserContext.h: * Source/WebCore/css/parser/CSSPropertyParser.cpp: (WebCore::CSSPropertyParser::parseSingleValue): Canonical link: https://commits.webkit.org/253821@main
fccee31
b064abe
🛠 mac-debug🛠 gtk🧪 gtk-wk2🧪 api-ios🧪 api-mac🧪 api-gtk🧪 mac-AS-debug-wk2