[whatwg] WA1: base and href

2005-07-18 Thread fantasai

In HTML 4, the 'href' attribute of the base element is #REQUIRED.
Is there a reason why in HTML 5 it is not required?

~fantasai



Re: [whatwg] WA1: base and href

2005-07-18 Thread fantasai

Ian Hickson wrote:

On Mon, 18 Jul 2005, fantasai wrote:


In HTML 4, the 'href' attribute of the base element is #REQUIRED.
Is there a reason why in HTML 5 it is not required?


What's the point in making it required?


What's the point in making the img element's 'src' attribute required?

~fantasai


Re: [whatwg] WA1: base and href

2005-07-18 Thread Ian Hickson
On Mon, 18 Jul 2005, fantasai wrote:
 Ian Hickson wrote:
  On Mon, 18 Jul 2005, fantasai wrote:
  
   In HTML 4, the 'href' attribute of the base element is #REQUIRED.
   Is there a reason why in HTML 5 it is not required?
  
  What's the point in making it required?
 
 What's the point in making the img element's 'src' attribute required?

I don't know, I haven't finished that section yet. I expect to change that 
section eventually to say something like src is required if alt is 
present and alt is required if src is present, or some such, but I 
haven't thought about it yet.

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] WA1: base and href

2005-07-18 Thread L. David Baron
On Monday 2005-07-18 08:44 -0400, fantasai wrote:
 In HTML 4, the 'href' attribute of the base element is #REQUIRED.
 Is there a reason why in HTML 5 it is not required?

base target=foo is pretty common on pages that use frames.  Then
again, the web apps spec doesn't seem to mention target at all.

-David

-- 
L. David BaronURL: http://dbaron.org/ 
  Technical Lead, Layout  CSS, The Mozilla Foundation


pgpye2wgfMVRX.pgp
Description: PGP signature


Re: [whatwg] WA1: base and href

2005-07-18 Thread fantasai

L. David Baron wrote:

On Monday 2005-07-18 08:44 -0400, fantasai wrote:


In HTML 4, the 'href' attribute of the base element is #REQUIRED.
Is there a reason why in HTML 5 it is not required?



base target=foo is pretty common on pages that use frames.  Then
again, the web apps spec doesn't seem to mention target at all.


Yes. If 'target' were added to WA1, then I'd say require either 'target'
or 'href': I don't see any use in allowing base with no attributes.

~fantasai