Closed Bug 2095308 Opened 15 days ago Closed 13 days ago

[wpt-sync] Sync PR 65078 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=285754

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=285754

WebKit export from bug: Element with `<!---->overflow:<!----> scroll`<!----> does not correctly account for the right margin of its child to determine the scrollable area

<pre>
Element with overflow: scroll does not correctly account for the right margin of its child to determine the scrollable area

This change aligns overflow behavior (on block containers) with Chrome and Firefox.

<a href="https://drafts.csswg.org/css-overflow/#scrollable">https://drafts.csswg.org/css-overflow/#scrollable</a>

"The UA may additionally include the margin areas of other boxes for which the box establishes a containing block; however, the conditions under which such margin areas are included is undefined in this level."

Both Chrome and Firefox include margin.

FAIL -> PASS
scroll-animations/css/view-timeline-inset-animation.html

Updated geometry dump with new scrollWidth value (matches Chrome and Firefox)
tables/mozilla/bugs/bug83786.html
compositing/scrolling/async-overflow-scrolling/overlapped-overlay-scrollbar-nested.html
compositing/tiling/perspective-on-scroller-tile-coverage.html

Updated test expectation: now inline axis matches block axis (both include margin).
css/css-contain/content-visibility/content-visibility-090.html

Updated geometry dump, while I was not able to test it with Chrome/Firefox, it looks like now inline axis matches block axis
scrollingcoordinator/scrolling-tree/absolute-in-nested-sc-scrollers.html

FAIL -> FAIL
css/css-anchor-position/anchor-scroll-position-try-001.html

This changes the expected scrollWidth in content-visibility-090.html from 275 to 300.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=285754">https://bugs.webkit.org/show_bug.cgi?id=285754</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/290207@main">https://commits.webkit.org/290207@main</a>
</pre>

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.