Commit 49f01cb7 authored by Oriol Brufau's avatar Oriol Brufau
Browse files

Bug 1805588 - Inherit 'container' into table wrapper boxes. r=emilio

When 'container-type' and 'container-name' were set to an element with
'display: table', they would only affect the table grid box. The primary
table wrapper box would have them set to their initial values.

This prevented some container query invalidations, so this patch makes
the table wrapper box inherit them from the table grid box.

Differential Revision: https://phabricator.services.mozilla.com/D164624
parent 21b80a10
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@
  outline-offset: inherit;
  column-span: inherit; /* needed if <table> has "column-span:all" */
  contain: inherit; /* needed if table has 'contain:layout' or 'paint' */
  container: inherit; /* Bug 1805588 */
  scroll-margin: inherit;  /* Bug 1633192 */
}

+0 −2
Original line number Diff line number Diff line
[ineligible-containment.html]
  expected:
    if (os == "android") and fission: [OK, TIMEOUT]
  [Changing containment eligibility invalidates style]
    expected: FAIL
+0 −24
Original line number Diff line number Diff line
[nested-query-containers.html]
  [test25 - table - 0b000]
    expected: FAIL

  [test26 - table - 0b001]
    expected: FAIL

  [test27 - table - 0b010]
    expected: FAIL

  [test28 - table - 0b011]
    expected: FAIL

  [test29 - table - 0b100]
    expected: FAIL

  [test30 - table - 0b101]
    expected: FAIL

  [test31 - table - 0b110]
    expected: FAIL

  [test32 - table - 0b111]
    expected: FAIL