html: Enhance image update the image data, environment changes algorithms#41046
Merged
TimvdLippe merged 1 commit intoservo:mainfrom Dec 4, 2025
Merged
Conversation
|
🔨 Triggering try run (#19926835511) for Linux (WPT) |
…gorithms The following image processing algorithms were updated (with description) - https://html.spec.whatwg.org/multipage/#update-the-image-data - https://html.spec.whatwg.org/multipage/#img-environment-changes Added missing `image request phase` switching cases and non-spec handling of the `last selected source`. Testing: Improvements in the following tests - html/semantics/embedded-content/the-img-element/current-pixel-density/error.html - html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html Fixes: servo#38777 Signed-off-by: Andrei Volykhin <[email protected]>
|
Test results for linux-wpt from try job (#19926835511): Flaky unexpected result (35)
Stable unexpected results that are known to be intermittent (21)
|
|
✨ Try run (#19926835511) succeeded. |
daacaf0 to
886dd42
Compare
Contributor
Author
|
Fixed |
TimvdLippe
approved these changes
Dec 4, 2025
Contributor
TimvdLippe
left a comment
There was a problem hiding this comment.
This is great work, thanks! Next time, do try to keep PRs smaller with dedicated topics. For example, this PR could have been split in three:
- Rename variables
- Add spec comments
- Implement missing parts that fixes the tests
This would significantly help reviewing, as now it was quite a churn to go through. And that's mostly because it is both a lot, as well as fixing various things in one go. Next time you open a PR, I will push back more to make them smaller, since this is a heavy review time investment.
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.
The following image processing algorithms were updated (with description)
Added missing
image request phaseswitching cases and non-spec handling of thelast selected source.Testing: Improvements in the following tests
Fixes: #38777