Files
sousa-gecko/testing/web-platform/tests/css/css-backgrounds/background-repeat-round-empty-crash.html
T
Martin Robinson 710c5805ad Bug 2014066 [wpt PR 57530] - layout: Handle zero-sized positioning areas when laying out a dimension for background-repeat, a=testonly
Automatic update from web-platform-tests
layout: Do not render backgrounds with empty positioning or painting areas

When dimensions of these areas are zero, this causes the math to
calculate background repeat to produce NaN values -- leading to crashes
in WebRender. When they are empty, we don't want to render a background
anyway, so just exit early.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

--

wpt-commits: e67a46e78699ee2f28ad5db11792719287fc54ae
wpt-pr: 57530
2026-02-09 08:59:14 +00:00

7 lines
520 B
HTML

<!DOCTYPE html>
<link rel=help href="https://github.com/servo/servo/issues/42216">
<style>
#span { background-image: url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImb5Gm2hB0SlBCB0Uj); background-repeat: round round; border-right-style: solid; }
</style>
<span id="span"></span>