Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-lists/ol-change-display-type.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Lists: Change display type of reverse ol list element.</title> <link rel=help href="https://crbug.com/1020669"> <link rel=match href="ol-change-display-type-ref.html"> <style> .item { display: list-item; } .item:after { content: counter(section); display: list-item; } .table-header { display: table-header-group; } </style> <body> <ol reversed="reversed"> <span id="span"> <figure class="item"></figure> </span> </ol> </body> <script> document.body.offsetTop; document.getElementById('span').setAttribute('class', 'table-header'); </script> </html>
/css/css-lists/ol-change-display-type-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <link rel=help href="https://crbug.com/1020669"> <style> .item { display: list-item; } .item:after { content: counter(section); display: list-item; } .table-header { display: table-header-group; } </style> <body> <ol reversed="reversed"> <span class="table-header"> <figure class="item"></figure> </span> </ol> </body> </html>