On Mon, Sep 21, 2009 at 11:58:09PM -0400, Jorge Arellano Cid wrote:
* The HTML parser in table.cc does not create table widgets if USE_TABLES is not defined. Perhaps this code should do the same?
Not necessary. That was an old feature for narrow displays.
In that case, shouldn't we remove USE_TABLES entirely?
* It would be nice if the widgets and the redirect link were styled from the User Agent style in css.cc . ...
AFAIS, the warning widget needs its own scheme, like the rest of the panel.
Perhaps we could extend the default style in css.cc with clauses like "dillo meta-refresh-warning redirect { color: ... }", using "dillo" as a reserved CSS class for internal use? Then all of the style information would be in CSS and none of it would be hard-coded in the parser, which is how it should be. I still haven't worked out how to apply the CSS stylesheets to the widgets I create (the style engine mechanism isn't being applied because I create the widgets directly instead of from HTML). I tried adding calls to styleEngine->{startElement,endElement}() but nothing happened. I'm clearly still missing something. I'll have another look, but any tips will be welcome! Regards, Jeremy Henty