Skip to content
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

[cssom-view-1] Add more checkVisibility dictionary properties #9549

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

vmpstr
Copy link
Member

@vmpstr vmpstr commented Nov 1, 2023

[cssom-view-1] Add more checkVisibility dictionary properties

Fixes #9474
Fixes #9487

@nt1m
Copy link
Member

nt1m commented Nov 3, 2023

@vmpstr Can you rename the checkContentVisibilityAuto option from: web-platform-tests/wpt#42829 as well? I added these tests only tentatively.

@vmpstr
Copy link
Member Author

vmpstr commented Nov 3, 2023

Yep, doing that as part of the implementation. Thank you for pointing this out

@nt1m nt1m requested review from smfr and emilio November 3, 2023 02:12
@nt1m
Copy link
Member

nt1m commented Nov 3, 2023

Adding @emilio & @smfr since they are spec editors.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 3, 2023
This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
aarongable pushed a commit to chromium/chromium that referenced this pull request Nov 3, 2023
This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1219676}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 3, 2023
This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1219676}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 3, 2023
This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1219676}
cssom-view-1/Overview.bs Outdated Show resolved Hide resolved
cssom-view-1/Overview.bs Outdated Show resolved Hide resolved
@@ -1161,6 +1161,9 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
dictionary CheckVisibilityOptions {
boolean checkOpacity = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a Note that says that checkVisibilityCSS and checkOpacity are deprecated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't resolved to deprecate these. I've added a note that says they are historical names that have aliases that match the new naming scheme. I suspect we want to revisit at CSSWG if we want to deprecate the names though.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to call them deprecated IMO. I don't feel strongly either way tho. Assuming @smfr is fine with the current wording feel free to merge.

@vmpstr vmpstr requested review from smfr and nt1m November 6, 2023 19:53
webkit-commit-queue pushed a commit to pxlcoder/WebKit that referenced this pull request Nov 6, 2023
https://bugs.webkit.org/show_bug.cgi?id=264062
rdar://117821444

Reviewed by Tim Nguyen.

Implement w3c/csswg-drafts#9549.

* LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/checkVisibility.html:
* Source/WebCore/dom/CheckVisibilityOptions.h:
* Source/WebCore/dom/CheckVisibilityOptions.idl:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::checkVisibility):

Canonical link: https://commits.webkit.org/270283@main
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 14, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this pull request Nov 15, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Nov 16, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

R=jarharchromium.org

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <vmpstrchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929

UltraBlame original commit: 16c04f34de7dd94c09609af2623901d921cf85d4
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Nov 16, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

R=jarharchromium.org

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <vmpstrchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929

UltraBlame original commit: 16c04f34de7dd94c09609af2623901d921cf85d4
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Nov 16, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

R=jarharchromium.org

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <vmpstrchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929

UltraBlame original commit: 16c04f34de7dd94c09609af2623901d921cf85d4
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 20, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Nov 20, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

[email protected]

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Nov 21, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

R=jarharchromium.org

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <vmpstrchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929

UltraBlame original commit: fec2ac190e9d4d441e15030b3b20974ffdf8cd87
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Nov 21, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

R=jarharchromium.org

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <vmpstrchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929

UltraBlame original commit: fec2ac190e9d4d441e15030b3b20974ffdf8cd87
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Nov 21, 2023
… aliases and c-v auto, a=testonly

Automatic update from web-platform-tests
checkVisibility: Add extra parameters as aliases and c-v auto

This is to implement
w3c/csswg-drafts#9549

R=jarharchromium.org

Change-Id: Id5d8c700019a257d8dc3fc79436eefc427e8aac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003245
Auto-Submit: Vladimir Levin <vmpstrchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1219676}

--

wpt-commits: 07417e7c2e42620f8f06cde13d51a928c978b0d3
wpt-pr: 42929

UltraBlame original commit: fec2ac190e9d4d441e15030b3b20974ffdf8cd87
@svgeesus svgeesus merged commit 32f5f8c into w3c:main Jan 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants