Changeset 18949 in webkit


Ignore:
Timestamp:
Jan 18, 2007 1:01:23 PM (17 years ago)
Author:
brmorris
Message:

2007-01-17 w3liu <wei.liu@nokia.com>

Reviewed by yongjun.zhang@nokia.com.
DESC: [S60] TSW ID: PNIO-6X4H9N: S60 A3.1 wk50_004: www.lookcyclesusa.com crashes browser
http://bugs.webkit.org/show_bug.cgi?id=12304

  • khtml/rendering/render_box.cpp: (RenderBox::paintBoxDecorations):
Location:
S60/trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebCore/ChangeLog

    r18939 r18949  
     12007-01-17  w3liu  <wei.liu@nokia.com>
     2
     3        Reviewed by yongjun.zhang@nokia.com.
     4        DESC: [S60] TSW ID: PNIO-6X4H9N: S60 A3.1 wk50_004: www.lookcyclesusa.com crashes browser
     5        http://bugs.webkit.org/show_bug.cgi?id=12304
     6
     7        * khtml/rendering/render_box.cpp:
     8        (RenderBox::paintBoxDecorations):
     9
    1102007-01-14  sareen  <shyam.sareen@nokia.com>
    211
  • S60/trunk/WebCore/khtml/rendering/render_box.cpp

    r15508 r18949  
    341341    // independent of the body.  Go through the DOM to get to the root element's render object,
    342342    // since the root could be inline and wrapped in an anonymous block.
    343     if (!isBody() || !document()->isHTMLDocument() || document()->documentElement()->renderer()->style()->hasBackground())
     343    if (!isBody() || !document()->isHTMLDocument() ||
     344        ( document()->documentElement()->renderer() &&
     345          document()->documentElement()->renderer()->style()->hasBackground() ) )
    344346        paintBackgrounds(i.p, style()->backgroundColor(), style()->backgroundLayers(), my, mh, _tx, _ty, w, h);
    345347
Note: See TracChangeset for help on using the changeset viewer.