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

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: Sync to head Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValue.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file specifies the unit strings used in CSSPrimitiveValues. 1 // This file specifies the unit strings used in CSSPrimitiveValues.
2 default_value=Unknown
2 3
3 em unit_type=Ems 4 em unit_type=Ems
4 ex unit_type=Exs 5 ex unit_type=Exs
5 px unit_type=Pixels 6 px unit_type=Pixels
6 cm unit_type=Centimeters 7 cm unit_type=Centimeters
7 mm unit_type=Millimeters 8 mm unit_type=Millimeters
8 in unit_type=Inches 9 in unit_type=Inches
9 pt unit_type=Points 10 pt unit_type=Points
10 pc unit_type=Picas 11 pc unit_type=Picas
11 deg unit_type=Degrees 12 deg unit_type=Degrees
12 rad unit_type=Radians 13 rad unit_type=Radians
13 grad unit_type=Gradians 14 grad unit_type=Gradians
14 ms unit_type=Milliseconds 15 ms unit_type=Milliseconds
15 s unit_type=Seconds 16 s unit_type=Seconds
16 hz unit_type=Hertz 17 hz unit_type=Hertz
17 khz unit_type=Kilohertz 18 khz unit_type=Kilohertz
18 dpi unit_type=DotsPerInch 19 dpi unit_type=DotsPerInch
19 dpcm unit_type=DotsPerCentimeter 20 dpcm unit_type=DotsPerCentimeter
20 dppx unit_type=DotsPerPixel 21 dppx unit_type=DotsPerPixel
21 vw unit_type=ViewportWidth 22 vw unit_type=ViewportWidth
22 vh unit_type=ViewportHeight 23 vh unit_type=ViewportHeight
23 vmin unit_type=ViewportMin 24 vmin unit_type=ViewportMin
24 vmax unit_type=ViewportMax 25 vmax unit_type=ViewportMax
25 rem unit_type=Rems 26 rem unit_type=Rems
26 fr unit_type=Fraction 27 fr unit_type=Fraction
27 turn unit_type=Turns 28 turn unit_type=Turns
28 ch unit_type=Chs 29 ch unit_type=Chs
29 __qem unit_type=QuirkyEms 30 __qem unit_type=QuirkyEms
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698