Commit 492411f
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: 485651 parent d801f8f commit 492411f
File tree
1 file changed
+6
-0
lines changed- testing/web-platform/tests/css/css-break
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments