summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/generate/list-style-position-003.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/generate/list-style-position-003.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/generate/list-style-position-003.xht30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/generate/list-style-position-003.xht b/testing/web-platform/tests/css/CSS2/generate/list-style-position-003.xht
new file mode 100644
index 0000000000..2b30663b85
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/generate/list-style-position-003.xht
@@ -0,0 +1,30 @@
+<!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 - list-item overflow - 'list-style-position:inside'</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"/>
+ <meta name="assert" content="'overflow' applied to principal box and presence of child block box (in normal flow) must have no affect on visibility or position of marker box"/>
+ <style type="text/css">
+ #test{
+ display:list-item;
+ font-size:85px;
+ color:navy;
+ list-style-position:inside;
+ overflow:auto;
+ }
+ #test div{
+ background:blue;
+ display:block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>To pass, there <strong>must</strong> be a bullet (filled-in circle) above a blue bar</p>
+ <div id="test">
+ <div>&nbsp;</div>
+ </div>
+ </body>
+</html> \ No newline at end of file