Repository navigation
stylo: Allow display: flow-root list-item for Servo - #50254
Merged
Merged
Conversation
|
🔨 Triggering try run (#45827329499) for Linux (WPT) |
|
Test results for linux-wpt from try job (#45827329499): Flaky unexpected result (23)
Stable unexpected results that are known to be intermittent (4)
|
|
✨ Try run (#45827329499) succeeded. |
Loirooriol
marked this pull request as ready for review
November 26, 2026 14:37
mrobinson
approved these changes
Nov 27, 2026
Signed-off-by: Oriol Brufau <[email protected]>
Loirooriol
force-pushed
the
display-flow-root-list-item
branch
from
November 27, 2026 07:51
2e20c85 to
7d492c6
Compare
Loirooriol
enabled auto-merge
November 27, 2026 07:53
shubhamg13
pushed a commit
to shubhamg13/stylo
that referenced
this pull request
Nov 27, 2026
In the past, Servo didn't support `flow-root` nor `contents`, so these values were restricted to Gecko with conditional compilation. Now Servo supports them, but some conditional compilation remained: - `flow-root` was ignored in `is_valid_for_list_item()` for Servo. - `contents` was ignored in `is_line_participant()` for Servo. Note only the former mattered in practice, since `is_line_participant()` is only used by Gecko. To avoid risks of having the same problem for `ruby` or `-webkit-box`, this patch removes all conditional compilation for `display` values. But the unsupported values are gated by Servo-specific preferences. Servo PR: servo/servo#50254 Signed-off-by: Oriol Brufau <[email protected]>
devin-ai-integration Bot
added a commit
to baigojahanzaib/servo
that referenced
this pull request
Nov 28, 2026
(cherry picked from upstream bb9e153 — rev pins already correct) Co-Authored-By: Jahanzaib Baigo <[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.
Bumps Stylo to servo/stylo#539
We were already capable of handling a list item that establishes a block formatting context by other means (e.g.
align-content: start), but this allows authors to opt into this behavior withdisplayalone.Testing: Some tests pass