WebKit question
WebKit question
- Subject: WebKit question
- From: Dmitry Markman <email@hidden>
- Date: Mon, 12 Apr 2004 23:51:43 -0400
Hi,
how I can tell to the WebView to "re-render" the page?
here is my problem:
I'm using WebView's stringByEvaluatingJavaScriptFromString to
change some DOM's element on the page
for example I'm changing TEXT elements (using Text's replaceData,
deleteData, setData, splitText e.t.c.)
it works, but looks wrong, so I need to tell to WebView to make
rendering again
I found workaround:
[webView makeTextLarger:self];
[webView makeTextSmaller:self];
and everything is OK after calling that pair.
is there another way to do that?
or I have to consider it as a bug?
(after calling replaceData for some arbitrary Text node WebView content
was not updated
correctly)
thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.