summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py')
-rwxr-xr-xchromium/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py b/chromium/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py
index 5015606ecbf..11e80e2c5c9 100755
--- a/chromium/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py
+++ b/chromium/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py
@@ -65,7 +65,7 @@ class StylePropertyShorthandWriter(json5_generator.Writer):
# alphabetically
longhands.sort(
key=lambda property_: (
- -len(property_['longhand_property_ids']), property_['name'])
+ -len(property_['longhand_property_ids']), property_['name'].original)
)
@template_expander.use_jinja(