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 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 #include "core/HTMLNames.h" | 27 #include "core/HTMLNames.h" |
28 #include "core/dom/NodeRenderingTraversal.h" | 28 #include "core/dom/NodeRenderingTraversal.h" |
29 #include "core/html/HTMLOListElement.h" | 29 #include "core/html/HTMLOListElement.h" |
30 #include "core/rendering/FastTextAutosizer.h" | 30 #include "core/rendering/FastTextAutosizer.h" |
31 #include "core/rendering/RenderListMarker.h" | 31 #include "core/rendering/RenderListMarker.h" |
32 #include "core/rendering/RenderView.h" | 32 #include "core/rendering/RenderView.h" |
33 #include "wtf/StdLibExtras.h" | 33 #include "wtf/StdLibExtras.h" |
34 #include "wtf/text/StringBuilder.h" | 34 #include "wtf/text/StringBuilder.h" |
35 | 35 |
36 using namespace std; | |
37 | |
38 namespace WebCore { | 36 namespace WebCore { |
39 | 37 |
40 using namespace HTMLNames; | 38 using namespace HTMLNames; |
41 | 39 |
42 RenderListItem::RenderListItem(Element* element) | 40 RenderListItem::RenderListItem(Element* element) |
43 : RenderBlockFlow(element) | 41 : RenderBlockFlow(element) |
44 , m_marker(0) | 42 , m_marker(0) |
45 , m_hasExplicitValue(false) | 43 , m_hasExplicitValue(false) |
46 , m_isValueUpToDate(false) | 44 , m_isValueUpToDate(false) |
47 , m_notInList(false) | 45 , m_notInList(false) |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 // assume that all the following ones have too. | 510 // assume that all the following ones have too. |
513 // This gives us the opportunity to stop here and avoid | 511 // This gives us the opportunity to stop here and avoid |
514 // marking the same nodes again. | 512 // marking the same nodes again. |
515 break; | 513 break; |
516 } | 514 } |
517 item->updateValue(); | 515 item->updateValue(); |
518 } | 516 } |
519 } | 517 } |
520 | 518 |
521 } // namespace WebCore | 519 } // namespace WebCore |
OLD | NEW |