https://bugs.webkit.org/show_bug.cgi?id=135748
broke background-attachment-fixed with backround-size-contain
(e.g. iCloud.com) (Requested by thorton on #webkit).
Reverted changeset:
"Fixed backgrounds don't paint in blurred inset areas"
https://bugs.webkit.org/show_bug.cgi?id=135712
http://trac.webkit.org/changeset/172291
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172332
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-08-07 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r172291.
+ https://bugs.webkit.org/show_bug.cgi?id=135748
+
+ broke background-attachment-fixed with backround-size-contain
+ (e.g. iCloud.com) (Requested by thorton on #webkit).
+
+ Reverted changeset:
+
+ "Fixed backgrounds don't paint in blurred inset areas"
+ https://bugs.webkit.org/show_bug.cgi?id=135712
+ http://trac.webkit.org/changeset/172291
+
2014-08-07 Zalan Bujtas <zalan@apple.com>
Subpixel rendering: Border thickness and length flooring can result empty borders
[ MountainLion Mavericks ] platform/mac/fast/events/content-inset-hit-testing.html [ Skip ]
[ MountainLion Mavericks ] platform/mac/fast/events/content-inset-hit-testing-in-frame.html [ Skip ]
[ MountainLion Mavericks ] platform/mac/fast/scrolling/scroll-select-bottom-test.html [ Skip ]
-[ MountainLion Mavericks ] platform/mac-wk1/fast/backgrounds/top-content-inset-fixed-attachment.html [ Skip ]
### END OF (2) Failures without bug reports
########################################
+++ /dev/null
-<html>
-<head>
-<style>
-
-body {
- height:2000px;
- margin:0;
- overflow:hidden;
-}
-
-#fixed-background-box {
- width:400px;
- height:600px;
- background-image:url(resources/green.png);
- background-attachment:fixed;
-}
-
-</style>
-</head>
-
-<body>
-
-<div id="fixed-background-box"></div>
-
-</body>
-<html>
+++ /dev/null
-<html>
-<head>
-<style>
-
-body {
- height:2000px;
- margin:0;
- overflow:hidden;
-}
-
-#fixed-background-box {
- width:400px;
- height:600px;
- background-image:url(resources/green.png);
- background-attachment:fixed;
-}
-
-</style>
-
-<script>
-function runTest() {
- if (window.internals)
- window.internals.setTopContentInset(100);
- window.scrollTo(0, 100);
-}
-
-window.addEventListener('load', runTest, false);
-</script>
-</head>
-
-<body>
-
-<div id="fixed-background-box"></div>
-
-</body>
-<html>
+++ /dev/null
-<html>
-<head>
-<style>
-
-body {
- height:2000px;
- margin:0;
- overflow:hidden;
-}
-
-#fixed-background-box {
- width:400px;
- height:600px;
- background-image:url(resources/green.png);
- background-attachment:fixed;
-}
-
-</style>
-</head>
-
-<body>
-
-<div id="fixed-background-box"></div>
-
-</body>
-<html>
+++ /dev/null
-<html>
-<head>
-<style>
-
-body {
- height:2000px;
- margin:0;
- overflow:hidden;
-}
-
-#fixed-background-box {
- width:400px;
- height:600px;
- background-image:url(resources/green.png);
- background-attachment:fixed;
-}
-
-</style>
-
-<script>
-function runTest() {
- if (window.internals)
- window.internals.setTopContentInset(100);
- window.scrollTo(0, 100);
-}
-
-window.addEventListener('load', runTest, false);
-</script>
-</head>
-
-<body>
-
-<div id="fixed-background-box"></div>
-
-</body>
-<html>
+2014-08-07 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r172291.
+ https://bugs.webkit.org/show_bug.cgi?id=135748
+
+ broke background-attachment-fixed with backround-size-contain
+ (e.g. iCloud.com) (Requested by thorton on #webkit).
+
+ Reverted changeset:
+
+ "Fixed backgrounds don't paint in blurred inset areas"
+ https://bugs.webkit.org/show_bug.cgi?id=135712
+ http://trac.webkit.org/changeset/172291
+
2014-08-07 Zalan Bujtas <zalan@apple.com>
Subpixel rendering: Border thickness and length flooring can result empty borders
if (frame().settings().fixedBackgroundsPaintRelativeToDocument())
viewportRect = view().unscaledDocumentRect();
else {
- viewportRect.setSize(view().frameView().unscaledVisibleContentSizeIncludingObscuredArea());
- top += view().frameView().topContentInset(ScrollView::TopContentInsetType::WebCoreOrPlatformContentInset);
+ viewportRect = view().viewRect();
if (fixedBackgroundPaintsInLocalCoordinates())
viewportRect.setLocation(LayoutPoint());
else
- viewportRect.setLocation(toLayoutPoint(view().frameView().documentScrollOffsetRelativeToViewOrigin()));
+ viewportRect.setLocation(toLayoutPoint(view().frameView().scrollOffsetForFixedPosition()));
}
if (paintContainer)