[webkit-help] query..

Benjamin Poulain benjamin at webkit.org
Sat Feb 8 12:32:27 PST 2014


On 08/02/2014 05:24, Deepak Mittal wrote:
> is support for document.all() supported in webkit..?
Yes, it is supported for HTML Documents.
There are a few errors in your example that would prevent it from
working properly (the attribute language on <script> is not closed, the
function name has a typo, etc).

There is a much easier way to find if something is supported or not. If
you go in Safari->Preferences...->Advanced, there is a check box at the
bottom to enable the Web Inspector (Show Develop menu in menu bar).

Once you have that enable, you can use the Web Inspector to experiment
with the engine. Also see
https://www.webkit.org/blog/2518/state-of-web-inspector/ for an small
introduction to the inspector.


> As the below code :
> <html>
> <head>
> <script language="javascript>
> function setIframeScize(){
> var frame = this.document.all("1");
> alert(frame);
> }
> </script>
> </head>
> <body onload="javascript:setIframeSize()">
> <p name="1" id="11">Hello11</p>
> <p name="1" id="22">Hello22</p>
> </body>
> </html>
> I am getting frame variable as undefined..
> -- 
> Regards
> Deepak Mittal
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20140208/2010fec1/attachment.html>

More information about the webkit-help mailing list