On Tue, Jul 22, 2025 at 10:34:44AM +0200, Patrice Dumas wrote:
> It seems that both style and script are in HTML 4, so we would not lose the 
> conformance with HTML4 by removing the comments.  In addition, if I
> understand well, removing the comments possible consequence on browser
> not supporting the elements would be rendering of what is inside the
> element as text, which is not so bad.


They were even in HTML 3.2:

    SCRIPT reserved for future use with scripting languages.
    STYLE reserved for future use with style sheets.

    ...

    Note that conforming browsers won't render the contents of SCRIPT and
    STYLE elements.

https://www.w3.org/TR/2018/SPSD-html32-20180315/#head

Reply via email to