fune/testing/web-platform/tests/css/css-text/overflow-wrap/crashtests/overflow-wrap-leading-floats-crash.html
Koji Ishii 011fcac075 Bug 1869486 [wpt PR 43625] - [LineBreaker] Fix crash when rewinding leading floats, a=testonly
Automatic update from web-platform-tests
[LineBreaker] Fix crash when rewinding leading floats

`LineBreaker::HandleFloat` has a separate code path for
leading floats, which r1235470 crrev.com/c/5052124 didn't take
care of.

This patch changes `RewindFloats` to support the case.

Fixed: 1510579
Change-Id: I013dbd7af51f2da075c0a7a97a090906feb61762
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5114821
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1236418}

--

wpt-commits: 7bec9b28c5e61b19ef9c58dc7435293e3ca66493
wpt-pr: 43625
2023-12-14 09:32:46 +00:00

13 lines
217 B
HTML

<!DOCTYPE html>
<link ref="help" href="crbug.com/1510579">
<style>
#container {
width: 0;
text-indent: 1em;
overflow-wrap: anywhere;
}
</style>
<div id="container">
<div style="float: left"></div>
12
</div>