#69 new
Diego Perini

stylesheet helpers API

Reported by Diego Perini | June 8th, 2010 @ 05:22 PM

Could we get the stylesheets relevant parts separated out from "dom_loaded.js" in their own place, maybe "stylesheet.js" ?

I am talking about all these:

getSheetElements()
getSheetObject()
getStyle()
getSheet()
getRules()
addImports()
addRule()
RemoveRule()
injectRules()

plus adding missing/needed API to have a complete set of tools to directly handle stylesheets rules.

I believe in some circumstance this will be the preferred way to produce changes to multiple elements in a faster more responsive way. We let the browser do all the job for us. I said in some circumstance but thinking about it maybe it would be better in performance also for less complex operations. Maybe some easy way to test this ?

I do not have access to all those Windows developer goodies :)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.

Pages