[Bug 25582] [DOM-P&S] Two short questions

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25582

--- Comment #4 from Travis Leithead [MSFT] <travil@microsoft.com> ---
> Regarding parseFromString() something else interested me:
> 
> "text/html" 
> [The scripting flag must be set to "disabled".]
> 
> This apply only for this type or should be apply to more?

The "scripting flag" is a concept that only makes sense for the HTML Parser.
Thus, I think this is correct. The XML namespace-aware parser processing XHTML
will presumably also not execute the script--but here I am less sure, and will
need to check. (Most browsers route the elements created by the XML Parser that
are in the HTML namespace through the same underlying processing code that
handles HTML elements, so this wouldn't surprise me.) If this turns out to be
true I may need to invent something to indicate that this same flag should be
set for XHTML script elements...


> And origin, don't see any info about it for new document. 
> In DOM we have some step:
> http://dom.spec.whatwg.org/#dom-domimplementation-createdocument
> http://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument
> 
> This bug exist in WHATWG section:
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=15916

The spec mentions that:
   "Additionally, the document must have a URL value equal to the URL of the
active document, a location value of null."

So its "origin" as I think I understand it, is the same as the main document. I
may need to clarify this though??

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 6 May 2014 23:49:06 UTC