OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 , m_firstChild(0) | 45 , m_firstChild(0) |
46 , m_lastChild(0) | 46 , m_lastChild(0) |
47 , m_prevLineBox(0) | 47 , m_prevLineBox(0) |
48 , m_nextLineBox(0) | 48 , m_nextLineBox(0) |
49 , m_includeLogicalLeftEdge(false) | 49 , m_includeLogicalLeftEdge(false) |
50 , m_includeLogicalRightEdge(false) | 50 , m_includeLogicalRightEdge(false) |
51 , m_descendantsHaveSameLineHeightAndBaseline(true) | 51 , m_descendantsHaveSameLineHeightAndBaseline(true) |
52 , m_baselineType(AlphabeticBaseline) | 52 , m_baselineType(AlphabeticBaseline) |
53 , m_hasAnnotationsBefore(false) | 53 , m_hasAnnotationsBefore(false) |
54 , m_hasAnnotationsAfter(false) | 54 , m_hasAnnotationsAfter(false) |
| 55 , m_lineBreakBidiStatusEor(WTF::Unicode::LeftToRight) |
| 56 , m_lineBreakBidiStatusLastStrong(WTF::Unicode::LeftToRight) |
| 57 , m_lineBreakBidiStatusLast(WTF::Unicode::LeftToRight) |
55 #ifndef NDEBUG | 58 #ifndef NDEBUG |
56 , m_hasBadChildList(false) | 59 , m_hasBadChildList(false) |
57 #endif | 60 #endif |
58 { | 61 { |
59 // Internet Explorer and Firefox always create a marker for list items,
even when the list-style-type is none. We do not make a marker | 62 // Internet Explorer and Firefox always create a marker for list items,
even when the list-style-type is none. We do not make a marker |
60 // in the list-style-type: none case, since it is wasteful to do so. Ho
wever, in order to match other browsers we have to pretend like | 63 // in the list-style-type: none case, since it is wasteful to do so. Ho
wever, in order to match other browsers we have to pretend like |
61 // an invisible marker exists. The side effect of having an invisible m
arker is that the quirks mode behavior of shrinking lines with no | 64 // an invisible marker exists. The side effect of having an invisible m
arker is that the quirks mode behavior of shrinking lines with no |
62 // text children must not apply. This change also means that gaps will
exist between image bullet list items. Even when the list bullet | 65 // text children must not apply. This change also means that gaps will
exist between image bullet list items. Even when the list bullet |
63 // is an image, the line is still considered to be immune from the quirk
. | 66 // is an image, the line is still considered to be immune from the quirk
. |
64 m_hasTextChildren = obj.style()->display() == LIST_ITEM; | 67 m_hasTextChildren = obj.style()->display() == LIST_ITEM; |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 } | 371 } |
369 | 372 |
370 } // namespace WebCore | 373 } // namespace WebCore |
371 | 374 |
372 #ifndef NDEBUG | 375 #ifndef NDEBUG |
373 // Outside the WebCore namespace for ease of invocation from gdb. | 376 // Outside the WebCore namespace for ease of invocation from gdb. |
374 void showTree(const WebCore::InlineFlowBox*); | 377 void showTree(const WebCore::InlineFlowBox*); |
375 #endif | 378 #endif |
376 | 379 |
377 #endif // InlineFlowBox_h | 380 #endif // InlineFlowBox_h |
OLD | NEW |