mode reverts to dom node when selecting #text and stays there

RESOLVED INCOMPLETE

Status

--
enhancement
RESOLVED INCOMPLETE
17 years ago
2 months ago

People

(Reporter: timeless, Unassigned)

Tracking

Trunk
x86
Windows 2000

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/2002090408

steps:
1. inspect a document (eg attachment 97754 [details])
2. select css style rules
3. click #text
3' mode switches to dom node
4. select the root
4' expect mode to revert to css style rules

how we can do this:
the user's mode should be remembered until the user manually changes it.
when the user selects a node where that option is unavailable we select
something, perhaps always the first.  but unless they select another mode we can
remember their mode when they select another node which supports it.
chrome://inspector/content/inspector.xml#panel.setSubject

The switching of viewers is handled by this.switchViewer.  timeless, are you
suggesting we keep an array of node types which specify the last-remembered
viewer for each node type?

If so, it should be easy to do this.
Per chatzilla, timeless agrees with me, so I'm going to take this bug.
Assignee: hewitt → ajvincent
Product: Core → Other Applications
Reassigning DOM-I bugs which have stagnated in my buglist back to default owner.  Hopefully someone will pick up some of these bugs and work on them.  I'll continue to follow them.
Assignee: ajvincent → dom-inspector
Assignee: dom-inspector → nobody
QA Contact: timeless → dom-inspector
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → INCOMPLETE
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
You need to log in before you can comment on or make changes to this bug.