Re: [csswg-drafts] [css-content] Need to clarify in-flow presentation implications for bookmarks

I can't see any reason why display: none should prevent bookmark generation. This is how it works with all sorts of other document metadata: HTML <title> and <meta> elements affect the document regardless of their display value, and many of the most obvious cases for the CSS "string-set" property, such as setting a page header based on the document title or author, require it to apply even on an element with display: none.

Just because the element is not part of the visible node tree of the Document doesn't mean it should have no other effect.

I'm pretty sure AH and Prince both do this with string-set at least, as do we.

If there was a need to turn off bookmarks on a hidden section of the document for some reason, it's easy enough to add "bookmark-level: none" to the stylesheet as well as "display: none"

-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2734#issuecomment-435123660 using your GitHub account

Received on Thursday, 1 November 2018 17:42:51 UTC