Closed Bug 871504 Opened 11 years ago Closed 9 years ago

Inspector adds a negative margin-left on reload of http://robot-or-not.com/

Categories

(DevTools :: Inspector, defect)

20 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mathieu.recchia, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130409194949

Steps to reproduce:

I load http://robot-or-not.com/ then right clik to examine the source code with the firefox devtools select the html tag to see that the inline declaration is empty then reload the page (with ctrl + r or with F5 )


Actual results:

When the page is reloaded, the html element has an inline property declared in the devtools "margin-left: -32767px;" which is not declared at the initial load.



Expected results:

The devtools should not add this negative margin-left on reload
Component: Untriaged → Developer Tools: Inspector
Summary: Devtools examiner add a negative margin-left on reload of http://robot-or-not.com/ → Inspector adds a negative margin-left on reload of http://robot-or-not.com/
Note that the rule isn't actually applied - it's just shown in the style inspector.

Digging a little, there is a script on this page, css3-mediaqueries.js, that adds the margin-left -32767px and then removes it dynamically, so I suspect it's acting too fast for the inspector to notice, or some other race condition.
I can reproduce this with Fx20.0 but not with Fx39.0. This bug should be closed
Indeed.
Status: UNCONFIRMED → 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.

Attachment

General

Created:
Updated:
Size: