Breakdown: * Save `@position-try` data in `CacadeData`: [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/components/style/stylist.rs#2910), [2](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/components/style/stylist.rs#3681) * Implement lookup for `@position-try` declarations by name in `Stylist`: [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/components/style/stylist.rs#1507) * Implement declaration -> computed value conversion [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/ports/geckolib/glue.rs#7052) * Expose to layout: [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/ports/geckolib/glue.rs#7187) * Trigger reflow using overridden values (Something smiliar to [this](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/layout/base/LayoutStructs.h#25)) * Ensure that `getComptuedStyle` reflects the used value based on the selected fallback.
Bug 1962598 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Breakdown, drawing a parallel with `@keyframe`: * Save `@position-try` data in `CacadeData`: [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/components/style/stylist.rs#2910), [2](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/components/style/stylist.rs#3681) * Implement lookup for `@position-try` declarations by name in `Stylist`: [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/components/style/stylist.rs#1507) * Implement declaration -> computed value conversion [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/ports/geckolib/glue.rs#7052) * Expose to layout: [1](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/servo/ports/geckolib/glue.rs#7187) * Trigger reflow using overridden values (Something smiliar to [this](https://searchfox.org/firefox-main/rev/938e8f38c6765875e998d5c2965ad5864f5a5ee2/layout/base/LayoutStructs.h#25)) * Ensure that `getComptuedStyle` reflects the used value based on the selected fallback.