Let's say someone was writing their own web browser that would parse HTML according to any DTD (whatever specified by the DOCTYPE, SYSTEM or PUBLIC).
And this browser would support CSS for all elements. So for most simple things, supplying a CSS style for it would be enough.
Are there any non-standard elements that you'd want it to support (e.g. FIG, AUTHOR, PERSON, WARNING, etc.) in the default style sheet? And what do you think the default rendering of some standard elements should be?
And for elements like FIG that can't be rendered just based on a CSS style, how should they be done? For example, would you like to see tables use internal scroll bars, so that if TABLE wouldn't fit inside the window, the TBODY rows would scroll while leaving THEAD and TFOOT rows at the top and bottom?
(If you want to make up your own element, could you give a DTD fragment for it?)
And let's say this browser had the following features. How many people would be interested in it?
And finally,
A browser with these limited (albeit useful) features wouldn't be too hard to do, although it wouldn't happen over night.
I am working on a browser. I mentioned some ideas of what I want it to be in the thread "how would you want HTML rendered in the dream browser of the future?" that I started in ciwah.
I'm planning on making the browser rather small and a bit strict. "pedantiWEB" is the name I'm using for it.
I'm doing the browser entirely in Java and it will have to be distributable under the GNU Public License (which means any code I use has to also be redistributable.)
I've already started coding some of the classes needed for the basic SGML elements, and I've got some designs for classes for CSS properties.
For rendering, I already have a Postscript-like graphics class which should make it very easy to do most of the drawing of HTML.
The part that's going to need the most programming work is the SGML parser. I want the browser to have a real SGML parser, so that it can handle both XML and HTML and parse any custom DTDs. I haven't found any Java SGML parsers, so I'll either have to make my own, or try to port James Clark's SP parser from C++ into Java.
I'm also going to spend some time working on a "perfect" DTD which contains many useful elements that currently don't exist in HTML (SECTION, HEADING, PERSON, PLACE, THING, NAME, etc.) I'm hoping to get some help from people in ciwah for this. This DTD may be done as an extension to HTML, or maybe as an XML DTD. I'll hope to get some help on this.
In the next few days I'll be setting up a web page describing exactly what I'll be trying to do with the browser and with the DTD. Although I think it would be nice if discussions about it could go on in the newsgroups, I would set up a mailing list if people here begin to get annoyed. Right now, I think any discussion in the newsgroup or a mailing-list should be about the design of the DTD.
pedantiWEB, a GPL, Java web browser
Last Updated on Wednesday, December 03, 1997.
$Id: discussion.html,v 1.2 1997/12/12 16:36:23 bereza Exp bereza $