OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 14 matching lines...) Expand all Loading... |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "core/rendering/RenderRegion.h" | 31 #include "core/rendering/RenderRegion.h" |
32 | 32 |
33 #include "core/css/resolver/StyleResolver.h" | 33 #include "core/css/resolver/StyleResolver.h" |
34 #include "core/rendering/FlowThreadController.h" | 34 #include "core/rendering/FlowThreadController.h" |
| 35 #include "core/rendering/HitTestLocation.h" |
35 #include "core/rendering/PaintInfo.h" | 36 #include "core/rendering/PaintInfo.h" |
36 #include "core/rendering/RenderBoxRegionInfo.h" | 37 #include "core/rendering/RenderBoxRegionInfo.h" |
37 #include "core/rendering/RenderNamedFlowThread.h" | 38 #include "core/rendering/RenderNamedFlowThread.h" |
38 #include "core/rendering/RenderView.h" | 39 #include "core/rendering/RenderView.h" |
39 | 40 |
40 using namespace std; | 41 using namespace std; |
41 | 42 |
42 namespace WebCore { | 43 namespace WebCore { |
43 | 44 |
44 RenderRegion::RenderRegion(Element* element, RenderFlowThread* flowThread) | 45 RenderRegion::RenderRegion(Element* element, RenderFlowThread* flowThread) |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 ASSERT(newLogicalHeight < LayoutUnit::max() / 2); | 662 ASSERT(newLogicalHeight < LayoutUnit::max() / 2); |
662 if (newLogicalHeight > logicalHeight()) { | 663 if (newLogicalHeight > logicalHeight()) { |
663 setLogicalHeight(newLogicalHeight); | 664 setLogicalHeight(newLogicalHeight); |
664 // Recalculate position of the render block after new logical height is
set. | 665 // Recalculate position of the render block after new logical height is
set. |
665 // (needed in absolute positioning case with bottom alignment for exampl
e) | 666 // (needed in absolute positioning case with bottom alignment for exampl
e) |
666 RenderBlock::updateLogicalHeight(); | 667 RenderBlock::updateLogicalHeight(); |
667 } | 668 } |
668 } | 669 } |
669 | 670 |
670 } // namespace WebCore | 671 } // namespace WebCore |
OLD | NEW |