W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2016

Re: problem with styling generated TOC links

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 19 Feb 2016 22:55:47 -0500
To: spec-prod@w3.org
Message-ID: <56C7E3C3.8090705@inkedblade.net>
On 02/19/2016 12:33 AM, Cameron McCormack wrote:
> 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?

Looks like it. Though the W3C copye was apparently modified today. Weird.

~fantasai
Received on Saturday, 20 February 2016 03:56:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:21 UTC