| Summary: | Subpixel Layout: SimpleLineLayout needs more position rounding to match InlineFlowBox layout. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, koivisto, kondapallykalyan | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 126283, 124784 | ||||||
| Attachments: |
|
||||||
Created attachment 221894 [details]
Patch
Comment on attachment 221894 [details] Patch Clearing flags on attachment: 221894 Committed r162553: <http://trac.webkit.org/changeset/162553> All reviewed patches have been landed. Closing bug. |
similar to InlineFlowBox InlineFlowBox::placeBoxesInBlockDirection const FontMetrics& fontMetrics = lineStyle().fontMetrics(); // RootInlineBoxes are always placed on at pixel boundaries in their logical y direction. Not doing // so results in incorrect rendering of text decorations, most notably underlines. setLogicalTop(roundToInt(top + maxAscent - fontMetrics.ascent(baselineType))); missing roundings are in: RunResolver::Run::baseline() RunResolver::Run::rect()