Skip to content

Commit

Permalink
Bug 1738010 [wpt PR 31399] - Only inflate contenteditable blocks at t…
Browse files Browse the repository at this point in the history
…he first fragment., a=testonly

Automatic update from web-platform-tests
Only inflate contenteditable blocks at the first fragment.

If a block is empty, it will usually fit inside one fragmentainer.
But not always. If there's tall borders/padding, for instance, we might
split the block into fragments. Never attempt to stretch the intrinsic
block-size of a fragment unless we're working on the first one, or else
we might end up creating an infinite number of them.

Bug: 1261747
Change-Id: Ic9bc5c08259d39b39e3c7a5b6a49b197d1dd115a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3245260
Reviewed-by: Ian Kilpatrick <[email protected]>
Commit-Queue: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/main@{#935412}

--

wpt-commits: a8e7d294c626dceb6091583ff95015428ba9f94b
wpt-pr: 31399
  • Loading branch information
mstensho authored and moz-wptsync-bot committed Oct 29, 2021
1 parent da7e7fd commit 22d9aa3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1261747">
<p>Test passes if it doesn't crash (or freeze).</p>
<div style="columns:2; column-fill:auto; height:50px;">
<div style="padding-top:20px; padding-bottom:100px;" contenteditable="true"></div>
</div>

0 comments on commit 22d9aa3

Please sign in to comment.