[MQ4] Implement update media feature#15074
Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom Jun 17, 2023
Merged
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 010ee0f) Details |
update media feature
010ee0f to
5ee46d4
Compare
Collaborator
|
EWS run on previous version of this PR (hash 5ee46d4) Details
|
5ee46d4 to
8f6eb5c
Compare
Collaborator
|
EWS run on current version of this PR (hash 8f6eb5c) Details |
darinadler
approved these changes
Jun 17, 2023
https://bugs.webkit.org/show_bug.cgi?id=180245 rdar://35799713 Reviewed by Darin Adler. From https://drafts.csswg.org/mediaqueries/#update : The update media feature is used to query the ability of the output device to modify the appearance of content once it has been rendered. It accepts the following values: - none Once it has been rendered, the layout can no longer be updated. Example: documents printed on paper. - slow The layout may change dynamically according to the usual rules of CSS, but the output device is not able to render or display changes quickly enough for them to be perceived as a smooth animation. Example: E-ink screens or severely under-powered devices. - fast The layout may change dynamically according to the usual rules of CSS, and the output device is not unusually constrained in speed, so regularly-updating things like CSS Animations can be used. Example: computer screens. This is part of Interop 2023. Also update overflow-block: paged to match on print mediums. * LayoutTests/fast/css/media-query-overflow-block-paged-print-expected.html: Added. * LayoutTests/fast/css/media-query-overflow-block-paged-print.html: Added. * LayoutTests/fast/css/media-query-update-none-expected.html: Added. * LayoutTests/fast/css/media-query-update-none.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/mediaqueries/test_media_queries-expected.txt: * Source/WebCore/css/query/MediaQueryFeatures.cpp: (WebCore::MQ::Features::update): (WebCore::MQ::Features::overflowBlock): * Source/WebCore/css/query/MediaQueryFeatures.h: Canonical link: https://commits.webkit.org/265277@main
8f6eb5c to
777e46f
Compare
Collaborator
|
Committed 265277@main (777e46f): https://commits.webkit.org/265277@main Reviewed commits have been landed. Closing PR #15074 and removing active labels. |
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.
777e46f
8f6eb5c
🧪 mac-AS-debug-wk2