[webkit-dev] Reg. Direct DOM access without getElementById fails....

Vicky Tux ssseintr2 at gmail.com
Wed Dec 7 01:46:11 PST 2011


Hi All,

I have facing an issue with Direct DOM  access via "document" object.

See,
<body><img src='s.jpg' id='img1'/></body>

If I access document.img1, webkit throws error, but other browsers
likeFireFox & Opera works without any problem for both HTML & XHTML
documents.

Any suggestions..?

Please refer the attachments for more info.

Regards,
Vicky.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111207/8731705f/attachment-0002.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111207/8731705f/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: massedroses.jpg
Type: image/jpeg
Size: 114477 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111207/8731705f/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xhtml
Type: application/xhtml+xml
Size: 770 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111207/8731705f/attachment-0001.bin>


More information about the webkit-dev mailing list