Closed Bug 1179444 Opened 10 years ago Closed 10 years ago

Alias -webkit-transform related CSS properties

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: miketaylr, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

We should alias the following -webkit- prefixed CSS transform properties to their standards equivalents (either via CSS Unprefixing or otherwise) in Gecko. -webkit-backface-visibility -webkit-perspective -webkit-perspective-origin -webkit-transform -webkit-transform-origin -webkit-transform-style WebKitCSSMatrix is also related, but is tracked in Bug 717722. Source <https://docs.google.com/spreadsheets/d/173d1p3LkW_LWk-VMnrxGPhTobtKSpED30Fys5ZJLttA/edit?pli=1#gid=51341101>
Blocks: 1170789
Bug 837211 added support for -webkit-transform, -webkit-transform-origin and -webkit-transform-style. We probably want to add in aliases for -webkit-backface-visibility, -webkit-perspective, and -webkit-perspective-origin. Does that sound reasonable dholbert?
Flags: needinfo?(dholbert)
(In reply to Mike Taylor [:miketaylr] from comment #1) > We probably want to add in aliases for -webkit-backface-visibility, > -webkit-perspective, and -webkit-perspective-origin. Does that sound > reasonable dholbert? tl;dr: yes. Longer: Sounds reasonable, if there's data to show that websites actually depend on them. And I think we're using the list of properties that Edge supports (linked in comment 0) as a proxy for such data.[1] So, since these properties are in that list, it does seem reasonable to add -webkit prefixed versions of them. [1] (MS says "Our support (or lack thereof) of prefixed APIs is data-driven with compatibility as the sole purpose for any that remain. As examples, -webkit-border-radius is still in use on over 60% of page loads [...]" http://blogs.windows.com/msedgedev/2015/05/06/a-break-from-the-past-part-2-saying-goodbye-to-activex-vbscript-attachevent/ )
Assignee: nobody → dholbert
Attached patch fix v1Splinter Review
This patch adds support for the webkit-prefixed properties mentioned in comment 1. (as aliases) Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7e81f6f9225d
Flags: needinfo?(dholbert)
Attachment #8682716 - Flags: review?(cam)
(Note: These properties are all defined in https://drafts.csswg.org/css-transforms/#property-index , which is why they're grouped together here, despite their dissimilar naming.)
Attachment #8682716 - Flags: review?(cam) → review+
Here's the spec commit for -webkit-backface-visibility, -webkit-perspective, and -webkit-perspective-origin: https://github.com/whatwg/compat/commit/b030c32680c706953abfd2579d8b896d4b579677
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Looks good, thanks again!
Flags: needinfo?(dholbert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: