Open Bug 1933504 Opened 8 days ago Updated 7 days ago

Clicking on a big styletag might drag the content and move it in the markup view

Categories

(DevTools :: Inspector: Rules, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

Details

Attachments

(1 file)

Attached file test_case.html

STRs are not consistent, but locally it seems to help to have a toolbox height around 580px (set 580 for the pref devtools.toolbox.footer.height).

  • open test case
  • open devtools > inspector
  • resize toolbox to be around 580px (can happen at other sizes)
  • in the markup view, select a node, then select the head > style tag
  • click in the middle of the style tag
    Might take a few tries, but usually at some point the content of the style tag moves outside of the style tag, into the markup view.

This looks just to be a front end issue, where we scroll the UI during the mousedown, and depending on the timing of the mouseup, it might trigger a drag and drop inadvertently.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: