Project

General

Profile

Actions

Bug #1629

closed

get custom CSS support working

Added by Matthew Brooke over 20 years ago. Updated over 20 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
jalama-general
Target version:
Start date:
07/07/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1629

Description

Need to be able to specify external CSS file(s) in generated UIs, and pull
existing CSS styles out of XBL Bindings.

Note that it might be feasible and preferable to avoid the use of rdf files for
referencing the CSS, since the whippet webapp (and probably the webclient app)
currently have an xml directive:

Maybe we could do another of these but with the href="our css href" - which
woudl be customized as a chrome:// url for webclient renderer, or http:// url
for the httprenderer. This differentiation is already in place in the renderers
- they "know" what their base url is, and set it automatically in the XULFile
objects

which pulls in the mozilla default stylesheet.

The stylesheet in th eXUL file can be set thru a method in the XULFile.java class

Actions

Also available in: Atom PDF