I was told to forward to the correct mailing list. Sorry for any cross posts...
_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com
--- Begin Message ---
Hi all,
This is a reduction of a problem that I'm having:
- I have a HTML with a couple of external CSS files (a requirement from my
client)
- I need to know if the width of an element has been set to 'auto' so that I
can display a visually different icon
From using -computedStyleForElement:pseudoElement:, I actually get back a
computed width, say '173px'. So now I can't tell if the actual width for the
CSS style is actually 'auto' or '173px'. ( Surprisingly, the value for the
style key "margin-left" actually reflects the actual value in the CSS file.)
I tried to get -cssText from the returned DOMCSSStyleDeclaration but it is
empty. So I'm thinking whether there is a way for me to know which actual CSS
rule was used so that I can parse it for myself?
Any one please?
Thanks, Ohmson
_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/ohmson%40myway.com
This email sent to [EMAIL PROTECTED]
--- End Message ---
_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev