Closed Bug 760175 Opened 13 years ago Closed 9 years ago

The :focus pseudoClass is not kept for the parent node when deleting a node

Categories

(DevTools :: Inspector, defect)

14 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ioana_damy, Unassigned)

Details

Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120530 Firefox/14.0a2 BuildID: 20120530042008 STR: 1. Launch Firefox. 2. Load any website in the browser (e.g. https://www.google.ro/). 3. Right-click on any of the links on the page and select "Inspect Element" (or press Ctrl+Shift+I/Cmd+Alt+I and select a link). 4. Click on the "Node Operations" button (triangle facing down) and select ":focus". 5. Click on the "Node Operations" button again and select "Delete Node". When the selected item is deleted, its parent is automatically selected. The pseudo-classes that were applied to the deleted item are should applied to the parent. The :focus pseudoClass is not kept for the parent node when deleting a node. The other two classes(hover, active) are kept. I don't already have a regression range for this issue, but I will try to add one tomorrow.
Last good nightly: 2012-04-16 First bad nightly: 2012-04-17 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2012-04-16&enddate=2012-04-17 This issue also reproduces on the latest Nightly and Aurora builds (2012-06-01).
It's been almost 4 years since anyone commented here. A lot has changed in the codebase (especially on how pseudo-classes are handled) and I can't reproduce the issue described anymore. Whenever I delete the current node, any pseudo-class goes away.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.