Changeset 15069 in webkit


Ignore:
Timestamp:
Jun 27, 2006 4:58:52 PM (18 years ago)
Author:
andersca
Message:

2006-06-28 Anders Carlsson <acarlsson@apple.com>

Reviewed by Darin.

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Move FIXME comment here.


  • page/DOMWindow.cpp: (WebCore::DOMWindow::getComputedStyle): Don't do a null check on the renderer here. Everything's handled by CSSComputedStyleDeclaration anyway.
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r15068 r15069  
     12006-06-28  Anders Carlsson  <acarlsson@apple.com>
     2
     3        Reviewed by Darin.
     4
     5        * css/CSSComputedStyleDeclaration.cpp:
     6        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
     7        Move FIXME comment here.
     8       
     9        * page/DOMWindow.cpp:
     10        (WebCore::DOMWindow::getComputedStyle):
     11        Don't do a null check on the renderer here. Everything's handled by
     12        CSSComputedStyleDeclaration anyway.
     13
    1142006-06-27  Justin Garcia  <justin.garcia@apple.com>
    215
  • trunk/WebCore/css/CSSComputedStyleDeclaration.cpp

    r15003 r15069  
    337337        node->document()->updateLayout();
    338338
     339    // FIXME: This should work even if we do not have a renderer.
    339340    RenderObject* renderer = node->renderer();
    340341    if (!renderer)
  • trunk/WebCore/page/DOMWindow.cpp

    r15065 r15069  
    7070        return 0;
    7171   
    72     if (elt->inDocument())
    73         elt->document()->updateLayoutIgnorePendingStylesheets();
    74    
    75     // FIXME: This should work even if we do not have a renderer.
    76     // FIXME: This needs to work with pseudo elements.
    77     if (!elt->renderer())
    78         return 0;
    79  
     72    // FIXME: This needs to work with pseudo elements.
    8073    return new CSSComputedStyleDeclaration(elt);
    8174}
Note: See TracChangeset for help on using the changeset viewer.