D
Derik
Can Javascript look at an element node and tell me what CSS code
is affecting it? What's being specifically set to it- what it's
inheriting from other rules? Can it tell me the current value of all
its cumulative BOX model transformations-- not necessarily as
currently laid out on the screen, but in terms of the abstract forces
acting on this element? Can it tell me the font size of a text note
in pts pixels or em's that's been transformed by several nested font-
size:##% rules?
And perhaps most importantly- can it do any of this in less than,
oh... 35 lines of code? (80% of anything worth doing can be done in
35 lines of code or less.)
...I have no idea what I'd /use/ this for-- Firebug supplies my
most pressing need without killing myself with code, but it seems like
there's got to be a use to it, so I want to know!
-Derik
is affecting it? What's being specifically set to it- what it's
inheriting from other rules? Can it tell me the current value of all
its cumulative BOX model transformations-- not necessarily as
currently laid out on the screen, but in terms of the abstract forces
acting on this element? Can it tell me the font size of a text note
in pts pixels or em's that's been transformed by several nested font-
size:##% rules?
And perhaps most importantly- can it do any of this in less than,
oh... 35 lines of code? (80% of anything worth doing can be done in
35 lines of code or less.)
...I have no idea what I'd /use/ this for-- Firebug supplies my
most pressing need without killing myself with code, but it seems like
there's got to be a use to it, so I want to know!
-Derik