| Summary: | [margin-trim] shouldChildInlineMarginContributeToContainerIntrinsicSize should take into consideration text | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sammy Gill <sgill26> | ||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
There better option here was to maintain the function signature as is since it makes more sense and then check the value we are trying to pass in at the call site. *** This bug has been marked as a duplicate of bug 253165 *** |
Created attachment 465194 [details] Testcase The attached test case shows how text can end up in a RenderBlockFlow. Currently shouldChildInlineMarginContributeToContainerIntrinsicSize is unable to handle such a case since it takes a RenderElement