Open Bug 1327696 Opened 7 years ago Updated 2 years ago

Changes in markup steal focus from attributes focused by user, and leave textareas open

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: arni2033, Unassigned)

References

Details

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url [1] in a new tab
2. Open inspector
3. Click on `a=""` in markup, press Tab key to focus attribute `b=""`
4. Wait 3 seconds
5. Doubleclick `b=""` in markup
6. Wait 3 seconds

AR:  Focus is stolen from attribute (Step 3) and textarea (Step 5). The textarea stays open, however
ER:  Either X or Y   (X is stronger demand)
 X) Markup modifications shouldn't steal focus
 Y) If stealing focus is unavoidable, at least textarea opened in Step 5 should close after Step 6


STR_2 (original):
1. Open url [2] in a new tab
2. While the page is still loading, right-click the video, press Q to "Inspect element",
   then doubleclick on any attribute of the video element in markup or on tagname itself
3. Wait until the page loads

> [1] data:text/html,<body id="B" onload="_D=D"><script a b c d>var _D;setInterval("if(!_D.removed){B.removeChild(D);_D.removed=true}else {B.appendChild(_D);_D.removed=false}",3000)</script><div id="D"></div>
> [2] http://9gag.com/gag/avg2LzW
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Animation Inspector
Component: Developer Tools: Animation Inspector → Developer Tools: Inspector
Inspector bug triage (filter on CLIMBING SHOES).
Priority: -- → P2
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.