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

RESOLVED WORKSFORME

Status

()

Firefox
Developer Tools: Inspector
RESOLVED WORKSFORME
5 years ago
3 years ago

People

(Reporter: mathieu.recchia@yahoo.fr, Unassigned)

Tracking

20 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
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

Updated

5 years ago
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/
(Reporter)

Comment 1

5 years ago
Created attachment 748777 [details]
Devtools inspector at initial load
(Reporter)

Comment 2

5 years ago
Created attachment 748778 [details]
Devtools inspector after reload
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.

Comment 4

3 years ago
I can reproduce this with Fx20.0 but not with Fx39.0. This bug should be closed

Comment 5

3 years ago
Indeed.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.