layout/reftests/w3c-css/submitted/contain/reftest.list
author Daniel Holbert <dholbert@cs.stanford.edu>
Thu, 23 May 2019 21:41:35 +0000
changeset 475286 815c6657d164d34b215a39d233cc60b2e6f546fa
parent 474183 73c897cf5ec08aa31c207cdd04cc7431b8404a1d
child 475289 3b14313df83b02bcbc04a4b788d63f6e9a20becb
permissions -rw-r--r--
Bug 1552287 part 2: [css-contain] Adjust various reflow & baseline methods so that layout-contained frames behave as if they have no baseline. r=TYLin We previously (in bug 1491235) adjusted some utility code to make layout-contained frames behave as if they have no baseline. But that's not sufficient. To make frames fully report lack-of-a-baseline, we now do the following for layout-contained frames, as of this patch: (a) We now leave the ReflowOutput outparam's BlockStartAscent member at its default value (which is what we do for frames without a baseline like e.g. nsCheckboxRadioFrame and nsHTMLCanvasFrame). And if the parent cares about the baseline, it'll then ask directly, using a baseline getter. (b) We now return 'false' in more implementations of bool-returning baseline-getter-methods (where 'false' indicates 'no baseline'). (c) We now return the margin-box-bottom edge, in the nscoord-returning 'GetLogicalBaseline()' getter method. (We typically do this by deferring to the inherited method, which ultimately comes from nsFrame's implementation). It's appropriate to use the margin-box-bottom edge when there's no baseline, per the definition of 'vertical-align: baseline', here: https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align Depends on D32182 Differential Revision: https://phabricator.services.mozilla.com/D32183

default-preferences pref(layout.css.contain.enabled,true)

== contain-paint-clip-001.html contain-paint-clip-001-ref.html
== contain-paint-clip-002.html contain-paint-clip-002-ref.html
== contain-paint-clip-003.html contain-paint-clip-003-ref.html
== contain-paint-clip-004.html contain-paint-clip-004-ref.html
== contain-paint-clip-005.html contain-paint-clip-003-ref.html
pref(layout.css.overflow-clip-box.enabled,true) == contain-paint-clip-006.html contain-paint-clip-006-ref.html
== contain-paint-containing-block-absolute-001.html contain-paint-containing-block-absolute-001-ref.html
== contain-paint-containing-block-fixed-001.html contain-paint-containing-block-fixed-001-ref.html
== contain-paint-formatting-context-float-001.html contain-paint-formatting-context-float-001-ref.html
== contain-paint-formatting-context-margin-001.html contain-paint-formatting-context-margin-001-ref.html
== contain-paint-ignored-cases-ib-split-001.html contain-paint-ignored-cases-ib-split-001-ref.html
== contain-paint-ignored-cases-internal-table-001a.html contain-paint-ignored-cases-internal-table-001-ref.html
== contain-paint-ignored-cases-internal-table-001b.html contain-paint-ignored-cases-internal-table-001-ref.html
== contain-paint-ignored-cases-no-principal-box-001.html contain-paint-ignored-cases-no-principal-box-001-ref.html
== contain-paint-ignored-cases-ruby-containing-block-001.html contain-paint-ignored-cases-ruby-containing-block-001-ref.html
== contain-paint-ignored-cases-ruby-stacking-and-clipping-001.html contain-paint-ignored-cases-ruby-stacking-and-clipping-001-ref.html
== contain-paint-stacking-context-001a.html contain-paint-stacking-context-001-ref.html
== contain-paint-stacking-context-001b.html contain-paint-stacking-context-001-ref.html
== contain-size-button-001.html contain-size-button-001-ref.html
== contain-size-block-001.html contain-size-block-001-ref.html
== contain-size-block-002.html contain-size-block-002-ref.html
== contain-size-block-003.html contain-size-block-003-ref.html
== contain-size-block-004.html contain-size-block-004-ref.html
== contain-size-inline-block-001.html contain-size-inline-block-001-ref.html
== contain-size-inline-block-002.html contain-size-inline-block-002-ref.html
== contain-size-inline-block-003.html contain-size-inline-block-003-ref.html
== contain-size-inline-block-004.html contain-size-inline-block-004-ref.html
== contain-size-flex-001.html contain-size-flex-001-ref.html
fuzzy-if(webrender&&winWidget,0-24,0-2) == contain-size-inline-flex-001.html contain-size-inline-flex-001-ref.html # bug 1474093
== contain-size-grid-001.html contain-size-grid-001-ref.html
== contain-size-multicol-001.html contain-size-multicol-001-ref.html
== contain-size-fieldset-001.html contain-size-fieldset-001-ref.html
== contain-size-fieldset-002.html contain-size-fieldset-002-ref.html
== contain-size-multicol-002.html contain-size-multicol-002-ref.html
== contain-size-multicol-003.html contain-size-multicol-003-ref.html
== contain-layout-overflow-001.html contain-layout-overflow-001-ref.html
== contain-layout-overflow-002.html contain-layout-overflow-002-ref.html
== contain-size-table-caption-001.html contain-size-table-caption-001-ref.html
== contain-layout-stacking-context-001.html contain-paint-stacking-context-001-ref.html
== contain-layout-formatting-context-float-001.html contain-paint-formatting-context-float-001-ref.html
== contain-layout-formatting-context-margin-001.html contain-layout-formatting-context-margin-001-ref.html
== contain-layout-containing-block-fixed-001.html contain-paint-containing-block-fixed-001-ref.html
== contain-layout-containing-block-absolute-001.html contain-paint-containing-block-absolute-001-ref.html
== contain-layout-ignored-cases-ib-split-001.html contain-layout-ignored-cases-ib-split-001-ref.html
== contain-layout-ignored-cases-no-principal-box-001.html contain-paint-ignored-cases-no-principal-box-001-ref.html
== contain-layout-ignored-cases-no-principal-box-002.html contain-layout-ignored-cases-no-principal-box-002-ref.html
== contain-layout-ignored-cases-no-principal-box-003.html contain-layout-ignored-cases-no-principal-box-003-ref.html
== contain-layout-suppress-baseline-001.html contain-layout-suppress-baseline-001-ref.html
== contain-layout-suppress-baseline-002.html contain-layout-suppress-baseline-002-ref.html

# The following lines are duplicates of other lines from further up in this
# manifest. They're listed again here so we can re-run these tests with
# column-span enabled. These lines can be removed once the pref becomes
# default-enabled (Bug 1426010).
pref(layout.css.column-span.enabled,true) == contain-size-multicol-002.html contain-size-multicol-002-ref.html
pref(layout.css.column-span.enabled,true) == contain-size-multicol-003.html contain-size-multicol-003-ref.html