Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/CSS2/lists/list-style-image-applies-to-004.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 Test: List-style-image applied to elements with 'display' set to 'table-row'</title> <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-image" /> <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" /> <meta name="flags" content="image" /> <link rel="match" href="list-style-image-applies-to-ref-1.html" /> <meta name="assert" content="The 'list-style-image' property applies to elements with 'display' set to 'table-row'." /> <style type="text/css"> #table { display: table; margin-left: 1in; } #row { display: table-row; list-style-image: url('support/blue15x15.png'); } #cell { display: table-cell; } #cell div { display: list-item; } </style> </head> <body> <p>Test passes if there is a single blue square below.</p> <div id="table"> <div id="row"> <div id="cell"> <div></div> </div> </div> </div> </body> </html>
/css/CSS2/lists/list-style-image-applies-to-ref-1.html
<!DOCTYPE html> <title>CSS Reference</title> <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> <style> div { display: list-item; list-style-image: url('support/blue15x15.png'); margin-left: 96px; } </style> <p>Test passes if there is a single blue square below.</p> <div> </div>