Files
Minseong Kim 5bebb9b8a6 Bug 1979262 [wpt PR 53972] - Reshape inline after border style is removed dynamically, a=testonly
Automatic update from web-platform-tests
Reshape inline after border style is removed dynamically

This CL fixes invalid height of inline by triggering reshape after the
border style is removed dynamically.

Bug: 40865529
Change-Id: I737b1a0f234f14525a4ff4abd2fe3afbb654c8cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6756907
Reviewed-by: Koji Ishii <[email protected]>
Commit-Queue: 김민성 <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1491856}

--

wpt-commits: 757435a32f5289d9446a34a7efa39fa44abea53a
wpt-pr: 53972
2025-08-02 18:28:26 +00:00

18 lines
515 B
HTML

<!DOCTYPE html>
<html class=reftest-wait>
<link rel="author" title="Minseong Kim" href="mailto:[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#line-layout">
<link rel="match" href="empty-span-height-ref.html">
<style>
.red { background: red }
</style>
<span>Test passes if no red</span>
<div class="red">
<span id="empty" style="border: 1px solid black"></span>
</div>
<script>
document.body.offsetTop;
empty.style = '';
document.documentElement.className = "";
</script>