mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Bug 1509717 removed Gecko's definition of StyleBorderStyle to use the Rust one. The Rust version was ordered in a different way, and the table code relied on the order in order to build the mapping for border conflict resolution. Simplify this mapping now that border constants are ordered in terms of priority, see the comment on top of `enum BorderStyle`. Differential Revision: https://phabricator.services.mozilla.com/D16565 --HG-- extra : moz-landing-system : lando
25 lines
688 B
HTML
25 lines
688 B
HTML
<!doctype html>
|
|
<title>CSS Test Reference</title>
|
|
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
|
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
|
<style>
|
|
table {
|
|
font-size: 2em;
|
|
border-collapse: collapse;
|
|
border: 5px solid green;
|
|
}
|
|
</style>
|
|
|
|
<p>You should see no non-solid borders and no red.</p>
|
|
|
|
<table>
|
|
<tr>
|
|
<td colspan="4" style="border: 5px solid purple;">hello</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="border-right: 5px solid blue; border-bottom: 9px hidden red;">one</td>
|
|
<td style="border-right: 5px solid blue;">two</td>
|
|
<td>three</td>
|
|
<td style="border-left: 5px solid blue">four</td>
|
|
</tr>
|
|
</table>
|