Files
sousa-gecko/testing/web-platform/tests/css/css-content/element-replacement-gradient-details-crash.html
T
Martin Robinson b17dd6bd31 Bug 2052573 [wpt PR 61066] - layout: Do not create widgets for elements with the content property, a=testonly
Automatic update from web-platform-tests
layout: Do not create widgets for elements with the `content` property

Widgets are created for replaced elements, but these should not be
created for replaced elements created due to the application of the
`content` property on normal elements. These kind of elements have their
entire contents replaced. Creating a widget here can cause an unexpected
shape of the `FragmentTree` because anonymous boxes in Servo currently
have `display: inline`.

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

--

wpt-commits: 8d13aae709cefe339a597b9a3792810991917bc1
wpt-pr: 61066
2026-07-10 09:25:19 +00:00

8 lines
219 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://github.com/servo/servo/issues/46196" />
<style>
details { content: linear-gradient(blue, red); }
summary { display: inline-table; }
</style>
<details open=""><summary>