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 2844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2855 | 2855 |
2856 // We only create "generated" child renderers like one for first-letter if: | 2856 // We only create "generated" child renderers like one for first-letter if: |
2857 // - the firstLetterBlock can have children in the DOM and | 2857 // - the firstLetterBlock can have children in the DOM and |
2858 // - the block doesn't have any special assumption on its text children. | 2858 // - the block doesn't have any special assumption on its text children. |
2859 // This correctly prevents form controls from having such renderers. | 2859 // This correctly prevents form controls from having such renderers. |
2860 bool RenderObject::canHaveGeneratedChildren() const | 2860 bool RenderObject::canHaveGeneratedChildren() const |
2861 { | 2861 { |
2862 return canHaveChildren(); | 2862 return canHaveChildren(); |
2863 } | 2863 } |
2864 | 2864 |
| 2865 bool RenderObject::canBeReplacedWithInlineRunIn() const |
| 2866 { |
| 2867 return true; |
| 2868 } |
| 2869 |
2865 #if ENABLE(SVG) | 2870 #if ENABLE(SVG) |
2866 | 2871 |
2867 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer() | 2872 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer() |
2868 { | 2873 { |
2869 ASSERT_NOT_REACHED(); | 2874 ASSERT_NOT_REACHED(); |
2870 return 0; | 2875 return 0; |
2871 } | 2876 } |
2872 | 2877 |
2873 void RenderObject::setNeedsBoundariesUpdate() | 2878 void RenderObject::setNeedsBoundariesUpdate() |
2874 { | 2879 { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2941 { | 2946 { |
2942 if (object1) { | 2947 if (object1) { |
2943 const WebCore::RenderObject* root = object1; | 2948 const WebCore::RenderObject* root = object1; |
2944 while (root->parent()) | 2949 while (root->parent()) |
2945 root = root->parent(); | 2950 root = root->parent(); |
2946 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 2951 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
2947 } | 2952 } |
2948 } | 2953 } |
2949 | 2954 |
2950 #endif | 2955 #endif |
OLD | NEW |