Bug 104805 - Dot not allow unitless values for CSS unprefixed perspective property.
Summary: Dot not allow unitless values for CSS unprefixed perspective property.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 9
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: WebExposed
Depends on: 104802
Blocks: 93136
  Show dependency treegraph
 
Reported: 2012-12-12 05:50 PST by Alexis Menard (darktears)
Modified: 2018-10-25 23:33 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Menard (darktears) 2012-12-12 05:50:06 PST
Today -webkit-perspective accept valueless values which is not part of the CSS Transforms specification. We should keep the behavior for the old -webkit-perspective property but we should make the parsing stricter for the unprefixed version.
Comment 1 Eric Willigers 2018-10-25 23:33:43 PDT
Microsoft calculates use counts, and no usage of unitless numbers is reported on top sites.
https://developer.microsoft.com/en-us/microsoft-edge/platform/usage/css/perspective/
For comparison, see https://developer.microsoft.com/en-us/microsoft-edge/platform/usage/css/stroke-width/