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

Unified Diff: LayoutTests/fast/text-autosizing/constrained-out-of-flow.html

Issue 16019004: Text Autosizing: Treat position:absolute/fixed as constrained height. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/fast/text-autosizing/constrained-out-of-flow.html
diff --git a/LayoutTests/fast/text-autosizing/constrained-out-of-flow.html b/LayoutTests/fast/text-autosizing/constrained-out-of-flow.html
deleted file mode 100644
index f16b661abb27e37fb695f9799d4da62d613bf3b9..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/text-autosizing/constrained-out-of-flow.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-
-<meta name="viewport" content="width=800">
-<style>
-html { font-size: 16px; }
-body { width: 800px; margin: 0; }
-</style>
-
-<script>
-if (window.internals) {
- window.internals.settings.setTextAutosizingEnabled(true);
- window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
-} else if (window.console && console.warn) {
- console.warn("This test depends on the Text Autosizing setting being true, so run it in DumpRenderTree, or manually enable Text Autosizing, and either use a mobile device with 320px device-width (like Nexus S or iPhone), or define HACK_FORCE_TEXT_AUTOSIZING_ON_DESKTOP.");
-}
-</script>
-
-</head>
-<body>
-
-<div style="max-height: 500px; float: left">
- This text should not be autosized (its computed font-size should remain 16px), as autosizing usually causes text to wrap onto more lines, which might cause it to overflow the block's max-height (the float:left doesn't affect this).
-</div>
-
-<div style="max-height: 500px; position: absolute; top: 200px">
- This text should not be autosized (its computed font-size should remain 16px), as autosizing usually causes text to wrap onto more lines, which might cause it to overflow the block's max-height (the position:absolute doesn't affect this).
-</div>
-
-<div style="max-height: 500px; position: fixed; top: 400px">
- This text should not be autosized (its computed font-size should remain 16px), as autosizing usually causes text to wrap onto more lines, which might cause it to overflow the block's max-height (the position:fixed doesn't affect this).
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698