summaryrefslogtreecommitdiffstats
path: root/parser/html
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/html
parenta2c26490b4ad94336a7940e691d17f7aef040fa2 (diff)
downloadUXP-9ffc5e6c924d2fce78b7aad9727c608077b26ff4.tar
UXP-9ffc5e6c924d2fce78b7aad9727c608077b26ff4.tar.gz
UXP-9ffc5e6c924d2fce78b7aad9727c608077b26ff4.tar.lz
UXP-9ffc5e6c924d2fce78b7aad9727c608077b26ff4.tar.xz
UXP-9ffc5e6c924d2fce78b7aad9727c608077b26ff4.zip
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/html')
-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 b2f635bff..910a6691e 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);