Re: [whatwg] Questions about script attributes in HTML5

2010-08-24 Thread Ian Hickson
On Thu, 29 Jul 2010, zhao Matt wrote: Quote: The async and defer attributes are boolean attributes that indicate how the script should be executedThe defer attribute may be specified even if the async attribute is specified Do it mean 'async' is equivalent to 'defer'? (namely, are the

Re: [whatwg] Questions about script attributes in HTML5

2010-07-29 Thread Henri Sivonen
Aryeh Gregor wrote: Quote: The defer and async attributes must not be specified if the src attribute is not present. Do it mean if the src attribute is not present, the defer and async attributes can be not used ? (English is not my native language, :) ) Yes. I don't know why

[whatwg] Questions about script attributes in HTML5

2010-07-28 Thread zhao Matt
Quote: The async and defer attributes are boolean attributes that indicate how the script should be executedThe defer attribute may be specified even if the async attribute is specified Do it mean 'async' is equivalent to 'defer'? (namely, are the two attributes interchangeable?) I personally

Re: [whatwg] Questions about script attributes in HTML5

2010-07-28 Thread Aryeh Gregor
On Wed, Jul 28, 2010 at 1:20 PM, zhao Matt mattzhao...@gmail.com wrote: Quote: The async and defer attributes are boolean attributes that indicate how the script should be executedThe defer attribute may be specified even if the async attribute is specified Do it mean 'async' is