Changeset 83803 in webkit


Ignore:
Timestamp:
Apr 13, 2011 6:41:34 PM (13 years ago)
Author:
inferno@chromium.org
Message:

2011-04-13 Abhishek Arya <inferno@chromium.org>

Reviewed by James Robinson.

Tests that iframe outline is drawn.
https://bugs.webkit.org/show_bug.cgi?id=57439

  • fast/frames/iframe-outline.html: Added.
  • platform/mac/fast/frames/iframe-outline-expected.checksum: Added.
  • platform/mac/fast/frames/iframe-outline-expected.png: Added.
  • platform/mac/fast/frames/iframe-outline-expected.txt: Added.

2011-04-13 Abhishek Arya <inferno@chromium.org>

Reviewed by James Robinson.

Draw outline for render widgets.
https://bugs.webkit.org/show_bug.cgi?id=57439

Test: fast/frames/iframe-outline.html

  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint):
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r83802 r83803  
     12011-04-13  Abhishek Arya  <inferno@chromium.org>
     2
     3        Reviewed by James Robinson.
     4
     5        Tests that iframe outline is drawn.
     6        https://bugs.webkit.org/show_bug.cgi?id=57439
     7
     8        * fast/frames/iframe-outline.html: Added.
     9        * platform/mac/fast/frames/iframe-outline-expected.checksum: Added.
     10        * platform/mac/fast/frames/iframe-outline-expected.png: Added.
     11        * platform/mac/fast/frames/iframe-outline-expected.txt: Added.
     12
    1132011-04-13  Dirk Pranke  <dpranke@chromium.org>
    214
  • trunk/Source/WebCore/ChangeLog

    r83796 r83803  
     12011-04-13  Abhishek Arya  <inferno@chromium.org>
     2
     3        Reviewed by James Robinson.
     4
     5        Draw outline for render widgets.
     6        https://bugs.webkit.org/show_bug.cgi?id=57439
     7
     8        Test: fast/frames/iframe-outline.html
     9
     10        * rendering/RenderWidget.cpp:
     11        (WebCore::RenderWidget::paint):
     12
    1132011-04-13  Kent Tamura  <tkent@chromium.org>
    214
  • trunk/Source/WebCore/rendering/RenderWidget.cpp

    r82758 r83803  
    263263    }
    264264
     265    // Paint outline.
     266    if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && hasOutline() && style()->visibility() == VISIBLE)
     267        paintOutline(paintInfo.context, tx, ty, width(), height());
     268
    265269    if (!m_frameView || paintInfo.phase != PaintPhaseForeground || style()->visibility() != VISIBLE)
    266270        return;
Note: See TracChangeset for help on using the changeset viewer.