[Webkit-unassigned] [Bug 89313] "disabled" elements are not loaded when enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 18 15:53:11 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89313





--- Comment #4 from Ilya Grigorik <ilya at igvita.com>  2012-06-18 15:52:57 PST ---
(In reply to comment #3)
> Thanks for looking that up. If it isn't clear about this, it is probably best to start a thread on whatwg first.

What's the question we're trying to get answered? This seems like an implementation edge case in WebKit: a resource can be marked as disabled, but there is no way to enable it later. 

After some further searching, a few sister bugs:

#26673: Dynamically changing .disabled doesn't work 
#56932: Alternate stylesheets are not present in document.styleSheets 
crbug.com/88310: setting disable=true on stylesheet removes it from document.styleSheets

To thicken the plot, unlike what the spec says above, WebKit does actually download alternate stylesheets today, which is inconsistent with behavior of "disabled" - and as the spec above shows, these are linked.

Option (a): lazy load alternate and disabled stylesheets
Option (b): load alternate and disabled stylesheets (both are implicitly disabled when loaded)

P.S. Alternate download test: http://jsbin.com/3/omulof/15/quiet

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list