aboutsummaryrefslogtreecommitdiff
path: root/test/tables
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-01-28 18:05:49 +0100
committerAlbert Krewinkel <[email protected]>2022-01-28 18:20:14 +0100
commita6fa3df1146f7aee4e3bfa4cf506ab44e38ecb35 (patch)
tree5da7601e160156f0bb4424ed4f60f53d6668181d /test/tables
parentd36a16a4df5ed54b80dfc1579c339bad24ba6b0c (diff)
HTML writer: avoid duplicate "style" attributes on table cells
Fixes: #7871
Diffstat (limited to 'test/tables')
-rw-r--r--test/tables/nordics.html44
-rw-r--r--test/tables/nordics.html54
-rw-r--r--test/tables/planets.html412
-rw-r--r--test/tables/planets.html512
-rw-r--r--test/tables/students.html46
-rw-r--r--test/tables/students.html56
6 files changed, 22 insertions, 22 deletions
diff --git a/test/tables/nordics.html4 b/test/tables/nordics.html4
index 841ab03e5..3cc94845c 100644
--- a/test/tables/nordics.html4
+++ b/test/tables/nordics.html4
@@ -51,8 +51,8 @@
<tr id="summary" class="even">
<td align="center">Total</td>
<td align="left"></td>
-<td align="left" id="total-population">27,376,022</td>
-<td align="left" id="total-area">1,258,336</td>
+<td id="total-population" align="left">27,376,022</td>
+<td id="total-area" align="left">1,258,336</td>
</tr>
</tfoot>
diff --git a/test/tables/nordics.html5 b/test/tables/nordics.html5
index 0d639d4ea..dbc13d313 100644
--- a/test/tables/nordics.html5
+++ b/test/tables/nordics.html5
@@ -51,8 +51,8 @@
<tr id="summary" class="even">
<td style="text-align: center;">Total</td>
<td style="text-align: left;"></td>
-<td style="text-align: left;" id="total-population">27,376,022</td>
-<td style="text-align: left;" id="total-area">1,258,336</td>
+<td id="total-population" style="text-align: left;">27,376,022</td>
+<td id="total-area" style="text-align: left;">1,258,336</td>
</tr>
</tfoot>
diff --git a/test/tables/planets.html4 b/test/tables/planets.html4
index 4435571b4..e0cd646d8 100644
--- a/test/tables/planets.html4
+++ b/test/tables/planets.html4
@@ -2,7 +2,7 @@
<caption><p>Data about the planets of our solar system.</p></caption>
<thead>
<tr class="header">
-<th align="center" colspan="2"></th>
+<th colspan="2" align="center"></th>
<th>Name</th>
<th align="right">Mass (10^24kg)</th>
<th align="right">Diameter (km)</th>
@@ -17,7 +17,7 @@
</thead>
<tbody>
<tr class="odd">
-<th align="center" colspan="2" rowspan="4">Terrestrial planets</th>
+<th colspan="2" rowspan="4" align="center">Terrestrial planets</th>
<th>Mercury</th>
<td align="right">0.330</td>
<td align="right">4,879</td>
@@ -66,8 +66,8 @@
<td>The red planet</td>
</tr>
<tr class="odd">
-<th align="center" rowspan="4">Jovian planets</th>
-<th align="center" rowspan="2">Gas giants</th>
+<th rowspan="4" align="center">Jovian planets</th>
+<th rowspan="2" align="center">Gas giants</th>
<th>Jupiter</th>
<td align="right">1898</td>
<td align="right">142,984</td>
@@ -92,7 +92,7 @@
<td></td>
</tr>
<tr class="odd">
-<th align="center" rowspan="2">Ice giants</th>
+<th rowspan="2" align="center">Ice giants</th>
<th>Uranus</th>
<td align="right">86.8</td>
<td align="right">51,118</td>
@@ -117,7 +117,7 @@
<td></td>
</tr>
<tr class="odd">
-<th align="center" colspan="2">Dwarf planets</th>
+<th colspan="2" align="center">Dwarf planets</th>
<th>Pluto</th>
<td align="right">0.0146</td>
<td align="right">2,370</td>
diff --git a/test/tables/planets.html5 b/test/tables/planets.html5
index 1fee985b9..99aa0b04c 100644
--- a/test/tables/planets.html5
+++ b/test/tables/planets.html5
@@ -2,7 +2,7 @@
<caption><p>Data about the planets of our solar system.</p></caption>
<thead>
<tr class="header">
-<th style="text-align: center;" colspan="2"></th>
+<th colspan="2" style="text-align: center;"></th>
<th>Name</th>
<th style="text-align: right;">Mass (10^24kg)</th>
<th style="text-align: right;">Diameter (km)</th>
@@ -17,7 +17,7 @@
</thead>
<tbody>
<tr class="odd">
-<th style="text-align: center;" colspan="2" rowspan="4">Terrestrial planets</th>
+<th colspan="2" rowspan="4" style="text-align: center;">Terrestrial planets</th>
<th>Mercury</th>
<td style="text-align: right;">0.330</td>
<td style="text-align: right;">4,879</td>
@@ -66,8 +66,8 @@
<td>The red planet</td>
</tr>
<tr class="odd">
-<th style="text-align: center;" rowspan="4">Jovian planets</th>
-<th style="text-align: center;" rowspan="2">Gas giants</th>
+<th rowspan="4" style="text-align: center;">Jovian planets</th>
+<th rowspan="2" style="text-align: center;">Gas giants</th>
<th>Jupiter</th>
<td style="text-align: right;">1898</td>
<td style="text-align: right;">142,984</td>
@@ -92,7 +92,7 @@
<td></td>
</tr>
<tr class="odd">
-<th style="text-align: center;" rowspan="2">Ice giants</th>
+<th rowspan="2" style="text-align: center;">Ice giants</th>
<th>Uranus</th>
<td style="text-align: right;">86.8</td>
<td style="text-align: right;">51,118</td>
@@ -117,7 +117,7 @@
<td></td>
</tr>
<tr class="odd">
-<th style="text-align: center;" colspan="2">Dwarf planets</th>
+<th colspan="2" style="text-align: center;">Dwarf planets</th>
<th>Pluto</th>
<td style="text-align: right;">0.0146</td>
<td style="text-align: right;">2,370</td>
diff --git a/test/tables/students.html4 b/test/tables/students.html4
index b02b0aba8..cbfffaa1e 100644
--- a/test/tables/students.html4
+++ b/test/tables/students.html4
@@ -12,7 +12,7 @@
</thead>
<tbody class="souvereign-states">
<tr class="odd">
-<th align="left" colspan="2">Computer Science</th>
+<th colspan="2" align="left">Computer Science</th>
</tr>
<tr class="odd">
@@ -30,7 +30,7 @@
</tbody>
<tbody>
<tr class="odd">
-<th align="left" colspan="2">Russian Literature</th>
+<th colspan="2" align="left">Russian Literature</th>
</tr>
<tr class="odd">
@@ -40,7 +40,7 @@
</tbody>
<tbody>
<tr class="odd">
-<th align="left" colspan="2">Astrophysics</th>
+<th colspan="2" align="left">Astrophysics</th>
</tr>
<tr class="odd">
diff --git a/test/tables/students.html5 b/test/tables/students.html5
index af9e088fb..a7e0127c8 100644
--- a/test/tables/students.html5
+++ b/test/tables/students.html5
@@ -12,7 +12,7 @@
</thead>
<tbody class="souvereign-states">
<tr class="odd">
-<th style="text-align: left;" colspan="2">Computer Science</th>
+<th colspan="2" style="text-align: left;">Computer Science</th>
</tr>
<tr class="odd">
@@ -30,7 +30,7 @@
</tbody>
<tbody>
<tr class="odd">
-<th style="text-align: left;" colspan="2">Russian Literature</th>
+<th colspan="2" style="text-align: left;">Russian Literature</th>
</tr>
<tr class="odd">
@@ -40,7 +40,7 @@
</tbody>
<tbody>
<tr class="odd">
-<th style="text-align: left;" colspan="2">Astrophysics</th>
+<th colspan="2" style="text-align: left;">Astrophysics</th>
</tr>
<tr class="odd">