On 11/9/06, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
So how complicated do you expect the answers to the "what sheets should I apply to this site" question be? If we're talking just a hostname match, we could just extend nsIStylesheetService to allow registering sheets for a particular hostname. If we'll take various information and then compute what sheets should apply, the way to go is probably to return a list of URIs and then have layout use the stylesheet cache to actually get sheets for the URIs or something...
Could we not just use a single sheet, and the per-site selectors that dbaron implemented a while back? See http://lists.w3.org/Archives/Public/www-style/2004Aug/0135.html for some details. If it gets to be a performance issue for people who have bazillions of such rules, we could revisit it, but this would seem to be a pretty quick path to a proof of concept against which we could measure performance characteristics and get user feedback. Mike _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

