[libcroco-list] API corresponding to getComputedStyle() of DOM



DOM Level 2 Style declare ViewCSS::getComputedStyle()
to return fully computed CSSStyleDeclaration; e.g.
when I give a height of 2em, CSSStyleDeclaration
returned by getComputedStyle() have 36px of height.

You can see a full example html here;
http://www.csie.ntu.edu.tw/~b7506051/docs/GeckoDOM/examples7.html

I've seen cr-lay-eng.c have some lines of code that
include parent's style into calculation for current style.
But they're not public and not universal.

I think that I need a public API to get computed style
of any property of any kind of value. Desirable?

Thanks in advance,
kz.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]