Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Noscript tag implementation has changed Reply To: Noscript tag implementation has changed

#287455
Shikkediel
Participant

Thirdly, any CSS that was intended for other span elements could suddenly affect the noscript children.

I don’t get this at all:

Outside of head elements, if scripting is disabled for the noscript element the noscript element’s content model is transparent

Outside of head elements, if scripting is enabled for the noscript element the noscript element must contain only text

How? In regard to the latter. Should you empty the initial elements with JS? What’s the point…

That’s a side track though. I doubt many care.

Specification

If I’m not mistaken, that documentation says to either completely remove the noscript tag or at least treat it as non-existent. Not replace it with a span. I find it very odd.

Edit – the quotes are likely just for browser developers, I would think. And the content be treated as text and not HTML elements. Makes little sense otherwise.