[whatwg] WA1: base

2005-09-02 Thread fantasai
# The href content attribute, if specified, must contain a URI (or IRI). Can the href attribute be empty? # User agents must use the value of the href attribute on the first base # element in the document as the document entity's base URI Current behavior is to use the nearest previous base

[whatwg] [WA1] The a element could be empty

2005-09-02 Thread Simon Pieters
Hi, Since that's not actually a link (the href points to the javascript: URL scheme which is an ugly hack), what's wrong with: span id=print class=link/span How is an empty span less harmful than an empty a element without an href attribute? Where the link class may be styled to look

Re: [whatwg] [WA1] The a element could be empty

2005-09-02 Thread Matthew Raymond
Simon Pieters wrote: Since that's not actually a link (the href points to the javascript: URL scheme which is an ugly hack), what's wrong with: span id=print class=link/span How is an empty span less harmful than an empty a element without an href attribute? An empty a element is

Re: [whatwg] [WA1] The a element could be empty

2005-09-02 Thread Jim Ley
On 9/2/05, Matthew Raymond [EMAIL PROTECTED] wrote: 1) Why wouldn't you want the content in the element to be inserted by Javascript when the page loads when you can just include the content in markup and hide it using CSS? Not particularly wanting to support the OP's issue - I don't see a

Re: [whatwg] [WA1] The a element could be empty

2005-09-02 Thread S. Mike Dierken
An empty a element is semantically meaningless. An a element can be a target of a link - it is addressable via a URI. Does that count as meaningless? See http://www.w3.org/TR/REC-html40/struct/links.html#h-12.1 The destination anchor of a link may be an element within an HTML document. The

Re: [whatwg] [WA1] The a element could be empty

2005-09-02 Thread fantasai
S. Mike Dierken wrote: An empty a element is semantically meaningless. An a element can be a target of a link - it is addressable via a URI. Does that count as meaningless? See http://www.w3.org/TR/REC-html40/struct/links.html#h-12.1 The destination anchor of a link may be an element within