Re: [whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior

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

Received on Tuesday, 28 August 2012 17:50:11 UTC