Closed Bug 1213126 Opened 9 years ago Closed 9 years ago

Enable layout.css.prefixes.webkit by default (though this was later restricted to non-release builds, in bug 1238827)

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox44 --- unaffected
firefox46 --- fixed
relnote-firefox --- 47+

People

(Reporter: dholbert, Assigned: dholbert)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Filing this bug on enabling the "layout.css.prefixes.webkit" pref by default. At this point, I think the main things blocking that are -webkit-box styling (bug 1208635) and webkit gradients (bug 1132748). There may be other webkit prefixed properties that we add later on, but those don't need to block the rest of them from being enabled. (Really, we could probably enable this now and start testing what's already in. But I'd rather not quite yet, because having this turned off means we can land -webkit-box & prefixed gradient support in incremental pieces, behind the pref, without having to worry about the intermediate states causing breakage on random sites.) (Also not sure yet if this will be a "enable it, period" bug or an "enable it on Nightly/Aurora" bug. Might start with the former, and then we can always pref it off on branches if we discover problems & need to hold it for a release or two.)
(In reply to Daniel Holbert [:dholbert] (less responsive Oct 9-12 & 15-18) from comment #0) > [...] having this turned off means we > can land -webkit-box & prefixed gradient support in incremental pieces, > behind the pref, without having to worry about the intermediate states > causing breakage on random sites.) This sounds sensible. > (Also not sure yet if this will be a "enable it, period" bug or an "enable > it on Nightly/Aurora" bug. Might start with the former, and then we can > always pref it off on branches if we discover problems & need to hold it for > a release or two.) Also SGTM.
Blocks: 1170774
(Sorry, all mentions of "bug 1132748" here were really supposed to say "bug 1210575". The former was for CSSUnprefixingService-backed gradient support; the latter is for native support.)
Depends on: 1210575
No longer depends on: 1132748
Depends on: 1217643
Depends on: 1208344
Attached patch patch v1: flip the pref (deleted) — Splinter Review
Here's the patch. I think this is ready to land, once bug 1208344 is in. As noted at the end of comment 0, I'm optimistically hoping this can just ride the trains -- hence, no ifndef MOZ_RELEASE guard here -- but we can always pref it off on a release channel if we discover some fallout.
Attachment #8703064 - Flags: review?(cam)
(Note that I'm not bothering to pref off the js-based CSS Unprefixing Service pref here -- per bug 1210575 part 4, this newer pref will disable the CSS Unprefixing Service the hood anyway. And if we (or users) want to revert this bug's change, there's only one pref to flip to restore the old behavior, instead of two. Once this new impl has stuck, we can just rip out the unprefixing service entirely.)
*under the hood
Comment on attachment 8703064 [details] [diff] [review] patch v1: flip the pref Review of attachment 8703064 [details] [diff] [review]: ----------------------------------------------------------------- Hooray!
Attachment #8703064 - Flags: review?(cam) → review+
\o/, thanks for all the work you put in to make this happen Daniel and Cameron!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Depends on: 1236506
Depends on: 1236930
Depends on: 1237101
Depends on: 1238527
Depends on: 1238580
Depends on: 1238879
Depends on: 1239342
Depends on: 1239136
Marking 44 unaffected (since this landed in 46)
Depends on: 1240611
Noting this is moving to aurora soon but will stay on aurora (bug 1238827)
Depends on: 1241588
Depends on: 1242333
Blocks: 1238827
Release Note Request (optional, but appreciated) [Why is this notable]: Important change for compatibility [Suggested wording]: Improved Web compatibility by supporting WebKit CSS prefixed properties (via layout.css.prefixes.webkit) [Links (documentation, blog post, etc)]: Do we have an official blog post which explains that?
relnote-firefox: --- → ?
Depends on: 1243654
No longer depends on: 1242333
Depends on: 1244464
This is noted for 46 as "Added support for WebKitCSSMatrix to improve mobile Web compatibility" Can you suggest a link for the release notes? (Daniel - I can always add in the link next week when you are back, no rush)
Flags: needinfo?(dholbert)
Webkit-prefixed features are not actually shipping past Aurora right now (as of bug 1238827). So, we probably want to remove that relnote for 46beta & 46release.
Flags: needinfo?(dholbert)
Oh, right! Thanks. I have removed it. My note was actually for bug 717722, "Added support for WebKitCSSMatrix to improve mobile Web compatibility". I think these are basically the same note, and that bug also mentions staying in aurora. Ritu, should we move the note to 47?
Flags: needinfo?(rkothari)
Done. I added it to Fx47 (aurora) release notes.
Flags: needinfo?(rkothari)
Depends on: 1256664
Depends on: 1258733
Depends on: 1259437
No longer depends on: 1259437
Depends on: 1265745
Summary: Enable layout.css.prefixes.webkit by default → Enable layout.css.prefixes.webkit by default (later restricted to non-release builds)
Summary: Enable layout.css.prefixes.webkit by default (later restricted to non-release builds) → Enable layout.css.prefixes.webkit by default (though this was later restricted to non-release builds, in bug 1238827)
Liz, looks like this is still in the Firefox 46 release notes ("Gecko now accepts the -webkit- prefixed version of some properties;")[1], and it's caused some confusion on hacker news[2]. Someone already edited the release notes to clarify that you have to tweak the pref, but we probably should just remove this piece of the release notes entirely, right? I don't think we normally announce disabled-by-default features there. (And I thought we had removed it already in earlier versions of 46 release notes, per comment 17.) I'm guessing this release-notes inclusion was just an accident. [1] https://developer.mozilla.org/en-US/Firefox/Releases/46 [2] https://news.ycombinator.com/item?id=11579148
Flags: needinfo?(lhenry)
I don't work on the MDN developer release notes - only on what we put onto mozilla.org for the main Firefox release notes. jypenator -- I think that it is probably best to move this note and similar ones to the 47 beta notes, since they aren't yet enabled by default.
Flags: needinfo?(lhenry) → needinfo?(jypenator)
Thanks for the clarification! (Note that these webkit prefixing features aren't enabled in 47 beta either, actually -- so 47 beta notes isn't a good place for them either. They're tentatively slated to be enabled in 48beta+release or 49beta+release -- that's bug 1259345.)
(In reply to Daniel Holbert [:dholbert] from comment #19) > Someone already edited the release notes to clarify that you have to tweak > the pref, but we probably should just remove this piece of the release notes > entirely, right? I don't think we normally announce disabled-by-default > features there. These notes are for developers, so we *do* list disabled-by-default features (with a hint for the preference to enable them). Sebastian
Flags: needinfo?(jypenator)
Blocks: 1229757
Blocks: 1277758
Blocks: 1171872
Depends on: 1307118
Blocks: 1311070
Depends on: 1312918
Depends on: 1322341
Depends on: 1314051
Regressions: 1600536
No longer regressions: 1600536
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: