Status: FAIL | Duration: 19ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/CSS2/lists/list-style-position-024.xht
<!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" dir="rtl"> <head> <title>CSS Test: Nested inside list markers (rtl)</title> <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-06 --> <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/list/list-style-position/inside/002-demo.html" type="text/html"/> <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" /> <link rel="match" href="list-style-position-024-ref.xht" /> <style type="text/css"> ol, li { margin: 0; padding: 0; border: 0; } li, div { color: blue; border: solid silver 0.25em; padding: 0.5em 3em 0.5em 0.5em; list-style-position: inside; } span { color: white; } </style> </head> <body> <ol> <li> <ol> <li> <ol> <li> <span>List item text.</span> </li> </ol> </li> </ol> </li> </ol> <p dir="ltr">The above should render like the example below.</p> <div>1. <div>1. <div> 1. <span>List item text.</span> </div> </div> </div> </body> </html>
/css/CSS2/lists/list-style-position-024-ref.xht
<!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> <title>CSS Reftest Reference</title> <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <style type="text/css"><![CDATA[ body {direction: rtl;} p {direction: ltr;} div { border: silver solid 0.25em; color: blue; padding: 0.5em 3em 0.5em 0.5em; } ]]></style> </head> <body> <div>1. <div>1. <div>1.</div> </div> </div> <p>The above should render like the example below.</p> <div>1. <div>1. <div>1.</div> </div> </div> </body> </html>