Discussion:
problem with styling generated TOC links
fantasai
2016-02-20 03:55:47 UTC
Permalink
I’m trying to apply the new TR style sheet to the SVG 2 spec, and I
think there is a problem with the fixup.js script and the base.css style
<nav id="toc-nav">
<a id="toc-jump" href="#toc">
<abbr>...</abbr>
</a>
<a id="toc-toggle" class="toc-toggle" href="#toc">
<attr>...</title>
</a>
</nav>
and inserts it as the first child of the <body>. base.css though has
body > #toc-toggle {
position: fixed;
...
}
Are the script and style sheet out of sync?
Looks like it. Though the W3C copye was apparently modified today. Weird.

~fantasai
Michiel Bijl
2016-02-19 10:03:29 UTC
Permalink
All elements should be contained within a landmark, so body > #toc-toggle doesn’t make any sense. That must mean the CSS is behind for some reason.

—Michiel
I’m trying to apply the new TR style sheet to the SVG 2 spec, and I
think there is a problem with the fixup.js script and the base.css style
<nav id="toc-nav">
<a id="toc-jump" href="#toc">
<abbr>...</abbr>
</a>
<a id="toc-toggle" class="toc-toggle" href="#toc">
<attr>...</title>
</a>
</nav>
and inserts it as the first child of the <body>. base.css though has
body > #toc-toggle {
position: fixed;
...
}
Are the script and style sheet out of sync?
--
Cameron McCormack ≝ http://mcc.id.au/
Loading...