Closed Bug 1859754 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 42598 - Anonymous boxes that wrap inlines should not inherit overflow

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Martin Robinson <mrobinson@igalia.com> wrote:

Anonymous boxes that wrap inlines should not inherit overflow

In legacy layout, anonymous text wrappers were inheriting the overflow
and text-overflow properties. This results in the creation of extra
clipping for these anonymous wrappers which could clip away floats. We
will likely implement text-overflow differently in non-legacy layout.

This change marks all legacy layout pseudo elements as "legacy" and also
adds a new pseudo element for non-legacy layout that does not inherit
overflow.

Fixes #<!-- nolink -->30562.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>

<!-- Please describe your changes on the following line: -->

Reviewed in servo/servo#30579

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34570c9d7082 [wpt PR 42598] - Anonymous boxes that wrap inlines should not inherit overflow, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.