On Thu, 17 Jul 2008, Jonas Sicking wrote:
Assuming there is something sane we can all agree on. So far that is not
the case. On both points :)
I think the current text in the spec is pretty reasonable at this point.
The main text is here:
http://www.whatwg.org/specs/web-apps/current-work/#dynamic-changes-to-base-urls
...and other parts of the spec ensure that the "Otherwise" clause in that
section is true (e.g. by carefully defining when a URL is resolved and
then not resolving it again in the algorithms).
Out of curiosity, why make exceptions for hyperlinks here and the cite
attribute here? As opposed to for example images and iframes?
I haven't yet covered style="" attributes. The problem with CSS is that
there is no clear point at which URLs are resolved... can we say it
happens during parsing, so that the absolute URLs computed for the first
cascade are set once and for all?
That would work I think.
/ Jonas