mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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
18 lines
515 B
HTML
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>
|