Myk Melez wrote:
Some settings will get applied by rules in a user stylesheet

We already have a mechanism for this, right?

I chatted with dbaron about it, and he suggested this might best be accomplished with a new settings object that gets queried by the various other objects for relevant settings at appropriate stages in the loading process.

That might work, yeah. It's certainly a flexible enough idea to do pretty much anything with it depending on how much core code you're willing to change to be aware of this settings object.

Is there any reason not to implement such an object as a JavaScript component?

Depends on how you use it. If it's queried once per pageload to get some data that core layout then uses, it can probably be a JS component. If it's going to be hooked into something that happens often, then performance could be a problem with the JS component approach.

-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to