On Tue, Aug 05, 2003 at 11:39:59AM +0200, Frank de Lange wrote:
This is in violation of the HTML specs (href is a required parameter for <base>). What should Dillo do in this case? Currently it only checks for the target parameter after it has found a href in the tag (literal interpretation the definition of <base>), but this breaks pages like Namesys' which violate the standard. I can:
a) unconditionally change the code so these pages work b) add a compile option (--pedantic-mode or --quirks-mode or whatever) to disable/enable these changes c) leave it the way it is
I personally prefer b, which gives everyone a choice. Choice is good.
Having just worked my way through the XHTML-1.0 specifications (previous work was based on 3.2 and 4.01), I suggest the following: The next version of the patch will include a compile option '--xhtml-dtd' which can be set to 'strict', 'transitional' and 'frameset'. The 'strict' setting follows XHTML-1.0-Strict (and thus disables frames and frame-related code). With 'transitional' iframe is supported, frameset is not (leaving out the frameset-related code from the binary). Use 'frameset' for full frame support. Default setting will be 'frameset' to get the behaviour most people expect. Any suggestions/comments to my suggestion? Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / +46-734352015 \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-640037120 / \ frank@unternet.org / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ]