Open
Bug 1362499
Opened 8 years ago
Updated 2 years ago
Support unit-less values for CSS -webkit-perspective (for interop)
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
NEW
Webcompat Priority | P3 |
People
(Reporter: mstange, Unassigned)
References
Details
(Keywords: dev-doc-needed, good-first-bug, Whiteboard: [webcompat])
Attachments
(1 file)
481 bytes,
text/html
|
Details |
One of the first 3d transform demos, https://webkit.org/blog-files/3d-transforms/morphing-cubes.html , does not work correctly in Firefox because the #container element has -webkit-perspective: 800; with a unit-less number.
Comment 1•8 years ago
|
||
Reclassifying as CSS Parsing & Computation -- the fix here would be in the CSS Parser.
Component: Layout → CSS Parsing and Computation
Summary: Should we support unit-less -webkit-perspective? → Support unit-less values for CSS -webkit-perspective (for interop)
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Priority: -- → P3
Comment 3•7 years ago
|
||
Mike, is this something that should be in the Compat spec?
Flags: needinfo?(miket)
Comment 4•7 years ago
|
||
(In reply to Cameron McCormack (:heycam) from comment #3)
> Mike, is this something that should be in the Compat spec?
Yeah, if need to implement it, it should be. I'll file a bug (if one doesn't already exist).
Flags: needinfo?(miket)
Updated•7 years ago
|
See Also: → https://github.com/whatwg/compat/issues/100
Comment 5•7 years ago
|
||
If we want to implement this, it can be a good first bug I think.
Updated•7 years ago
|
Keywords: good-first-bug
Comment hidden (obsolete) |
Comment 7•7 years ago
|
||
Err, disregard my previous comment. Still I think it's not worth unless we find a real website which is broken that isn't webkit.org.
Eric, looks like Chromium still parses -webkit-perspective: <integer>. Does the Chrome team have any use counter for it by any chance?
Flags: needinfo?(ericwilligers)
Comment 8•7 years ago
|
||
Chrome does have a use counter:
unitless -webkit-perspective non-zero length
https://www.chromestatus.com/metrics/feature/timeline/popularity/1671
Flags: needinfo?(ericwilligers)
Comment 9•7 years ago
|
||
(In reply to Eric Willigers from comment #8)
> Chrome does have a use counter:
> unitless -webkit-perspective non-zero length
> https://www.chromestatus.com/metrics/feature/timeline/popularity/1671
Ouch, that use counter is quite high. I guess it doesn't account for fallback, i.e., something like
-webkit-perspective: 800; perspective: 800px;
But still... :)
Comment 10•7 years ago
|
||
I'd prefer to at least get a single report of a broken page because of this before going ahead and implementing it, but I guess if it breaks websites we'd need to implement this quirk...
Reporter | ||
Comment 11•7 years ago
|
||
I agree. I filed this bug only based on the Webkit demo and I haven't seen breakage caused by it elsewhere.
Comment 12•7 years ago
|
||
Karl, have you seen any real-world bustage related to this?
Flags: needinfo?(kdubost)
Comment 13•7 years ago
|
||
The two places I thought about were:
https://www.google.com/logos/2014/rubiks/iframe/
https://zacqary.github.io/rubix
but no issue.
so… 0 bustage to my knowledge and/or memory
Flags: needinfo?(kdubost)
Updated•6 years ago
|
See Also: → https://webcompat.com/issues/21898
Updated•6 years ago
|
Flags: webcompat?
Whiteboard: [webcompat]
Comment 15•6 years ago
|
||
Depending on how this goes, we might need to make sure this is documented properly.
Keywords: dev-doc-needed
Comment 16•6 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Webcompat Priority: --- → ?
Comment 17•6 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Comment 18•5 years ago
|
||
It seems like we found a real site relying on this, but they updated it and it's working now (https://webcompat.com/issues/21898).
Webcompat Priority: ? → revisit
Updated•2 years ago
|
Webcompat Priority: revisit → P3
Flags: webcompat?
Updated•2 years ago
|
Severity: normal → S3
Comment 19•2 years ago
|
||
hi there, I notice this bug while trying to find a good-first-issue and I'd like to work on it though, with reading through this bugzilla and the whatwg/compat issue, I'm not sure if Firefox would like to support unit-less values for -webkit-perspective. May I confirm it before trying to work on it? Thank you.
You need to log in
before you can comment on or make changes to this bug.
Description
•