Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: LayoutTests/fast/repaint/relayout-fixed-position-after-scale.html

Issue 1318543005: Fix relayout-fixed-position-after-scale.html to work with virtual-viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/relayout-fixed-position-after-scale.html
diff --git a/LayoutTests/fast/repaint/relayout-fixed-position-after-scale.html b/LayoutTests/fast/repaint/relayout-fixed-position-after-scale.html
index b2bc736ed278aef8e3ab1969c90062073a160969..b4ac9030ec594c0a963f20a63dbaf0ad3156dde2 100644
--- a/LayoutTests/fast/repaint/relayout-fixed-position-after-scale.html
+++ b/LayoutTests/fast/repaint/relayout-fixed-position-after-scale.html
@@ -26,16 +26,17 @@
<div class="percentage_size" style="right:30%;top:25%"></div>
<div class="percentage_size" style="left:20%;bottom:15%"></div>
<div class="percentage_size" style="right:10%;bottom:5%"></div>
+<div id="spacer" style="width: 1700px; height: 1300px"></div>
<script>
function runTest() {
if (window.internals && window.eventSender) {
- window.internals.settings.setFixedElementsLayoutRelativeToFrame(true);
+ window.internals.setPageScaleFactorLimits(0.5, 4);
+ window.internals.setPageScaleFactor(0.5);
// Force scrollbar to hide and re-layout immediately.
- window.internals.setPageScaleFactor(0.1);
+ var spacer = document.getElementById('spacer');
+ spacer.style.display = "none";
document.body.offsetTop;
-
- window.internals.setPageScaleFactor(0.5);
}
}
</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698