Summary: | Use pixelSnappedLogicalHeight for TableSection layout | ||||||
---|---|---|---|---|---|---|---|
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: | 85532 | ||||||
Attachments: |
|
Description
Levi Weintraub
2012-05-16 12:33:08 PDT
Created attachment 142329 [details]
Patch
Comment on attachment 142329 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=142329&action=review > Source/WebCore/rendering/RenderBox.h:77 > + int pixelSnappedLogicalHeight() const { return style()->isHorizontalWritingMode() ? pixelSnappedHeight() : pixelSnappedWidth(); } > + int pixelSnappedLogicalWidth() const { return style()->isHorizontalWritingMode() ? pixelSnappedWidth() : pixelSnappedHeight(); } So sad that we have all these redundant accessors. One would think that a logicalSize() might make more sense. :) Comment on attachment 142329 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=142329&action=review >> Source/WebCore/rendering/RenderBox.h:77 >> + int pixelSnappedLogicalWidth() const { return style()->isHorizontalWritingMode() ? pixelSnappedWidth() : pixelSnappedHeight(); } > > So sad that we have all these redundant accessors. One would think that a logicalSize() might make more sense. :) Thanks for the review! I smell some potential cleanup :) Comment on attachment 142329 [details] Patch Clearing flags on attachment: 142329 Committed r117388: <http://trac.webkit.org/changeset/117388> All reviewed patches have been landed. Closing bug. |