Christian Biesinger wrote:
Gus Richter wrote:
I spoke up pointing out that it is indeed through the HTML
Specification and more specifically by the HTML DTD.
No, the HTML spec is only authoritative for parsing, as you later point
out. The question was about how things are _rendered_.
More accurately, how is it determined what the default rendering of a
given element is. Tony's answer was that one is told by the HTML
Specification. I concurred and in my very first posting 2/26/2007 showed
where in the HTML Spec it may be found.
And clearly HTML is not the spec that describes that, because the
mentioned <noscript> tag, at least, is rendered differently from what
HTML says.
See my first posting on 3/2/2007 where I explain how HTML defines the
"default" presentation/rendering for block and inline elements.
You say that HTML does not say how things are rendered, because
<noscript> renders differently from what HTML says.
How can it not say what it says?
How can a browser rendering one element differently (justifiably or not)
cause the spec to be discounted for all the other elements?
A conforming browser will conform with HTML Specs. The fact that
<noscript> is rendered differently from what the Specs say, only says,
at worst, that the browser is non-conforming.
There is such a Specification, is nice to have and a necessity. I
cannot imagine how it could work without the spec stipulating which
element is of which default display type.
Oh, well, it'd work like the standard way on the Web. Check what other
browsers do. There is no spec for parsing HTML either (HTML 4.01 itself
doesn't describe error handling), but browsers must be able to parse
malformed HTML. Hixie is writing a spec for that now, but until then
there was no such spec.
I must be missing something in terminology or where used, because in the
beginning you state that, "HTML spec is only authoritative for parsing"
and now you that, "There is no spec for parsing HTML".
Are we only going in circles?
--
Gus
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout