Skip to content

Commit 7fd5381

Browse files
committed
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 <kojiichromium.org> Commit-Queue: 김민성 <jja08111gmail.com> Reviewed-by: Ian Kilpatrick <ikilpatrickchromium.org> Cr-Commit-Position: refs/heads/main{#1491856} -- wpt-commits: 757435a32f5289d9446a34a7efa39fa44abea53a wpt-pr: 53972 UltraBlame original commit: 037aa10a46cc65fc32a798a389f71ea50a84e060
1 parent e842e42 commit 7fd5381

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<link rel="author" title="Minseong Kim" href="mailto:[email protected]">
3+
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#line-layout">
4+
<style>
5+
.red { background: red }
6+
</style>
7+
<span>Test passes if no red</span>
8+
<div class="red">
9+
<span id="empty"></span>
10+
</div>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html class=reftest-wait>
3+
<link rel="author" title="Minseong Kim" href="mailto:[email protected]">
4+
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#line-layout">
5+
<link rel="match" href="empty-span-height-ref.html">
6+
<style>
7+
.red { background: red }
8+
</style>
9+
<span>Test passes if no red</span>
10+
<div class="red">
11+
<span id="empty" style="border: 1px solid black"></span>
12+
</div>
13+
<script>
14+
document.body.offsetTop;
15+
empty.style = '';
16+
document.documentElement.className = "";
17+
</script>

0 commit comments

Comments
 (0)