- From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Jun 2017 19:59:40 +0000
- To: public-css-archive@w3.org
> Servo uses the document element of the document Which document? The node document of the element passed to `getComputedStyle`, or the document the style is being computed in (that is, the document of the window which was the `this` for the `getComputedStyle` call)? > outside of the document "The document" (which one, per above), or "a document" or "a document that has a browsing context"? I'm pretty sure they compute style for an element that is in its node document's document tree if that node document has a browsing context. Dunno what they do if you `getComputedStyle` on something in an XHR `responseXML`, say. -- GitHub Notification of comment by bzbarsky Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1548#issuecomment-310188452 using your GitHub account
Received on Wednesday, 21 June 2017 19:59:46 UTC