Merge the test from https://chromium.googlesource.com/chromium/blink/+/dd5636728643ff958aebeaf064d38754b0d5904b so that we may not introduce the same regression in WebKit.
Created attachment 219730 [details] Adds the test
Comment on attachment 219730 [details] Adds the test View in context: https://bugs.webkit.org/attachment.cgi?id=219730&action=review > LayoutTests/fast/css/collapsed-whitespace-reattach-in-style-recalc.html:31 > + shouldBeGreaterThanOrEqual('spans[spans.length - 1].offsetLeft', "400"); Is there a way to write this 400 as “more than half the width of ” something?
(In reply to comment #2) > (From update of attachment 219730 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=219730&action=review > > > LayoutTests/fast/css/collapsed-whitespace-reattach-in-style-recalc.html:31 > > + shouldBeGreaterThanOrEqual('spans[spans.length - 1].offsetLeft', "400"); > > Is there a way to write this 400 as “more than half the width of ” something? Replaced it with container.offsetWidth * 2 / 3.
Committed r161052: <http://trac.webkit.org/changeset/161052>