Re: [html-tests] Change document-color-01.html to not remove the top-level body. (#2951)

Makes sense -- removing the body of the top-level document and re-adding at the end of the test does work, and resetting the colors at the end of the test allows everything to be displayed as usual.

I'd also like to change this test to test verify that setting does nothing when there's no body, but it may be neater to do this in a separate pull request.

I was also considering adding a separate test method next to the original that does the same thing but verifies that setting and getting does have an effect when there is a body, although this is done in document-color-02.html, so maybe there's no need; any thoughts?

View on GitHub: https://github.com/w3c/web-platform-tests/pull/2951#issuecomment-217223949

Received on Thursday, 5 May 2016 17:50:01 UTC