Skip to content

Remove inert event retargeting tests - #30866

Merged
nt1m merged 2 commits into
web-platform-tests:masterfrom
nt1m:inert-retargeting
Oct 4, 2021
Merged

nt1m merged 2 commits into
web-platform-tests:masterfrom
nt1m:inert-retargeting

Conversation

@nt1m

@nt1m nt1m commented Sep 20, 2021 •

Copy link
Copy Markdown
Member

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

@wpt-pr-bot

Copy link
Copy Markdown
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!

@nt1m

nt1m commented Sep 20, 2021

Copy link
Copy Markdown
Member Author

cc @chrishtr

@nt1m nt1m changed the title Remove inert retargeting tests Remove inert event retargeting tests Sep 20, 2021
@chrishtr

Copy link
Copy Markdown
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
@nt1m
nt1m merged commit 17f95b6 into web-platform-tests:master Oct 4, 2021
@nt1m
nt1m deleted the inert-retargeting branch October 4, 2021 15:48
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants