layout: grid-template getComputedStyle cleanup#34926
Merged
nicoburns merged 3 commits intoservo:mainfrom Jan 10, 2025
Merged
Conversation
Signed-off-by: stevennovaryo <[email protected]>
Signed-off-by: stevennovaryo <[email protected]>
fd910ea to
d0f2048
Compare
Signed-off-by: stevennovaryo <[email protected]>
|
🔨 Triggering try run (#12705404079) for Linux WPT |
nicoburns
approved these changes
Jan 10, 2025
Contributor
nicoburns
left a comment
There was a problem hiding this comment.
Looks good :) And thanks for creating the issue for the auto-tracks issue!
|
Test results for linux-wpt-layout-2020 from try job (#12705404079): Flaky unexpected result (19)
Stable unexpected results that are known to be intermittent (13)
|
|
✨ Try run (#12705404079) succeeded. |
3 tasks
Loirooriol
reviewed
Jan 10, 2025
| /// Additional information of from layout that could be used by Javascripts and devtools. | ||
| #[serde(skip_serializing)] | ||
| pub detailed_layout_info: Option<DetailedLayoutInfo>, | ||
| pub detailed_layout_info: Option<SpecificLayoutInfo>, |
Contributor
There was a problem hiding this comment.
For consistency, I would rename this to specific_layout_info
mrobinson
added a commit
to mrobinson/servo
that referenced
this pull request
Jan 21, 2025
This is a followup to servo#34926. Fixes servo#35078.
3 tasks
mrobinson
added a commit
to mrobinson/servo
that referenced
this pull request
Jan 21, 2025
This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <[email protected]>
mrobinson
added a commit
to mrobinson/servo
that referenced
this pull request
Jan 21, 2025
This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <[email protected]>
mrobinson
added a commit
to mrobinson/servo
that referenced
this pull request
Jan 21, 2025
This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 21, 2025
This is a followup to #34926. Fixes #35078. Signed-off-by: Martin Robinson <[email protected]>
chickenleaf
pushed a commit
to chickenleaf/servo
that referenced
this pull request
Jan 24, 2025
…35104) This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <[email protected]> Signed-off-by: L Ashwin B <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 14, 2025
Depends on: - servo/stylo#104 - #34926 - #34927 - #34948 In addition to that a `resolve_calc_value` function has been added which resolves calc values during the layout process once a percentage resolution basis is available. ~~There is 1 newly failing test and 1 newly failing subtest here.~~ These issues have now been fixed. There are 8 new subtest failures in `css/css-grid/grid-definition/grid-minimum-contribution-with-percentages.html`. These are genuine failures, but are unrelated to the calc implementation. The calc implementation is just exposing a pre-existing bug around percentage resolution that also now correctly also applies to `calc()` values containing percentages. The fix for would best be done in a followup as it requires teaching Taffy about "compressible replaced elements". (update: I have this [implemented](#34948) but in the interest of keeping it to one feature per PR I have not included it here) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors. It doesn't like the git dependency on Taffy. - [x] There are tests for these changes OR --------- Signed-off-by: Nico Burns <[email protected]>
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.
Changes
0.7.4, which will fix the my bug of exposing the info of grid without any items.WPT Result — Try Run
Most the pass tests is WPT tests that uses grid without any items. Leftover subtests from the same tests are mostly related to the upcoming features and more passes are expected soon.
WPT tests with track list that contains only
auto(s) computed the sizes of the track incorrectly. #34925This also includes tests that uses keyword
nonein grid with grid items (and undefined auto-placement) and the one with incorrect value, because all of them should resolved toauto../mach build -ddoes not report any errors./mach test-tidydoes not report any errors