mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
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:
parent
e1213f9dbc
commit
e1de46c691
12 changed files with 10 additions and 19 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue