--===============0507062715==
Content-Type: multipart/alternative; boundary=0016364eea6206d2a704769f348b
--0016364eea6206d2a704769f348b
Content-Type: text/plain; charset=ISO-8859-1
Hi all,
I'm trying to use the khtml library right now, but I can't seem to figure
out how to use the evaluated style of the html document's elements.
i.e. I'm constructing
DOM::HTMLDocument mydoc = ...
...
DOM::AbstractView aview( mydoc.defaultView() );
...
DOM::HTMLElement currentElement = ....
CSSStyleDeclaration decl ( aview.getComputedStyle(currentElement, ""
/*Implicitly converted to DOMString*/) );
but then the returned style is not null, yet it returns a 0-length DOMString
in a call to decl.cssText() .
What am I doing wrong here?
--
Yours sincerely,
Alexander Novikov.
3A Software Engineering
University of Waterloo
--0016364eea6206d2a704769f348b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi all,
I'm trying to use the khtml library right no=
w, but I can't seem to figure out how to use the evaluated style of the=
html document's elements.
i.e. I'm constr=
ucting
DOM::HTMLDocument mydoc =3D ...
...
DOM::AbstractView aview( mydoc.defaultView() );
...
DO=
M::HTMLElement currentElement =3D ....
CSSStyleDec=
laration decl ( aview.getComputedStyle(currentElement, =A0"" /*Im=
plicitly converted to DOMString*/) );
but then the returned style is not null, yet it returns=
a 0-length DOMString in a call to decl.cssText() .
What am I doing wrong here?
--
Yours sincerely,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 Alexander Novikov.
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 3A Software Engineering
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 University of Waterloo
--0016364eea6206d2a704769f348b--
--===============0507062715==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
--===============0507062715==--