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) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 return documentElementRenderer | 88 return documentElementRenderer |
89 && !documentElementRenderer->hasBackground() | 89 && !documentElementRenderer->hasBackground() |
90 && (documentElementRenderer == bodyElementRenderer->parent()); | 90 && (documentElementRenderer == bodyElementRenderer->parent()); |
91 } | 91 } |
92 | 92 |
93 RenderBox::RenderBox(ContainerNode* node) | 93 RenderBox::RenderBox(ContainerNode* node) |
94 : RenderBoxModelObject(node) | 94 : RenderBoxModelObject(node) |
95 , m_intrinsicContentLogicalHeight(-1) | 95 , m_intrinsicContentLogicalHeight(-1) |
96 , m_minPreferredLogicalWidth(-1) | 96 , m_minPreferredLogicalWidth(-1) |
97 , m_maxPreferredLogicalWidth(-1) | 97 , m_maxPreferredLogicalWidth(-1) |
| 98 , m_customScrollbarThicknessChanged(false) |
98 { | 99 { |
99 setIsBox(); | 100 setIsBox(); |
100 } | 101 } |
101 | 102 |
102 void RenderBox::willBeDestroyed() | 103 void RenderBox::willBeDestroyed() |
103 { | 104 { |
104 clearOverrideSize(); | 105 clearOverrideSize(); |
105 clearContainingBlockOverrideSize(); | 106 clearContainingBlockOverrideSize(); |
106 | 107 |
107 RenderBlock::removePercentHeightDescendantIfNeeded(this); | 108 RenderBlock::removePercentHeightDescendantIfNeeded(this); |
(...skipping 4331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4439 | 4440 |
4440 setLogicalTop(oldLogicalTop); | 4441 setLogicalTop(oldLogicalTop); |
4441 setLogicalWidth(oldLogicalWidth); | 4442 setLogicalWidth(oldLogicalWidth); |
4442 setMarginLeft(oldMarginLeft); | 4443 setMarginLeft(oldMarginLeft); |
4443 setMarginRight(oldMarginRight); | 4444 setMarginRight(oldMarginRight); |
4444 | 4445 |
4445 return borderBox; | 4446 return borderBox; |
4446 } | 4447 } |
4447 | 4448 |
4448 } // namespace blink | 4449 } // namespace blink |
OLD | NEW |