summaryrefslogtreecommitdiffstats
path: root/dom/html/nsGenericHTMLElement.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 /dom/html/nsGenericHTMLElement.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 'dom/html/nsGenericHTMLElement.h')
-rw-r--r--dom/html/nsGenericHTMLElement.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/html/nsGenericHTMLElement.h b/dom/html/nsGenericHTMLElement.h
index c9169df11..8412ea0dc 100644
--- a/dom/html/nsGenericHTMLElement.h
+++ b/dom/html/nsGenericHTMLElement.h
@@ -702,10 +702,12 @@ public:
*
* @param aAttributes the list of attributes to map
* @param aData the returned rule data [INOUT]
+ * @param aMapAspectRatio map width and height attributes on aspect-ratio
* @see GetAttributeMappingFunction
*/
static void MapImageSizeAttributesInto(const nsMappedAttributes* aAttributes,
- nsRuleData* aData);
+ nsRuleData* aData,
+ bool = false);
/**
* Helper to map the background attribute
* into a style struct.