Open nicoburns opened 3 weeks ago
Upgraded to 2024-05-31
I've cherry-picked ddb7af7127e6c6c64e6202fab00d42aa4b33a5c3 from upstream, which along with https://github.com/servo/stylo/pull/51 makes the diff (both against main
and upstream
a lot cleaner).
Putting this up to track the Stylo changes we have made for Blitz and that we would like to see upstreamed into Servo's version in this repo. Servo will also want these in it's own right as it comes to implement a full implementation of the CSS Grid,
gap
, and alignment styles.Not necessarily expecting this to merged as-is(UPDATE: given improvements to the feature flagging, I feel like this probably could be merged / upstreamed now).Corresponding Servo PR: https://github.com/servo/servo/pull/32686
Upstream submissions
Changes made
row-gap
and the shorthandgap
(behind flexbox flag)column-gap
to being behind the flexbox flag rather than the multi-column layout flagNotes
The case where it's more tricky is the styles that are shared by Flexbox and Grid because Stylo currently only allows styles to be gated behind a single pref. There are a few options here:
I'd probably favour (ii).
Currently based on: 2024-05-31