Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueUnits.in

Issue 1938343002: Generate a series of nested switch statements to parse CSSPrimitiveValue units. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extra imports Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // This file specifies the unit strings used in CSSPrimitiveValues.
2 default_value=Unknown
3
4 em unit_type=Ems
5 ex unit_type=Exs
6 px unit_type=Pixels
7 cm unit_type=Centimeters
8 mm unit_type=Millimeters
9 in unit_type=Inches
10 pt unit_type=Points
11 pc unit_type=Picas
12 deg unit_type=Degrees
13 rad unit_type=Radians
14 grad unit_type=Gradians
15 ms unit_type=Milliseconds
16 s unit_type=Seconds
17 hz unit_type=Hertz
18 khz unit_type=Kilohertz
19 dpi unit_type=DotsPerInch
20 dpcm unit_type=DotsPerCentimeter
21 dppx unit_type=DotsPerPixel
22 vw unit_type=ViewportWidth
23 vh unit_type=ViewportHeight
24 vmin unit_type=ViewportMin
25 vmax unit_type=ViewportMax
26 rem unit_type=Rems
27 fr unit_type=Fraction
28 turn unit_type=Turns
29 ch unit_type=Chs
30 __qem unit_type=QuirkyEms
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698