mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
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.
This commit is contained in:
parent
a64dc2a367
commit
7373069560
7 changed files with 38 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue