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

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

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
Index: LayoutTests/platform/chromium/fast/repaint/relayout-fixed-position-after-scale.html
diff --git a/LayoutTests/platform/chromium/fast/repaint/relayout-fixed-position-after-scale.html b/LayoutTests/platform/chromium/fast/repaint/relayout-fixed-position-after-scale.html
deleted file mode 100644
index 024ec65a13d28186036237349b0e5c28c1c08701..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/fast/repaint/relayout-fixed-position-after-scale.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>This test is successful if fixed position elements re-layout correctly on page scale changes</title>
-<style>
-.fixed_size {
- position:fixed;
- background-color:#ccffcc;
- width:50px;
- height:50px;
-}
-.percentage_size {
- position:fixed;
- background-color:#ccccff;
- width:10%;
- height:10%;
-}
-</style>
-</head>
-<body onload="runTest();" style="width:1600px;height:1200px;margin:0;">
-<div class="fixed_size" style="left:10px;top:20px"></div>
-<div class="fixed_size" style="right:30px;top:40px"></div>
-<div class="fixed_size" style="left:50px;bottom:60px"></div>
-<div class="fixed_size" style="right:70px;bottom:80px"></div>
-<div class="percentage_size" style="left:40%;top:35%"></div>
-<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>
-<script>
-function runTest() {
- if (window.internals) {
- window.internals.settings.setFixedElementsLayoutRelativeToFrame(true);
-
- // Force scrollbar to hide and re-layout immediately.
- window.internals.setPageScaleFactor(0.1, 0, 0);
- document.body.offsetTop;
-
- window.internals.setPageScaleFactor(0.5, 0, 0);
- }
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698