OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) | 3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) |
4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) | 4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) |
5 * (C) 2001 Peter Kelly (pmk@post.com) | 5 * (C) 2001 Peter Kelly (pmk@post.com) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 7 * Copyright (C) 2011 Motorola Mobility. 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 18 matching lines...) Expand all Loading... |
29 #include "core/dom/ClientRect.h" | 29 #include "core/dom/ClientRect.h" |
30 #include "core/dom/ClientRectList.h" | 30 #include "core/dom/ClientRectList.h" |
31 #include "core/dom/DocumentFragment.h" | 31 #include "core/dom/DocumentFragment.h" |
32 #include "core/dom/ExceptionCode.h" | 32 #include "core/dom/ExceptionCode.h" |
33 #include "core/dom/Node.h" | 33 #include "core/dom/Node.h" |
34 #include "core/dom/NodeTraversal.h" | 34 #include "core/dom/NodeTraversal.h" |
35 #include "core/dom/NodeWithIndex.h" | 35 #include "core/dom/NodeWithIndex.h" |
36 #include "core/dom/ProcessingInstruction.h" | 36 #include "core/dom/ProcessingInstruction.h" |
37 #include "core/dom/Text.h" | 37 #include "core/dom/Text.h" |
38 #include "core/editing/EditingUtilities.h" | 38 #include "core/editing/EditingUtilities.h" |
39 #include "core/editing/Serialization.h" | |
40 #include "core/editing/VisiblePosition.h" | 39 #include "core/editing/VisiblePosition.h" |
41 #include "core/editing/VisibleUnits.h" | 40 #include "core/editing/VisibleUnits.h" |
42 #include "core/editing/iterators/TextIterator.h" | 41 #include "core/editing/iterators/TextIterator.h" |
| 42 #include "core/editing/serializers/Serialization.h" |
43 #include "core/events/ScopedEventQueue.h" | 43 #include "core/events/ScopedEventQueue.h" |
44 #include "core/html/HTMLBodyElement.h" | 44 #include "core/html/HTMLBodyElement.h" |
45 #include "core/html/HTMLElement.h" | 45 #include "core/html/HTMLElement.h" |
46 #include "core/layout/LayoutBoxModelObject.h" | 46 #include "core/layout/LayoutBoxModelObject.h" |
47 #include "core/layout/LayoutText.h" | 47 #include "core/layout/LayoutText.h" |
48 #include "core/svg/SVGSVGElement.h" | 48 #include "core/svg/SVGSVGElement.h" |
49 #include "platform/geometry/FloatQuad.h" | 49 #include "platform/geometry/FloatQuad.h" |
50 #include "wtf/RefCountedLeakCounter.h" | 50 #include "wtf/RefCountedLeakCounter.h" |
51 #include "wtf/text/CString.h" | 51 #include "wtf/text/CString.h" |
52 #include "wtf/text/StringBuilder.h" | 52 #include "wtf/text/StringBuilder.h" |
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1682 { | 1682 { |
1683 if (range && range->boundaryPointsValid()) { | 1683 if (range && range->boundaryPointsValid()) { |
1684 range->startContainer()->showTreeAndMark(range->startContainer(), "S", r
ange->endContainer(), "E"); | 1684 range->startContainer()->showTreeAndMark(range->startContainer(), "S", r
ange->endContainer(), "E"); |
1685 fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset
(), range->endOffset()); | 1685 fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset
(), range->endOffset()); |
1686 } else { | 1686 } else { |
1687 fprintf(stderr, "Cannot show tree if range is null, or if boundary point
s are invalid.\n"); | 1687 fprintf(stderr, "Cannot show tree if range is null, or if boundary point
s are invalid.\n"); |
1688 } | 1688 } |
1689 } | 1689 } |
1690 | 1690 |
1691 #endif | 1691 #endif |
OLD | NEW |