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

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

Issue 2002383002: Avoid string allocation when parsing CSSPrimitiveValue::UnitType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
3 em unit_type=Ems
4 ex unit_type=Exs
5 px unit_type=Pixels
6 cm unit_type=Centimeters
7 mm unit_type=Millimeters
8 in unit_type=Inches
9 pt unit_type=Points
10 pc unit_type=Picas
11 deg unit_type=Degrees
12 rad unit_type=Radians
13 grad unit_type=Gradians
14 ms unit_type=Milliseconds
15 s unit_type=Seconds
16 hz unit_type=Hertz
17 khz unit_type=Kilohertz
18 dpi unit_type=DotsPerInch
19 dpcm unit_type=DotsPerCentimeter
20 dppx unit_type=DotsPerPixel
21 vw unit_type=ViewportWidth
22 vh unit_type=ViewportHeight
23 vmin unit_type=ViewportMin
24 vmax unit_type=ViewportMax
25 rem unit_type=Rems
26 fr unit_type=Fraction
27 turn unit_type=Turns
28 ch unit_type=Chs
29 __qem unit_type=QuirkyEms
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698