Bug 1027315 - GetAccessibleOrContainer should check across shadow root for document. r=surkov