Closed Bug 1007944 Opened 11 years ago Closed 10 years ago

Inspector can disable but not re-enable rules in SVG documents

Categories

(DevTools :: Inspector, defect)

31 Branch
x86_64
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lucas.werkmeister, Unassigned)

Details

(Whiteboard: [bugday-20140519])

Attachments

(1 file)

Steps to reproduce: 1. Open any SVG image that uses CSS rules for styling (for example, attachment 1 [details] [diff] [review]) 2. Open the inspector and select an element that has rules (attachment 1 [details] [diff] [review]: right-click the red square and select "Inspect Element") 3. Disable a rule by unticking its checkbox in the Rules view in the CSS pane 4. Re-enable the rule by re-ticking its checkbox Actual result: Disabling the rule changes the image accordingly, but re-enabling the rule doesn't change it back. In fact, if you select another node and then return to your first one, you'll find that the rule has altogether vanished from the "Rules" tab. Expected result: Re-enabling the rule restores the original image.
Oh, I didn't know it would auto-link to the first ever attachment here :D I was of course referring to the first attachment of this bug, attachment 8419720 [details]. (There's no way to edit the description, right?)
Hi, I was able to reproduce it on both latest Nightly (Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 ID:20140519030202 CSet: 41a54c8add09) and Aurora () on Debian Sid. FWIW, Chromium's inspector re-enable the rule correctly with the same testcase, as well as Firebug. Cheers, Francesca
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [bugday-20140519]
This appears to have been fixed at some point in the past year. I can now freely disable and reenable rules, even when selecting other nodes in between.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: