Closed Bug 1426617 Opened 7 years ago Closed 7 years ago

media queries did not work in some cases

Categories

(Core :: CSS Parsing and Computation, defect)

57 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kes-kes, Unassigned)

Details

Attachments

(7 files)

Attached file downloads.html
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171116103757 Steps to reproduce: create adaptive design (see attached source) Actual results: media query did not work if there are toolbars are ON or dev.tool is ON on right side monitor (chrome do same wrong thing) Expected results: media queries should work despite on which toolbars are present in window and despite on the devtools is ON
Attached file downloads.css
hm... why I can not add all files at once in first post??
on the left monitor adaptive works fine
Attached video right 1440x900.flv
on the right adaptive do not work correctly
Attached image 1513848661549.jpg
As you can see on this screenshot there is no space after "Buy VPN" button if there is menu and/or bookmarks toolbar. If we turn off menu and/or bookmark toolbar then "Buy VPN" button is rendered with space after it as expected
Component: Untriaged → DOM: CSS Object Model
Product: Firefox → Core
Component: DOM: CSS Object Model → CSS Parsing and Computation
Attached image delete4.jpg
seems this is related. On the right monitor element is displayed OK. On the left monitor element is displayed out of monitor. Appeared horizontal scroll bars are proof for that
Attached file Desktop.tar.gz
the source page for delete4.jpg screenshot
Does the value of layout.css.servo.enabled make any difference?
Hi, Emilio. I do not know what is this variable and how to disable/enable it.
(In reply to Eugen Konkov from comment #8) > Hi, Emilio. I do not know what is this variable and how to disable/enable it. You can go to about:config and toggle that pref, but I just checked and it makes no difference. It's still not clear what do you think the bug is. The toolbar menus and such change the page viewport size, but with the same page viewport size, the page behaves the same way as in other engines. There are combinations of width / height where the button appears off-screen where I think it's not intended to, but that's not a browser bug.
yeah, it seems media queries are wrong ( sorry for fail report
(In reply to Eugen Konkov from comment #10) > yeah, it seems media queries are wrong ( > sorry for fail report No worries, thanks a lot for the report!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: