[Webkit-unassigned] [Bug 50115] Please implement async=false for dynamic script loading (REGRESSION: LABjs is broken)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 30 11:48:14 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=50115
--- Comment #51 from Kyle Simpson <getify at gmail.com> 2010-12-30 11:48:13 PST ---
If I have in my markup:
<input id="button1" type="button" value="Click Me" disabled />
That button is disabled as I want it to be. If I have another button:
<input id="button2" type="button" value="No, Click Me" />
That button is NOT disabled, because I didn't add the `disabled` attribute. I controlled the disabled state by presence or absence of an attribute.
If I create a button in JavaScript dynamically like this:
var btn = document.createElement("input");
btn.type = "button";
btn.value = "Really, just click me";
I can control if that button is disabled or not by saying:
btn.disabled = true;
btn.disabled = false;
**THIS** is an example of, in my opinion, a markup tag's attribute and its corresponding property in JavaScript being VERY consistent.
However, the same is NOT true for the `async` attribute of script tags.
Is it really so hard to see why this is the "goofed up" inconsistency with `async` attributes and properties I want to solve?
--
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