Repository navigation
Remove inert event retargeting tests - #30866
Merged
Merged
Conversation
Collaborator
|
There are no reviewers for this pull request. Please reach out on W3C's irc server (irc.w3.org, port 6665) on channel #testing (web client) to get help with this. Thank you! |
Member
Author
|
cc @chrishtr |
Contributor
|
I'm not so sure the CSSWG resolved about this. I still have it on my TODO list to review the current sate of things and get back to the CSSWG with recommended next steps. Planning that for sometime this week. |
webkit-commit-queue
pushed a commit
to WebKit/WebKit
that referenced
this pull request
Sep 25, 2021
https://bugs.webkit.org/show_bug.cgi?id=229330 Reviewed by Antti Koivisto. Test: LayoutTests/imported/w3c/web-platform-tests/inert/inert-inlines.tentative.html This adds an internal inherited effectiveInert style property in RenderStyle and starts using it for hit testing checks. Invalidation is done through style invalidation. Skipped and removed test expectations for inert event retargeting tests that should soon become irrelevant per this CSSWG discussion: https://logs.csswg.org/irc.w3.org/css/2021-09-08/#e1431357 https://lists.w3.org/Archives/Public/www-style/2021Sep/0004.html Pending WPT PR to remove inert event retargeting tests: web-platform-tests/wpt#30866 LayoutTests/imported/w3c: * web-platform-tests/inert/inert-inlines.tentative-expected.txt: * web-platform-tests/inert/inert-retargeting-iframe.tentative-expected.txt: Removed. * web-platform-tests/inert/inert-retargeting.tentative-expected.txt: Removed. Source/WebCore: * dom/Element.cpp: (WebCore::Element::addToTopLayer): (WebCore::Element::removeFromTopLayer): * html/HTMLElement.cpp: (WebCore::HTMLElement::parseAttribute): * rendering/RenderElement.cpp: (WebCore::RenderElement::styleWillChange): * rendering/RenderElement.h: (WebCore::RenderElement::visibleToHitTesting const): * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::layerStyleChanged): * rendering/style/RenderStyle.h: (WebCore::RenderStyle::effectiveInert const): (WebCore::RenderStyle::setEffectiveInert): * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator== const): * rendering/style/StyleRareInheritedData.h: * style/StyleAdjuster.cpp: (WebCore::Style::Adjuster::adjust const): * style/StyleSharingResolver.cpp: (WebCore::Style::SharingResolver::canShareStyleWithElement const): LayoutTests: * TestExpectations: * platform/ios-wk2/imported/w3c/web-platform-tests/inert/inert-retargeting-iframe.tentative-expected.txt: Removed. * platform/ios-wk2/imported/w3c/web-platform-tests/inert/inert-retargeting.tentative-expected.txt: Removed. Canonical link: https://commits.webkit.org/242137@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@283079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
smfr
approved these changes
Oct 4, 2021
bertogg
pushed a commit
to Igalia/webkit
that referenced
this pull request
Oct 9, 2021
https://bugs.webkit.org/show_bug.cgi?id=229330 Reviewed by Antti Koivisto. Test: LayoutTests/imported/w3c/web-platform-tests/inert/inert-inlines.tentative.html This adds an internal inherited effectiveInert style property in RenderStyle and starts using it for hit testing checks. Invalidation is done through style invalidation. Skipped and removed test expectations for inert event retargeting tests that should soon become irrelevant per this CSSWG discussion: https://logs.csswg.org/irc.w3.org/css/2021-09-08/#e1431357 https://lists.w3.org/Archives/Public/www-style/2021Sep/0004.html Pending WPT PR to remove inert event retargeting tests: web-platform-tests/wpt#30866 LayoutTests/imported/w3c: * web-platform-tests/inert/inert-inlines.tentative-expected.txt: * web-platform-tests/inert/inert-retargeting-iframe.tentative-expected.txt: Removed. * web-platform-tests/inert/inert-retargeting.tentative-expected.txt: Removed. Source/WebCore: * dom/Element.cpp: (WebCore::Element::addToTopLayer): (WebCore::Element::removeFromTopLayer): * html/HTMLElement.cpp: (WebCore::HTMLElement::parseAttribute): * rendering/RenderElement.cpp: (WebCore::RenderElement::styleWillChange): * rendering/RenderElement.h: (WebCore::RenderElement::visibleToHitTesting const): * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::layerStyleChanged): * rendering/style/RenderStyle.h: (WebCore::RenderStyle::effectiveInert const): (WebCore::RenderStyle::setEffectiveInert): * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator== const): * rendering/style/StyleRareInheritedData.h: * style/StyleAdjuster.cpp: (WebCore::Style::Adjuster::adjust const): * style/StyleSharingResolver.cpp: (WebCore::Style::SharingResolver::canShareStyleWithElement const): LayoutTests: * TestExpectations: * platform/ios-wk2/imported/w3c/web-platform-tests/inert/inert-retargeting-iframe.tentative-expected.txt: Removed. * platform/ios-wk2/imported/w3c/web-platform-tests/inert/inert-retargeting.tentative-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@283079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Gabisampaio
pushed a commit
to Gabisampaio/wpt
that referenced
this pull request
Nov 18, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It was decided in a CSSWG meeting that the Firefox behaviour of using pointer-events: none; would be used, so the retargeting algorithm for inert isn't relevant anymore.
Relevant discussions here:
https://logs.csswg.org/irc.w3.org/css/2021-09-08/#e1431357
https://lists.w3.org/Archives/Public/www-style/2021Sep/0004.html
Relevant issue: whatwg/html#5650