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

Re: problem with styling generated TOC links

From: Michiel Bijl <michiel@agosto.nl>
Date: Fri, 19 Feb 2016 11:03:29 +0100
Cc: spec-prod@w3.org
Message-Id: <72B674C7-7116-43BD-BF89-76877B73E007@agosto.nl>
To: Cameron McCormack <cam@mcc.id.au>
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

> On 19 Feb 2016, at 06:33, Cameron McCormack <cam@mcc.id.au> 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?
> 
> -- 
> Cameron McCormack ≝ http://mcc.id.au/
> 


Received on Friday, 19 February 2016 10:03:56 UTC

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