diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2019-02-03 08:34:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-03 08:34:43 +0100 |
commit | 4874970d329943e08bcca7c61e7b7d2bc0f7c9d3 (patch) | |
tree | 4d1df04790cc8c785141e8dd8ffea9e6da5a0c02 /layout/style/nsCSSDataBlock.cpp | |
parent | fa311a4cae5ea526e848adc4f49c6aa0b700702c (diff) | |
parent | b241a84d884293e1ce49a79c75e362c02c0899f9 (diff) | |
download | UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar.gz UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar.lz UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar.xz UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.zip |
Merge pull request #961 from kn-yami/issue908
implement missing parts of CSS mask
Diffstat (limited to 'layout/style/nsCSSDataBlock.cpp')
-rw-r--r-- | layout/style/nsCSSDataBlock.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/layout/style/nsCSSDataBlock.cpp b/layout/style/nsCSSDataBlock.cpp index fe2dc621a..1dfdaed0e 100644 --- a/layout/style/nsCSSDataBlock.cpp +++ b/layout/style/nsCSSDataBlock.cpp @@ -61,7 +61,6 @@ TryToStartImageLoadOnValue(const nsCSSValue& aValue, nsIDocument* aDocument, MOZ_ASSERT(aDocument); if (aValue.GetUnit() == eCSSUnit_URL) { -#ifdef MOZ_ENABLE_MASK_AS_SHORTHAND // The 'mask-image' property accepts local reference URIs. // For example, // mask-image: url(#mask_id); // refer to a SVG mask element, whose id is @@ -94,7 +93,6 @@ TryToStartImageLoadOnValue(const nsCSSValue& aValue, nsIDocument* aDocument, } } } -#endif aValue.StartImageLoad(aDocument); if (aForTokenStream && aContext) { CSSVariableImageTable::Add(aContext, aProperty, |