Skip to content

[css-values] Anthropometric length and time units #837

@Crissov

Description

@Crissov

Extending the idea of a tip length unit mentioned in #614, I hereby propose to add several units to CSS that are based upon measures of the human body. Where possible, implementations may adapt them to fit measured data of the actual active user.

I am not discussing use cases, at least in this initial message, because most of these units are intended for future devices but are already applicable to styles build with existing CSS modules.

Anthropometric length units

All anthropometric length units are defined as the diameter of the smallest circle that contains a touch print of a particular human body part. The default or fallback values provided are rough estimates, open to discussion. They are not (yet) based upon empiricial data, but approximate physical units that do not depend on the anchor unit (usually px) in recent levels of CSS. This makes them applicable to many scenarios that “realcm” etc. have been proposed for in #614 and in older threads on www-style.

Unit Alternatives Definition Fallback
tip tip of index finger (or stylus) 5 mm
tap index finger print 1 cm
mark push, thumb, toe thumb print 2.5 cm
pad paw, palm, ball palm without fingers 10 cm
span open hand with splayed fingers 20 cm
sole foot, shoe foot print (with shoe) 30 cm

Anthropometric time units

I’m proposing two psychological temporal units and two physiological temporal units.

In psychology, instant and moment have conventional absolute definitions. They are complicated to measure for an individual user in the current situation, but different values may apply for some age groups or users of certain assistive technology.

Recent advances in sensor technology have brought devices to the consumer market that are able to measure a user’s physiology, e.g. their pulse rate or heart beat (especially in “smart watches”) or the rate and duration of their eye blinks (expected for head gear like AR/VR goggles).

Unit Alternatives Definition Fallback
now inst, it perceived instant 3s
mom mmt, mt perceived moment 90s
beat hb, bt heart beat interval 0.8s
blink eb, bl, bk duration eye lid closes 25ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions