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 20 matching lines...) Expand all Loading... |
31 #include "HTMLNames.h" | 31 #include "HTMLNames.h" |
32 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
33 #include "core/editing/htmlediting.h" | 33 #include "core/editing/htmlediting.h" |
34 #include "core/html/HTMLElement.h" | 34 #include "core/html/HTMLElement.h" |
35 #include "core/html/HTMLFrameOwnerElement.h" | 35 #include "core/html/HTMLFrameOwnerElement.h" |
36 #include "core/html/HTMLHtmlElement.h" | 36 #include "core/html/HTMLHtmlElement.h" |
37 #include "core/html/HTMLTextAreaElement.h" | 37 #include "core/html/HTMLTextAreaElement.h" |
38 #include "core/page/Frame.h" | 38 #include "core/page/Frame.h" |
39 #include "core/page/FrameView.h" | 39 #include "core/page/FrameView.h" |
40 #include "core/page/Page.h" | 40 #include "core/page/Page.h" |
41 #include "core/platform/graphics/FloatQuad.h" | |
42 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 41 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
43 #include "core/platform/graphics/transforms/TransformState.h" | 42 #include "core/platform/graphics/transforms/TransformState.h" |
44 #include "core/rendering/HitTestResult.h" | 43 #include "core/rendering/HitTestResult.h" |
45 #include "core/rendering/PaintInfo.h" | 44 #include "core/rendering/PaintInfo.h" |
46 #include "core/rendering/RenderBoxRegionInfo.h" | 45 #include "core/rendering/RenderBoxRegionInfo.h" |
47 #include "core/rendering/RenderFlexibleBox.h" | 46 #include "core/rendering/RenderFlexibleBox.h" |
48 #include "core/rendering/RenderFlowThread.h" | 47 #include "core/rendering/RenderFlowThread.h" |
49 #include "core/rendering/RenderGeometryMap.h" | 48 #include "core/rendering/RenderGeometryMap.h" |
50 #include "core/rendering/RenderGrid.h" | 49 #include "core/rendering/RenderGrid.h" |
51 #include "core/rendering/RenderInline.h" | 50 #include "core/rendering/RenderInline.h" |
52 #include "core/rendering/RenderLayer.h" | 51 #include "core/rendering/RenderLayer.h" |
53 #include "core/rendering/RenderLayerCompositor.h" | 52 #include "core/rendering/RenderLayerCompositor.h" |
54 #include "core/rendering/RenderListMarker.h" | 53 #include "core/rendering/RenderListMarker.h" |
55 #include "core/rendering/RenderRegion.h" | 54 #include "core/rendering/RenderRegion.h" |
56 #include "core/rendering/RenderTableCell.h" | 55 #include "core/rendering/RenderTableCell.h" |
57 #include "core/rendering/RenderTheme.h" | 56 #include "core/rendering/RenderTheme.h" |
58 #include "core/rendering/RenderView.h" | 57 #include "core/rendering/RenderView.h" |
| 58 #include "platform/geometry/FloatQuad.h" |
59 | 59 |
60 using namespace std; | 60 using namespace std; |
61 | 61 |
62 namespace WebCore { | 62 namespace WebCore { |
63 | 63 |
64 using namespace HTMLNames; | 64 using namespace HTMLNames; |
65 | 65 |
66 // Used by flexible boxes when flexing this element and by table cells. | 66 // Used by flexible boxes when flexing this element and by table cells. |
67 typedef WTF::HashMap<const RenderBox*, LayoutUnit> OverrideSizeMap; | 67 typedef WTF::HashMap<const RenderBox*, LayoutUnit> OverrideSizeMap; |
68 static OverrideSizeMap* gOverrideHeightMap = 0; | 68 static OverrideSizeMap* gOverrideHeightMap = 0; |
(...skipping 4714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4783 return 0; | 4783 return 0; |
4784 | 4784 |
4785 if (!layoutState && !flowThreadContainingBlock()) | 4785 if (!layoutState && !flowThreadContainingBlock()) |
4786 return 0; | 4786 return 0; |
4787 | 4787 |
4788 RenderBlock* containerBlock = containingBlock(); | 4788 RenderBlock* containerBlock = containingBlock(); |
4789 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); | 4789 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); |
4790 } | 4790 } |
4791 | 4791 |
4792 } // namespace WebCore | 4792 } // namespace WebCore |
OLD | NEW |