Closed Bug 950090 Opened 11 years ago Closed 10 years ago

[ruleview] It is very easy to accidentally change properties of a pseudo-element instead of the element

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jaws, Assigned: bgrins)

References

Details

The rule view now allows changing properties of an element's associated pseudo-elements, but it is also very easy to spend time changing properties only to realize a little bit later that your changes aren't showing up because you've been changing properties of the pseudo-element instead of the actual element.

I don't have any great ideas on how to fix this, but it is a problem that both :paul and I have encountered.
(In reply to Jared Wein [:jaws] from comment #0)
> The rule view now allows changing properties of an element's associated
> pseudo-elements, but it is also very easy to spend time changing properties
> only to realize a little bit later that your changes aren't showing up
> because you've been changing properties of the pseudo-element instead of the
> actual element.
> 
> I don't have any great ideas on how to fix this, but it is a problem that
> both :paul and I have encountered.

We could simply move the pseudo element rules to the bottom of the rule view, though we decided to put it at the top originally for fear of them not being discovered.  I would prefer to wait to move them down to the bottom until after we allow proper selection in the markup tree (Bug 920141).  But we could consider doing this or something else I haven't thought of with the UI beforehand.
Depends on: 920141
Summary: It is very easy to accidentally change properties of a pseudo-element instead of the element → [ruleview] It is very easy to accidentally change properties of a pseudo-element instead of the element
This should be fixed now that Bug 920141 has landed and ::before/::after are no longer shown in the rule view, but instead in the markup view.
Assignee: nobody → bgrinstead
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.