W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] Thoughts on HTML 5

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Sun, 21 Dec 2008 13:49:32 -0800
Message-ID: <c9e12660812211349h208560fbwc6ac03e356c43f00@mail.gmail.com>
On Sun, Dec 21, 2008 at 10:12 AM, Giovanni Campagna
<scampa.giovanni at gmail.com> wrote:
> Please Note: all the following is my personal humble opinion.

> parser is involved), events are far better handled by DOM3Events, styling is
> included by CSSOM

Styling is done in css.

I don't have time to go into the all the problems with CSSOM here.
Shortcomings of the CSSOM 'views' module were discussed on www-style.
'VIews' is not the only CSSOM module that has problems.

> you don't need collection either: just use appropriate DOMNodeLists, while
> for DOMStringMap you may use binding specific features (all Object are hash
> maps in ECMAScript3): it works this way even in HTML5

Where are you getting this information?


> but scripts use certain features only on their own browsing context, so that
> may be moved from that to global scope, removing the whole window object
> from scope (for current javascript you can write
> window.window.window.window.window... and get the same as nothing)

The closest definition to 'nothing' would be the value undefined. I do
not know of a browser where - window.window.window === undefined is
true by default. I get window.

A relevant example would be useful.

The closes thing we got to an example of invalid html is TJ post about
jquery validation plugin. If you click throuh, there is an demo using
a minlength custom attribute. The attribute may have the effect the
author wanted it to have in a set of browses he is concerned about.
That "effect" and the "set of browsers" could be more clearly
demonstrated in an example that shows only that, as well as edge cases
where results may vary.

If you can't define clearly what can be reasonably expected of a piece
of (invalid) code, then nothing can be reasonably expected of it. It's
not a good to write code that can't have an expected outcome.

> Best regards,
> Giovanni Campagna
>
Received on Sunday, 21 December 2008 13:49:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC