CSS Style Rules lower panel must be disabled when upper panel has no selected rule

RESOLVED FIXED

Status

RESOLVED FIXED
16 years ago
9 years ago

People

(Reporter: WeirdAl, Unassigned)

Tracking

Trunk
x86
Windows 98

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
Steps to reproduce:

(1) DOM Inspector, left panel == DOM Nodes, right panel == CSS Style Rules
(2) Left panel, element selected, has no style rules in right panel, upper half
(3) Right panel, upper half, add new style rule via context menu

Error: this.getSelectedRule() has no properties
Source File: chrome://inspector/content/viewers/styleRules/styleRules.js
Line: 232

If we're going to enable that option, we need to apply it to the override style
sheet for that element.  Otherwise, we should disable the entire lower half's
context menu.
Mass re-assigning bugs to dom.inspector@extensions.bugs
Assignee: caillon → dom.inspector
Product: Core → Other Applications

Comment 2

13 years ago
I've got this fixed in my patch for bug 341894.
Assignee: dom-inspector → nobody
QA Contact: timeless → dom-inspector
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.