| 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>
|
|
|