summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSPropList.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-08 19:59:24 +0000
committerGitHub <noreply@github.com>2020-08-08 19:59:24 +0000
commit666e370292fc20813e885f8d88ad7ac384790627 (patch)
tree72d7c3850d18118ba0f3eb571ebf27f3a11d5373 /layout/style/nsCSSPropList.h
parentb5762c6c27c3d2de499c5f8ea6e10bed445b7455 (diff)
parent05ee48943cdf2c48c24a43bdb289eabb1cd08e9a (diff)
downloadUXP-666e370292fc20813e885f8d88ad7ac384790627.tar
UXP-666e370292fc20813e885f8d88ad7ac384790627.tar.gz
UXP-666e370292fc20813e885f8d88ad7ac384790627.tar.lz
UXP-666e370292fc20813e885f8d88ad7ac384790627.tar.xz
UXP-666e370292fc20813e885f8d88ad7ac384790627.zip
Merge pull request #1613 from RealityRipple/AspectRatio
[Image/CSS] Intrinsic Aspect Ratio
Diffstat (limited to 'layout/style/nsCSSPropList.h')
-rw-r--r--layout/style/nsCSSPropList.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h
index 411f982a4..44bd44cef 100644
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -470,6 +470,17 @@ CSS_PROP_DISPLAY(
kAppearanceKTable,
CSS_PROP_NO_OFFSET,
eStyleAnimType_Discrete)
+CSS_PROP_POSITION(
+ aspect-ratio,
+ aspect_ratio,
+ AspectRatio,
+ CSS_PROPERTY_INTERNAL |
+ CSS_PROPERTY_PARSE_INACCESSIBLE,
+ "",
+ VARIANT_NUMBER,
+ nullptr,
+ offsetof(nsStylePosition, mAspectRatio),
+ eStyleAnimType_None)
CSS_PROP_DISPLAY(
backface-visibility,
backface_visibility,