Bug 16250 - Implement Element.all (http://news.vnet.cn : Mouse hover on tabs not working)
Summary: Implement Element.all (http://news.vnet.cn : Mouse hover on tabs not working)
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://news.vnet.cn
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 09:00 PST by Anantha Keesara
Modified: 2023-08-23 07:40 PDT (History)
3 users (show)

See Also:


Attachments
reduction (296 bytes, text/html)
2007-12-02 09:02 PST, Anantha Keesara
no flags Details
Patch (12.22 KB, patch)
2008-01-19 16:16 PST, David Smith
eric: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2007-12-02 09:00:07 PST
Steps: Mouse over on tabs below flash image, with 1 2 3, on left side of the page.

Issue: The tab content doesn't change.

IE and Opera gets it right.

Tested with: WebKit-SVN-r28278
Comment 1 Anantha Keesara 2007-12-02 09:02:07 PST
Created attachment 17647 [details]
reduction
Comment 2 Alexey Proskuryakov 2007-12-03 02:40:59 PST
Confirmed. We only have document.all, HTML elements do not implement all() in WebKit.
Comment 3 Alexey Proskuryakov 2007-12-03 02:41:10 PST
http://msdn2.microsoft.com/en-us/library/ms537434.aspx
Comment 4 Maciej Stachowiak 2008-01-14 05:43:29 PST
Should Element.all be hidden, like Document.all?
Comment 5 Eric Seidel (no email) 2008-01-14 09:30:01 PST
I'm no expert in the area.  But I would suggest we hide it.  There is no sense in advertising our being more like IE.  Element.all only needs to exist for compat with sites which only assume IE (and are currently completely broken on all non-IE browsers).

We already have the code to make a hidden property, we can just reuse the stuff for Document.all.
Comment 6 Jeff Walden (remove +bwo to email) 2008-01-19 15:45:04 PST
Catfish_Man asks me to note this here:

While I'm thinking about it, I remember hearing that Mozilla got asked to implement Element.all but didn't see the need and were attempting to hold the line on that particular IEism; webkit implementing doesn't help that.  :-\
Comment 7 David Smith 2008-01-19 16:16:51 PST
Created attachment 18557 [details]
Patch

The full .all feature is pretty weird, according to Microsoft's documentation. This reuses what we have for document.all, which is enough to make the tabs on news.vnet.cn work.
Comment 8 Eric Seidel (no email) 2008-01-21 23:39:55 PST
Comment on attachment 18557 [details]
Patch

So I think this patch is fine.  The only thing missing is test cases. :)

r- until we add at least one element.all test case! :)  The test that it's undetectable is nice, but doesn't really test the feature. :)
Comment 9 Anne van Kesteren 2023-08-23 07:40:09 PDT
At this point this is no longer needed.