| Summary: | Text with simple line layout not getting pushed below float when there is not enough space for it | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ralph T <ralpht+bugs> | ||||||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, koivisto, kondapallykalyan, mmaxfield, ralpht+bugs, zalan | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | http://www.theverge.com/2014/1/2/5264580/the-lost-secrets-of-webos | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ralph T
2014-01-14 10:26:34 PST
Created attachment 221177 [details] Screenshot of bad overlapping layout I see this with a build I made using r161903 from yesterday on an elderly macbook air. I thought this might have been fixed after Zalan's change r162340, but it still persists. Layout is fine with SimpleLineLayout disabled (I just change canUse() to always return false), so I'm pretty sure this is a SimpleLineLayout bug. Created attachment 221718 [details]
reduced test case
This is definitely a layout issue and not paint coordinates snapping (what my patch addressed)
SimpeLineLayout::canUseFor had code to disable the path for constrained float cases like this. I suspect the cached canUseFor is just not cleared after dynamic style change here. Or the existing test is just insufficient. Created attachment 231258 [details]
patch
|