summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSParser.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-05 18:44:16 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-05 18:44:16 +0000
commit1da42403ec84fcbb634a816bec0618e47d5e0b70 (patch)
tree88e47e0339f16123bcd7b6c6fc913676fafddd0f /layout/style/nsCSSParser.cpp
parent602fbdcb44861c98c096d4fb2078c52a21b8485b (diff)
downloadUXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar.gz
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar.lz
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar.xz
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.zip
Issue #1525 - Kill marquee element (uplift)
Diffstat (limited to 'layout/style/nsCSSParser.cpp')
-rw-r--r--layout/style/nsCSSParser.cpp24
1 files changed, 11 insertions, 13 deletions
diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp
index 556e35406..f6b84bfac 100644
--- a/layout/style/nsCSSParser.cpp
+++ b/layout/style/nsCSSParser.cpp
@@ -5941,8 +5941,6 @@ CSSParserImpl::ParseAttributeSelector(int32_t& aDataMask,
"language",
"defer",
"type",
- // additional attributes not in HTML4
- "direction", // marquee
nullptr
};
short i = 0;
@@ -15318,17 +15316,17 @@ CSSParserImpl::ParseFontFeatureSettings(nsCSSValue& aValue)
return true;
}
-bool
-CSSParserImpl::ParseFontVariationSettings(nsCSSValue& aValue)
-{
- // TODO: Actually implement this.
-
- // This stub is here because websites insist on considering this
- // very hardware-dependent and O.S.-variable low-level font-control
- // as a "critical feature" which it isn't as there is 0 guarantee
- // that font variation settings are supported or honored by any
- // operating system used by the client.
- return true;
+bool
+CSSParserImpl::ParseFontVariationSettings(nsCSSValue& aValue)
+{
+ // TODO: Actually implement this.
+
+ // This stub is here because websites insist on considering this
+ // very hardware-dependent and O.S.-variable low-level font-control
+ // as a "critical feature" which it isn't as there is 0 guarantee
+ // that font variation settings are supported or honored by any
+ // operating system used by the client.
+ return true;
}
bool