mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Address review comments relating to bgcolor
and column spans
This commit is contained in:
parent
17835ba0cb
commit
a1ea44b294
33 changed files with 712 additions and 422 deletions
|
@ -210,5 +210,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
!= list_style_type_a.html list_style_type_ref.html
|
||||
== list_style_position_a.html list_style_position_ref.html
|
||||
== table_colspan_simple_a.html table_colspan_simple_ref.html
|
||||
== table_colspan_fixed_a.html table_colspan_fixed_ref.html
|
||||
== legacy_td_bgcolor_attribute_a.html legacy_td_bgcolor_attribute_ref.html
|
||||
== legacy_table_border_attribute_a.html legacy_table_border_attribute_ref.html
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
table {
|
||||
border-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border=10 style="border-style: solid; border-color: black"><tr><td style="border: none">:-)</td></tr></table>
|
||||
<table border=mimi style="border-style: solid; border-color: black"><tr><td style="border: none">:-)</td></tr></table>
|
||||
<table border=0 style="border-style: solid; border-color: black"><tr><td style="border: none">:-)</td></tr></table>
|
||||
<table border=10><tr><td style="border: none">:-)</td></tr></table>
|
||||
<table border=mimi><tr><td style="border: none">:-)</td></tr></table>
|
||||
<table border=0><tr><td style="border: none">:-)</td></tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<body>
|
||||
<table style="border: solid black 10px"><tr><td>:-)</td></tr></table>
|
||||
<table style="border: solid black 1px"><tr><td>:-)</td></tr></table>
|
||||
<table style="border: outset red 10px"><tr><td>:-)</td></tr></table>
|
||||
<table style="border: outset red 1px"><tr><td>:-)</td></tr></table>
|
||||
<table style="border: none"><tr><td>:-)</td></tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
|
26
tests/ref/table_colspan_fixed_a.html
Normal file
26
tests/ref/table_colspan_fixed_a.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
table {
|
||||
width: 300px;
|
||||
table-layout: fixed;
|
||||
}
|
||||
td[colspan="2"] {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
}
|
||||
td[colspan="3"] {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<table border=0 cellspacing=0 cellpadding=0>
|
||||
<tr><td width=100> </td><td width=100> </td><td width=100> </td></tr>
|
||||
<tr><td colspan=2> </td><td> </td></tr>
|
||||
<tr><td> </td><td colspan=2> </td></tr>
|
||||
<tr><td colspan=3> </td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
26
tests/ref/table_colspan_fixed_ref.html
Normal file
26
tests/ref/table_colspan_fixed_ref.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
table {
|
||||
table-layout: fixed;
|
||||
width: 300px;
|
||||
}
|
||||
td.two {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
}
|
||||
td.three {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<table border=0 cellspacing=0 cellpadding=0>
|
||||
<tr><td width=100> </td><td width=100> </td><td width=100> </td></tr>
|
||||
<tr><td class=two> </td><td class=two></td><td> </td></tr>
|
||||
<tr><td> <td class=two> </td><td class=two></td></tr>
|
||||
<tr><td class=three> </td><td class=three></td><td class=three></td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue