Bug in test_resource_reparenting.html

Hi there,

I was looking at test_resource_reparenting.html and I think it is
incorrect. Per the HTML spec, image loading is triggered
asynchronously, see step 8 here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/edits.html#update-the-image-data

As a result, if an <img> element gets re-parented immediately, it
abort the initial async task, and queue a new async task for the new
document. So, only move_to_child should show up in the resource list
here.

Incidentally, I can't find a repository that contains that test, I can
only find an open pull request:
https://github.com/w3c/web-platform-tests/pull/402/commits
The webperf repository doesn't seem to have the test anymore?

-christian

Received on Tuesday, 1 April 2014 23:33:27 UTC