- From: Liam R E Quin <liam@w3.org>
- Date: Sat, 25 Aug 2012 01:01:06 -0400
- To: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
- Cc: "Jens O. Meiert" <jens@meiert.com>, WWW Style <www-style@w3.org>
On Fri, 2012-08-24 at 18:54 +0800, Kang-Hao (Kenny) Lu wrote:
> So the concrete proposal for "//" comment would be:
[...]
A concern I have about this is that it turns a non-line-oriented format
into one where newlines are significant.
<span style="color: red;// background-color: yellow; font-size: 36pt;">
Is "font-size" commented out in (1) the mind of the author, (2) the mind
of the parser?
In
<span style="color: red;
// background-color: yellow;
font-size: 36pt;">
how does attribute value normalization interact with the comment?
What about css minimization tools that remove as much whitespace as
possible?
I think a line-sensitive comment belongs in a server-side preprocessor.
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Co-author, 5th edition of "Beginning XML", Wrox, July 2012
Received on Saturday, 25 August 2012 05:01:19 UTC