From privat at ni-po.com Sat May 1 02:09:19 2010 From: privat at ni-po.com (Nikita Popov) Date: Sat, 01 May 2010 11:09:19 +0200 Subject: [whatwg] Headings and sections, role of H2-H6 In-Reply-To: <4BDB8B9B.9000300@mit.edu> References: <5A125DA3E79E424DBD735503F4D59039@p> <4BDAC6E3.2010302@ni-po.com> <4BDAE4FF.6070507@mit.edu> <4BDB1CB7.4080704@ni-po.com> <4BDB8B9B.9000300@mit.edu> Message-ID: <4BDBEFBF.8020107@ni-po.com> On 01.05.2010 04:02, Boris Zbarsky wrote: > On 4/30/10 2:08 PM, Nikita Popov wrote: >> I don't know whether I would be happy, if all headings in my document >> were shown *BIG*, 'cause I use h1 everywhere. I would much more >> appreciate them to be unstyled. (But this is only personal opinion.) > > Really? Given: > > This is a header > This is some text after the header. > > The "unstyled" rendering you would see is: > > This is a headerThis is some text after the header. Yeah, you're right. This would be problematic. This does convince me, that using is not a good idea. > >> I easily think that using h1 everywhere isn't semantically correct. >> Especially if the subsections (with their h1s) cannot be redistributed >> solely it does not make any sense. > > I'm not sure I follow. I wanted to say, that it does not make sense to me, to use a highest ranking heading in all sections, subsections, and subsubsubsections, especially if they cannot be used solely (out of context). > >> But maybe you are right. The html5 spec is already blown up with stuff >> nobody will ever use (keygen?) enough. > > Amusingly enough, keygen is something I use once a year or so (when my > user certificate expires), and something that MIT students need to use > to, say, register for classes (or view their grades, deal with > bursar's office stuff online, etc, etc). See > https://ca.mit.edu/ca/certgen (though that will likely require a > login... that you may not have). See > http://ist.mit.edu/services/certificates for the various documentation. I do not deny, that keygen has it's use cases (the "nobody" was hyperbolic). I only think, that the use cases are *very* rare. It is overkill to introduce an HTML element therefore. It would be much more sane to provide a JS API (as Janos proposed.) [I would do it myself, but I have only very little knowledge on encryption.] From herenvardo at gmail.com Sat May 1 04:11:58 2010 From: herenvardo at gmail.com (Eduard Pascual) Date: Sat, 1 May 2010 13:11:58 +0200 Subject: [whatwg] The real issue with HTML5's sectioning model In-Reply-To: References: Message-ID: On Sat, May 1, 2010 at 3:56 AM, Anne van Kesteren wrote: > On Sat, 01 May 2010 10:42:03 +0900, James Robinson > wrote: >> >> Is this sort of reply really necessary? ?I have not been following the >> surrounding discussion, but this email showed up as a new thread in my >> mail client. ?Based on this tone, I now have no desire to catch up on the >> rest of the discussion. > > My bad. It's just that we've been over this discussion like a gazillion > times Really? Then I must have missed something. Please keep in mind that this was *not* another HTML5 vs. XHTML2 thread; but a discussion on the issues triggered by HTML5's approach (styling, compatibility, room for future evolution, spec-bloating). The (partial) comparison with XHTML2 was only intended to help highlighting the root of these issues. Anyway, I'm working on a formal proposal that will describe the problems in terms of use-cases and examples, and my suggested solution in the form of (mostly) spec-ready text, accompanied with rationales for each proposed change to the current draft, but *without* any mention to XHTML2 (it could properly serve as an example to discuss some concepts in the abstract, but it has no place in a more formal proposal). > and it would be nice that if we were to have it again at least we > started with the correct facts. Then let's start by taking *correct* facts. My original statement about XHTML2's sectioning model was indeed a simplification, but the goal of that was highlighting the best aspects of their approach, not to degrade this into yet another XHTML2 vs. HTML5 discussion. On the other hand, your statement: > Which are that XHTML2 had exactly the same > design as HTML5 has now Is a blatant lie. The key difference between XHTML2's and HTML5's approaches to sectioning (and the one my suggestion was based on) is that XHTML2 defines *a single element* to mark up sections (unsurprisingly named
), while HTML5 defines several (
,