| Summary: | Inline block children do not have correct baselines if their children are also block elements | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||
| Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, dino, esprehn+autocc, glenn, hyatt, jonlee, kondapallykalyan, simon.fraser, thorton | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Myles C. Maxfield
2015-03-10 19:27:55 PDT
Created attachment 248387 [details]
Patch
Comment on attachment 248387 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=248387&action=review > Source/WebCore/rendering/RenderBlockFlow.cpp:3023 > + const FontMetrics& fontMetrics = firstLineStyle().fontMetrics(); Maybe auto& here? > Source/WebCore/rendering/RenderBlockFlow.cpp:3033 > + const RenderStyle& style = isFirstLine ? firstLineStyle() : this->style(); Maybe auto& here? Comment on attachment 248387 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=248387&action=review >> Source/WebCore/rendering/RenderBlockFlow.cpp:3023 >> + const FontMetrics& fontMetrics = firstLineStyle().fontMetrics(); > > Maybe auto& here? Done. >> Source/WebCore/rendering/RenderBlockFlow.cpp:3033 >> + const RenderStyle& style = isFirstLine ? firstLineStyle() : this->style(); > > Maybe auto& here? Done. Committed r181387: <http://trac.webkit.org/changeset/181387> |