Closed
Bug 1418963
Opened 7 years ago
Closed 7 years ago
Expose -moz-os-version and related media queries in userChrome.css
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla59
People
(Reporter: bugzilla, Assigned: emilio)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20171115114231
Steps to reproduce:
1396066 made many media features chrome-only, but support for them has also been removed from userChrome.css
Not being able to define styles per-os using these queries can be quite limiting.
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(emilio)
Assignee | ||
Comment 1•7 years ago
|
||
I wonder if it'd make sense to just enable all chrome-only features in user sheets too. WDYT Cameron?
Flags: needinfo?(cam)
![]() |
||
Comment 2•7 years ago
|
||
So the chrome-only but not "ua-only" features, right?
That would probably be ok, I suspect...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Boris Zbarsky [:bz] (no decent commit message means r-) from comment #2)
> So the chrome-only but not "ua-only" features, right?
Right, we wouldn't expose stuff like the anon box selectors and all those, only ua-only media-queries and properties.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
Sorry for the drive-by cleanup, couldn't resist.
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8930397 [details]
Bug 1418963: Enable chrome-only CSS features in user stylesheets.
https://reviewboard.mozilla.org/r/201562/#review206800
::: servo/components/style/properties/properties.mako.rs:1359
(Diff revision 1)
> }
> }
>
> /// Parsing Context for PropertyId.
> pub struct PropertyParserContext {
> /// Whether the property is parsed in a chrome:// stylesheet.
Update this comment?
Attachment #8930397 -
Flags: review?(cam) → review+
Comment 9•7 years ago
|
||
(In reply to Emilio Cobos Álvarez [:emilio] from comment #7)
> Sorry for the drive-by cleanup, couldn't resist.
Heh, I didn't mind this time. :-)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•7 years ago
|
||
(In reply to Emilio Cobos Álvarez [:emilio] from comment #10)
> Comment on attachment 8930397 [details]
> Bug 1418963: Enable chrome-only CSS features in user stylesheets.
>
> Review request updated; see interdiff:
> https://reviewboard.mozilla.org/r/201562/diff/1-2/
Now with a (very simple) test.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ed6b21b2945d
Enable chrome-only CSS features in user stylesheets. r=heycam
Comment 15•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Comment 17•7 years ago
|
||
This issue is still present in Firefox 58. Can somebody uplift the fix to Fx58?
Assignee | ||
Comment 18•7 years ago
|
||
Comment on attachment 8930397 [details]
Bug 1418963: Enable chrome-only CSS features in user stylesheets.
I'm not sure it'll be accepted (it's in release already), but worth a try I guess.
Approval Request Comment
[Feature/Bug causing the regression]: bug 1396066
[User impact if declined]: User stylesheets being a bit less powerful.
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: none, patch here should apply cleanly to m-r.
[Is the change risky?]: not risky
[Why is the change risky/not risky?]: this change has been in nightly for a long time already.
[String changes made/needed]: none
Attachment #8930397 -
Flags: approval-mozilla-release?
Comment 19•7 years ago
|
||
Sorry, we're shipping tomorrow, I don't think this qualifies for delaying the release, or for inclusion in a dot release.
status-firefox58:
--- → wontfix
Assignee | ||
Comment 20•7 years ago
|
||
Comment on attachment 8930397 [details]
Bug 1418963: Enable chrome-only CSS features in user stylesheets.
Yup, as expected, but it was worth a shot :).
Thanks Julien!
Attachment #8930397 -
Flags: approval-mozilla-release?
Comment 21•7 years ago
|
||
What about uplifting for a 58.0.1 release (next week or later)?
You need to log in
before you can comment on or make changes to this bug.
Description
•