Closed Bug 1778002 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34693 - blink: Ensure overflow clip and visible have consistent behaviour.

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34693 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34693
Details from upstream follow.

Khushal Sagar <khushalsagar@chromium.org> wrote:

blink: Ensure overflow clip and visible have consistent behaviour.

This includes the following set of changes in preparation to add
overflow:clip to all img elements in UA CSS. The aim is to have
consistent behaviour between overflow:visible/clip for the following
layout cases:

  • Use min size:auto when overflow:clip is used on a child element with
    the ancestor using grid layout.
  • Don't synthesize logical baseline for overflow:clip similar to overflow
    visible. See https://github.com/w3c/csswg-drafts/issues/6212 for
    context.
  • When using spatial navigation, consider the topmost paint layer which
    has no self painting visible descendents instead of all visible
    descendents. This accounts for paint layers created for overflow which
    are for bookkeeping purposes and don't change the paint order.

Bug:1321217
Change-Id: Ibd9327da9fb830fa78e18e8cc1cb29179eaba269

Reviewed-on: https://chromium-review.googlesource.com/3743910
WPT-Export-Revision: 7628e366195e47f295b8c000ba307e92c9918ea8

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 20 tests

Status Summary

Firefox

FAIL: 20

Chrome

PASS: 20

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/276bb0d42bac
[wpt PR 34693] - blink: Ensure overflow clip and visible have consistent behaviour., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.