w3c/web-platform-tests — pull request #593 by KenjiBaheux (2014-02-03 08:59:52+00:00)
Title: Adjusted queryselector to operate on the SR

I assume that querying from document into a Shadow Root isn't expected
to work. Made the query to operate on the SR which fixes the failing
test(s).