-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=127362 Reviewed by Dave Hyatt. Various platforms customize the rect used to layout position:fixed elements, and each modified RenderBox::availableLogicalHeight/WidthUsing() in different ways. Clean this up by adding RenderView::clientLogicalWidth/HeightForFixedPosition(), and moving the platform hacks into it. * rendering/RenderBox.cpp: (WebCore::RenderBox::availableLogicalHeightUsing): (WebCore::RenderBox::containingBlockLogicalWidthForPositioned): (WebCore::RenderBox::containingBlockLogicalHeightForPositioned): * rendering/RenderView.cpp: (WebCore::RenderView::clientLogicalWidthForFixedPosition): (WebCore::RenderView::clientLogicalHeightForFixedPosition): * rendering/RenderView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
037f67dc