[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/HTML.pm (_default_format_nav
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/HTML.pm (_default_format_navigation_header), tp/Texinfo/XS/convert/convert_html.c (html_default_format_navigation_header): do not set cellpadding nor cellspacing for VERTICAL_HEAD_NAVIGATION, it is not really useful and, if set, should be set with CSS. Add classes. |
Date: |
Sun, 15 Sep 2024 17:57:22 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 50f93457f8 * tp/Texinfo/Convert/HTML.pm
(_default_format_navigation_header), tp/Texinfo/XS/convert/convert_html.c
(html_default_format_navigation_header): do not set cellpadding nor cellspacing
for VERTICAL_HEAD_NAVIGATION, it is not really useful and, if set, should be
set with CSS. Add classes.
50f93457f8 is described below
commit 50f93457f8ced5cddb793afb7963362a29497a8d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Sep 15 23:57:20 2024 +0200
* tp/Texinfo/Convert/HTML.pm (_default_format_navigation_header),
tp/Texinfo/XS/convert/convert_html.c
(html_default_format_navigation_header): do not set cellpadding nor
cellspacing for VERTICAL_HEAD_NAVIGATION, it is not really useful and,
if set, should be set with CSS. Add classes.
---
ChangeLog | 8 ++++++++
tp/Texinfo/Convert/HTML.pm | 9 +++++----
tp/Texinfo/XS/convert/convert_html.c | 16 +++++++++++++---
.../res_html/chapter.html | 4 ++--
.../res_html/index.html | 4 ++--
.../res_html/navigation_abt.html | 4 ++--
.../res_html/navigation_toc.html | 4 ++--
.../navigation_chapter_vertical/res_html/chapter.html | 4 ++--
.../navigation_chapter_vertical/res_html/index.html | 4 ++--
.../res_html/navigation_abt.html | 4 ++--
.../res_html/navigation_toc.html | 4 ++--
.../res_html/index.html | 4 ++--
.../res_html/navigation_abt.html | 4 ++--
.../res_html/navigation_toc.html | 4 ++--
.../navigation_node_vertical/res_html/chapter.html | 4 ++--
.../layout/navigation_node_vertical/res_html/index.html | 4 ++--
.../res_html/navigation_abt.html | 4 ++--
.../res_html/navigation_toc.html | 4 ++--
.../navigation_node_vertical/res_html/section.html | 4 ++--
.../navigation_node_vertical/res_html/subsection.html | 4 ++--
.../res_html/chapter.html | 4 ++--
.../res_html/index.html | 4 ++--
.../res_html/navigation_abt.html | 4 ++--
.../res_html/navigation_toc.html | 4 ++--
.../res_html/section.html | 4 ++--
.../navigation_section_vertical/res_html/chapter.html | 4 ++--
.../navigation_section_vertical/res_html/index.html | 4 ++--
.../res_html/navigation_abt.html | 4 ++--
.../res_html/navigation_toc.html | 4 ++--
.../navigation_section_vertical/res_html/section.html | 4 ++--
.../layout/navigation_vertical/res_html/navigation.html | 16 ++++++++--------
.../tex_html/res_parser/formatting_singular/chapter.html | 4 ++--
.../res_parser/formatting_singular/chapter2.html | 4 ++--
.../tex_html/res_parser/formatting_singular/index.htm | 4 ++--
.../formatting_singular/s_002d_002dect_002cion.html | 4 ++--
.../tex_html/res_parser/formatting_singular/sing_abt.htm | 4 ++--
.../tex_html/res_parser/formatting_singular/sing_fot.htm | 4 ++--
.../tex_html/res_parser/formatting_singular/sing_ovr.htm | 4 ++--
.../tex_html/res_parser/formatting_singular/sing_toc.htm | 4 ++--
.../res_parser/formatting_singular/subsection.html | 4 ++--
...subsection-_0060_0060simple_002ddouble_002d_002d.html | 4 ++--
...002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html | 4 ++--
42 files changed, 110 insertions(+), 91 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 238ce8f159..996f74974c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-09-15 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/HTML.pm (_default_format_navigation_header),
+ tp/Texinfo/XS/convert/convert_html.c
+ (html_default_format_navigation_header): do not set cellpadding nor
+ cellspacing for VERTICAL_HEAD_NAVIGATION, it is not really useful and,
+ if set, should be set with CSS. Add classes.
+
2024-09-15 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Convert/HTML.pm (_default_format_navigation_panel),
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index b39d21b6fc..001ddd397a 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -4635,10 +4635,11 @@ sub _default_format_navigation_header($$$$)
my $result = '';
if ($self->get_conf('VERTICAL_HEAD_NAVIGATION')) {
- $result .= '<table cellpadding="0" cellspacing="0">
-<tr>
-<td>
-';
+ $result .= $self->html_attribute_class('table',
+ ['vertical-navigation']).'>'."\n";
+ $result .= "<tr>\n";
+ $result .= $self->html_attribute_class('td',
+ ['vertical-navigation']).'>'."\n";
}
$result .= &{$self->formatting_function('format_navigation_panel')}($self,
$buttons, $cmdname, $element,
diff --git a/tp/Texinfo/XS/convert/convert_html.c
b/tp/Texinfo/XS/convert/convert_html.c
index 524ca4846f..3042026f1b 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -7986,6 +7986,10 @@ format_navigation_panel (CONVERTER *self,
}
}
+static char *vertical_navigation_array[] = {"vertical-navigation"};
+static const STRING_LIST vertical_navigation_classes
+ = {vertical_navigation_array, 1, 1};
+
void
html_default_format_navigation_header (CONVERTER *self,
const BUTTON_SPECIFICATION_LIST *buttons,
@@ -7997,9 +8001,15 @@ html_default_format_navigation_header (CONVERTER *self,
if (self->conf->VERTICAL_HEAD_NAVIGATION.o.integer > 0)
vertical = 1;
if (vertical)
- text_append (result,
- "<table cellpadding=\"0\" cellspacing=\"0\">\n"
- "<tr>\n<td>\n");
+ {
+ open_element_with_class (self, "table",
+ &vertical_navigation_classes, result);
+ text_append_n (result, "\n", 1);
+ text_append (result, "<tr>\n");
+ open_element_with_class (self, "td",
+ &vertical_navigation_classes, result);
+ text_append_n (result, "\n", 1);
+ }
/* keep the current index in result to be able to determine if text was
added by format_navigation_panel */
diff --git
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
index 7b4f54381f..8001a5f417 100644
---
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
+++
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="chapter-level-extent" id="chapter">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Beginning of this chapter
or previous chapter"> << </a>]</td>
diff --git
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html
index 28749cb96e..1bcd93f4d8 100644
---
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html
+++
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[ < ]</td>
diff --git
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
index 1e5332d8c9..3a42b3c82b 100644
---
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
+++
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
@@ -32,9 +32,9 @@ th.name-direction-about {border-width: thin;
border-bottom-style: solid; border-
<body lang="en">
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
index 70382a4396..f4c65dc233 100644
---
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
+++
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
@@ -24,9 +24,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en">
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html
b/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html
index f11189dd61..998c54f59b 100644
--- a/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="chapter-level-extent" id="chapter">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Beginning of this chapter
or previous chapter"> << </a>]</td>
diff --git
a/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html
b/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html
index 28749cb96e..1bcd93f4d8 100644
--- a/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[ < ]</td>
diff --git
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html
index 1e5332d8c9..3a42b3c82b 100644
---
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html
+++
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html
@@ -32,9 +32,9 @@ th.name-direction-about {border-width: thin;
border-bottom-style: solid; border-
<body lang="en">
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html
index 70382a4396..f4c65dc233 100644
---
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html
+++
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html
@@ -24,9 +24,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en">
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html
index bcd07462f9..e01eb8ca8c 100644
--- a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[ < ]</td>
diff --git
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
index 1b1f4858e9..f9d04f757f 100644
---
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
+++
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
@@ -32,9 +32,9 @@ th.name-direction-about {border-width: thin;
border-bottom-style: solid; border-
<body lang="en">
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
index 8984ecb719..f5c58c556e 100644
---
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
+++
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
@@ -24,9 +24,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en">
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git a/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html
b/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html
index 7f6ee80932..efe9039fb5 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="chapter-level-extent" id="chapter">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Beginning of this chapter
or previous chapter"> << </a>]</td>
diff --git a/tp/t/results/layout/navigation_node_vertical/res_html/index.html
b/tp/t/results/layout/navigation_node_vertical/res_html/index.html
index b5e7883147..3d3e024f6b 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/index.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[ < ]</td>
diff --git
a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html
b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html
index 1e5332d8c9..3a42b3c82b 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html
@@ -32,9 +32,9 @@ th.name-direction-about {border-width: thin;
border-bottom-style: solid; border-
<body lang="en">
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html
b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html
index c51932dcb1..72cd605f43 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html
@@ -24,9 +24,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en">
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git a/tp/t/results/layout/navigation_node_vertical/res_html/section.html
b/tp/t/results/layout/navigation_node_vertical/res_html/section.html
index 9be9c1cfc7..f7740aa934 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/section.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/section.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="section-level-extent" id="section">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="chapter.html" title="Beginning of this
chapter or previous chapter"> << </a>]</td>
diff --git
a/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html
b/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html
index 7925bd4767..a32c94ee84 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html
@@ -25,9 +25,9 @@ span:hover a.copiable-link {visibility: visible}
<body lang="en">
<div class="subsection-level-extent" id="subsection">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="chapter.html" title="Beginning of this
chapter or previous chapter"> << </a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
index 3cbedad4dd..9b5ea49299 100644
---
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
+++
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="chapter-level-extent" id="chapter">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Beginning of this chapter
or previous chapter"> << </a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html
index b5e7883147..3d3e024f6b 100644
---
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html
+++
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[ < ]</td>
diff --git
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
index 1e5332d8c9..3a42b3c82b 100644
---
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
+++
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
@@ -32,9 +32,9 @@ th.name-direction-about {border-width: thin;
border-bottom-style: solid; border-
<body lang="en">
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
index b04ad99393..86dfa5c0a5 100644
---
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
+++
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
@@ -24,9 +24,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en">
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
index df3c6a692c..12d04503a5 100644
---
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
+++
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="section-level-extent" id="section">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="chapter.html" title="Beginning of this
chapter or previous chapter"> << </a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html
b/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html
index 3cbedad4dd..9b5ea49299 100644
--- a/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="chapter-level-extent" id="chapter">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Beginning of this chapter
or previous chapter"> << </a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_vertical/res_html/index.html
b/tp/t/results/layout/navigation_section_vertical/res_html/index.html
index b5e7883147..3d3e024f6b 100644
--- a/tp/t/results/layout/navigation_section_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_section_vertical/res_html/index.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[ < ]</td>
diff --git
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html
index 1e5332d8c9..3a42b3c82b 100644
---
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html
+++
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html
@@ -32,9 +32,9 @@ th.name-direction-about {border-width: thin;
border-bottom-style: solid; border-
<body lang="en">
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html
index b04ad99393..86dfa5c0a5 100644
---
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html
+++
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html
@@ -24,9 +24,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en">
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="index.html" title="Cover (top) of
document">Top</a>]</td>
diff --git
a/tp/t/results/layout/navigation_section_vertical/res_html/section.html
b/tp/t/results/layout/navigation_section_vertical/res_html/section.html
index 9345e7868b..d29ba77efb 100644
--- a/tp/t/results/layout/navigation_section_vertical/res_html/section.html
+++ b/tp/t/results/layout/navigation_section_vertical/res_html/section.html
@@ -27,9 +27,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en">
<div class="section-level-extent" id="section">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="chapter.html" title="Beginning of this
chapter or previous chapter"> << </a>]</td>
diff --git a/tp/t/results/layout/navigation_vertical/res_html/navigation.html
b/tp/t/results/layout/navigation_vertical/res_html/navigation.html
index c961395916..ebf16db655 100644
--- a/tp/t/results/layout/navigation_vertical/res_html/navigation.html
+++ b/tp/t/results/layout/navigation_vertical/res_html/navigation.html
@@ -37,9 +37,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en">
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[ < ]</td>
@@ -74,9 +74,9 @@ ul.toc-numbered-mark {list-style: none}
</table>
<hr style="height: 6px;">
<div class="chapter-level-extent" id="chapter">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="#Top" title="Beginning of this chapter or
previous chapter"> << </a>]</td>
@@ -207,9 +207,9 @@ b b b b b b b b b b b b b b b b b b b b b bb b b b b b b
bb b bb.
</div>
</div>
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="#Top" title="Cover (top) of
document">Top</a>]</td>
@@ -245,9 +245,9 @@ b b b b b b b b b b b b b b b b b b b b b bb b b b b b b
bb b bb.
</table>
<hr>
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button">[<a href="#Top" title="Cover (top) of
document">Top</a>]</td>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
index 42e672dd22..26c1e8a5c4 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
@@ -913,9 +913,9 @@ ul.mark-none {list-style-type: none}
<body lang="en" background="../singular_images/Mybg.png">
<div class="chapter-level-extent" id="chapter">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
b/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
index f2db0b253b..7a49110c71 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
@@ -893,9 +893,9 @@ th.sections-header-printindex {text-align:left;
padding-left: 1em}
<body lang="en" background="../singular_images/Mybg.png">
<div class="centerchap-level-extent" id="chapter2">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/index.htm
b/tp/tests/tex_html/res_parser/formatting_singular/index.htm
index b312712de3..c3adbb9267 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/index.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/index.htm
@@ -896,9 +896,9 @@ th.menu-comment {text-align:left}
<div class="top-level-extent" id="Top">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
b/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
index bbce6d7cdb..f79229c887 100644
---
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
+++
b/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
@@ -888,9 +888,9 @@ th.menu-comment {text-align:left}
<body lang="en" background="../singular_images/Mybg.png">
<div class="section-level-extent" id="s_002d_002dect_002cion">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
b/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
index 4a0096cd58..e4c2b450e8 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
@@ -891,9 +891,9 @@ th.name-direction-about {border-width: thin;
border-bottom-style: solid; border-
<body lang="en" background="../singular_images/Mybg.png">
<div class="element-about" id="SEC_About">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
b/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
index 97bb68c62e..44c8945659 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
@@ -878,9 +878,9 @@ g-roupe
<body lang="en" background="../singular_images/Mybg.png">
<div class="element-footnotes" id="SEC_Footnotes">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
b/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
index e5d2a8b86d..d68442e616 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
@@ -883,9 +883,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en" background="../singular_images/Mybg.png">
<div class="element-shortcontents" id="SEC_Shortcontents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
b/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
index 46dc77d048..2bfa7dc4d5 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
@@ -883,9 +883,9 @@ ul.toc-numbered-mark {list-style: none}
<body lang="en" background="../singular_images/Mybg.png">
<div class="element-contents" id="SEC_Contents">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
b/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
index 1082a39714..d33c566213 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
@@ -886,9 +886,9 @@ td.menu-entry-destination {vertical-align: top}
<body lang="en" background="../singular_images/Mybg.png">
<div class="subsection-level-extent" id="subsection">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index 15ed498b2f..948c0f95bc 100644
---
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -884,9 +884,9 @@ span:hover a.copiable-link {visibility: visible}
<body lang="en" background="../singular_images/Mybg.png">
<div class="subsubsection-level-extent"
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
diff --git
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index ef0dd74a41..ca466c923e 100644
---
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -884,9 +884,9 @@ span:hover a.copiable-link {visibility: visible}
<body lang="en" background="../singular_images/Mybg.png">
<div class="subsubsection-level-extent"
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
-<table cellpadding="0" cellspacing="0">
+<table class="vertical-navigation">
<tr>
-<td>
+<td class="vertical-navigation">
<table class="nav-panel">
<tr>
<td class="nav-button"> <a href="index.htm"><img
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/HTML.pm (_default_format_navigation_header), tp/Texinfo/XS/convert/convert_html.c (html_default_format_navigation_header): do not set cellpadding nor cellspacing for VERTICAL_HEAD_NAVIGATION, it is not really useful and, if set, should be set with CSS. Add classes.,
Patrice Dumas <=