-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
layout: grid-template getComputedStyle cleanup #34926
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
Conversation
Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
fd910ea to
d0f2048
Compare
|
🔨 Triggering try run (#12705404079) for Linux WPT |
nicoburns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
| /// 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>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, I would rename this to specific_layout_info
This is a followup to servo#34926. Fixes servo#35078.
This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
…35104) This is a followup to servo#34926. Fixes servo#35078. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: L Ashwin B <lashwinib@gmail.com>
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 <nico@nicoburns.com>
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