| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 2770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2781 return createVisiblePosition(0, DOWNSTREAM); | 2781 return createVisiblePosition(0, DOWNSTREAM); |
| 2782 } | 2782 } |
| 2783 | 2783 |
| 2784 CursorDirective RenderObject::getCursor(const LayoutPoint&, Cursor&) const | 2784 CursorDirective RenderObject::getCursor(const LayoutPoint&, Cursor&) const |
| 2785 { | 2785 { |
| 2786 return SetCursorBasedOnStyle; | 2786 return SetCursorBasedOnStyle; |
| 2787 } | 2787 } |
| 2788 | 2788 |
| 2789 bool RenderObject::canUpdateSelectionOnRootLineBoxes() | 2789 bool RenderObject::canUpdateSelectionOnRootLineBoxes() |
| 2790 { | 2790 { |
| 2791 if (needsLayout()) |
| 2792 return false; |
| 2793 |
| 2791 RenderBlock* containingBlock = this->containingBlock(); | 2794 RenderBlock* containingBlock = this->containingBlock(); |
| 2792 return containingBlock ? !containingBlock->needsLayout() : true; | 2795 return containingBlock ? !containingBlock->needsLayout() : true; |
| 2793 } | 2796 } |
| 2794 | 2797 |
| 2795 #if ENABLE(SVG) | 2798 #if ENABLE(SVG) |
| 2796 | 2799 |
| 2797 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer() | 2800 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer() |
| 2798 { | 2801 { |
| 2799 ASSERT_NOT_REACHED(); | 2802 ASSERT_NOT_REACHED(); |
| 2800 return 0; | 2803 return 0; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2871 { | 2874 { |
| 2872 if (object1) { | 2875 if (object1) { |
| 2873 const WebCore::RenderObject* root = object1; | 2876 const WebCore::RenderObject* root = object1; |
| 2874 while (root->parent()) | 2877 while (root->parent()) |
| 2875 root = root->parent(); | 2878 root = root->parent(); |
| 2876 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 2879 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
| 2877 } | 2880 } |
| 2878 } | 2881 } |
| 2879 | 2882 |
| 2880 #endif | 2883 #endif |
| OLD | NEW |