problem with styling generated TOC links
Cameron McCormack <[email protected]> Fri, 19 Feb 2016 16:33:45 +1100
| Newsgroups | gmane.org.w3c.specifications |
|---|---|
| Organization | Mozilla Corporation |
| Message-ID | <[email protected]> |
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
sheet in https://www.w3.org/StyleSheets/TR/2016/. The script generates:
<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
styles like:
body > #toc-toggle {
position: fixed;
...
}
Are the script and style sheet out of sync?
--
Cameron McCormack ≝ http://mcc.id.au/