Closed Bug 2078800 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63302 - [html-in-canvas] Do not cull drawable elements under clips

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Philip Rogers <pdr@chromium.org> wrote:

[html-in-canvas] Do not cull drawable elements under clips

This patch fixes CullRectUpdater::UpdateRecursively to not mark
a subtree as out of the cull rect when
subtree_should_use_infinite_cull_rect is set. Previously, an empty
overflow clip (such as overflow: hidden with zero size) failed the
CullRect::Intersects check even with an infinite cull rect, causing
nested drawable descendants to be culled instead of ignoring ancestor
clips.

Bug: 565840014
Change-Id: Ie33b6c4bb7f19adb85364d8dcef8e05ec3508e5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8519297
Commit-Queue: Philip Rogers \<pdr@chromium.org>
Reviewed-by: Stefan Zager \<szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1711887}

PR 63302 applied with additional changes from upstream: 1990905826e8968cfc867b4dd7fd2e605b887728

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 147 tests

Status Summary

Firefox

OK : 134
PASS : 12
FAIL : 237
TIMEOUT: 1
ERROR : 8
NOTRUN : 18

Chrome

FAIL : 1

Safari

TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0edaad5cfa8c https://hg.mozilla.org/integration/autoland/rev/b04ae74fe377 [wpt PR 63302] - [html-in-canvas] Do not cull drawable elements under clips, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: