texinfo-commits
[Top][All Lists]
Advanced

[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_panel), tp/Texinfo/XS/convert/convert_html.c (html_default_format_navigation_panel), tp/Texinfo/XS/main/get_perl_info.c (html_get_button_specification_list), tp/maintain/regenerate_C_options_info.pl: handle a string passed for a buttons list customization variable. Handle an undef buttons list in C.
Date: Sat, 16 Mar 2024 13:08:09 -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 70c7ba8906 * tp/Texinfo/Convert/HTML.pm 
(_default_format_navigation_panel), tp/Texinfo/XS/convert/convert_html.c 
(html_default_format_navigation_panel), tp/Texinfo/XS/main/get_perl_info.c 
(html_get_button_specification_list), tp/maintain/regenerate_C_options_info.pl: 
handle a string passed for a buttons list customization variable.  Handle an 
undef buttons list in C.
70c7ba8906 is described below

commit 70c7ba8906df395c76449244285c350c851d0ddd
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Mar 16 18:08:09 2024 +0100

    * tp/Texinfo/Convert/HTML.pm (_default_format_navigation_panel),
    tp/Texinfo/XS/convert/convert_html.c
    (html_default_format_navigation_panel),
    tp/Texinfo/XS/main/get_perl_info.c
    (html_get_button_specification_list),
    tp/maintain/regenerate_C_options_info.pl: handle a string passed for a
    buttons list customization variable.  Handle an undef buttons list in
    C.
    
    * tp/Texinfo/Convert/HTML.pm (_default_format_navigation_panel)
    (_default_format_navigation_header),
    tp/Texinfo/XS/convert/convert_html.c
    (html_default_format_navigation_panel)
    (html_default_format_navigation_header): return an empty string instead
    of an empty <div> for navigation panel when the panel buttons is an
    empty string.  Do not output an horizontal rule if there is no
    navigation panel.
    
    * tp/Makefile.tres, tp/t/layout.t (navigation_test_undef_top_buttons)
    (navigation_test_zero_top_buttons): tests of TOP_BUTTONS set to undef
    and set to '0'.
---
 ChangeLog                                          |   24 +
 tp/Makefile.tres                                   |    4 +
 tp/Texinfo/Convert/HTML.pm                         |   23 +-
 tp/Texinfo/XS/convert/convert_html.c               |   23 +-
 tp/Texinfo/XS/main/get_perl_info.c                 |    5 +-
 tp/maintain/regenerate_C_options_info.pl           |    3 +-
 tp/t/layout.t                                      |    6 +
 tp/t/results/converters_tests/commands_in_sc.pl    |    4 -
 .../commands_in_settitle_with_title.pl             |    4 -
 tp/t/results/converters_tests/commands_in_var.pl   |    4 -
 tp/t/results/converters_tests/complex_nestings.pl  |    4 -
 .../converters_tests/definition_commands.pl        |    4 -
 .../results/converters_tests/footnote_no_number.pl |    4 -
 .../footnote_no_number_separate.pl                 |    6 -
 tp/t/results/converters_tests/form_feeds.pl        |    8 +-
 .../converters_tests/frenchspacing_and_code.pl     |    6 -
 tp/t/results/converters_tests/image_formatting.pl  |    4 -
 .../index_entry_in_preformatted.pl                 |    4 -
 tp/t/results/converters_tests/link.pl              |    6 +-
 tp/t/results/converters_tests/non_empty_part.pl    |    6 -
 .../non_empty_part_no_top_node_output.pl           |    8 +-
 .../reference_for_formatting_customizations.pl     |    4 -
 .../some_at_commands_in_ref_nodes.pl               |    4 -
 .../converters_tests/spaces_in_empty_node_names.pl |   10 +-
 .../converters_tests/spaces_in_node_names.pl       |   16 +-
 .../converters_tests/test_deftypefnnewline.pl      |    4 -
 .../test_formatting_customizations.pl              |    4 -
 tp/t/results/converters_tests/top_in_ref.pl        |    8 +-
 .../two_footnotes_in_nodes_separate.pl             |    2 -
 .../formats_encodings/accent_argument_non_ascii.pl |    4 -
 .../dotless_argument_non_ascii.pl                  |    4 -
 .../res_html/esseule.html                          |    5 +-
 .../res_html/esseule.html                          |    5 +-
 .../formats_encodings/verb_delimiter_not_ascii.pl  |    4 -
 tp/t/results/formats_encodings/weird_accents.pl    |    4 -
 .../weird_accents_disable_encoding.pl              |    4 -
 .../res_html/index.html                            |    5 -
 .../res_html/index.html                            |    4 -
 .../res_html/index.html                            |    4 -
 .../res_html/index.html                            |    5 -
 .../filenameconflictwithspecialelement-fot.html    |    5 -
 ...otnotestyle_separate_html_text_no_monolithic.pl |    8 -
 .../res_html/footnotestyle_separate_late_fot.html  |    5 -
 tp/t/results/html_tests/info_js_dir_html_text.pl   |    4 -
 .../res_html/node_footnote_fot.html                |    5 -
 tp/t/results/html_tests/ref_in_preformatted.pl     |    8 +-
 tp/t/results/html_tests/split_html_text.pl         |    6 -
 tp/t/results/html_tests/test_accents_sc_default.pl |    4 -
 .../html_tests/test_accents_sc_default_latin1.pl   |    4 -
 .../html_tests/test_accents_sc_default_usascii.pl  |    4 -
 .../html_tests/test_accents_sc_enable_encoding.pl  |    4 -
 .../test_accents_sc_enable_encoding_latin1.pl      |    4 -
 ...st_accents_sc_enable_encoding_to_utf8_latin1.pl |    4 -
 ...t_accents_sc_enable_encoding_to_utf8_usascii.pl |    4 -
 .../test_accents_sc_enable_encoding_usascii.pl     |    4 -
 .../html_tests/test_accents_sc_to_utf8_latin1.pl   |    4 -
 .../test_accents_sc_use_numeric_entity.pl          |    4 -
 .../htmlxref/htmlxref/res_html/test_refs.html      |    2 -
 .../htmlxref_only_mono/res_html/test_refs.html     |    2 -
 .../htmlxref_only_split/res_html/test_refs.html    |    2 -
 tp/t/results/indices/empty_added_index_entry.pl    |    8 +-
 tp/t/results/indices/empty_cindex_entry.pl         |    8 +-
 ...ndex_index_entry_in_copying_no_insertcopying.pl |    4 -
 .../res_html/documentation_examples_fot.html       |    5 -
 .../res_html/prepended_to_filenames-my-node.html   |    5 +-
 .../itemize/inter_item_commands_in_enumerate.pl    |    4 -
 .../itemize/inter_item_commands_in_itemize.pl      |    4 -
 .../layout/navigation_test_undef_top_buttons.pl    | 1153 ++++++++++++++++++++
 .../res_html/navigation.html                       |  277 +++++
 .../layout/navigation_test_zero_top_buttons.pl     | 1153 ++++++++++++++++++++
 .../res_html/navigation.html                       |  277 +++++
 tp/t/results/menu/sc_in_menu.pl                    |    4 +-
 .../codequoteundirected_codequotebacktick.pl       |    4 -
 tp/t/results/misc_commands/nodedescription.pl      |    4 -
 tp/t/results/misc_commands/ref_in_center.pl        |    4 -
 tp/t/results/misc_commands/test_allowcodebreaks.pl |    8 +-
 .../moresectioning/anchor_in_footnote_separate.pl  |    2 -
 ...anchor_in_footnote_separate_split_node_fot.html |    5 -
 .../moresectioning/only_special_spaces_node.pl     |    4 -
 ...ctions_test_no_use_nodes_use_node_directions.pl |   20 -
 .../chapter_between_nodes_with_appendix_nomenu.pl  |    2 -
 .../results/sectioning/double_node_anchor_float.pl |   10 +-
 ...double_recursive_self_section_node_reference.pl |    4 +-
 .../in_menu_only_special_ascii_spaces_node.pl      |    2 -
 .../in_menu_only_special_ascii_spaces_node_menu.pl |    2 -
 .../sectioning/in_menu_only_special_spaces_node.pl |    4 -
 .../in_menu_only_special_spaces_node_menu.pl       |    4 -
 ...ore_chapter_not_split_no_use_node_directions.pl |   10 +-
 .../sectioning/protected_node_parentheses.pl       |    2 -
 tp/t/results/xtable/block_commands_in_table.pl     |    4 -
 .../results/xtable/inter_item_commands_in_table.pl |    4 -
 .../formatting/res_parser/cpp_lines/cpp_lines.html |    8 +-
 92 files changed, 2961 insertions(+), 395 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 95d0ac5655..21e0bb1482 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2024-03-16  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (_default_format_navigation_panel),
+       tp/Texinfo/XS/convert/convert_html.c
+       (html_default_format_navigation_panel),
+       tp/Texinfo/XS/main/get_perl_info.c
+       (html_get_button_specification_list),
+       tp/maintain/regenerate_C_options_info.pl: handle a string passed for a
+       buttons list customization variable.  Handle an undef buttons list in
+       C.
+
+       * tp/Texinfo/Convert/HTML.pm (_default_format_navigation_panel)
+       (_default_format_navigation_header),
+       tp/Texinfo/XS/convert/convert_html.c
+       (html_default_format_navigation_panel)
+       (html_default_format_navigation_header): return an empty string instead
+       of an empty <div> for navigation panel when the panel buttons is an
+       empty string.  Do not output an horizontal rule if there is no
+       navigation panel.
+
+       * tp/Makefile.tres, tp/t/layout.t (navigation_test_undef_top_buttons)
+       (navigation_test_zero_top_buttons): tests of TOP_BUTTONS set to undef
+       and set to '0'.
+
 2024-03-15  Patrice Dumas  <pertusus@free.fr>
 
        * doc/texi2any_api.texi (Special Unit Body Formatting Functions): fix
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index a7f5f621e2..79fe542f0f 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -1292,6 +1292,10 @@ test_files_generated_list = 
$(test_tap_files_generated_list) \
   t/results/layout/navigation_section_vertical/res_html \
   t/results/layout/navigation_test_misc_file_collision.pl \
   t/results/layout/navigation_test_misc_file_collision/res_html \
+  t/results/layout/navigation_test_undef_top_buttons.pl \
+  t/results/layout/navigation_test_undef_top_buttons/res_html \
+  t/results/layout/navigation_test_zero_top_buttons.pl \
+  t/results/layout/navigation_test_zero_top_buttons/res_html \
   t/results/layout/navigation_vertical.pl \
   t/results/layout/navigation_vertical/res_html \
   t/results/layout/no_monolithic.pl \
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index b4d00dd816..d2ad06d5f5 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -4504,6 +4504,13 @@ sub _default_format_navigation_panel($$$$;$)
   my $source_command = shift;
   my $vertical = shift;
 
+  # a string may be passed, for instance through command line, therefore
+  # it is useful to test that $buttons is an array reference to avoid
+  # a Perl error message
+  if (ref($buttons) ne 'ARRAY') {
+    return '';
+  }
+
   # do the buttons first in case they are formatted as an empty string
   my $nr_of_buttons_shown = 0;
   my $result_buttons = '';
@@ -4526,7 +4533,7 @@ sub _default_format_navigation_panel($$$$;$)
       #  = &{$self->formatting_function('format_button')}($self, $button,
       #                                                   $source_command);
        = &{$self->{'formatting_function'}->{'format_button'}}($self, $button,
-                                                              $source_command);
+                                                            $source_command);
     if ($self->get_conf('HEADER_IN_TABLE')) {
       $result_buttons .= '<tr>'."\n" if $vertical;
       $result_buttons .= '<td>';
@@ -4551,6 +4558,10 @@ sub _default_format_navigation_panel($$$$;$)
     }
   }
 
+  if ($result_buttons eq '') {
+    return '';
+  }
+
   my $result = '';
 
   # if $vertical/VERTICAL_HEAD_NAVIGATION, the buttons are in a vertical
@@ -4563,9 +4574,7 @@ sub _default_format_navigation_panel($$$$;$)
     $result .= "<tr>" unless $vertical;
   } else {
     $result .= $self->html_attribute_class('div', ['nav-panel']).">\n";
-    if ($result_buttons ne '') {
-      $result .= "<p>\n";
-    }
+    $result .= "<p>\n";
   }
 
   $result .= $result_buttons;
@@ -4574,9 +4583,7 @@ sub _default_format_navigation_panel($$$$;$)
     $result .= "</tr>" unless $vertical;
     $result .= "</table>\n";
   } else {
-    if ($result_buttons ne '') {
-      $result .= "</p>\n";
-    }
+    $result .= "</p>\n";
     $result .= "</div>\n";
   }
   return $result;
@@ -4603,7 +4610,7 @@ sub _default_format_navigation_header($$$$)
     $result .= '</td>
 <td>
 ';
-  } elsif ($self->get_conf('SPLIT') eq 'node') {
+  } elsif ($self->get_conf('SPLIT') eq 'node' and $result ne '') {
     $result .= $self->get_conf('DEFAULT_RULE')."\n";
   }
   return $result;
diff --git a/tp/Texinfo/XS/convert/convert_html.c 
b/tp/Texinfo/XS/convert/convert_html.c
index 646c5ddb15..797cb20fb1 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -7689,6 +7689,9 @@ html_default_format_navigation_panel (CONVERTER *self,
   text_init (&result_buttons);
   text_append (&result_buttons, "");
 
+  if (!buttons)
+    return;
+
   for (i = 0; i < buttons->number; i++)
     {
       const BUTTON_SPECIFICATION *button = &buttons->list[i];
@@ -7747,6 +7750,12 @@ html_default_format_navigation_panel (CONVERTER *self,
       free (passive);
     }
 
+  if (result_buttons.end <= 0)
+    {
+      free (result_buttons.text);
+      return;
+    }
+
   if (self->conf->HEADER_IN_TABLE.integer > 0)
     {
       attribute_class = html_attribute_class (self, "table",
@@ -7766,8 +7775,7 @@ html_default_format_navigation_panel (CONVERTER *self,
       text_append_n (result, ">\n", 2);
       free (attribute_class);
 
-      if (result_buttons.end > 0)
-        text_append_n (result, "<p>\n", 4);
+      text_append_n (result, "<p>\n", 4);
     }
 
   text_append (result, result_buttons.text);
@@ -7780,9 +7788,7 @@ html_default_format_navigation_panel (CONVERTER *self,
     }
   else
     {
-      if (result_buttons.end > 0)
-        text_append_n (result, "</p>\n", 5);
-
+      text_append_n (result, "</p>\n", 5);
       text_append_n (result, "</div>\n", 7);
     }
   free (result_buttons.text);
@@ -7819,6 +7825,7 @@ html_default_format_navigation_header (CONVERTER *self,
                           const ELEMENT *element, TEXT *result)
 {
   int vertical = 0;
+  size_t result_text_index;
   if (self->conf->VERTICAL_HEAD_NAVIGATION.integer > 0)
     vertical = 1;
   if (vertical)
@@ -7826,11 +7833,15 @@ html_default_format_navigation_header (CONVERTER *self,
      "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n"
      "<tr>\n<td>\n");
 
+  /* keep the current index in result to be able to determine if text was
+     added by format_navigation_panel */
+  result_text_index = result->end;
   format_navigation_panel (self, buttons, cmdname, element, vertical, result);
 
   if (vertical)
     text_append (result, "</td>\n<td>\n");
-  else if (!strcmp (self->conf->SPLIT.string, "node"))
+  else if (!strcmp (self->conf->SPLIT.string, "node")
+           && result->end > result_text_index)
     {
       text_append (result, self->conf->DEFAULT_RULE.string);
       text_append_n (result, "\n", 1);
diff --git a/tp/Texinfo/XS/main/get_perl_info.c 
b/tp/Texinfo/XS/main/get_perl_info.c
index fc3fba9521..9d3b2f4e92 100644
--- a/tp/Texinfo/XS/main/get_perl_info.c
+++ b/tp/Texinfo/XS/main/get_perl_info.c
@@ -1040,7 +1040,10 @@ html_get_button_specification_list (const CONVERTER 
*converter,
 
   dTHX;
 
-  if (!SvOK (buttons_sv))
+  /* a string may be passed, for instance through command line, therefore
+     it is useful to test that buttons_sv is an array reference */
+  if (!SvOK (buttons_sv) || !SvROK (buttons_sv)
+      || SvTYPE (SvRV (buttons_sv)) != SVt_PVAV)
     return 0;
 
   result = (BUTTON_SPECIFICATION_LIST *)
diff --git a/tp/maintain/regenerate_C_options_info.pl 
b/tp/maintain/regenerate_C_options_info.pl
index c3d4dbe4e2..9ee0a033dc 100755
--- a/tp/maintain/regenerate_C_options_info.pl
+++ b/tp/maintain/regenerate_C_options_info.pl
@@ -342,7 +342,8 @@ foreach my $category (sort(keys(%option_categories))) {
         }
 
       options->$option.buttons = html_get_button_specification_list 
(converter, value);
-      options->BIT_user_function_number += 
options->$option.buttons->BIT_user_function_number;
+      if (options->$option.buttons)
+        options->BIT_user_function_number += 
options->$option.buttons->BIT_user_function_number;
     }\n";
     } elsif ($type eq 'icons') {
       print GET "      html_free_direction_icons (options->$option.icons);
diff --git a/tp/t/layout.t b/tp/t/layout.t
index c6577b67f9..26676d1a2b 100644
--- a/tp/t/layout.t
+++ b/tp/t/layout.t
@@ -93,6 +93,12 @@ my @test_cases = (
           'init_files' => ['misc_file_collision.init'] },
   {'SPLIT' => 'node'},
 ],
+['navigation_test_undef_top_buttons',
+  undef, {'test_file' => 'navigation.texi',},
+  {'TOP_BUTTONS' => undef }],
+['navigation_test_zero_top_buttons',
+  undef, {'test_file' => 'navigation.texi',},
+  {'TOP_BUTTONS' => '0' }],
 );
 
 foreach my $test (@test_cases) {
diff --git a/tp/t/results/converters_tests/commands_in_sc.pl 
b/tp/t/results/converters_tests/commands_in_sc.pl
index f8c8f1a624..ffa912f7ee 100644
--- a/tp/t/results/converters_tests/commands_in_sc.pl
+++ b/tp/t/results/converters_tests/commands_in_sc.pl
@@ -840,8 +840,6 @@ $result_converted_errors{'plaintext'}->{'commands_in_sc'} = 
[
 
 
 $result_converted{'html_text'}->{'commands_in_sc'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="commands-in-sc"><span>commands in sc<a 
class="copiable-link" href="#commands-in-sc"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -849,8 +847,6 @@ $result_converted{'html_text'}->{'commands_in_sc'} = '<div 
class="top-level-exte
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chap-1"><span>1 chap<a class="copiable-link" 
href="#chap-1"> &para;</a></span></h2>
 
 <p><small class="sc">A &Ntilde; &Aring; TeX <img class="image" 
src="myimage.jpg" alt="myimage"> <a class="ref" href="#chap">chap</a> SEE <a 
data-manual="F" href="f.html#node">(f)node</a>
diff --git a/tp/t/results/converters_tests/commands_in_settitle_with_title.pl 
b/tp/t/results/converters_tests/commands_in_settitle_with_title.pl
index 9d81b107c5..9781d11fb3 100644
--- a/tp/t/results/converters_tests/commands_in_settitle_with_title.pl
+++ b/tp/t/results/converters_tests/commands_in_settitle_with_title.pl
@@ -538,8 +538,6 @@ 
$result_converted{'html_text'}->{'commands_in_settitle_with_title'} = '<h1 class
 <hr>
 
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -547,8 +545,6 @@ 
$result_converted{'html_text'}->{'commands_in_settitle_with_title'} = '<h1 class
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link" 
href="#Chap"> &para;</a></span></h2>
 
 <p>Document.
diff --git a/tp/t/results/converters_tests/commands_in_var.pl 
b/tp/t/results/converters_tests/commands_in_var.pl
index 6716e9d842..ee8fa1f23c 100644
--- a/tp/t/results/converters_tests/commands_in_var.pl
+++ b/tp/t/results/converters_tests/commands_in_var.pl
@@ -840,8 +840,6 @@ $result_converted_errors{'plaintext'}->{'commands_in_var'} 
= [
 
 
 $result_converted{'html_text'}->{'commands_in_var'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="commands-in-var"><span>commands in var<a 
class="copiable-link" href="#commands-in-var"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -849,8 +847,6 @@ $result_converted{'html_text'}->{'commands_in_var'} = '<div 
class="top-level-ext
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chap-1"><span>1 chap<a class="copiable-link" 
href="#chap-1"> &para;</a></span></h2>
 
 <p><var class="var">a &ntilde; &aring; TeX <img class="image" 
src="myimage.jpg" alt="myimage"> <a class="ref" href="#chap">chap</a> See <a 
data-manual="f" href="f.html#node">(f)node</a>
diff --git a/tp/t/results/converters_tests/complex_nestings.pl 
b/tp/t/results/converters_tests/complex_nestings.pl
index 0bd3b5fb63..09e06dd0b6 100644
--- a/tp/t/results/converters_tests/complex_nestings.pl
+++ b/tp/t/results/converters_tests/complex_nestings.pl
@@ -1269,8 +1269,6 @@ $result_converted{'plaintext'}->{'complex_nestings'} = 
'top
 
 
 $result_converted{'html_text'}->{'complex_nestings'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1278,8 +1276,6 @@ $result_converted{'html_text'}->{'complex_nestings'} = 
'<div class="top-level-ex
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <div class="example">
diff --git a/tp/t/results/converters_tests/definition_commands.pl 
b/tp/t/results/converters_tests/definition_commands.pl
index fb89b4b061..8f13c5e745 100644
--- a/tp/t/results/converters_tests/definition_commands.pl
+++ b/tp/t/results/converters_tests/definition_commands.pl
@@ -17668,8 +17668,6 @@ produces:
 
 
 $result_converted{'html_text'}->{'definition_commands'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -17677,8 +17675,6 @@ $result_converted{'html_text'}->{'definition_commands'} 
= '<div class="top-level
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter-1"><span>1 chapter<a class="copiable-link" 
href="#chapter-1"> &para;</a></span></h2>
 
 <dl class="first-deffn">
diff --git a/tp/t/results/converters_tests/footnote_no_number.pl 
b/tp/t/results/converters_tests/footnote_no_number.pl
index 73f1a88bb9..77f12a6557 100644
--- a/tp/t/results/converters_tests/footnote_no_number.pl
+++ b/tp/t/results/converters_tests/footnote_no_number.pl
@@ -367,8 +367,6 @@ Para(*).
 
 
 $result_converted{'html_text'}->{'footnote_no_number'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -376,8 +374,6 @@ $result_converted{'html_text'}->{'footnote_no_number'} = 
'<div class="top-level-
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <p>Para<a class="footnote" id="DOCF1" href="#FOOT1"><sup>*</sup></a>.
diff --git a/tp/t/results/converters_tests/footnote_no_number_separate.pl 
b/tp/t/results/converters_tests/footnote_no_number_separate.pl
index 7d54914cd5..e83f27f50a 100644
--- a/tp/t/results/converters_tests/footnote_no_number_separate.pl
+++ b/tp/t/results/converters_tests/footnote_no_number_separate.pl
@@ -365,8 +365,6 @@ Para(*) (*note chap-Footnote-1::).
 
 
 $result_converted{'html_text'}->{'footnote_no_number_separate'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -374,8 +372,6 @@ 
$result_converted{'html_text'}->{'footnote_no_number_separate'} = '<div class="t
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <p>Para<a class="footnote" id="DOCF1" href="#FOOT1"><sup>*</sup></a>.
@@ -385,8 +381,6 @@ 
$result_converted{'html_text'}->{'footnote_no_number_separate'} = '<div class="t
 </div>
 </div>
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" href="#DOCF1">(*)</a></h5>
diff --git a/tp/t/results/converters_tests/form_feeds.pl 
b/tp/t/results/converters_tests/form_feeds.pl
index b185ec7fd5..d798dcb3ec 100644
--- a/tp/t/results/converters_tests/form_feeds.pl
+++ b/tp/t/results/converters_tests/form_feeds.pl
@@ -1385,14 +1385,10 @@ type 1
 ';
 
 
-$result_converted{'html_text'}->{'form_feeds'} = '<a class="node-id" 
id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+$result_converted{'html_text'}->{'form_feeds'} = '<h1 class="node" 
id="Top"><span>Top<a class="copiable-link" href="#Top"> &para;</a></span></h1>
 
 <hr>
-<a class="node-id" id="chap-node"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap&#12;node<a class="copiable-link" 
href="#chap-node"> &para;</a></span></h4>
+<h4 class="node" id="chap-node"><span>chap&#12;node<a class="copiable-link" 
href="#chap-node"> &para;</a></span></h4>
 
 &#12; &#12;
 
diff --git a/tp/t/results/converters_tests/frenchspacing_and_code.pl 
b/tp/t/results/converters_tests/frenchspacing_and_code.pl
index 5c1f9661b1..dd3f8c3fe4 100644
--- a/tp/t/results/converters_tests/frenchspacing_and_code.pl
+++ b/tp/t/results/converters_tests/frenchspacing_and_code.pl
@@ -2015,8 +2015,6 @@ In text w: z?  n; p.  fn
 $result_converted{'html_text'}->{'frenchspacing_and_code'} = '
 
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -2025,8 +2023,6 @@ 
$result_converted{'html_text'}->{'frenchspacing_and_code'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter-frenchspacing">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chap-frenchspacing"><span>1 Chap frenchspacing<a 
class="copiable-link" href="#Chap-frenchspacing"> &para;</a></span></h2>
 
 <p>In text w: z? n; p. f
@@ -2050,8 +2046,6 @@ 
$result_converted{'html_text'}->{'frenchspacing_and_code'} = '
 <hr>
 </div>
 <div class="chapter-level-extent" id="chap-no">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chap-no"><span>2 Chap no<a class="copiable-link" 
href="#Chap-no"> &para;</a></span></h2>
 
 <p>In text w: z? n; p. fn 
diff --git a/tp/t/results/converters_tests/image_formatting.pl 
b/tp/t/results/converters_tests/image_formatting.pl
index 2207db9ff8..c989019d1f 100644
--- a/tp/t/results/converters_tests/image_formatting.pl
+++ b/tp/t/results/converters_tests/image_formatting.pl
@@ -1978,8 +1978,6 @@ Image description""\\.
 
 
 $result_converted{'html_text'}->{'image_formatting'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1987,8 +1985,6 @@ $result_converted{'html_text'}->{'image_formatting'} = 
'<div class="top-level-ex
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <p><code class="code">@image{f--ile}</code> <img class="image" 
src="f--ile.png" alt="f--ile">
diff --git a/tp/t/results/converters_tests/index_entry_in_preformatted.pl 
b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
index 38072de43f..d9ae70784f 100644
--- a/tp/t/results/converters_tests/index_entry_in_preformatted.pl
+++ b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
@@ -488,8 +488,6 @@ 
$result_converted{'plaintext'}->{'index_entry_in_preformatted'} = 'top
 
 
 $result_converted{'html_text'}->{'index_entry_in_preformatted'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -497,8 +495,6 @@ 
$result_converted{'html_text'}->{'index_entry_in_preformatted'} = '<div class="t
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <div class="example">
diff --git a/tp/t/results/converters_tests/link.pl 
b/tp/t/results/converters_tests/link.pl
index 4530929e2c..9462f2b749 100644
--- a/tp/t/results/converters_tests/link.pl
+++ b/tp/t/results/converters_tests/link.pl
@@ -672,16 +672,12 @@ xrefautomaticsectiontitle off
 
 
 $result_converted{'html_text'}->{'link'} = '<div class="chapter-level-extent" 
id="One">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="ONEX"><span>1 ONEX<a class="copiable-link" 
href="#ONEX"> &para;</a></span></h2>
 
 <p>target node
 </p>
 <hr>
-<a class="node-id" id="Two"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>Two<a class="copiable-link" href="#Two"> 
&para;</a></span></h4>
+<h4 class="node" id="Two"><span>Two<a class="copiable-link" href="#Two"> 
&para;</a></span></h4>
 
 <p>xrefautomaticsectiontitle off
 </p>
diff --git a/tp/t/results/converters_tests/non_empty_part.pl 
b/tp/t/results/converters_tests/non_empty_part.pl
index 3a31f2d659..99cc2b1970 100644
--- a/tp/t/results/converters_tests/non_empty_part.pl
+++ b/tp/t/results/converters_tests/non_empty_part.pl
@@ -1349,8 +1349,6 @@ Content VI
 
 
 $result_converted{'html_text'}->{'non_empty_part'} = '<div 
class="part-level-extent" id="part-before">
-<div class="nav-panel">
-</div>
 <h1 class="part"><span>part before<a class="copiable-link" 
href="#part-before"> &para;</a></span></h1>
 <hr>
 
@@ -1378,8 +1376,6 @@ $result_converted{'html_text'}->{'non_empty_part'} = 
'<div class="part-level-ext
 </div>
 </div>
 <div class="part-level-extent" id="Part-II">
-<div class="nav-panel">
-</div>
 <h1 class="part"><span>Part II<a class="copiable-link" href="#Part-II"> 
&para;</a></span></h1>
 <hr>
 
@@ -1423,8 +1419,6 @@ $result_converted{'html_text'}->{'non_empty_part'} = 
'<div class="part-level-ext
 </div>
 </div>
 <div class="part-level-extent" id="Part-VI">
-<div class="nav-panel">
-</div>
 <h1 class="part"><span>Part VI<a class="copiable-link" href="#Part-VI"> 
&para;</a></span></h1>
 <hr>
 
diff --git a/tp/t/results/converters_tests/non_empty_part_no_top_node_output.pl 
b/tp/t/results/converters_tests/non_empty_part_no_top_node_output.pl
index 9c13843508..7176df5f97 100644
--- a/tp/t/results/converters_tests/non_empty_part_no_top_node_output.pl
+++ b/tp/t/results/converters_tests/non_empty_part_no_top_node_output.pl
@@ -1316,9 +1316,7 @@ $result_floats{'non_empty_part_no_top_node_output'} = {};
 
 
 
-$result_converted{'html_text'}->{'non_empty_part_no_top_node_output'} = '<a 
class="part" id="part-before"></a><div class="nav-panel">
-</div>
-<a class="node" id="Top"></a><a class="top" id="top"></a><div 
class="part-level-extent" id="part-I">
+$result_converted{'html_text'}->{'non_empty_part_no_top_node_output'} = '<a 
class="part" id="part-before"></a><a class="node" id="Top"></a><a class="top" 
id="top"></a><div class="part-level-extent" id="part-I">
 <h1 class="part"><span>part I<a class="copiable-link" href="#part-I"> 
&para;</a></span></h1>
 <hr>
 
@@ -1334,8 +1332,6 @@ 
$result_converted{'html_text'}->{'non_empty_part_no_top_node_output'} = '<a clas
 </div>
 </div>
 <div class="part-level-extent" id="Part-II">
-<div class="nav-panel">
-</div>
 <h1 class="part"><span>Part II<a class="copiable-link" href="#Part-II"> 
&para;</a></span></h1>
 <hr>
 
@@ -1379,8 +1375,6 @@ 
$result_converted{'html_text'}->{'non_empty_part_no_top_node_output'} = '<a clas
 </div>
 </div>
 <div class="part-level-extent" id="Part-VI">
-<div class="nav-panel">
-</div>
 <h1 class="part"><span>Part VI<a class="copiable-link" href="#Part-VI"> 
&para;</a></span></h1>
 <hr>
 
diff --git 
a/tp/t/results/converters_tests/reference_for_formatting_customizations.pl 
b/tp/t/results/converters_tests/reference_for_formatting_customizations.pl
index 1c35f0522e..71b08844dd 100644
--- a/tp/t/results/converters_tests/reference_for_formatting_customizations.pl
+++ b/tp/t/results/converters_tests/reference_for_formatting_customizations.pl
@@ -355,8 +355,6 @@ 
$result_converted{'plaintext'}->{'reference_for_formatting_customizations'} = 't
 
 
 $result_converted{'html_text'}->{'reference_for_formatting_customizations'} = 
'<div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -364,8 +362,6 @@ 
$result_converted{'html_text'}->{'reference_for_formatting_customizations'} = '<
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapt">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link" 
href="#Chap"> &para;</a></span></h2>
 
 <p>&Aring; &equiv; @ &copy;
diff --git a/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl 
b/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
index 0f92be61b2..6f828a81f7 100644
--- a/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
+++ b/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
@@ -1501,8 +1501,6 @@ see *note (manual)a *strong* ref with SC, a i trema ï, a 
dotless i trema
 
 $result_converted{'html_text'}->{'some_at_commands_in_ref_nodes'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="Top-1"><span>Top<a class="copiable-link" href="#Top-1"> 
&para;</a></span></h1>
 
 
@@ -1511,8 +1509,6 @@ 
$result_converted{'html_text'}->{'some_at_commands_in_ref_nodes'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" 
id="A-sc-_00f1-_00e5-TeX-node-_00ef-_00ef-_1e14-_0142-_1e08-_00a1">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="A-sc-node-i-i-E-l-C-_00a1"><span>1 A <small 
class="sc">SC</small> node &iuml; &iuml; &#274;&#768; &#322; &#262;&#807; 
&iexcl;<a class="copiable-link" href="#A-sc-node-i-i-E-l-C-_00a1"> 
&para;</a></span></h2>
 
 <p>see <a data-manual="manual" 
href="manual.html#a-strong-ref-with-sc_002c-a-i-trema-_00ef_002c-a-dotless-i-trema-_00ef-_1e14-and-exclamdown-_00a1">(manual)a
 <strong class="strong">strong</strong> ref with <small class="sc">SC</small>, 
a i trema &iuml;, a dotless i trema &iuml; &#274;&#768; and exclamdown 
&iexcl;</a>.
diff --git a/tp/t/results/converters_tests/spaces_in_empty_node_names.pl 
b/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
index b946e49cfc..62778860e2 100644
--- a/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
+++ b/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
@@ -701,22 +701,14 @@ 
$result_converted{'plaintext'}->{'spaces_in_empty_node_names'} = '*note   ::
 ';
 
 
-$result_converted{'html_text'}->{'spaces_in_empty_node_names'} = '<a 
class="node-id" id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+$result_converted{'html_text'}->{'spaces_in_empty_node_names'} = '<h1 
class="node" id="Top"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
 
 
 <hr>
-<div class="nav-panel">
-</div>
 
 <hr>
-<div class="nav-panel">
-</div>
 
 <hr>
-<div class="nav-panel">
-</div>
 
 <p>&lsquo;&nbsp;&nbsp;&rsquo;
 </p>
diff --git a/tp/t/results/converters_tests/spaces_in_node_names.pl 
b/tp/t/results/converters_tests/spaces_in_node_names.pl
index aba794dd09..993bb0ac91 100644
--- a/tp/t/results/converters_tests/spaces_in_node_names.pl
+++ b/tp/t/results/converters_tests/spaces_in_node_names.pl
@@ -775,25 +775,17 @@ $result_converted{'plaintext'}->{'spaces_in_node_names'} 
= '*note chap  ::
 ';
 
 
-$result_converted{'html_text'}->{'spaces_in_node_names'} = '<a class="node-id" 
id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+$result_converted{'html_text'}->{'spaces_in_node_names'} = '<h1 class="node" 
id="Top"><span>Top<a class="copiable-link" href="#Top"> &para;</a></span></h1>
 
 
 <hr>
-<a class="node-id" id="chap-"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap&nbsp;&nbsp;<a class="copiable-link" href="#chap-"> 
&para;</a></span></h4>
+<h4 class="node" id="chap-"><span>chap&nbsp;&nbsp;<a class="copiable-link" 
href="#chap-"> &para;</a></span></h4>
 
 <hr>
-<a class="node-id" id="b-"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>b<code class="verb">&nbsp;&nbsp;</code><a 
class="copiable-link" href="#b-"> &para;</a></span></h4>
+<h4 class="node" id="b-"><span>b<code class="verb">&nbsp;&nbsp;</code><a 
class="copiable-link" href="#b-"> &para;</a></span></h4>
 
 <hr>
-<a class="node-id" id="c-"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>c&nbsp;<!-- /@w --><a class="copiable-link" href="#c-"> 
&para;</a></span></h4>
+<h4 class="node" id="c-"><span>c&nbsp;<!-- /@w --><a class="copiable-link" 
href="#c-"> &para;</a></span></h4>
 
 <p><a class="ref" href="#chap-">chap&nbsp;&nbsp;</a>
 </p>
diff --git a/tp/t/results/converters_tests/test_deftypefnnewline.pl 
b/tp/t/results/converters_tests/test_deftypefnnewline.pl
index 397b215bf9..416374e0d5 100644
--- a/tp/t/results/converters_tests/test_deftypefnnewline.pl
+++ b/tp/t/results/converters_tests/test_deftypefnnewline.pl
@@ -2766,8 +2766,6 @@ $result_converted{'plaintext'}->{'test_deftypefnnewline'} 
= 'top
 $result_converted{'html_text'}->{'test_deftypefnnewline'} = '
 
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -2775,8 +2773,6 @@ $result_converted{'html_text'}->{'test_deftypefnnewline'} 
= '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chap"><span>1 chap<a class="copiable-link" 
href="#chap"> &para;</a></span></h2>
 
 <dl class="first-deftypefn first-deftypefun-alias-first-deftypefn">
diff --git a/tp/t/results/converters_tests/test_formatting_customizations.pl 
b/tp/t/results/converters_tests/test_formatting_customizations.pl
index 719b0f12da..b69052823b 100644
--- a/tp/t/results/converters_tests/test_formatting_customizations.pl
+++ b/tp/t/results/converters_tests/test_formatting_customizations.pl
@@ -355,8 +355,6 @@ Chap
 
 
 $result_converted{'html_text'}->{'test_formatting_customizations'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -364,8 +362,6 @@ 
$result_converted{'html_text'}->{'test_formatting_customizations'} = '<div class
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapt">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chap"><span>Chap<a class="copiable-link" href="#Chap"> 
&para;</a></span></h2>
 
 <p>&Aring; &equiv; @ &copy;
diff --git a/tp/t/results/converters_tests/top_in_ref.pl 
b/tp/t/results/converters_tests/top_in_ref.pl
index f184afc640..4e67efff20 100644
--- a/tp/t/results/converters_tests/top_in_ref.pl
+++ b/tp/t/results/converters_tests/top_in_ref.pl
@@ -3063,14 +3063,10 @@ name)Top::
 ';
 
 
-$result_converted{'html_text'}->{'top_in_ref'} = '<a class="node-id" 
id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+$result_converted{'html_text'}->{'top_in_ref'} = '<h1 class="node" 
id="Top"><span>Top<a class="copiable-link" href="#Top"> &para;</a></span></h1>
 
 <hr>
-<a class="node-id" id="chap-refs-node"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap refs node<a class="copiable-link" 
href="#chap-refs-node"> &para;</a></span></h4>
+<h4 class="node" id="chap-refs-node"><span>chap refs node<a 
class="copiable-link" href="#chap-refs-node"> &para;</a></span></h4>
 
 <p><code class="code">@ref{Top,cross ref name}</code> <a class="ref" 
href="#Top">cross ref name</a>
 <code class="code">@ref{Top,,title}</code> <a class="ref" href="#Top">title</a>
diff --git a/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl 
b/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
index ce60f92ec4..e585bacc9c 100644
--- a/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
+++ b/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
@@ -714,8 +714,6 @@ Previous: <a href="#Top" accesskey="p" rel="prev">2 
footnotes in 2 nodes</a>, Up
 </div>
 </div>
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" href="#DOCF1">(1)</a></h5>
diff --git a/tp/t/results/formats_encodings/accent_argument_non_ascii.pl 
b/tp/t/results/formats_encodings/accent_argument_non_ascii.pl
index 670bba8f15..17864e1956 100644
--- a/tp/t/results/formats_encodings/accent_argument_non_ascii.pl
+++ b/tp/t/results/formats_encodings/accent_argument_non_ascii.pl
@@ -326,8 +326,6 @@ 
$result_converted{'plaintext'}->{'accent_argument_non_ascii'} = 'top
 
 
 $result_converted{'html_text'}->{'accent_argument_non_ascii'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -335,8 +333,6 @@ 
$result_converted{'html_text'}->{'accent_argument_non_ascii'} = '<div class="top
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 <p>ê&#769;
 ê&#769;
diff --git a/tp/t/results/formats_encodings/dotless_argument_non_ascii.pl 
b/tp/t/results/formats_encodings/dotless_argument_non_ascii.pl
index d2ee273eae..dacc5aec99 100644
--- a/tp/t/results/formats_encodings/dotless_argument_non_ascii.pl
+++ b/tp/t/results/formats_encodings/dotless_argument_non_ascii.pl
@@ -346,8 +346,6 @@ 
$result_converted{'plaintext'}->{'dotless_argument_non_ascii'} = 'top
 
 
 $result_converted{'html_text'}->{'dotless_argument_non_ascii'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -355,8 +353,6 @@ 
$result_converted{'html_text'}->{'dotless_argument_non_ascii'} = '<div class="to
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 <p>ê
 ê
diff --git 
a/tp/t/results/formats_encodings/manual_simple_latin1_with_error/res_html/esseule.html
 
b/tp/t/results/formats_encodings/manual_simple_latin1_with_error/res_html/esseule.html
index 6f7fb11d7f..84e6b62217 100644
--- 
a/tp/t/results/formats_encodings/manual_simple_latin1_with_error/res_html/esseule.html
+++ 
b/tp/t/results/formats_encodings/manual_simple_latin1_with_error/res_html/esseule.html
@@ -23,10 +23,7 @@ span:hover a.copiable-link {visibility: visible}
 </head>
 
 <body lang="en">
-<a class="node-id" id="g_t_00e9sseul_00e9"></a><div class="nav-panel">
-</div>
-<hr>
-<h4 class="node"><span>�sseul�<a class="copiable-link" 
href="#g_t_00e9sseul_00e9"> &para;</a></span></h4>
+<h4 class="node" id="g_t_00e9sseul_00e9"><span>�sseul�<a class="copiable-link" 
href="#g_t_00e9sseul_00e9"> &para;</a></span></h4>
 
 
 
diff --git 
a/tp/t/results/formats_encodings/manual_simple_utf8_with_error/res_html/esseule.html
 
b/tp/t/results/formats_encodings/manual_simple_utf8_with_error/res_html/esseule.html
index b9006aaaba..045206c5f0 100644
--- 
a/tp/t/results/formats_encodings/manual_simple_utf8_with_error/res_html/esseule.html
+++ 
b/tp/t/results/formats_encodings/manual_simple_utf8_with_error/res_html/esseule.html
@@ -23,10 +23,7 @@ span:hover a.copiable-link {visibility: visible}
 </head>
 
 <body lang="en">
-<a class="node-id" id="g_t_00e9sseul_00e9"></a><div class="nav-panel">
-</div>
-<hr>
-<h4 class="node"><span>ésseulé<a class="copiable-link" 
href="#g_t_00e9sseul_00e9"> &para;</a></span></h4>
+<h4 class="node" id="g_t_00e9sseul_00e9"><span>ésseulé<a class="copiable-link" 
href="#g_t_00e9sseul_00e9"> &para;</a></span></h4>
 
 
 
diff --git a/tp/t/results/formats_encodings/verb_delimiter_not_ascii.pl 
b/tp/t/results/formats_encodings/verb_delimiter_not_ascii.pl
index 7fe29b244e..8bb5ddcadd 100644
--- a/tp/t/results/formats_encodings/verb_delimiter_not_ascii.pl
+++ b/tp/t/results/formats_encodings/verb_delimiter_not_ascii.pl
@@ -308,8 +308,6 @@ 
$result_converted{'plaintext'}->{'verb_delimiter_not_ascii'} = 'top
 
 
 $result_converted{'html_text'}->{'verb_delimiter_not_ascii'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -317,8 +315,6 @@ 
$result_converted{'html_text'}->{'verb_delimiter_not_ascii'} = '<div class="top-
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 <p><code class="verb">&nbsp;some&nbsp;text&nbsp;</code>
 </p></div>
diff --git a/tp/t/results/formats_encodings/weird_accents.pl 
b/tp/t/results/formats_encodings/weird_accents.pl
index 9b224adf30..afc9cbea8a 100644
--- a/tp/t/results/formats_encodings/weird_accents.pl
+++ b/tp/t/results/formats_encodings/weird_accents.pl
@@ -614,8 +614,6 @@ i~=
 
 $result_converted{'html_text'}->{'weird_accents'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -623,8 +621,6 @@ $result_converted{'html_text'}->{'weird_accents'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <p>&#297;&#772;
diff --git a/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl 
b/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
index 29d4249ee3..29d7f89e5f 100644
--- a/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
+++ b/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
@@ -614,8 +614,6 @@ i~=
 
 $result_converted{'html_text'}->{'weird_accents_disable_encoding'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -623,8 +621,6 @@ 
$result_converted{'html_text'}->{'weird_accents_disable_encoding'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <p>&#297;&#772;
diff --git 
a/tp/t/results/html_tests/check_htmlxref_no_use_nodes/res_html/index.html 
b/tp/t/results/html_tests/check_htmlxref_no_use_nodes/res_html/index.html
index e75cdad8f9..ce9c2e706d 100644
--- a/tp/t/results/html_tests/check_htmlxref_no_use_nodes/res_html/index.html
+++ b/tp/t/results/html_tests/check_htmlxref_no_use_nodes/res_html/index.html
@@ -27,9 +27,6 @@ span:hover a.copiable-link {visibility: visible}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
-<hr>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <p><a data-manual="no_existing_no_manual.info" 
href="../no_existing_no_manual.info_html/a.html#a">c</a>
@@ -42,8 +39,6 @@ span:hover a.copiable-link {visibility: visible}
 <a class="node" id="first"></a>
 </div>
 <hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/empty_chapter_in_html_title/res_html/index.html 
b/tp/t/results/html_tests/empty_chapter_in_html_title/res_html/index.html
index a15e9b8ffb..c0f94dac8a 100644
--- a/tp/t/results/html_tests/empty_chapter_in_html_title/res_html/index.html
+++ b/tp/t/results/html_tests/empty_chapter_in_html_title/res_html/index.html
@@ -25,16 +25,12 @@ span:hover a.copiable-link {visibility: visible}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
 </ul>
 </div>
 <hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/empty_chapter_in_html_title_no_node_no_use_nodes/res_html/index.html
 
b/tp/t/results/html_tests/empty_chapter_in_html_title_no_node_no_use_nodes/res_html/index.html
index 6588ea0918..4ca373f267 100644
--- 
a/tp/t/results/html_tests/empty_chapter_in_html_title_no_node_no_use_nodes/res_html/index.html
+++ 
b/tp/t/results/html_tests/empty_chapter_in_html_title_no_node_no_use_nodes/res_html/index.html
@@ -24,16 +24,12 @@ span:hover a.copiable-link {visibility: visible}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
 </ul>
 </div>
 <hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/file_name_conflict_with_section/res_html/index.html 
b/tp/t/results/html_tests/file_name_conflict_with_section/res_html/index.html
index be6b4a41de..ec682bf733 100644
--- 
a/tp/t/results/html_tests/file_name_conflict_with_section/res_html/index.html
+++ 
b/tp/t/results/html_tests/file_name_conflict_with_section/res_html/index.html
@@ -24,9 +24,6 @@ span:hover a.copiable-link {visibility: visible}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
-<hr>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 <a class="anchor" id="Chap"></a>
 <ul class="mini-toc">
@@ -34,8 +31,6 @@ span:hover a.copiable-link {visibility: visible}
 </ul>
 </div>
 <hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/filenameconflictwithspecialelement/res_html/filenameconflictwithspecialelement-fot.html
 
b/tp/t/results/html_tests/filenameconflictwithspecialelement/res_html/filenameconflictwithspecialelement-fot.html
index 4039ab7447..d6b7a1d448 100644
--- 
a/tp/t/results/html_tests/filenameconflictwithspecialelement/res_html/filenameconflictwithspecialelement-fot.html
+++ 
b/tp/t/results/html_tests/filenameconflictwithspecialelement/res_html/filenameconflictwithspecialelement-fot.html
@@ -18,16 +18,11 @@
 
 <body lang="en">
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
-<hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" 
href="index.html#DOCF1">(1)</a></h5>
 <p>a footnote</p>
 </div><hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/footnotestyle_separate_html_text_no_monolithic.pl 
b/tp/t/results/html_tests/footnotestyle_separate_html_text_no_monolithic.pl
index 7c8ce54afc..1015d5180c 100644
--- a/tp/t/results/html_tests/footnotestyle_separate_html_text_no_monolithic.pl
+++ b/tp/t/results/html_tests/footnotestyle_separate_html_text_no_monolithic.pl
@@ -348,8 +348,6 @@ 
$result_floats{'footnotestyle_separate_html_text_no_monolithic'} = {};
 
 
$result_converted{'html_text'}->{'footnotestyle_separate_html_text_no_monolithic'}
 = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 <p>In top<a class="footnote" id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
 </p>
@@ -358,23 +356,17 @@ 
$result_converted{'html_text'}->{'footnotestyle_separate_html_text_no_monolithic
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link" 
href="#Chap"> &para;</a></span></h2>
 
 <hr>
 </div>
 </div>
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" href="#DOCF1">(1)</a></h5>
 <p>Additional text</p>
 </div><hr>
-<div class="nav-panel">
-</div>
 ';
 
 1;
diff --git 
a/tp/t/results/html_tests/footnotestyle_separate_late/res_html/footnotestyle_separate_late_fot.html
 
b/tp/t/results/html_tests/footnotestyle_separate_late/res_html/footnotestyle_separate_late_fot.html
index 73912c5e25..c33159525e 100644
--- 
a/tp/t/results/html_tests/footnotestyle_separate_late/res_html/footnotestyle_separate_late_fot.html
+++ 
b/tp/t/results/html_tests/footnotestyle_separate_late/res_html/footnotestyle_separate_late_fot.html
@@ -18,16 +18,11 @@
 
 <body lang="en">
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
-<hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT2" 
href="chap-s.html#DOCF2">(2)</a></h5>
 <p>in fchap 2</p>
 </div><hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git a/tp/t/results/html_tests/info_js_dir_html_text.pl 
b/tp/t/results/html_tests/info_js_dir_html_text.pl
index ea06cb6135..d4381d8325 100644
--- a/tp/t/results/html_tests/info_js_dir_html_text.pl
+++ b/tp/t/results/html_tests/info_js_dir_html_text.pl
@@ -260,8 +260,6 @@ $result_floats{'info_js_dir_html_text'} = {};
 
 
 $result_converted{'html_text'}->{'info_js_dir_html_text'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -269,8 +267,6 @@ $result_converted{'html_text'}->{'info_js_dir_html_text'} = 
'<div class="top-lev
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 </div>
 </div>
diff --git 
a/tp/t/results/html_tests/node_footnote_use_node_separate/res_html/node_footnote_fot.html
 
b/tp/t/results/html_tests/node_footnote_use_node_separate/res_html/node_footnote_fot.html
index 9b31909b35..63bcc50c42 100644
--- 
a/tp/t/results/html_tests/node_footnote_use_node_separate/res_html/node_footnote_fot.html
+++ 
b/tp/t/results/html_tests/node_footnote_use_node_separate/res_html/node_footnote_fot.html
@@ -18,9 +18,6 @@
 
 <body lang="en">
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
-<hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" 
href="a.html#DOCF1">(1)</a></h5>
@@ -30,8 +27,6 @@
 <h5 class="footnote-body-heading"><a id="FOOT3" 
href="a.html#DOCF3">(3)</a></h5>
 <p>foot 3 &agrave;</p>
 </div><hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git a/tp/t/results/html_tests/ref_in_preformatted.pl 
b/tp/t/results/html_tests/ref_in_preformatted.pl
index df7387f017..3f73d45843 100644
--- a/tp/t/results/html_tests/ref_in_preformatted.pl
+++ b/tp/t/results/html_tests/ref_in_preformatted.pl
@@ -356,9 +356,7 @@ $result_floats{'ref_in_preformatted'} = {};
 
 
 
-$result_converted{'html_text'}->{'ref_in_preformatted'} = '<a class="node-id" 
id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+$result_converted{'html_text'}->{'ref_in_preformatted'} = '<h1 class="node" 
id="Top"><span>Top<a class="copiable-link" href="#Top"> &para;</a></span></h1>
 
 
 <div class="example">
@@ -367,9 +365,7 @@ node name</a>
 </pre></div>
 
 <hr>
-<a class="node-id" id="chap-nnn-the-node-name"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap nnn the node name<a class="copiable-link" 
href="#chap-nnn-the-node-name"> &para;</a></span></h4>
+<h4 class="node" id="chap-nnn-the-node-name"><span>chap nnn the node name<a 
class="copiable-link" href="#chap-nnn-the-node-name"> &para;</a></span></h4>
 ';
 
 1;
diff --git a/tp/t/results/html_tests/split_html_text.pl 
b/tp/t/results/html_tests/split_html_text.pl
index 0da2d77483..3cfd3e2f09 100644
--- a/tp/t/results/html_tests/split_html_text.pl
+++ b/tp/t/results/html_tests/split_html_text.pl
@@ -496,9 +496,6 @@ output unit: @node chap
 
 
 $result_converted{'html_text'}->{'split_html_text'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
-<hr>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 <p>In top
 </p>
@@ -507,9 +504,6 @@ $result_converted{'html_text'}->{'split_html_text'} = '<div 
class="top-level-ext
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
-<hr>
 <h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link" 
href="#Chap"> &para;</a></span></h2>
 </div>
 </div>
diff --git a/tp/t/results/html_tests/test_accents_sc_default.pl 
b/tp/t/results/html_tests/test_accents_sc_default.pl
index ab0371d130..1d29084311 100644
--- a/tp/t/results/html_tests/test_accents_sc_default.pl
+++ b/tp/t/results/html_tests/test_accents_sc_default.pl
@@ -1234,8 +1234,6 @@ $result_floats{'test_accents_sc_default'} = {};
 
 
 $result_converted{'html_text'}->{'test_accents_sc_default'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1243,8 +1241,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_default'} = '<div class="top-l
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> &para;</a></span></h2>
 
 <p>&ldquo;in double q&rdquo;. &lsquo;in simple q&rsquo;.
diff --git a/tp/t/results/html_tests/test_accents_sc_default_latin1.pl 
b/tp/t/results/html_tests/test_accents_sc_default_latin1.pl
index 751ac583a6..aea8e9c8b1 100644
--- a/tp/t/results/html_tests/test_accents_sc_default_latin1.pl
+++ b/tp/t/results/html_tests/test_accents_sc_default_latin1.pl
@@ -1277,8 +1277,6 @@ $result_floats{'test_accents_sc_default_latin1'} = {};
 
 $result_converted{'html_text'}->{'test_accents_sc_default_latin1'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1286,8 +1284,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_default_latin1'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> &para;</a></span></h2>
 
 <p>&ldquo;in double q&rdquo;. &lsquo;in simple q&rsquo;.
diff --git a/tp/t/results/html_tests/test_accents_sc_default_usascii.pl 
b/tp/t/results/html_tests/test_accents_sc_default_usascii.pl
index bb7ec076d4..491e398d5d 100644
--- a/tp/t/results/html_tests/test_accents_sc_default_usascii.pl
+++ b/tp/t/results/html_tests/test_accents_sc_default_usascii.pl
@@ -1297,8 +1297,6 @@ $result_floats{'test_accents_sc_default_usascii'} = {};
 
 $result_converted{'html_text'}->{'test_accents_sc_default_usascii'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1306,8 +1304,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_default_usascii'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> &para;</a></span></h2>
 
 <p>&ldquo;in double q&rdquo;. &lsquo;in simple q&rsquo;.
diff --git a/tp/t/results/html_tests/test_accents_sc_enable_encoding.pl 
b/tp/t/results/html_tests/test_accents_sc_enable_encoding.pl
index 49ea90ef54..a3d665e323 100644
--- a/tp/t/results/html_tests/test_accents_sc_enable_encoding.pl
+++ b/tp/t/results/html_tests/test_accents_sc_enable_encoding.pl
@@ -1234,8 +1234,6 @@ $result_floats{'test_accents_sc_enable_encoding'} = {};
 
 
 $result_converted{'html_text'}->{'test_accents_sc_enable_encoding'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> ¶</a></span></h1>
 
 <ul class="mini-toc">
@@ -1243,8 +1241,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding'} = '<div clas
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> ¶</a></span></h2>
 
 <p>“in double q”. ‘in simple q’.
diff --git a/tp/t/results/html_tests/test_accents_sc_enable_encoding_latin1.pl 
b/tp/t/results/html_tests/test_accents_sc_enable_encoding_latin1.pl
index 98f0a916f9..077e9fc3fb 100644
--- a/tp/t/results/html_tests/test_accents_sc_enable_encoding_latin1.pl
+++ b/tp/t/results/html_tests/test_accents_sc_enable_encoding_latin1.pl
@@ -1277,8 +1277,6 @@ $result_floats{'test_accents_sc_enable_encoding_latin1'} 
= {};
 
 $result_converted{'html_text'}->{'test_accents_sc_enable_encoding_latin1'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> ¶</a></span></h1>
 
 <ul class="mini-toc">
@@ -1286,8 +1284,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding_latin1'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> ¶</a></span></h2>
 
 <p>&ldquo;in double q&rdquo;. &lsquo;in simple q&rsquo;.
diff --git 
a/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_latin1.pl 
b/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_latin1.pl
index 0db5c377d2..ca718a1054 100644
--- a/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_latin1.pl
+++ b/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_latin1.pl
@@ -1277,8 +1277,6 @@ 
$result_floats{'test_accents_sc_enable_encoding_to_utf8_latin1'} = {};
 
 
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding_to_utf8_latin1'}
 = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> ¶</a></span></h1>
 
 <ul class="mini-toc">
@@ -1286,8 +1284,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding_to_utf8_latin1
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> ¶</a></span></h2>
 
 <p>“in double q”. ‘in simple q’.
diff --git 
a/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_usascii.pl 
b/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_usascii.pl
index 716515d2c5..7f1c997224 100644
--- a/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_usascii.pl
+++ b/tp/t/results/html_tests/test_accents_sc_enable_encoding_to_utf8_usascii.pl
@@ -1297,8 +1297,6 @@ 
$result_floats{'test_accents_sc_enable_encoding_to_utf8_usascii'} = {};
 
 
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding_to_utf8_usascii'}
 = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> ¶</a></span></h1>
 
 <ul class="mini-toc">
@@ -1306,8 +1304,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding_to_utf8_usasci
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> ¶</a></span></h2>
 
 <p>“in double q”. ‘in simple q’.
diff --git a/tp/t/results/html_tests/test_accents_sc_enable_encoding_usascii.pl 
b/tp/t/results/html_tests/test_accents_sc_enable_encoding_usascii.pl
index f58db3df5e..c07af12c21 100644
--- a/tp/t/results/html_tests/test_accents_sc_enable_encoding_usascii.pl
+++ b/tp/t/results/html_tests/test_accents_sc_enable_encoding_usascii.pl
@@ -1297,8 +1297,6 @@ $result_floats{'test_accents_sc_enable_encoding_usascii'} 
= {};
 
 $result_converted{'html_text'}->{'test_accents_sc_enable_encoding_usascii'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1306,8 +1304,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding_usascii'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> &para;</a></span></h2>
 
 <p>&ldquo;in double q&rdquo;. &lsquo;in simple q&rsquo;.
diff --git a/tp/t/results/html_tests/test_accents_sc_to_utf8_latin1.pl 
b/tp/t/results/html_tests/test_accents_sc_to_utf8_latin1.pl
index f6b7758312..c48a10f638 100644
--- a/tp/t/results/html_tests/test_accents_sc_to_utf8_latin1.pl
+++ b/tp/t/results/html_tests/test_accents_sc_to_utf8_latin1.pl
@@ -1277,8 +1277,6 @@ $result_floats{'test_accents_sc_to_utf8_latin1'} = {};
 
 $result_converted{'html_text'}->{'test_accents_sc_to_utf8_latin1'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1286,8 +1284,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_to_utf8_latin1'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> &para;</a></span></h2>
 
 <p>&ldquo;in double q&rdquo;. &lsquo;in simple q&rsquo;.
diff --git a/tp/t/results/html_tests/test_accents_sc_use_numeric_entity.pl 
b/tp/t/results/html_tests/test_accents_sc_use_numeric_entity.pl
index ae21b17824..cef8ef6e56 100644
--- a/tp/t/results/html_tests/test_accents_sc_use_numeric_entity.pl
+++ b/tp/t/results/html_tests/test_accents_sc_use_numeric_entity.pl
@@ -1234,8 +1234,6 @@ $result_floats{'test_accents_sc_use_numeric_entity'} = {};
 
 
 $result_converted{'html_text'}->{'test_accents_sc_use_numeric_entity'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &#182;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1243,8 +1241,6 @@ 
$result_converted{'html_text'}->{'test_accents_sc_use_numeric_entity'} = '<div c
 </ul>
 <hr>
 <div class="chapter-level-extent" id="node-chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> &#182;</a></span></h2>
 
 <p>&#8220;in double q&#8221;. &#8216;in simple q&#8217;.
diff --git a/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html 
b/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html
index 4bf44f155c..9b156d660a 100644
--- a/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html
+++ b/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html
@@ -28,8 +28,6 @@ td.menu-entry-destination {vertical-align: top}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="Test-refs"><span>Test refs<a class="copiable-link" 
href="#Test-refs"> &para;</a></span></h1>
 
 <table class="menu" border="0" cellspacing="0">
diff --git a/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html 
b/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html
index 4bf44f155c..9b156d660a 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html
+++ b/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html
@@ -28,8 +28,6 @@ td.menu-entry-destination {vertical-align: top}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="Test-refs"><span>Test refs<a class="copiable-link" 
href="#Test-refs"> &para;</a></span></h1>
 
 <table class="menu" border="0" cellspacing="0">
diff --git a/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html 
b/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html
index d892b5ac0e..ef3c086d44 100644
--- a/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html
+++ b/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html
@@ -28,8 +28,6 @@ td.menu-entry-destination {vertical-align: top}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="Test-refs"><span>Test refs<a class="copiable-link" 
href="#Test-refs"> &para;</a></span></h1>
 
 <table class="menu" border="0" cellspacing="0">
diff --git a/tp/t/results/indices/empty_added_index_entry.pl 
b/tp/t/results/indices/empty_added_index_entry.pl
index b435fdcd80..b91f7967af 100644
--- a/tp/t/results/indices/empty_added_index_entry.pl
+++ b/tp/t/results/indices/empty_added_index_entry.pl
@@ -272,13 +272,9 @@ 
$result_converted{'plaintext'}->{'empty_added_index_entry'} = '';
 
 
 $result_converted{'html_text'}->{'empty_added_index_entry'} = '
-<a class="node-id" id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+<h1 class="node" id="Top"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
 <hr>
-<a class="node-id" id="chap"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
+<h4 class="node" id="chap"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
 
 ';
 
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index cc1ab872ed..190d2d2684 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -188,13 +188,9 @@ End:
 $result_converted{'plaintext'}->{'empty_cindex_entry'} = '';
 
 
-$result_converted{'html_text'}->{'empty_cindex_entry'} = '<a class="node-id" 
id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+$result_converted{'html_text'}->{'empty_cindex_entry'} = '<h1 class="node" 
id="Top"><span>Top<a class="copiable-link" href="#Top"> &para;</a></span></h1>
 <hr>
-<a class="node-id" id="chap"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
+<h4 class="node" id="chap"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
 ';
 
 
diff --git 
a/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl 
b/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
index b0b5cdd049..44ec1f409d 100644
--- a/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
+++ b/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
@@ -1030,8 +1030,6 @@ Top.
 
 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_no_insertcopying'}
 = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <p>Top.
@@ -1042,8 +1040,6 @@ 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_no_insertcop
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 
diff --git 
a/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
 
b/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
index 8bfc2d48ec..34eb793863 100644
--- 
a/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
+++ 
b/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
@@ -18,9 +18,6 @@
 
 <body lang="en">
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
-<hr>
 <h4 class="footnotes-heading">Fußnoten</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" 
href="prepended_to_filenames-chapter.html#DOCF1">(1)</a></h5>
@@ -28,8 +25,6 @@
 <h5 class="footnote-body-heading"><a id="FOOT1_2" 
href="prepended_to_filenames-chapter.html#DOCF1_2">(2)</a></h5>
 <p>in footnote <code>HTML</code> text </p>
 </div><hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git 
a/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
index 586bf84ebb..130b8d77d7 100644
--- 
a/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
+++ 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
@@ -23,10 +23,7 @@ span:hover a.copiable-link {visibility: visible}
 </head>
 
 <body lang="en">
-<a class="node-id" id="prepended_to_labels-my-node"></a><div class="nav-panel">
-</div>
-<hr>
-<h4 class="node"><span>my node<a class="copiable-link" 
href="#prepended_to_labels-my-node"> &para;</a></span></h4>
+<h4 class="node" id="prepended_to_labels-my-node"><span>my node<a 
class="copiable-link" href="#prepended_to_labels-my-node"> 
&para;</a></span></h4>
 
 
 <p>Fehler--&gt;.
diff --git a/tp/t/results/itemize/inter_item_commands_in_enumerate.pl 
b/tp/t/results/itemize/inter_item_commands_in_enumerate.pl
index 3d1fe4e87f..fb22356407 100644
--- a/tp/t/results/itemize/inter_item_commands_in_enumerate.pl
+++ b/tp/t/results/itemize/inter_item_commands_in_enumerate.pl
@@ -1195,8 +1195,6 @@ 
$result_converted{'plaintext'}->{'inter_item_commands_in_enumerate'} = 'top
 
 
 $result_converted{'html_text'}->{'inter_item_commands_in_enumerate'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1204,8 +1202,6 @@ 
$result_converted{'html_text'}->{'inter_item_commands_in_enumerate'} = '<div cla
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chap"><span>1 chap<a class="copiable-link" 
href="#chap"> &para;</a></span></h2>
 
 <ol class="enumerate">
diff --git a/tp/t/results/itemize/inter_item_commands_in_itemize.pl 
b/tp/t/results/itemize/inter_item_commands_in_itemize.pl
index a94c917b3f..a458c9a7d5 100644
--- a/tp/t/results/itemize/inter_item_commands_in_itemize.pl
+++ b/tp/t/results/itemize/inter_item_commands_in_itemize.pl
@@ -823,8 +823,6 @@ 
$result_converted{'plaintext'}->{'inter_item_commands_in_itemize'} = 'top
 
 
 $result_converted{'html_text'}->{'inter_item_commands_in_itemize'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -832,8 +830,6 @@ 
$result_converted{'html_text'}->{'inter_item_commands_in_itemize'} = '<div class
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chap"><span>1 chap<a class="copiable-link" 
href="#chap"> &para;</a></span></h2>
 
 <ul class="itemize mark-minus">
diff --git a/tp/t/results/layout/navigation_test_undef_top_buttons.pl 
b/tp/t/results/layout/navigation_test_undef_top_buttons.pl
new file mode 100644
index 0000000000..824823c639
--- /dev/null
+++ b/tp/t/results/layout/navigation_test_undef_top_buttons.pl
@@ -0,0 +1,1153 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'navigation_test_undef_top_buttons'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'contents' => [
+            {
+              'text' => '\\input texinfo @c -*-texinfo-*-
+',
+              'type' => 'text_before_beginning'
+            },
+            {
+              'text' => '
+',
+              'type' => 'text_before_beginning'
+            }
+          ],
+          'type' => 'preamble_before_beginning'
+        },
+        {
+          'type' => 'preamble_before_content'
+        }
+      ],
+      'type' => 'before_node_section'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'Top'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 3
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'File used for navigation testing'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'top',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'chapter'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => {
+                      'contents' => [
+                        {}
+                      ]
+                    },
+                    'normalized' => 'chapter'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 7
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 8
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 6
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {},
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 4
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'chapter'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'chapter'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 10
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'First chapter'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'section'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => {
+                      'contents' => [
+                        {}
+                      ]
+                    },
+                    'normalized' => 'section'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 14
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 15
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 13
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 11
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'section'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'section'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 17
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Section in chapter'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'section',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'b b b b b b b b b b b b b b b b b b b b b b b b b b b 
b b b b b b b b 
+'
+            },
+            {
+              'text' => '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.
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'subsection'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => {
+                      'contents' => [
+                        {}
+                      ]
+                    },
+                    'normalized' => 'subsection'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 48
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 49
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 47
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '1.1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 18
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'subsection'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'subsection'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 51
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Sub section in section'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'subsection',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'text' => '
+',
+              'type' => 'rawline_arg'
+            }
+          ],
+          'cmdname' => 'contents',
+          'extra' => {},
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 54
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '1.1.1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 52
+      }
+    },
+    {
+      'args' => [
+        {
+          'text' => '
+',
+          'type' => 'rawline_arg'
+        }
+      ],
+      'cmdname' => 'bye'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'navigation_test_undef_top_buttons'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'navigation_test_undef_top_buttons'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'navigation_test_undef_top_buttons'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'navigation_test_undef_top_buttons'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'navigation_test_undef_top_buttons'}{'contents'}[6]{'contents'}[27]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'navigation_test_undef_top_buttons'}{'contents'}[6]{'contents'}[27]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+
+$result_texis{'navigation_test_undef_top_buttons'} = '\\input texinfo @c 
-*-texinfo-*-
+
+@node Top
+@top File used for navigation testing
+
+@menu
+* chapter::
+@end menu
+
+@node chapter
+@chapter First chapter
+
+@menu
+* section::
+@end menu
+
+@node section
+@section Section in chapter
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b 
+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.
+
+@menu
+* subsection::
+@end menu
+
+@node subsection
+@subsection Sub section in section
+
+@contents
+
+@bye
+';
+
+
+$result_texts{'navigation_test_undef_top_buttons'} = 'File used for navigation 
testing
+********************************
+
+* chapter::
+
+1 First chapter
+***************
+
+* section::
+
+1.1 Section in chapter
+======================
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b 
+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.
+
+* subsection::
+
+1.1.1 Sub section in section
+----------------------------
+
+
+';
+
+$result_sectioning{'navigation_test_undef_top_buttons'} = {
+  'extra' => {
+    'section_childs' => [
+      {
+        'cmdname' => 'top',
+        'extra' => {
+          'associated_node' => {
+            'cmdname' => 'node',
+            'extra' => {
+              'normalized' => 'Top'
+            }
+          },
+          'section_childs' => [
+            {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'normalized' => 'chapter'
+                  }
+                },
+                'section_childs' => [
+                  {
+                    'cmdname' => 'section',
+                    'extra' => {
+                      'associated_node' => {
+                        'cmdname' => 'node',
+                        'extra' => {
+                          'normalized' => 'section'
+                        }
+                      },
+                      'section_childs' => [
+                        {
+                          'cmdname' => 'subsection',
+                          'extra' => {
+                            'associated_node' => {
+                              'cmdname' => 'node',
+                              'extra' => {
+                                'normalized' => 'subsection'
+                              }
+                            },
+                            'section_directions' => {
+                              'up' => {}
+                            },
+                            'section_level' => 3,
+                            'section_number' => '1.1.1'
+                          }
+                        }
+                      ],
+                      'section_directions' => {
+                        'up' => {}
+                      },
+                      'section_level' => 2,
+                      'section_number' => '1.1'
+                    }
+                  }
+                ],
+                'section_directions' => {
+                  'up' => {}
+                },
+                'section_level' => 1,
+                'section_number' => '1',
+                'toplevel_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                }
+              }
+            }
+          ],
+          'section_level' => 0,
+          'sectioning_root' => {},
+          'toplevel_directions' => {}
+        }
+      }
+    ],
+    'section_level' => -1
+  }
+};
+$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
 = 
$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_undef_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
 = $result_sectioning{'navigation_test_undef_top_buttons'};
+
+$result_nodes{'navigation_test_undef_top_buttons'} = [
+  {
+    'cmdname' => 'node',
+    'extra' => {
+      'associated_section' => {
+        'cmdname' => 'top',
+        'extra' => {}
+      },
+      'node_directions' => {
+        'next' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'associated_section' => {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'section_number' => '1'
+              }
+            },
+            'node_directions' => {
+              'prev' => {},
+              'up' => {}
+            },
+            'normalized' => 'chapter'
+          }
+        }
+      },
+      'normalized' => 'Top'
+    }
+  },
+  {},
+  {
+    'cmdname' => 'node',
+    'extra' => {
+      'associated_section' => {
+        'cmdname' => 'section',
+        'extra' => {
+          'section_number' => '1.1'
+        }
+      },
+      'node_directions' => {
+        'up' => {}
+      },
+      'normalized' => 'section'
+    }
+  },
+  {
+    'cmdname' => 'node',
+    'extra' => {
+      'associated_section' => {
+        'cmdname' => 'subsection',
+        'extra' => {
+          'section_number' => '1.1.1'
+        }
+      },
+      'node_directions' => {
+        'up' => {}
+      },
+      'normalized' => 'subsection'
+    }
+  }
+];
+$result_nodes{'navigation_test_undef_top_buttons'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = $result_nodes{'navigation_test_undef_top_buttons'}[0];
+$result_nodes{'navigation_test_undef_top_buttons'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'navigation_test_undef_top_buttons'}[0];
+$result_nodes{'navigation_test_undef_top_buttons'}[1] = 
$result_nodes{'navigation_test_undef_top_buttons'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'navigation_test_undef_top_buttons'}[2]{'extra'}{'node_directions'}{'up'}
 = 
$result_nodes{'navigation_test_undef_top_buttons'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'navigation_test_undef_top_buttons'}[3]{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'navigation_test_undef_top_buttons'}[2];
+
+$result_menus{'navigation_test_undef_top_buttons'} = [
+  {
+    'extra' => {
+      'menus' => [
+        {}
+      ],
+      'normalized' => 'Top'
+    }
+  },
+  {
+    'extra' => {
+      'menu_directions' => {
+        'up' => {}
+      },
+      'menus' => [
+        {}
+      ],
+      'normalized' => 'chapter'
+    }
+  },
+  {
+    'extra' => {
+      'menu_directions' => {
+        'up' => {}
+      },
+      'menus' => [
+        {}
+      ],
+      'normalized' => 'section'
+    }
+  },
+  {
+    'extra' => {
+      'menu_directions' => {
+        'up' => {}
+      },
+      'normalized' => 'subsection'
+    }
+  }
+];
+$result_menus{'navigation_test_undef_top_buttons'}[1]{'extra'}{'menu_directions'}{'up'}
 = $result_menus{'navigation_test_undef_top_buttons'}[0];
+$result_menus{'navigation_test_undef_top_buttons'}[2]{'extra'}{'menu_directions'}{'up'}
 = $result_menus{'navigation_test_undef_top_buttons'}[1];
+$result_menus{'navigation_test_undef_top_buttons'}[3]{'extra'}{'menu_directions'}{'up'}
 = $result_menus{'navigation_test_undef_top_buttons'}[2];
+
+$result_errors{'navigation_test_undef_top_buttons'} = [];
+
+
+$result_floats{'navigation_test_undef_top_buttons'} = {};
+
+
+1;
diff --git 
a/tp/t/results/layout/navigation_test_undef_top_buttons/res_html/navigation.html
 
b/tp/t/results/layout/navigation_test_undef_top_buttons/res_html/navigation.html
new file mode 100644
index 0000000000..52f6d186d5
--- /dev/null
+++ 
b/tp/t/results/layout/navigation_test_undef_top_buttons/res_html/navigation.html
@@ -0,0 +1,277 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>File used for navigation testing</title>
+
+<meta name="description" content="File used for navigation testing">
+<meta name="keywords" content="File used for navigation testing">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2any">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.program-in-footer {font-size: smaller}
+span:hover a.copiable-link {visibility: visible}
+td.button-direction-about {text-align:center}
+td.menu-entry-description {vertical-align: top}
+td.menu-entry-destination {vertical-align: top}
+td.name-direction-about {text-align:center}
+ul.toc-numbered-mark {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="File-used-for-navigation-testing"><span>File used for 
navigation testing<a class="copiable-link" 
href="#File-used-for-navigation-testing"> &para;</a></span></h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr style="height: 6px;">
+<div class="chapter-level-extent" id="chapter">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[<a href="#section" title="Next section in reading order"> &gt; </a>]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter" id="First-chapter"><span>1 First chapter<a 
class="copiable-link" href="#First-chapter"> &para;</a></span></h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr>
+<div class="section-level-extent" id="section">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#chapter" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#chapter" title="Up section"> Up </a>]</td>
+<td>[<a href="#subsection" title="Next section in reading order"> &gt; 
</a>]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h2 class="section" id="Section-in-chapter"><span>1.1 Section in chapter<a 
class="copiable-link" href="#Section-in-chapter"> &para;</a></span></h2>
+
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b 
+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.
+</p>
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#subsection">1.1.1 Sub section 
in section</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr>
+<div class="subsection-level-extent" id="subsection">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#section" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#section" title="Up section"> Up </a>]</td>
+<td>[ &gt; ]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h3 class="subsection" id="Sub-section-in-section"><span>1.1.1 Sub section in 
section<a class="copiable-link" href="#Sub-section-in-section"> 
&para;</a></span></h3>
+
+
+<hr style="height: 6px;">
+</div>
+</div>
+</div>
+</div>
+<div class="element-contents" id="SEC_Contents">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="contents-heading">Table of Contents</h1>
+
+<div class="contents">
+
+<ul class="toc-numbered-mark">
+  <li><a id="toc-First-chapter" href="#chapter">1 First chapter</a>
+  <ul class="toc-numbered-mark">
+    <li><a id="toc-Section-in-chapter" href="#section">1.1 Section in 
chapter</a>
+    <ul class="toc-numbered-mark">
+      <li><a id="toc-Sub-section-in-section" href="#subsection">1.1.1 Sub 
section in section</a></li>
+    </ul></li>
+  </ul></li>
+</ul>
+</div>
+</div><hr>
+<div class="element-about" id="SEC_About">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="about-heading">About This Document</h1>
+
+<p>
+  This document was generated on <em class="emph">a sunny day</em> using <a 
class="uref" href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.
+</p>
+<p>
+  The buttons in the navigation panels have the following meaning:
+</p>
+<table border="1">
+  <tr>
+    <th> Button </th>
+    <th> Name </th>
+    <th> Go to </th>
+    <th> From 1.2.3 go to</th>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt;&lt; ] </td>
+    <td class="name-direction-about">FastBack</td>
+    <td>Beginning of this chapter or previous chapter</td>
+    <td>1</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt; ] </td>
+    <td class="name-direction-about">Back</td>
+    <td>Previous section in reading order</td>
+    <td>1.2.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ Up ] </td>
+    <td class="name-direction-about">Up</td>
+    <td>Up section</td>
+    <td>1.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt; ] </td>
+    <td class="name-direction-about">Forward</td>
+    <td>Next section in reading order</td>
+    <td>1.2.4</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt;&gt; ] </td>
+    <td class="name-direction-about">FastForward</td>
+    <td>Next chapter</td>
+    <td>2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Top] </td>
+    <td class="name-direction-about">Top</td>
+    <td>Cover (top) of document</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Contents] </td>
+    <td class="name-direction-about">Contents</td>
+    <td>Table of contents</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Index] </td>
+    <td class="name-direction-about">Index</td>
+    <td>Index</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ ? ] </td>
+    <td class="name-direction-about">About</td>
+    <td>About (help)</td>
+    <td> &nbsp; </td>
+  </tr>
+</table>
+
+<p>
+  where the <strong class="strong"> Example </strong> assumes that the current 
position is at <strong class="strong"> Subsubsection One-Two-Three </strong> of 
a document of the following structure:
+</p>
+
+<ul>
+  <li> 1. Section One
+    <ul>
+      <li>1.1 Subsection One-One
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.2 Subsection One-Two
+        <ul>
+          <li>1.2.1 Subsubsection One-Two-One</li>
+          <li>1.2.2 Subsubsection One-Two-Two</li>
+          <li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
+            <strong>&lt;== Current Position </strong></li>
+          <li>1.2.4 Subsubsection One-Two-Four</li>
+        </ul>
+      </li>
+      <li>1.3 Subsection One-Three
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.4 Subsection One-Four</li>
+    </ul>
+  </li>
+</ul>
+</div><hr>
+<p>
+  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.</span>
+</p>
+
+
+</body>
+</html>
diff --git a/tp/t/results/layout/navigation_test_zero_top_buttons.pl 
b/tp/t/results/layout/navigation_test_zero_top_buttons.pl
new file mode 100644
index 0000000000..6e3e35f6a3
--- /dev/null
+++ b/tp/t/results/layout/navigation_test_zero_top_buttons.pl
@@ -0,0 +1,1153 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'navigation_test_zero_top_buttons'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'contents' => [
+            {
+              'text' => '\\input texinfo @c -*-texinfo-*-
+',
+              'type' => 'text_before_beginning'
+            },
+            {
+              'text' => '
+',
+              'type' => 'text_before_beginning'
+            }
+          ],
+          'type' => 'preamble_before_beginning'
+        },
+        {
+          'type' => 'preamble_before_content'
+        }
+      ],
+      'type' => 'before_node_section'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'Top'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 3
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'File used for navigation testing'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'top',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'chapter'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => {
+                      'contents' => [
+                        {}
+                      ]
+                    },
+                    'normalized' => 'chapter'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 7
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 8
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 6
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {},
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 4
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'chapter'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'chapter'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 10
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'First chapter'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'section'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => {
+                      'contents' => [
+                        {}
+                      ]
+                    },
+                    'normalized' => 'section'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 14
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 15
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 13
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 11
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'section'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'section'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 17
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Section in chapter'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'section',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'AAAA
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'b b b b b b b b b b b b b b b b b b b b b b b b b b b 
b b b b b b b b 
+'
+            },
+            {
+              'text' => '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.
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'subsection'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => {
+                      'contents' => [
+                        {}
+                      ]
+                    },
+                    'normalized' => 'subsection'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 48
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => 'navigation.texi',
+                'line_nr' => 49
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 47
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '1.1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 18
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'subsection'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'subsection'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 51
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Sub section in section'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'subsection',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'text' => '
+',
+              'type' => 'rawline_arg'
+            }
+          ],
+          'cmdname' => 'contents',
+          'extra' => {},
+          'source_info' => {
+            'file_name' => 'navigation.texi',
+            'line_nr' => 54
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '1.1.1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => 'navigation.texi',
+        'line_nr' => 52
+      }
+    },
+    {
+      'args' => [
+        {
+          'text' => '
+',
+          'type' => 'rawline_arg'
+        }
+      ],
+      'cmdname' => 'bye'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'navigation_test_zero_top_buttons'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'navigation_test_zero_top_buttons'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'navigation_test_zero_top_buttons'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'navigation_test_zero_top_buttons'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'navigation_test_zero_top_buttons'}{'contents'}[6]{'contents'}[27]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'navigation_test_zero_top_buttons'}{'contents'}[6]{'contents'}[27]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+
+$result_texis{'navigation_test_zero_top_buttons'} = '\\input texinfo @c 
-*-texinfo-*-
+
+@node Top
+@top File used for navigation testing
+
+@menu
+* chapter::
+@end menu
+
+@node chapter
+@chapter First chapter
+
+@menu
+* section::
+@end menu
+
+@node section
+@section Section in chapter
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b 
+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.
+
+@menu
+* subsection::
+@end menu
+
+@node subsection
+@subsection Sub section in section
+
+@contents
+
+@bye
+';
+
+
+$result_texts{'navigation_test_zero_top_buttons'} = 'File used for navigation 
testing
+********************************
+
+* chapter::
+
+1 First chapter
+***************
+
+* section::
+
+1.1 Section in chapter
+======================
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+AAAA
+
+b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b 
+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.
+
+* subsection::
+
+1.1.1 Sub section in section
+----------------------------
+
+
+';
+
+$result_sectioning{'navigation_test_zero_top_buttons'} = {
+  'extra' => {
+    'section_childs' => [
+      {
+        'cmdname' => 'top',
+        'extra' => {
+          'associated_node' => {
+            'cmdname' => 'node',
+            'extra' => {
+              'normalized' => 'Top'
+            }
+          },
+          'section_childs' => [
+            {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'normalized' => 'chapter'
+                  }
+                },
+                'section_childs' => [
+                  {
+                    'cmdname' => 'section',
+                    'extra' => {
+                      'associated_node' => {
+                        'cmdname' => 'node',
+                        'extra' => {
+                          'normalized' => 'section'
+                        }
+                      },
+                      'section_childs' => [
+                        {
+                          'cmdname' => 'subsection',
+                          'extra' => {
+                            'associated_node' => {
+                              'cmdname' => 'node',
+                              'extra' => {
+                                'normalized' => 'subsection'
+                              }
+                            },
+                            'section_directions' => {
+                              'up' => {}
+                            },
+                            'section_level' => 3,
+                            'section_number' => '1.1.1'
+                          }
+                        }
+                      ],
+                      'section_directions' => {
+                        'up' => {}
+                      },
+                      'section_level' => 2,
+                      'section_number' => '1.1'
+                    }
+                  }
+                ],
+                'section_directions' => {
+                  'up' => {}
+                },
+                'section_level' => 1,
+                'section_number' => '1',
+                'toplevel_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                }
+              }
+            }
+          ],
+          'section_level' => 0,
+          'sectioning_root' => {},
+          'toplevel_directions' => {}
+        }
+      }
+    ],
+    'section_level' => -1
+  }
+};
+$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
 = 
$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
 = 
$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'navigation_test_zero_top_buttons'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
 = $result_sectioning{'navigation_test_zero_top_buttons'};
+
+$result_nodes{'navigation_test_zero_top_buttons'} = [
+  {
+    'cmdname' => 'node',
+    'extra' => {
+      'associated_section' => {
+        'cmdname' => 'top',
+        'extra' => {}
+      },
+      'node_directions' => {
+        'next' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'associated_section' => {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'section_number' => '1'
+              }
+            },
+            'node_directions' => {
+              'prev' => {},
+              'up' => {}
+            },
+            'normalized' => 'chapter'
+          }
+        }
+      },
+      'normalized' => 'Top'
+    }
+  },
+  {},
+  {
+    'cmdname' => 'node',
+    'extra' => {
+      'associated_section' => {
+        'cmdname' => 'section',
+        'extra' => {
+          'section_number' => '1.1'
+        }
+      },
+      'node_directions' => {
+        'up' => {}
+      },
+      'normalized' => 'section'
+    }
+  },
+  {
+    'cmdname' => 'node',
+    'extra' => {
+      'associated_section' => {
+        'cmdname' => 'subsection',
+        'extra' => {
+          'section_number' => '1.1.1'
+        }
+      },
+      'node_directions' => {
+        'up' => {}
+      },
+      'normalized' => 'subsection'
+    }
+  }
+];
+$result_nodes{'navigation_test_zero_top_buttons'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = $result_nodes{'navigation_test_zero_top_buttons'}[0];
+$result_nodes{'navigation_test_zero_top_buttons'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'navigation_test_zero_top_buttons'}[0];
+$result_nodes{'navigation_test_zero_top_buttons'}[1] = 
$result_nodes{'navigation_test_zero_top_buttons'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'navigation_test_zero_top_buttons'}[2]{'extra'}{'node_directions'}{'up'}
 = 
$result_nodes{'navigation_test_zero_top_buttons'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'navigation_test_zero_top_buttons'}[3]{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'navigation_test_zero_top_buttons'}[2];
+
+$result_menus{'navigation_test_zero_top_buttons'} = [
+  {
+    'extra' => {
+      'menus' => [
+        {}
+      ],
+      'normalized' => 'Top'
+    }
+  },
+  {
+    'extra' => {
+      'menu_directions' => {
+        'up' => {}
+      },
+      'menus' => [
+        {}
+      ],
+      'normalized' => 'chapter'
+    }
+  },
+  {
+    'extra' => {
+      'menu_directions' => {
+        'up' => {}
+      },
+      'menus' => [
+        {}
+      ],
+      'normalized' => 'section'
+    }
+  },
+  {
+    'extra' => {
+      'menu_directions' => {
+        'up' => {}
+      },
+      'normalized' => 'subsection'
+    }
+  }
+];
+$result_menus{'navigation_test_zero_top_buttons'}[1]{'extra'}{'menu_directions'}{'up'}
 = $result_menus{'navigation_test_zero_top_buttons'}[0];
+$result_menus{'navigation_test_zero_top_buttons'}[2]{'extra'}{'menu_directions'}{'up'}
 = $result_menus{'navigation_test_zero_top_buttons'}[1];
+$result_menus{'navigation_test_zero_top_buttons'}[3]{'extra'}{'menu_directions'}{'up'}
 = $result_menus{'navigation_test_zero_top_buttons'}[2];
+
+$result_errors{'navigation_test_zero_top_buttons'} = [];
+
+
+$result_floats{'navigation_test_zero_top_buttons'} = {};
+
+
+1;
diff --git 
a/tp/t/results/layout/navigation_test_zero_top_buttons/res_html/navigation.html 
b/tp/t/results/layout/navigation_test_zero_top_buttons/res_html/navigation.html
new file mode 100644
index 0000000000..52f6d186d5
--- /dev/null
+++ 
b/tp/t/results/layout/navigation_test_zero_top_buttons/res_html/navigation.html
@@ -0,0 +1,277 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>File used for navigation testing</title>
+
+<meta name="description" content="File used for navigation testing">
+<meta name="keywords" content="File used for navigation testing">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2any">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.program-in-footer {font-size: smaller}
+span:hover a.copiable-link {visibility: visible}
+td.button-direction-about {text-align:center}
+td.menu-entry-description {vertical-align: top}
+td.menu-entry-destination {vertical-align: top}
+td.name-direction-about {text-align:center}
+ul.toc-numbered-mark {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="File-used-for-navigation-testing"><span>File used for 
navigation testing<a class="copiable-link" 
href="#File-used-for-navigation-testing"> &para;</a></span></h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr style="height: 6px;">
+<div class="chapter-level-extent" id="chapter">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[<a href="#section" title="Next section in reading order"> &gt; </a>]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter" id="First-chapter"><span>1 First chapter<a 
class="copiable-link" href="#First-chapter"> &para;</a></span></h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr>
+<div class="section-level-extent" id="section">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#chapter" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#chapter" title="Up section"> Up </a>]</td>
+<td>[<a href="#subsection" title="Next section in reading order"> &gt; 
</a>]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h2 class="section" id="Section-in-chapter"><span>1.1 Section in chapter<a 
class="copiable-link" href="#Section-in-chapter"> &para;</a></span></h2>
+
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>AAAA
+</p>
+<p>b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b 
+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.
+</p>
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#subsection">1.1.1 Sub section 
in section</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr>
+<div class="subsection-level-extent" id="subsection">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#section" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#section" title="Up section"> Up </a>]</td>
+<td>[ &gt; ]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h3 class="subsection" id="Sub-section-in-section"><span>1.1.1 Sub section in 
section<a class="copiable-link" href="#Sub-section-in-section"> 
&para;</a></span></h3>
+
+
+<hr style="height: 6px;">
+</div>
+</div>
+</div>
+</div>
+<div class="element-contents" id="SEC_Contents">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="contents-heading">Table of Contents</h1>
+
+<div class="contents">
+
+<ul class="toc-numbered-mark">
+  <li><a id="toc-First-chapter" href="#chapter">1 First chapter</a>
+  <ul class="toc-numbered-mark">
+    <li><a id="toc-Section-in-chapter" href="#section">1.1 Section in 
chapter</a>
+    <ul class="toc-numbered-mark">
+      <li><a id="toc-Sub-section-in-section" href="#subsection">1.1.1 Sub 
section in section</a></li>
+    </ul></li>
+  </ul></li>
+</ul>
+</div>
+</div><hr>
+<div class="element-about" id="SEC_About">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="about-heading">About This Document</h1>
+
+<p>
+  This document was generated on <em class="emph">a sunny day</em> using <a 
class="uref" href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.
+</p>
+<p>
+  The buttons in the navigation panels have the following meaning:
+</p>
+<table border="1">
+  <tr>
+    <th> Button </th>
+    <th> Name </th>
+    <th> Go to </th>
+    <th> From 1.2.3 go to</th>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt;&lt; ] </td>
+    <td class="name-direction-about">FastBack</td>
+    <td>Beginning of this chapter or previous chapter</td>
+    <td>1</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt; ] </td>
+    <td class="name-direction-about">Back</td>
+    <td>Previous section in reading order</td>
+    <td>1.2.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ Up ] </td>
+    <td class="name-direction-about">Up</td>
+    <td>Up section</td>
+    <td>1.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt; ] </td>
+    <td class="name-direction-about">Forward</td>
+    <td>Next section in reading order</td>
+    <td>1.2.4</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt;&gt; ] </td>
+    <td class="name-direction-about">FastForward</td>
+    <td>Next chapter</td>
+    <td>2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Top] </td>
+    <td class="name-direction-about">Top</td>
+    <td>Cover (top) of document</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Contents] </td>
+    <td class="name-direction-about">Contents</td>
+    <td>Table of contents</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Index] </td>
+    <td class="name-direction-about">Index</td>
+    <td>Index</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ ? ] </td>
+    <td class="name-direction-about">About</td>
+    <td>About (help)</td>
+    <td> &nbsp; </td>
+  </tr>
+</table>
+
+<p>
+  where the <strong class="strong"> Example </strong> assumes that the current 
position is at <strong class="strong"> Subsubsection One-Two-Three </strong> of 
a document of the following structure:
+</p>
+
+<ul>
+  <li> 1. Section One
+    <ul>
+      <li>1.1 Subsection One-One
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.2 Subsection One-Two
+        <ul>
+          <li>1.2.1 Subsubsection One-Two-One</li>
+          <li>1.2.2 Subsubsection One-Two-Two</li>
+          <li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
+            <strong>&lt;== Current Position </strong></li>
+          <li>1.2.4 Subsubsection One-Two-Four</li>
+        </ul>
+      </li>
+      <li>1.3 Subsection One-Three
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.4 Subsection One-Four</li>
+    </ul>
+  </li>
+</ul>
+</div><hr>
+<p>
+  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.</span>
+</p>
+
+
+</body>
+</html>
diff --git a/tp/t/results/menu/sc_in_menu.pl b/tp/t/results/menu/sc_in_menu.pl
index 9c6770e4cf..5aa68fdb0f 100644
--- a/tp/t/results/menu/sc_in_menu.pl
+++ b/tp/t/results/menu/sc_in_menu.pl
@@ -850,9 +850,7 @@ th.menu-comment {text-align:left}
 
 <body lang="en">
 
-<a class="node-id" id="first"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>first<a class="copiable-link" href="#first"> 
&para;</a></span></h4>
+<h4 class="node" id="first"><span>first<a class="copiable-link" href="#first"> 
&para;</a></span></h4>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td class="menu-entry-destination">&bull; <a href="#node" 
accesskey="1"><small class="sc">VALUE</small></a>:</td><td>&nbsp;&nbsp;</td><td 
class="menu-entry-description"><small class="sc">DESCRIP TION</small>
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 9dde0f25bc..b1c8dbcbf3 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -4258,8 +4258,6 @@ 
$result_converted{'html_text'}->{'codequoteundirected_codequotebacktick'} = '
 
 
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="test-quotes"><span>test quotes<a class="copiable-link" 
href="#test-quotes"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -4267,8 +4265,6 @@ 
$result_converted{'html_text'}->{'codequoteundirected_codequotebacktick'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <p>&ldquo;simple-double&ndash;three&mdash;four&mdash;-&rdquo; 
&lsquo;simple&rsquo; quotedblleft: &ldquo; <br>
diff --git a/tp/t/results/misc_commands/nodedescription.pl 
b/tp/t/results/misc_commands/nodedescription.pl
index d10cf90a53..ee9d0d9cb2 100644
--- a/tp/t/results/misc_commands/nodedescription.pl
+++ b/tp/t/results/misc_commands/nodedescription.pl
@@ -434,8 +434,6 @@ of chapter
 
 $result_converted{'html_text'}->{'nodedescription'} = '
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -443,8 +441,6 @@ $result_converted{'html_text'}->{'nodedescription'} = '
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 
diff --git a/tp/t/results/misc_commands/ref_in_center.pl 
b/tp/t/results/misc_commands/ref_in_center.pl
index f64118fa19..ef20e590d0 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -425,8 +425,6 @@ $result_converted{'plaintext'}->{'ref_in_center'} = 'top
 
 
 $result_converted{'html_text'}->{'ref_in_center'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -434,8 +432,6 @@ $result_converted{'html_text'}->{'ref_in_center'} = '<div 
class="top-level-exten
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <div class="center"><a class="ref" href="#Top">top</a>
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl 
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index ac13ce878b..db4304acd4 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2266,13 +2266,9 @@ Out of code -- out-of-code.  ‘1aaa’ ‘2aaa-’ ‘-3bbb’ 
‘4aaa-bbb’ 
 ';
 
 
-$result_converted{'html_text'}->{'test_allowcodebreaks'} = '<a class="node-id" 
id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+$result_converted{'html_text'}->{'test_allowcodebreaks'} = '<h1 class="node" 
id="Top"><span>Top<a class="copiable-link" href="#Top"> &para;</a></span></h1>
 <hr>
-<a class="node-id" id="chap"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
+<h4 class="node" id="chap"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
 
 
 
diff --git a/tp/t/results/moresectioning/anchor_in_footnote_separate.pl 
b/tp/t/results/moresectioning/anchor_in_footnote_separate.pl
index 4140908fe8..7064dfa32d 100644
--- a/tp/t/results/moresectioning/anchor_in_footnote_separate.pl
+++ b/tp/t/results/moresectioning/anchor_in_footnote_separate.pl
@@ -618,8 +618,6 @@ Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, 
Up: <a href="#Top" ac
 </div>
 </div>
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" href="#DOCF1">(1)</a></h5>
diff --git 
a/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/anchor_in_footnote_separate_split_node_fot.html
 
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/anchor_in_footnote_separate_split_node_fot.html
index f7faacae47..1de259285d 100644
--- 
a/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/anchor_in_footnote_separate_split_node_fot.html
+++ 
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/anchor_in_footnote_separate_split_node_fot.html
@@ -18,9 +18,6 @@
 
 <body lang="en">
 <div class="element-footnotes" id="SEC_Footnotes">
-<div class="nav-panel">
-</div>
-<hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" 
href="index.html#DOCF1">(1)</a></h5>
@@ -28,8 +25,6 @@
 <a class="anchor" id="Anchor-in-footnote"></a>.
 </p>
 </div><hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git a/tp/t/results/moresectioning/only_special_spaces_node.pl 
b/tp/t/results/moresectioning/only_special_spaces_node.pl
index 2c1dfd94b1..d289b60261 100644
--- a/tp/t/results/moresectioning/only_special_spaces_node.pl
+++ b/tp/t/results/moresectioning/only_special_spaces_node.pl
@@ -1020,15 +1020,11 @@ Next: CHARACTER TABULATION|     | FORM FEED|&#12;| LINE 
TABULATION||, Previous: <a
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" 
id="CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c-LINE-TABULATION_007c-_007c"><span>2
 CHARACTER TABULATION| | FORM FEED|&#12;| LINE TABULATION||<a 
class="copiable-link" 
href="#CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c-LINE-TABULATION_007c-_007c">
 &para;</a></span></h2>
 
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="CARRIAGE-RETURN_007c-_007c"><span>3 CARRIAGE 
RETURN|'."\r".'|<a class="copiable-link" href="#CARRIAGE-RETURN_007c-_007c"> 
&para;</a></span></h2>
 
 <hr>
diff --git 
a/tp/t/results/moresectioning/sections_test_no_use_nodes_use_node_directions.pl 
b/tp/t/results/moresectioning/sections_test_no_use_nodes_use_node_directions.pl
index ba5c343754..56ed5bf587 100644
--- 
a/tp/t/results/moresectioning/sections_test_no_use_nodes_use_node_directions.pl
+++ 
b/tp/t/results/moresectioning/sections_test_no_use_nodes_use_node_directions.pl
@@ -715,8 +715,6 @@ span:hover a.copiable-link {visibility: visible}
 
 <body lang="en">
 <div class="top-level-extent" id="top">
-<div class="nav-panel">
-</div>
 <h1 class="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -724,8 +722,6 @@ span:hover a.copiable-link {visibility: visible}
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter"><span>1 chapter<a class="copiable-link" href="#chapter"> 
&para;</a></span></h2>
 
 <ul class="mini-toc">
@@ -733,8 +729,6 @@ span:hover a.copiable-link {visibility: visible}
 </ul>
 <hr>
 <div class="section-level-extent" id="section">
-<div class="nav-panel">
-</div>
 <h3 class="section"><span>1.1 section<a class="copiable-link" href="#section"> 
&para;</a></span></h3>
 
 <ul class="mini-toc">
@@ -742,8 +736,6 @@ span:hover a.copiable-link {visibility: visible}
 </ul>
 <hr>
 <div class="subsection-level-extent" id="subsection">
-<div class="nav-panel">
-</div>
 <h4 class="subsection"><span>1.1.1 subsection<a class="copiable-link" 
href="#subsection"> &para;</a></span></h4>
 
 <ul class="mini-toc">
@@ -751,8 +743,6 @@ span:hover a.copiable-link {visibility: visible}
 </ul>
 <hr>
 <div class="subsubsection-level-extent" id="subsubsection">
-<div class="nav-panel">
-</div>
 <h4 class="subsubsection"><span>1.1.1.1 subsubsection<a class="copiable-link" 
href="#subsubsection"> &para;</a></span></h4>
 
 <hr>
@@ -762,8 +752,6 @@ span:hover a.copiable-link {visibility: visible}
 </div>
 </div>
 <div class="part-level-extent" id="part">
-<div class="nav-panel">
-</div>
 <h1 class="part"><span>part<a class="copiable-link" href="#part"> 
&para;</a></span></h1>
 <hr>
 
@@ -778,22 +766,16 @@ span:hover a.copiable-link {visibility: visible}
 <hr>
 </div>
 <div class="chapter-level-extent" id="second-chapter-in-part">
-<div class="nav-panel">
-</div>
 <h2 class="chapter"><span>3 second chapter in part<a class="copiable-link" 
href="#second-chapter-in-part"> &para;</a></span></h2>
 
 <hr>
 </div>
 <div class="unnumbered-level-extent" id="unnumbered">
-<div class="nav-panel">
-</div>
 <h2 class="unnumbered"><span>unnumbered<a class="copiable-link" 
href="#unnumbered"> &para;</a></span></h2>
 
 <hr>
 </div>
 <div class="appendix-level-extent" id="appendix">
-<div class="nav-panel">
-</div>
 <h2 class="appendix"><span>Appendix A appendix<a class="copiable-link" 
href="#appendix"> &para;</a></span></h2>
 
 <ul class="mini-toc">
@@ -801,8 +783,6 @@ span:hover a.copiable-link {visibility: visible}
 </ul>
 <hr>
 <div class="appendixsec-level-extent" id="appendixsec">
-<div class="nav-panel">
-</div>
 <h3 class="appendixsec"><span>A.1 appendixsec<a class="copiable-link" 
href="#appendixsec"> &para;</a></span></h3>
 </div>
 </div>
diff --git 
a/tp/t/results/sectioning/chapter_between_nodes_with_appendix_nomenu.pl 
b/tp/t/results/sectioning/chapter_between_nodes_with_appendix_nomenu.pl
index 4ba356ee22..5ff0122a0d 100644
--- a/tp/t/results/sectioning/chapter_between_nodes_with_appendix_nomenu.pl
+++ b/tp/t/results/sectioning/chapter_between_nodes_with_appendix_nomenu.pl
@@ -499,8 +499,6 @@ span:hover a.copiable-link {visibility: visible}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top-section"><span>top section<a class="copiable-link" 
href="#top-section"> &para;</a></span></h1>
 <ul class="mini-toc">
 <li><a href="#Main" accesskey="1">Main</a></li>
diff --git a/tp/t/results/sectioning/double_node_anchor_float.pl 
b/tp/t/results/sectioning/double_node_anchor_float.pl
index 9bba69fc48..38d206377f 100644
--- a/tp/t/results/sectioning/double_node_anchor_float.pl
+++ b/tp/t/results/sectioning/double_node_anchor_float.pl
@@ -727,19 +727,13 @@ span:hover a.copiable-link {visibility: visible}
 </head>
 
 <body lang="en">
-<a class="node-id" id="node1"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>node1<a class="copiable-link" href="#node1"> 
&para;</a></span></h4>
+<h4 class="node" id="node1"><span>node1<a class="copiable-link" href="#node1"> 
&para;</a></span></h4>
 
 <hr>
-<div class="nav-panel">
-</div>
 
 
 <a class="anchor" id="anchor1"></a>
 <hr>
-<div class="nav-panel">
-</div>
 
 <div class="float">
 <div class="type-number-float"><p><strong class="strong">Text 
1</strong></p></div></div>
@@ -748,8 +742,6 @@ span:hover a.copiable-link {visibility: visible}
 <div class="float" id="float1">
 <div class="type-number-float"><p><strong class="strong">Text 
3</strong></p></div></div>
 <hr>
-<div class="nav-panel">
-</div>
 
 
 
diff --git 
a/tp/t/results/sectioning/double_recursive_self_section_node_reference.pl 
b/tp/t/results/sectioning/double_recursive_self_section_node_reference.pl
index b890b97aca..faa5f89905 100644
--- a/tp/t/results/sectioning/double_recursive_self_section_node_reference.pl
+++ b/tp/t/results/sectioning/double_recursive_self_section_node_reference.pl
@@ -442,9 +442,7 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, 
Up: <a href="#Top" ac
 <h2 class="chapter" id="to-node1-1"><span>1 <a class="ref" href="#to-node1">to 
<a class="ref" href="#node1">node1</a></a><a class="copiable-link" 
href="#to-node1-1"> &para;</a></span></h2>
 
 <hr>
-<a class="node-id" id="to-node1"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>to <a class="ref" href="#node1"><a class="ref" 
href="#to-node1">to <a class="ref" href="#node1">node1</a></a></a><a 
class="copiable-link" href="#to-node1"> &para;</a></span></h4>
+<h4 class="node" id="to-node1"><span>to <a class="ref" href="#node1"><a 
class="ref" href="#to-node1">to <a class="ref" 
href="#node1">node1</a></a></a><a class="copiable-link" href="#to-node1"> 
&para;</a></span></h4>
 </div>
 </div>
 
diff --git a/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node.pl 
b/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node.pl
index fc3b8c1c6d..dc76ea2c28 100644
--- a/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node.pl
+++ b/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node.pl
@@ -572,8 +572,6 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top</a> 
&nbsp; </p>
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" 
id="CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c"><span>2 CHARACTER 
TABULATION|    | FORM FEED|&#12;|<a class="copiable-link" 
href="#CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c"> 
&para;</a></span></h2>
 
 </div>
diff --git 
a/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node_menu.pl 
b/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node_menu.pl
index c5592aaba2..d390f4b14f 100644
--- a/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node_menu.pl
+++ b/tp/t/results/sectioning/in_menu_only_special_ascii_spaces_node_menu.pl
@@ -576,8 +576,6 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top</a> 
&nbsp; </p>
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" 
id="CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c"><span>2 CHARACTER 
TABULATION|    | FORM FEED|&#12;|<a class="copiable-link" 
href="#CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c"> 
&para;</a></span></h2>
 
 </div>
diff --git a/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl 
b/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl
index c4f0576441..5e239ade03 100644
--- a/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl
+++ b/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl
@@ -1410,15 +1410,11 @@ Next: CHARACTER TABULATION|     | FORM FEED|&#12;| LINE 
TABULATION||, Previous: <a
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" 
id="CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c-LINE-TABULATION_007c-_007c"><span>2
 CHARACTER TABULATION| | FORM FEED|&#12;| LINE TABULATION||<a 
class="copiable-link" 
href="#CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c-LINE-TABULATION_007c-_007c">
 &para;</a></span></h2>
 
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="CARRIAGE-RETURN_007c-_007c"><span>3 CARRIAGE 
RETURN|'."\r".'|<a class="copiable-link" href="#CARRIAGE-RETURN_007c-_007c"> 
&para;</a></span></h2>
 
 <hr>
diff --git a/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl 
b/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl
index 146acb0c51..2e27b6f8d5 100644
--- a/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl
+++ b/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl
@@ -1418,15 +1418,11 @@ Next: CHARACTER TABULATION|     | FORM FEED|&#12;| LINE 
TABULATION||, Previous: <a
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" 
id="CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c-LINE-TABULATION_007c-_007c"><span>2
 CHARACTER TABULATION| | FORM FEED|&#12;| LINE TABULATION||<a 
class="copiable-link" 
href="#CHARACTER-TABULATION_007c-_007c-FORM-FEED_007c-_007c-LINE-TABULATION_007c-_007c">
 &para;</a></span></h2>
 
 <hr>
 </div>
 <div class="chapter-level-extent">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="CARRIAGE-RETURN_007c-_007c"><span>3 CARRIAGE 
RETURN|'."\r".'|<a class="copiable-link" href="#CARRIAGE-RETURN_007c-_007c"> 
&para;</a></span></h2>
 
 <hr>
diff --git 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
index 7172bc8b83..0377d0cc57 100644
--- 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
+++ 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
@@ -585,22 +585,16 @@ span:hover a.copiable-link {visibility: visible}
 </head>
 
 <body lang="en">
-<a class="node-id" id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+<h1 class="node" id="Top"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
 <p>Top node
 </p>
 <hr>
-<a class="node-id" id="second-node"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>second node<a class="copiable-link" 
href="#second-node"> &para;</a></span></h4>
+<h4 class="node" id="second-node"><span>second node<a class="copiable-link" 
href="#second-node"> &para;</a></span></h4>
 
 <p>second node
 </p>
 <hr>
 <div class="chapter-level-extent" id="third-node">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" 
href="#chapter"> &para;</a></span></h2>
 </div>
 
diff --git a/tp/t/results/sectioning/protected_node_parentheses.pl 
b/tp/t/results/sectioning/protected_node_parentheses.pl
index b49ef7fbe9..ef5294490a 100644
--- a/tp/t/results/sectioning/protected_node_parentheses.pl
+++ b/tp/t/results/sectioning/protected_node_parentheses.pl
@@ -526,8 +526,6 @@ span:hover a.copiable-link {visibility: visible}
 <body lang="en">
 
 <div class="top-level-extent" id="first">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 
diff --git a/tp/t/results/xtable/block_commands_in_table.pl 
b/tp/t/results/xtable/block_commands_in_table.pl
index 8037892142..344dd584c6 100644
--- a/tp/t/results/xtable/block_commands_in_table.pl
+++ b/tp/t/results/xtable/block_commands_in_table.pl
@@ -1538,8 +1538,6 @@ _second item_
 
 
 $result_converted{'html_text'}->{'block_commands_in_table'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="Element"><span>Element<a class="copiable-link" 
href="#Element"> &para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -1547,8 +1545,6 @@ 
$result_converted{'html_text'}->{'block_commands_in_table'} = '<div class="top-l
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chap">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <dl class="table">
diff --git a/tp/t/results/xtable/inter_item_commands_in_table.pl 
b/tp/t/results/xtable/inter_item_commands_in_table.pl
index 9c301533e3..17daa7b5e6 100644
--- a/tp/t/results/xtable/inter_item_commands_in_table.pl
+++ b/tp/t/results/xtable/inter_item_commands_in_table.pl
@@ -2738,8 +2738,6 @@ _b_
 
 
 $result_converted{'html_text'}->{'inter_item_commands_in_table'} = '<div 
class="top-level-extent" id="Top">
-<div class="nav-panel">
-</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <ul class="mini-toc">
@@ -2747,8 +2745,6 @@ 
$result_converted{'html_text'}->{'inter_item_commands_in_table'} = '<div class="
 </ul>
 <hr>
 <div class="chapter-level-extent" id="chapter">
-<div class="nav-panel">
-</div>
 <h2 class="chapter" id="chap"><span>1 chap<a class="copiable-link" 
href="#chap"> &para;</a></span></h2>
 
 <dl class="vtable">
diff --git a/tp/tests/formatting/res_parser/cpp_lines/cpp_lines.html 
b/tp/tests/formatting/res_parser/cpp_lines/cpp_lines.html
index 848517893e..f0aa91757c 100644
--- a/tp/tests/formatting/res_parser/cpp_lines/cpp_lines.html
+++ b/tp/tests/formatting/res_parser/cpp_lines/cpp_lines.html
@@ -28,13 +28,9 @@ span:hover a.copiable-link {visibility: visible}
 
 <p><a class="email" href="mailto:before%20top";>before top</a>.
 </p>
-<a class="node-id" id="Top"></a><div class="nav-panel">
-</div>
-<h1 class="node"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
+<h1 class="node" id="Top"><span>Top<a class="copiable-link" href="#Top"> 
&para;</a></span></h1>
 <hr>
-<a class="node-id" id="chap"></a><div class="nav-panel">
-</div>
-<h4 class="node"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
+<h4 class="node" id="chap"><span>chap<a class="copiable-link" href="#chap"> 
&para;</a></span></h4>
 
 <p># 10 25 209
 # 1 2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]