Summary: | Change InlineBox::paint and its overloaded variants to use IntPoint | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Levi Weintraub <leviw> | ||||
Component: | Layout and Rendering | Assignee: | Levi Weintraub <leviw> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | darin, eae, eric, simon.fraser | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 60318 | ||||||
Attachments: |
|
Description
Levi Weintraub
2011-05-31 13:30:57 PDT
Also changing RootInlineBox::paintEllipsisBox since it's basically just a shell around this same paint function. Created attachment 95484 [details]
Patch
Thanks for the review! Comment on attachment 95484 [details] Patch Clearing flags on attachment: 95484 Committed r87753: <http://trac.webkit.org/changeset/87753> All reviewed patches have been landed. Closing bug. Comment on attachment 95484 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=95484&action=review Looks OK besides that one line. > Source/WebCore/rendering/EllipsisBox.cpp:71 > + adjustedPaintOffset.move(m_x + m_logicalWidth - m_markupBox->x(), > + m_y + style->fontMetrics().ascent() - (m_markupBox->y() + m_markupBox->renderer()->style(m_firstLine)->fontMetrics().ascent())); Wow, this is hard to read. |