[TYPO3-dev] <base> tag and IE6

Dmitry Dulepov [typo3] dmitry at typo3.org
Sun Sep 9 07:04:24 CEST 2007


Hi!

Christian Welzel wrote:
> i have now found a solution to one of my problems:
> Users of IE6 could not select text on my float-based websites using
> the mouse. After googling for hours and trying to fix the "position:
> absolute" bug (that causes the same error) though i didnt use absolute
> on these pages, now all text selection work fine.
> The secret? Typo3 generates the short form of the base tag if config.baseurl 
> is set (<base />). Exactly this short form causes the bug. Changing it to
> <base ...></base> solves it just fine.
> 
> So hereby i request this change to be added to the next release of typo3.
> It costs nothing to the system but makes the life of every web developer 
> much more easier.

You overestimate it by saying "every developer". And the answer is "no" 
because it will violate part 12.4 of HTML specification, which says:

-------------------------
12.4 Path information: the BASE element
<!ELEMENT BASE - O EMPTY               -- document base URI -->
<!ATTLIST BASE
   href        %URI;          #REQUIRED -- URI that acts as base URI --
   >

Start tag: required, End tag: forbidden
-------------------------

Reference: http://www.w3.org/TR/html401/struct/links.html#h-12.4

We do not bring things that violate specifications to the core.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list