[whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior
Boris Zbarsky
bzbarsky at MIT.EDU
Tue Aug 28 10:49:18 PDT 2012
On 8/28/12 1:46 PM, Ian Hickson wrote:
> <script> elements have a ton of state, but for this particular issue, the
> state that is needed is:
>
> - presence or absence of src="" attribute
> - "parser-inserted" flag
> - whether the parser in question was an XML parser or HTML parser
> - parser's script nesting level while "prepare the script" is running
> - whether the parser's Document has a "style sheet that is blocking scripts"
Sure. The state is not a problem; the logic is.
By the way, does the spec currently block scripts in a page on
stylesheets in subframes? I _think_ Gecko might do that in some cases;
I haven't looked recently... Also not sure what other UAs do.
-Boris
More information about the whatwg
mailing list