W3C home > Mailing lists > Public > www-svg@w3.org > March 2009

Re: View Source (was: SVG Feedback on HTML5 SVG Proposal)

From: Karl Dubost <karl@la-grange.net>
Date: Mon, 16 Mar 2009 23:32:06 -0400
Cc: www-svg@w3.org, public-html@w3.org
Message-Id: <EAFB4DFE-3CA4-4419-BEA0-001FD3E7ECCE@la-grange.net>
To: "L. David Baron" <dbaron@dbaron.org>

Le 16 mars 2009 à 21:39, L. David Baron a écrit :
> Showing cleaned up source breaks the idea of doing view-source to
> figure out why a page is misbehaving, which is important when
> diagnosing browser bugs or diagnosing cases where a page depends on
> browser-specific behavior.

There was a time that doctors were thinking that patients had to feel  
the pain to be able to identify what was wrong and cure them. This  
time has mostly disappeared.

I understand the benefits of an "unaltered" source. (Still we could  
say that some errors come from scripts on the server side and we can't  
see the original source in browsers.) BUT you could perfectly propose  
it as an option such as "view canonical source" in addition to "view  
raw source". Or having the "view raw source" only for tech savy people  
(when developer mode is activated.)

But all that is mostly UI issues.

The real issue is how to make it "canonical". There are many options  
and we do not have yet decided of the right options.

Things like
Does it become
	<span style="text-align:center;">foo</span>
or	foo
or	<span class="canon001">foo</span>  (with external stylesheet)

Karl Dubost
Montréal, QC, Canada
Received on Tuesday, 17 March 2009 03:32:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:16 UTC