Closed Bug 635503 Opened 15 years ago Closed 15 years ago

Menu added to DOMI by Stylish is always disabled

Categories

(Other Applications :: DOM Inspector, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jason.barnabe, Unassigned)

References

Details

(Keywords: regression)

Firefox 4.0b9 DOMI 2.0.9 Stylish 1.1 https://addons.mozilla.org/en-US/firefox/addon/stylish/ Stylish adds a "Copy Selector" context item to the DOM Nodes panel. Since DOMI 2.0.9, it's always disabled. Bug 589300 added code that basically says on context menu showing: -If a menuitem has a command, assume it's one of the internal DOMI ones and use special logic to determine if it's enabled. -If it's a menu, enable if any of its descendants are enabled -Otherwise, assume DOMI is being extended and just check the disabled attribute What Stylish is doing is adding a menu, but the items are only generated when that menu is opened, so it falls under the second case and is always disabled.
Depends on: 589300
Keywords: regression
OS: Linux → Windows CE
We could do a check for a "managed" attribute on menus, where, if present, we don't touch it.
OS: Windows CE → Linux
Stylish has its own workaround for this now.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.