Bug 1729737 [wpt PR 30401] - Revert "Force DisplayLocks in <input type=image> layout APIs", a=testonly

Automatic update from web-platform-tests
Revert "Force DisplayLocks in <input type=image> layout APIs"

This reverts commit 96b0fd22d085b82fb64f5fdef57adcfeeb9a8a94.

Reason for revert: This newly added test is failing in several bots https://bugs.chromium.org/p/chromium/issues/detail?id=1247714

Original change's description:
> 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/c/chromium/src/+/3145723
> Auto-Submit: Joey Arhar <jarhar@chromium.org>
> Commit-Queue: vmpstr <vmpstr@chromium.org>
> Reviewed-by: vmpstr <vmpstr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#919246}

Bug: 1247417
Change-Id: I436e7994615b0ab411c81a03616500a472902655
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3149552
Auto-Submit: Juanmi Huertas <juanmihd@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Juanmi Huertas <juanmihd@chromium.org>
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Owners-Override: Juanmi Huertas <juanmihd@chromium.org>
Cr-Commit-Position: refs/heads/main@{#919305}

--

wpt-commits: f501636d09d9323ecf9a50402f212080891a1415
wpt-pr: 30401
This commit is contained in:
Juanmi Huertas 2021-09-14 09:58:38 +00:00 коммит произвёл moz-wptsync-bot
Родитель d0f5e43cb2
Коммит b994114ea4
1 изменённых файлов: 0 добавлений и 20 удалений

Просмотреть файл

@ -1,20 +0,0 @@
<!DOCTYPE html>
<link rel="author" href="mailto:jarhar@chromium.org">
<link rel="help" href="http://crbug.com/1247417">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div style="content-visibility:hidden">
<input id=image1 type=image src="resources/dice.png">
</div>
<div style="content-visibility:hidden">
<input id=image2 type=image src="resources/dice.png">
</div>
<script>
test(() => {
assert_not_equals(image1.width, 0, 'width');
assert_not_equals(image2.height, 0, 'height');
}, `<input type=image> should return nonzero values for width and height in a c-v:hidden subtree.`);
</script>