diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/generate/list-style-position-006.xht')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/generate/list-style-position-006.xht | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/generate/list-style-position-006.xht b/testing/web-platform/tests/css/CSS2/generate/list-style-position-006.xht new file mode 100644 index 0000000000..9e76b4de75 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/generate/list-style-position-006.xht @@ -0,0 +1,33 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <title>CSS Test: Marker box position (inside principal box) - block box with 'float:left' (as child of principal box)</title> + <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position"/> + <meta name="assert" content="Since a marker box is the first inline element in the principal box when 'list-style-position:inside', the following block box (floated to the left) must visually appear before the marker box in the rendered document"/> + <style type="text/css"> + #test{ + color:navy; + display:list-item; + font-size:85px; + list-style-position:inside; + } + #test div{ + background:blue; + float:left; + height:100px; + width:100px; + } + </style> + </head> + + <body> + <p>To pass, there <strong>must</strong> be a bullet (filled-in circle) to the right of a square.</p> + <div id="test"> + <div> </div> + </div> + </body> +</html>
\ No newline at end of file |