On Mon, 07 Feb 2011 01:58:03 +0100, Jorge <[email protected]> wrote:
On Feb 7, 12:35 am, jdalton <[email protected]> wrote:
@Jorge:
Shows Chrome 11 and Safari 5 failing at least 1 of the tests:
http://jsbin.com/ipowa4
It's quite debatable whether it's a bug to create a table with a
tbody...
I concur.
The test checks whether the value set as innerHTML is the same as
the one read back afterwards. There is nothing that suggests that
this must be the case. The formatting of the values read from innerHTML
is not specified. E.g., if there is an element with multiple attributes,
they can come back in any order. The reason that it appears to work for
the other tests is probably that they are so simple that there is only
one format possible.
In the last case, the table test, the input syntax omits the start and
end tags of the mandatory tbody element (the element is mandatory, the
tags are not).
Reading innerHTML back shows the element, which is almost expectable.
I'd say that this particular test doesn't show a problem with innerHTML,
apart from it not being fully specified. That might be the problem that
some people here are having, and other people don't concider that a
problem.
/L
--
To view archived discussions from the original JSMentors Mailman list:
http://www.mail-archive.com/[email protected]/
To search via a non-Google archive, visit here:
http://www.mail-archive.com/[email protected]/
To unsubscribe from this group, send email to
[email protected]