mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 1507663 part 1: Uncomment/invert expectations in some reftests to now expect that contain:size *does not* interfere with baseline alignment. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D12614 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
28ea3cc015
commit
856c7058bc
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: 'contain: size' on block elements should cause them to be sized and baseline-aligned as if they had no contents.</title>
|
||||
<title>CSS Test: 'contain: size' on block elements should cause them to be sized as if they had no contents</title>
|
||||
<link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain/#containment-size">
|
||||
<link rel="match" href="contain-size-block-001-ref.html">
|
||||
|
@ -9,6 +9,11 @@
|
||||
border: 1em solid green;
|
||||
column-count: 3;
|
||||
}
|
||||
.innerContents {
|
||||
color: transparent;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
.col-width-ref {
|
||||
column-width: 20px;
|
||||
}
|
||||
@ -28,12 +33,14 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- XXX: This chunk needs to move to a separate test (Bug 1507663)
|
||||
<div class="flexBaselineCheck">
|
||||
outside before<div class="basic"></div>outside after
|
||||
outside before
|
||||
<div class="basic" style="max-height:0px">
|
||||
<div class="innerContents">inner</div>
|
||||
</div>
|
||||
outside after
|
||||
</div>
|
||||
<br>
|
||||
-->
|
||||
|
||||
<div class="basic min col-width-ref"></div>
|
||||
<br>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: 'contain: size' on multicol elements should cause them to be sized and baseline-aligned as if they had no contents.</title>
|
||||
<title>CSS Test: 'contain: size' on multicol elements should cause them to be sized as if they had no contents</title>
|
||||
<link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain/#containment-size">
|
||||
<link rel="match" href="contain-size-multicol-003-ref.html">
|
||||
@ -37,13 +37,16 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--CSS Test: A size-contained multicol element should perform baseline alignment as if it had no contents.-->
|
||||
<!-- XXX: This chunk needs to move to a separate test (Bug 1507663)
|
||||
<!-- This test verifies that contain:size doesn't interfere with the
|
||||
determination of a multicol element's baseline. -->
|
||||
<div class="flexBaselineCheck">
|
||||
outside before<div class="contain"><div class="innerContents">inner</div></div>outside after
|
||||
outside before
|
||||
<div class="contain">
|
||||
<div class="innerContents">inner</div>
|
||||
</div>
|
||||
outside after
|
||||
</div>
|
||||
<br>
|
||||
-->
|
||||
|
||||
<!--The following tests are used to ensure column-gaps and column-widths continue to contribute to the minimum and maximum width of a size-contained multicol element. Each should render as if it had no contents.-->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user