| Summary: | Add a test for reattaching collapsed whitespace when siblings change style | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
| Component: | Layout and Rendering | Assignee: | Ryosuke Niwa <rniwa> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | enrica, kling, koivisto, mmaxfield | ||||
| Priority: | P2 | Keywords: | BlinkMergeCandidate | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Ryosuke Niwa
2013-12-19 22:08:29 PST
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> |