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

Unified Diff: LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing.html

Issue 17071009: Consistently autosize markers in <ul> and <ol> lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@ls-TA-margins-14June
Patch Set: fixed comments Created 7 years, 6 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 | « no previous file | LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing.html
diff --git a/LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing.html b/LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing.html
new file mode 100644
index 0000000000000000000000000000000000000000..3ee764e14fba05b6c466f6b7073c8e94f0637db8
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html style="font-size: 16px">
+<head>
+
+<meta name="viewport" content="width=800">
+<style>
+ body {
+ width: 800px;
+ margin: 0;
+ overflow-y: hidden;
+ }
+</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>
+The below list item markers should be autosized by a factor of 2.5 (800/320). Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+</div>
+<ul>
+<li>Simple plain list item</li>
+<li></li>
+<li><img></img></li>
+<li><form><input type="text"></input></form></li>
+</ul>
+
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698