forked from w3c/csswg-drafts
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[css-values] Several new units #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- absolute length units: changed `am`…`cn` to `ax`…`cy` to avoid `am` and `cm` (now `by` though) - anthropometric length units: `tip`, `tap`, `thumb`, `palm`, `foot` - new <angle> units: `arcmin`, `arcsec`, `perm`; changed `pirad` to `pi` - new time units: * classic `min`, `h` * psychological `now`, `mom` * physical (heart) `beat`, (eye) `blink` * technical `jif`
…since the one here isn't quite correct. Addresses w3c#794.
…st like the automatic minimum size does.
…e it is listed above.
thumb → mark palm → pad foot → sole arcmin → moa arcsec → soa some copyediting Privacy concerns
…ed in its current state.
… non-trivial changes.
… explicit <image> list (weakly duplicating the functionality of image().) Separates out the one-image case from the content-list case in the grammar. Better defines how both cases work. Also minorly reformats/rephrases the <<string>> section.
…hey conflict with underlines/overlines. <w3c#160>
…ngs will start to link up correctly now.
…lla. (Edited the generated file rather than trying to regenerate.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Length units
Viewport-relative length units
vi
andvb
logical viewport units. – were already included ([css-values] Logical equivalents for vw/vh units w3c/csswg-drafts#113, [css-values] Added 'vi' and 'vb' to heading of section 5.1.2 w3c/csswg-drafts#323)Relative length units
ic
and]en
advance units. ([css-values-4] minor quible about informative text in definition of the ic unit w3c/csswg-drafts#357; [css-values] Traditional absolute length units w3c/csswg-drafts#315)cap
unit. ([css-values] cap-height unit? w3c/csswg-drafts#660, [css-values] Traditional absolute length units w3c/csswg-drafts#315, [css-values] baseline-position unit? w3c/csswg-drafts#661)bs
andhs
stroke units. ([css-text-decor] No way to set the underline width/thickness w3c/csswg-drafts#239, [css-text-decor] Text underlines' positions cannot be fine-tuned w3c/csswg-drafts#459, [css-values] Relative length units for stroke widths w3c/csswg-drafts#838)Absolute length units
m
,dm
andmu
metric units. ([css-values] Traditional absolute length units w3c/csswg-drafts#315)dd
andcc
metric typographic units. ([css-values] Traditional absolute length units w3c/csswg-drafts#315)thm
,mdl
metric English units.dot
greatest common divisor unit. ([css-values] Traditional absolute length units w3c/csswg-drafts#315)yd
,ft
andhd
English units. ([css-values] Traditional absolute length units w3c/csswg-drafts#315)sx
,tx
andtwip
English fractional typographic units. ([css-values] Traditional absolute length units w3c/csswg-drafts#315, [css-syntax][css-values] Awkward Decimal Fractions and Non-Finite Values w3c/csswg-drafts#378)ax
,ay
,bx
,by
,cx
andcy
paper units. ([css-page] <page-size> Keywords w3c/csswg-drafts#328, [css-syntax][css-values] Awkward Decimal Fractions and Non-Finite Values w3c/csswg-drafts#378)Anthropometric/physiological length units
tip
,tap
,mark
,pad
,span
andsole
anthropometric units. ([css-values] Ability to address actual physical size w3c/csswg-drafts#614, [css-values] Anthropometric length and time units w3c/csswg-drafts#837)Angle units
moa
andsoa
angular units.pi
circular unit. ([css-values] Radians considered useless without π w3c/csswg-drafts#309)perm
slope unit.Duration units
min
andh
units.now
andmom
units. ([css-values] Anthropometric length and time units w3c/csswg-drafts#837)beat
and (eye)blink
units. ([css-values] Anthropometric length and time units w3c/csswg-drafts#837)jif
unit.Frequency units
bpm
unit.