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

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
	<center>foo</center>
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:36 UTC