#17706 closed defect (bug) (fixed)
removeAttr('style') to fix #17058 does not work in Chromium
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Menus | Keywords: | has-patch |
Focuses: | Cc: |
Description
The second part of #17058, unable to view submenu on hover after toggling closed and collapsing the menu, is not fixed for Chrom(ium|e).
This is because removeAttribute('style'), used internally by the jQuery removeAttr() function, does not work properly in said browser. Tested using Chromium 11.0.696.71 on Linux.
http://code.google.com/p/chromium/issues/detail?id=80670
http://code.google.com/p/chromium/issues/detail?id=35751
Strangely if you try to observe the behaviour as it happens using the inbuilt developer tools it works as expected. You can only check that "display:none;" is still set after toggling the submenu closed.
An alternative method I thought of to fix this was to use .css('display','')
. This works in both Chromium and Firefox in testing. Any other methods?
Note that the first part of #17058 isn't an issue since submenus are hidden by width = 0 when the menu is collapsed.
In [18170]: