summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-10-27 20:37:50 -0500
committerMoonchild <moonchild@palemoon.org>2020-11-18 10:51:45 +0000
commit770cb9a4b98947b5508278aeb7532d42fd973cae (patch)
tree5531ad9c96c0b6877826b009e683262d7006671f /parser
parent90309c01a811c7e05baf6d95a2fde2bdd4cdeaf5 (diff)
downloaduxp-770cb9a4b98947b5508278aeb7532d42fd973cae.tar.gz
Issue #1673 - Part 4: Unprefix -moz-tab-size.
While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier.
Diffstat (limited to 'parser')
-rw-r--r--parser/html/nsHtml5ViewSourceUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/html/nsHtml5ViewSourceUtils.cpp b/parser/html/nsHtml5ViewSourceUtils.cpp
index b2f635bffe..910a6691e2 100644
--- a/parser/html/nsHtml5ViewSourceUtils.cpp
+++ b/parser/html/nsHtml5ViewSourceUtils.cpp
@@ -31,7 +31,7 @@ nsHtml5ViewSourceUtils::NewBodyAttributes()
int32_t tabSize = mozilla::Preferences::GetInt("view_source.tab_size", 4);
if (tabSize > 0) {
nsString style;
- style.AssignASCII("-moz-tab-size: ");
+ style.AssignASCII("tab-size: ");
style.AppendInt(tabSize);
bodyAttrs->addAttribute(
nsHtml5AttributeName::ATTR_STYLE, nsHtml5String::FromString(style), -1);