fune/testing/web-platform/tests/css/css-text/removing-collapsible-spaces-before-float-crash.html
Javier Fernández García-Boente f2f62d1f3f Bug 1667808 [wpt PR 25819] - Only reset trailing_collapsible_space_ structure if it has value, a=testonly
Automatic update from web-platform-tests
Only reset trailing_collapsible_space_ structure if it has value

The crash described in the issue 1132762 was caused by our rencet change
in r811115, to ensure the trailing_collapsible_space_ structure is reset
when the associated item_result changed.

However, there was an error in the condition, so that we should ensure
we only call the 'reset()' function when the Optional has value.

Bug: 1132762, 1132811
Change-Id: I73d10c309162649e143cd66ff7702c4ac7e5eed2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435388
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811288}

--

wpt-commits: c9da4e292335ec2614049da3fa1eb43f05754d3b
wpt-pr: 25819
2020-10-03 16:24:22 +00:00

16 lines
356 B
HTML

<!DOCTYPE html>
<title>CSS Text Test: Removing collapsible space before a float element cause Chrome to crash</title>
<link rel="help" href="https://crbug.com/1131470">
<style type="text/css">
.CLASS9 {
zoom:1.3%;
padding:8589934592%;
}
.CLASS13 { float:left; }
</style>
<b class="CLASS9">
>
a C
</b>
<input class="CLASS13"/>
c