/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/html/anonymous_table.html
46 строк
1 KB
Jack Moffitt
Cargoify servo
09 сен 2014, 06:21
09 сен 2014, 06:21
c6ab60d
Код
Авторство
О чём код?
<!DOCTYPE html> <html> <head> <title>Fixed Table</title> <style> .table { display: table; table-layout: fixed; width: 600px; border: solid black 2px; } .colgroup { display: table-column-group; } .column { display: table-column; } .row { display: table-row; } .cell { display: table-cell; border: solid red 1px; } </style> </head> <body> <p> This test checks Anonymous table objects(CSS 2.1, Section 17.2.1) </p> <p> 1. Remove irrelevant boxes</p> <p> 2. Generate missing child wrappers: `table-row`, `table-cell` </p> <div class="table"> <span class="column"> inline child box of table-column. NOT Shown </span> <span class="colgroup"> <span>inline child box of table-column-group</span> NOT Shown </span> <span class="cell">Cell1</span> <span class="cell">Cell2</span> <span class="row"> 2nd Row <span>Cell4</span> <span class="cell">Cell3</span> Cell5 </span> </div> </body> <html>