Summary: | Update LayoutUnit usage in InlineFlowBox and RenderWidget | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Levi Weintraub <leviw> | ||||||
Component: | Layout and Rendering | Assignee: | Levi Weintraub <leviw> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | eae, eric, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 60318 | ||||||||
Attachments: |
|
Description
Levi Weintraub
2012-04-30 15:25:19 PDT
Created attachment 139534 [details]
Patch
Comment on attachment 139534 [details]
Patch
The widget stuff definitely makes sense. r=me to land that. The InlineFlowBox change feels like it could use a comment to explain why it's rounding. Are lines always pixel-aligned?
(In reply to comment #2) > (From update of attachment 139534 [details]) > The widget stuff definitely makes sense. r=me to land that. The InlineFlowBox change feels like it could use a comment to explain why it's rounding. Are lines always pixel-aligned? Root boxes are. You'll notice that top, maxAscent, and FontMetrics::ascent are all integers. I was surprised to discover this as well. I'll add a comment. Created attachment 139540 [details]
Patch for landing
Comment on attachment 139540 [details] Patch for landing Clearing flags on attachment: 139540 Committed r115689: <http://trac.webkit.org/changeset/115689> All reviewed patches have been landed. Closing bug. |