Changeset 14810 in webkit


Ignore:
Timestamp:
Jun 10, 2006 9:07:11 PM (18 years ago)
Author:
ddkilzer
Message:

LayoutTests:

Patch by mitzpettel. Reviewed by hyatt.

  • fast/repaint/static-to-positioned-expected.checksum: Added.
  • fast/repaint/static-to-positioned-expected.png: Added.
  • fast/repaint/static-to-positioned-expected.txt: Added.
  • fast/repaint/static-to-positioned.html: Added.

WebCore:

Patch by mitzpettel. Reviewed by hyatt.

Test: fast/repaint/static-to-positioned.html

  • rendering/RenderObject.cpp: (WebCore::RenderObject::setStyle): If changing from static to positioned, repaint as static.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r14809 r14810  
     12006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
     2
     3        Reviewed by hyatt.
     4
     5        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9334
     6          Incomplete repaint when changing block from non-positioned to positioned
     7
     8        * fast/repaint/static-to-positioned-expected.checksum: Added.
     9        * fast/repaint/static-to-positioned-expected.png: Added.
     10        * fast/repaint/static-to-positioned-expected.txt: Added.
     11        * fast/repaint/static-to-positioned.html: Added.
     12
    1132006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
    214
  • trunk/WebCore/ChangeLog

    r14809 r14810  
     12006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
     2
     3        Reviewed by hyatt.
     4
     5        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9334
     6          Incomplete repaint when changing block from non-positioned to positioned
     7
     8        Test: fast/repaint/static-to-positioned.html
     9
     10        * rendering/RenderObject.cpp:
     11        (WebCore::RenderObject::setStyle): If changing from static to positioned, repaint
     12        as static.
     13
    1142006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
    215
  • trunk/WebCore/rendering/RenderObject.cpp

    r14809 r14810  
    20602060        if (d == RenderStyle::Layout && m_parent && m_style->position() != style->position()) {
    20612061            markContainingBlocksForLayout();
     2062            if (m_style->position() == StaticPosition)
     2063                repaint();
    20622064            if (isRenderBlock()) {
    20632065                if (style->position() == StaticPosition) {
Note: See TracChangeset for help on using the changeset viewer.