Closed
Bug 1491785
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 13025 - [css-contain] Layout and size containment and baseline alignment
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 13025 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/13025
Details from upstream follow.
Manuel Rego Casasnovas <rego@igalia.com> wrote:
> [css-contain] Layout and size containment and baseline alignment
>
> The CSSWG has recently resolved that layout containment
> suppress baseline alignment, while size containment does not:
> https://github.com/w3c/csswg-drafts/issues/2995
>
> Spec text (https://drafts.csswg.org/css-contain/#containment-layout):
> "7. For the purpose of the vertical-align property,
> or any other property whose effects need to relate
> the position of the containing element's baseline
> to something other than its descendants,
> the containing element is treated as having no baseline."
>
> And a note in (https://drafts.csswg.org/css-contain/#containment-size):
> "Note: size containment does not suppress baseline alignment.
> See layout containment for that."
>
> The patch is just a modification in the condition at
> LayoutBlock::UseLogicalBottomMarginEdgeForInlineBlockBaseline().
>
> Some tests in the suite need minor modifications
> due to the behavior change in order to match the references.
>
> One of the Mozilla tests is failing now, a bug was reported
> to get it updated (https://bugzilla.mozilla.org/1491235).
>
> BUG=882333
> TEST=external/wpt/css/css-contain/contain-layout-baseline-001.html
> TEST=external/wpt/css/css-contain/contain-size-baseline-001.html
>
> Change-Id: I08f157bfbc7477777b2f0b0157d8f05d3a6219d6
> Reviewed-on: https://chromium-review.googlesource.com/1226146
> WPT-Export-Revision: a7f563200bc87f7398215ef66447a9932da83136
| Assignee | ||
Comment 1•7 years ago
|
||
PR 13025 applied with additional changes from upstream: 1343a173b66a7ba398bcb47a74bc8bf81ed11d40
| Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4c5577271c6c73f3a437b2357ed94592b5b071d9
| Assignee | ||
Comment 5•7 years ago
|
||
Ran 6 tests
PASS : 1
FAIL : 5
Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/css/css-contain/contain-size-021.html: FAIL
/css/css-contain/contain-size-023.html: FAIL
/css/css-contain/contain-size-027.html: FAIL
New tests that have failures or other problems:
/css/css-contain/contain-layout-independent-formatting-context-002.html: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6f0f795fa265
[wpt PR 13025] - [css-contain] Layout and size containment and baseline alignment, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/b5133d586b5f
[wpt PR 13025] - Update wpt metadata, a=testonly
Comment 7•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6f0f795fa265
https://hg.mozilla.org/mozilla-central/rev/b5133d586b5f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•