Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec @media (-webkit-transform-3d) #8

Closed
foolip opened this issue Aug 31, 2015 · 6 comments
Closed

Spec @media (-webkit-transform-3d) #8

foolip opened this issue Aug 31, 2015 · 6 comments

Comments

@foolip
Copy link
Member

foolip commented Aug 31, 2015

https://code.google.com/p/chromium/issues/detail?id=426644

We don't think it's possible to remove this in Blink given the high usage:
https://www.chromestatus.com/metrics/feature/timeline/popularity/237

CC @RByers

@miketaylr
Copy link
Member

Yeah, we've seen compat issues (in Japan IIRC) for this same reason.

@cvrebert
Copy link
Member

cvrebert commented Sep 6, 2015

MS Edge added support for this.

@miketaylr
Copy link
Member

It seems like an older version of Modernizr had a test for csstransforms3d that required this too:

https://bugzilla.mozilla.org/show_bug.cgi?id=1239136#c8

g.csstransforms3d = function() {
  var e = !!D("perspective");
    return e && "webkitPerspective" in o.style && x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}", function(t, n) {
    e = t.offsetLeft === 9 && t.offsetHeight === 3
  }), e
}

(currently on yahoo.com's homepage)

@cvrebert
Copy link
Member

do they support this unprefixed?

Negatory:
saf

Testcase: http://jsbin.com/roboja/edit?html,css,js,output

Although some authors include an unprefixed version in their stylesheets in an attempt to be good citizens.

@miketaylr
Copy link
Member

Cool, thanks @cvrebert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants