Changeset 113260 in webkit


Ignore:
Timestamp:
Apr 4, 2012 4:23:28 PM (12 years ago)
Author:
mitz@apple.com
Message:

Paginated webviews render nothing in their gutters
https://bugs.webkit.org/show_bug.cgi?id=83231

Reviewed by Adele Peterson.

When the RenderView has columns, nothing draws in the gutters.

  • page/FrameView.cpp:

(WebCore::FrameView::paintContents): Paint the background color behind everything when
paginated.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r113255 r113260  
     12012-04-04  Dan Bernstein  <mitz@apple.com>
     2
     3        Paginated webviews render nothing in their gutters
     4        https://bugs.webkit.org/show_bug.cgi?id=83231
     5
     6        Reviewed by Adele Peterson.
     7
     8        When the RenderView has columns, nothing draws in the gutters.
     9
     10        * page/FrameView.cpp:
     11        (WebCore::FrameView::paintContents): Paint the background color behind everything when
     12        paginated.
     13
    1142012-04-04  Mark Pilgrim  <pilgrim@chromium.org>
    215
  • trunk/Source/WebCore/page/FrameView.cpp

    r113091 r113260  
    29742974#endif
    29752975
     2976    Page* page = m_frame->page();
     2977    if (page->mainFrame() == m_frame && page->pagination().mode != Page::Pagination::Unpaginated)
     2978        p->fillRect(rect, baseBackgroundColor(), ColorSpaceDeviceRGB);
     2979
    29762980    bool isTopLevelPainter = !sCurrentPaintTimeStamp;
    29772981    if (isTopLevelPainter)
Note: See TracChangeset for help on using the changeset viewer.