Closed Bug 208637 Opened 21 years ago Closed 14 years ago

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

Categories

(Other Applications :: DOM Inspector, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: WeirdAl, Unassigned)

Details

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
I've got this fixed in my patch for bug 341894.
Assignee: dom-inspector → nobody
QA Contact: timeless → dom-inspector
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.