summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-10-27 20:37:50 -0500
committerathenian200 <athenian200@outlook.com>2020-10-28 14:17:51 -0500
commit9ffc5e6c924d2fce78b7aad9727c608077b26ff4 (patch)
tree1c49face93690476affa058028767af76dfb104f /parser
parenta2c26490b4ad94336a7940e691d17f7aef040fa2 (diff)
downloaduxp-9ffc5e6c924d2fce78b7aad9727c608077b26ff4.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);