Closed Bug 1729566 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30388 - Force DisplayLocks in <input type=image> layout APIs

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Joey Arhar <jarhar@chromium.org>' wrote:

Force DisplayLocks in <input type=image> layout APIs

Without this patch, the width and height properties of image input types
return zero inside c-v:hidden subtrees due to layout being skipped for
DisplayLocking.

Bug: 1247417
Change-Id: I2fb4e2f9388bbf351011efab525237f6a203323b
Reviewed-on: https://chromium-review.googlesource.com/3145723
WPT-Export-Revision: f27066800ce9e0496f467c92094de0fbba4b7968

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

CI Results

Ran 11 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
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-contain/content-visibility/content-visibility-input-image.html
<input type=image> should return nonzero values for width and height in a c-v:hidden subtree.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e2a8d12d3e31
[wpt PR 30388] - Force DisplayLocks in <input type=image> layout APIs, a=testonly
https://hg.mozilla.org/integration/autoland/rev/34b400ea5cff
[wpt PR 30388] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.