Fix: display: inline-grid considered an atomic inline (#36298)

This change ensures that `display: inline-grid` is considered an atomic
inline

- Add `is_atomic_inline_level()` logic to `box_fragment.rs` to improve
accuracy.
- Update `stacking_context.rs` to use the new `is_atomic_inline_level()`
method instead of the one from stylo.
- Update `repeat-auto-fill-005.html` test expectation.
- Remove .ini expectations for tests that are no longer failing.

Testing: covered by WPT
Fixes:  #35310

---------

Signed-off-by: Barigbue <barigbuenbira@gmail.com>
This commit is contained in:
Barigbue Nbira 2025-04-03 20:48:19 +01:00 committed by GitHub
parent e1213f9dbc
commit e1de46c691
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 10 additions and 19 deletions

View file

@ -986,7 +986,7 @@ impl BoxFragment {
return Some(StackingContextType::FloatStackingContainer);
}
if box_style.display.is_atomic_inline_level() {
if self.is_atomic_inline_level() {
return Some(StackingContextType::AtomicInlineStackingContainer);
}