Skip to content

Commit 492411f

Browse files
Cathie Chenmoz-wptsync-bot
authored andcommitted
Bug 1923930 [wpt PR 48565] - Fix check failure at LineBreaker::HandleTextForFastMinContent, a=testonly
Automatic update from web-platform-tests Fix check failure at LineBreaker::HandleTextForFastMinContent The DCHECK_EQ fails, because sometimes the decoration width of elements with `box-decoration-break` is zero, so `position_` will be equal to `indent`, and the value of `should_break_at_first_opportunity` will be false. `has_cloned_box_decorations_` is true. So the DCHECK_EQ fails. Bug: 362530623 Change-Id: I4523c16089326340c4bab88ae3b674ccb0bdd9ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5873209 Reviewed-by: Morten Stenshorne <[email protected]> Reviewed-by: Koji Ishii <[email protected]> Commit-Queue: Morten Stenshorne <[email protected]> Auto-Submit: cathie chen <[email protected]> Cr-Commit-Position: refs/heads/main@{#1367328} -- wpt-commits: f28c47aeda5fe8c5722e176ba97a3980e507c0c1 wpt-pr: 48565
1 parent d801f8f commit 492411f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!DOCTYPE html>
2+
<link rel="author" title="cathie chen" href="mailto:[email protected]">
3+
<link rel="help" href="https://issues.chromium.org/issues/362530623">
4+
<div style="width: min-content;">
5+
<span style="box-decoration-break: clone">PASS if no crash.</span>
6+
</div>

0 commit comments

Comments
 (0)