12012-07-16 Beth Dakin <bdakin@apple.com>
2
3 https://bugs.webkit.org/show_bug.cgi?id=91299
4 Paginated views should restrict available height to column height
5 -and corresponding-
6 <rdar://problem/11152108>
7
8 Reviewed by NOBODY (OOPS!).
9
10 Now that RenderViews can have columns, availableLogicalHeight needs to consider
11 that column height, much like how availableLogicalWidth already considers column
12 width.
13
14 availableLogicalHeight is newly virtual, like the already-virtual
15 availableLogicalWidth.
16 * rendering/RenderBox.h:
17 (RenderBox):
18
19 Check with the columnHeight.
20 * rendering/RenderView.cpp:
21 (WebCore):
22 (WebCore::RenderView::availableLogicalHeight):
23 * rendering/RenderView.h:
24
25 setPagination now takes pageLength as an optional parameter.
26 * testing/InternalSettings.cpp:
27 (WebCore::InternalSettings::setPagination):
28 * testing/InternalSettings.h:
29 (WebCore::InternalSettings::setPagination):
30 (InternalSettings):
31 * testing/InternalSettings.idl:
32 * testing/Internals.cpp:
33 (WebCore::Internals::setPagination):
34 * testing/Internals.h:
35 (WebCore::Internals::setPagination):
36 (Internals):
37 * testing/Internals.idl:
38