https://bugs.webkit.org/show_bug.cgi?id=132719
<rdar://problem/
16860837>
Reviewed by Benjamin Poulain.
Source/WebCore:
Add a couple of functions, and sort.
* WebCore.exp.in:
Source/WebKit2:
If we haven't received visible rects from the web process, compute the
fixed position rect, but only after scale has been set.
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::viewportConfigurationChanged):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168513
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-05-08 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS WK2] Bottom-relative position:fixed elements are misplaced on page load
+ https://bugs.webkit.org/show_bug.cgi?id=132719
+ <rdar://problem/16860837>
+
+ Reviewed by Benjamin Poulain.
+
+ Add a couple of functions, and sort.
+
+ * WebCore.exp.in:
+
2014-05-08 Jer Noble <jer.noble@apple.com>
[Mac, iOS] Add source application accounting to AVURLAsset.
__ZN7WebCore16createFullMarkupERKNS_4NodeE
__ZN7WebCore16createFullMarkupERKNS_5RangeE
__ZN7WebCore16enclosingIntRectERK6CGRect
+__ZN7WebCore16enclosingIntRectERKNS_10LayoutRectE
__ZN7WebCore16enclosingIntRectERKNS_9FloatRectE
__ZN7WebCore16isEndOfParagraphERKNS_15VisiblePositionENS_27EditingBoundaryCrossingRuleE
__ZN7WebCore16isUserVisibleURLEP8NSString
_wkDrawBezeledTextArea
_wkDrawBezeledTextFieldCell
_wkDrawCapsLockIndicator
+_wkDrawCellFocusRingWithFrameAtTime
_wkDrawFocusRing
_wkDrawFocusRingAtTime
-_wkDrawCellFocusRingWithFrameAtTime
_wkDrawMediaSliderTrack
_wkDrawMediaUIPart
_wkDrawTextFieldCellFocusRing
__ZNK7WebCore9FloatRectcv6CGRectEv
__ZNK7WebCore9FloatSizecv6CGSizeEv
__ZNK7WebCore9FrameView17wasScrolledByUserEv
+__ZNK7WebCore9FrameView30viewportConstrainedObjectsRectEv
__ZNK7WebCore9RenderBox11borderRadiiEv
_webThreadShouldYield
_wkExecutableWasLinkedOnOrAfterIOSVersion
+2014-05-08 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS WK2] Bottom-relative position:fixed elements are misplaced on page load
+ https://bugs.webkit.org/show_bug.cgi?id=132719
+ <rdar://problem/16860837>
+
+ Reviewed by Benjamin Poulain.
+
+ If we haven't received visible rects from the web process, compute the
+ fixed position rect, but only after scale has been set.
+
+ * WebProcess/WebPage/ios/WebPageIOS.mm:
+ (WebKit::WebPage::viewportConfigurationChanged):
+
2014-05-08 Jer Noble <jer.noble@apple.com>
[Mac, iOS] Add source application accounting to AVURLAsset.
m_drawingArea->setExposedContentRect(unobscuredContentRect);
}
scalePage(scale, scrollPosition);
+
+ if (!m_hasReceivedVisibleContentRectsAfterDidCommitLoad) {
+ // This takes scale into account, so do after the scale change.
+ frameView.setCustomFixedPositionLayoutRect(enclosingIntRect(frameView.viewportConstrainedObjectsRect()));
+ }
}
void WebPage::applicationWillResignActive()