The default bug view has changed. See this FAQ.

Simplify @media queries

RESOLVED FIXED in Firefox 12

Status

()

Firefox
Theme
--
trivial
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dao, Assigned: prip)

Tracking

Trunk
Firefox 12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug][mentor=dao][lang=css])

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Wherever we write "@media all and (whatever) {", this can be simplified to "@media (whatever) {". Affected files: http://mxr.mozilla.org/mozilla-central/search?string=%40media+all+and+%28&find=%2Fthemes%2F
(Assignee)

Comment 1

5 years ago
Created attachment 586237 [details] [diff] [review]
Bug 713822 - Simplify @media queries
Assignee: nobody → thomas
Status: NEW → ASSIGNED
(Reporter)

Comment 2

5 years ago
Comment on attachment 586237 [details] [diff] [review]
Bug 713822 - Simplify @media queries

Great, thanks!
Attachment #586237 - Flags: review+
(Reporter)

Updated

5 years ago
Keywords: APIchange
(Reporter)

Updated

5 years ago
Keywords: APIchange → checkin-needed
(Reporter)

Comment 3

5 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/f97fcb931525
Keywords: checkin-needed
Target Milestone: --- → Firefox 12
https://hg.mozilla.org/mozilla-central/rev/f97fcb931525

Thanks prip! :-)
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 5

5 years ago
Why was 'all and ()' used? 
Probably because of some very good reason(s). Are these reasons now no longer valid or removed?
(Reporter)

Comment 6

5 years ago
"@media all and (...)" was probably introduced along with "@media not all and (...)", which afaik cannot be simplified.
You need to log in before you can comment on or make changes to this bug.