mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
layout: Implement empty-cells
per CSS 2.1 § 17.6.1.1.
This commit is contained in:
parent
592c93e0c2
commit
5675274c44
8 changed files with 98 additions and 13 deletions
19
tests/ref/empty_cells_ref.html
Normal file
19
tests/ref/empty_cells_ref.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that `empty-cells` works—in particular, that the definition of emptiness is correct. -->
|
||||
<style>
|
||||
.empty {
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border=3>
|
||||
<tr><td>Yo</td><td>Howdy</td><td></td><td class=empty></td></tr>
|
||||
<tr><td>Later</td><td class=empty></td><td>See ya</td><td>Aloha</td></tr>
|
||||
<tr><td class=empty></td><td>Sayonara</td><td class=empty></td><td></td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue