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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 18 13:08:35 PDT 2012


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





--- Comment #2 from Ilya Grigorik <ilya at igvita.com>  2012-06-18 13:08:33 PST ---
(In reply to comment #1)
> What does the spec tell us to do here?

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-link-element

"The IDL attribute disabled only applies to style sheet links. When the link element defines a style sheet link, then the disabled attribute behaves as defined for the alternative style sheets DOM... The rules for handling alternative style sheets are defined in the CSS object model specification. "

http://dev.w3.org/csswg/cssom/#requirements-on-user-agents-implementing-the-xml-stylesheet-processing-instruction

"For each xml-stylesheet processing instruction that is not part of the document type declaration and has an href pseudo-attribute these steps must (unless otherwise stated) be run:

1. Let title be the value of the title pseudo-attribute or the empty string if the title pseudo-attribute is not specified.
2. If there is an alternate pseudo-attribute whose value is a case-sensitive match for "yes" and title is the empty string terminate these steps."

So, if I'm reading this correctly. No initial download is correct behavior. The problem is that there is no way to "enable" it later. And I don't see any specific language in the spec talking about the enable step either.

-- 
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