[Bug 28832] comments that can survive in minified files

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28832

Nick Levinson <Nick_Levinson@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #2 from Nick Levinson <Nick_Levinson@yahoo.com> ---
Yes, it is an HTML issue, because the format for comments is in HTML5 section
8.1.6. Google recommended that I speed page loading of my site by minifying my
HTML and CSS files; I've never had JavaScript except that supplied by Google,
which I think I added to my pages only after their minification recommendation,
and their JavaScript includes a comment that presumably should not be removed
by minification, yet its format is the same as for most comments.

Minification generally consists of removing whitespace, comments, and other
things not necessary for user agents' interpretation of coding. User agents
wouldn't do minification. Some other apps would do it.

I'll keep specifiction.org in mind for when I can't figure out which spec is
relevant. Thanks.

I don't know whether a string should be inserted into a comment to
prevent/discourage minification or if a different comment format altogether
would be preferable.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 26 June 2015 01:56:40 UTC