Re: Test Submission (foreign content)

On Thu, 13 May 2010 17:40:19 +0200, Kris Krueger <krisk@microsoft.com>  
wrote:
> During our IE9 development we have created some tests for foreign  
> content. To help interoperability I have submitted these tests to HG.
>
> Please take some time to read the tests and provide feedback.

http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_001.html

I don't understand why there is an <object> element here.

childNodes[0] for the <object> element is a text node, not an element  
node. So if this passes you have a bug...


http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_002.html

There is no innerHTML for SVG elements per the SVG specification. It  
probably should exist, but for now if this passes there's a bug...


http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_003.html
http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_004.html
http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_005.html
http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_008.html
http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_009.html
http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_010.html

See comments on childNodes for ..._001.html.


http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_006.html

This test should make it way more clear it is testing error handling. And  
various kinds of at that. E.g. besides implicit creation of <body> it also  
tests that attributes are moved.


http://dvcs.w3.org/hg/html/raw-file/0957535bc513/tests/submission/Microsoft/foreigncontent/foreign_content_007.html

Needs a <title> I guess.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 17 May 2010 08:15:05 UTC