This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] search.html -- replace usage of <font>
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 16 Sep 2018 10:27:51 +0200 (CEST)
- Subject: [wwwdocs] search.html -- replace usage of <font>
Replace the usage of <font> (in favor of CSS and two design changes).
This makes this page validate as HTML 5 with a few unrelated warnings
around table cells.
Committed.
Gerald
Index: search.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/search.html,v
retrieving revision 1.196
diff -u -r1.196 search.html
--- search.html 2 Sep 2018 20:43:09 -0000 1.196
+++ search.html 16 Sep 2018 08:25:03 -0000
@@ -10,7 +10,6 @@
<h1><a href="index.html">GCC</a> detailed search</h1>
<hr />
<form method="get" action="https://gcc.gnu.org/cgi-bin/htsearch">
-<font size="-1">
Match: <select name="method">
<option value="boolean">Boolean expression</option>
<option selected="selected" value="and">All words</option>
@@ -33,7 +32,7 @@
<option value="revtitle">Title Z-A</option>
</select>
<a href="#syntax">Search-syntax</a>
-</font>
+
<br />
<input type="submit" value="Search:" />
<input type="text" size="50" name="words" value="" />
@@ -75,9 +74,7 @@
</select>
<br />
<!-- These "areas" are just the ones I could easily discern. -->
-<font size="-1">Web page areas:
-</font>
-<br />
+<span class="smaller">Web page areas:</span>
<input type="checkbox" name="restrict"
value="g/a|g/b|g/c|g/d|g/e|g/f|g/g|g/h|g/i|g/j|g/l|g/mi|g/n|g/p|g/r|g/s|g/ti|g/th|g/w" />
"Main" <a href="index.html">GCC</a>
@@ -85,37 +82,36 @@
<a href="onlinedocs/">
Documentation</a>
<br />
-<p>
-<font size="-1">
+<p class="smaller">
Mailing lists, including those for the old egcs project. Ticking a box is like marking all dates for that list:
-</font></p>
+</p>
<table>
<tr class="left">
<th>
<input type="checkbox" name="restrict" value="/ml/gcc/" />
-<font size="-1"> gcc</font>
+<span class="smaller"> gcc</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-bugs/" />
-<font size="-1"> ...-bugs</font>
+<span class="smaller"> ...-bugs</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-patches" />
-<font size="-1"> ...-patches</font>
+<span class="smaller"> ...-patches</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-help" />
-<font size="-1"> ...-help</font>
+<span class="smaller"> ...-help</span>
</th>
<th>
<!-- We do not want to match gcc-cvs-wwwdocs here, so keep the
final "/". -->
<input type="checkbox" name="restrict" value="/ml/gcc-cvs/" />
-<font size="-1"> ...-cvs</font>
+<span class="smaller"> ...-cvs</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-testresults" />
-<font size="-1"> ...-testresults</font>
+<span class="smaller"> ...-testresults</span>
</th>
</tr>
<tr class="left">
@@ -1209,23 +1205,23 @@
<tr class="left">
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-regression/" />
-<font size="-1"> ...-regression</font>
+<span class="smaller"> ...-regression</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-prs/" />
-<font size="-1"> ...-prs</font>
+<span class="smaller"> ...-prs</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-announce/" />
-<font size="-1"> ...-announce</font>
+<span class="smaller"> ...-announce</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/gcc-cvs-wwwdocs/" />
-<font size="-1"> ...-cvs-wwwdocs</font>
+<span class="smaller"> ...-cvs-wwwdocs</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/fortran/" />
-<font size="-1"> fortran</font>
+<span class="smaller"> fortran</span>
</th>
</tr>
<tr class="left">
@@ -1606,15 +1602,15 @@
<tr class="left">
<th>
<input type="checkbox" name="restrict" value="/ml/libstdc++/" />
-<font size="-1"> libstdc++</font>
+<span class="smaller"> libstdc++</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/libstdc++-cvs/" />
-<font size="-1"> ...-cvs</font>
+<span class="smaller"> ...-cvs</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/libstdc++-prs/" />
-<font size="-1"> ...-prs</font>
+<span class="smaller"> ...-prs</span>
</th>
</tr>
<tr class="left">
@@ -1901,19 +1897,19 @@
<tr class="left">
<th>
<input type="checkbox" name="restrict" value="/ml/java/" />
-<font size="-1"> java</font>
+<span class="smaller"> java</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/java-patches/" />
-<font size="-1"> ...-patches</font>
+<span class="smaller"> ...-patches</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/java-prs/" />
-<font size="-1"> ...-prs</font>
+<span class="smaller"> ...-prs</span>
</th>
<th>
<input type="checkbox" name="restrict" value="/ml/java-announce/" />
-<font size="-1"> ...-announce</font>
+<span class="smaller"> ...-announce</span>
</th>
</tr>
<tr class="left">