mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 700260 - Honor the view_source.tab_size pref in a way that actually works. r=smaug.
This commit is contained in:
parent
de222b191d
commit
1ed9041d38
@ -152,7 +152,7 @@ nsHtml5Highlighter::Start()
|
||||
if (mTabSize > 0) {
|
||||
nsString* style = new nsString(NS_LITERAL_STRING("-moz-tab-size: "));
|
||||
style->AppendInt(mTabSize);
|
||||
bodyAttrs->addAttribute(nsHtml5AttributeName::ATTR_CLASS, style);
|
||||
bodyAttrs->addAttribute(nsHtml5AttributeName::ATTR_STYLE, style);
|
||||
}
|
||||
|
||||
Push(nsGkAtoms::body, bodyAttrs);
|
||||
|
3
parser/htmlparser/tests/reftest/bug700260-1-ref.html
Normal file
3
parser/htmlparser/tests/reftest/bug700260-1-ref.html
Normal file
@ -0,0 +1,3 @@
|
||||
1
|
||||
2
|
||||
3
|
3
parser/htmlparser/tests/reftest/bug700260-1.html
Normal file
3
parser/htmlparser/tests/reftest/bug700260-1.html
Normal file
@ -0,0 +1,3 @@
|
||||
1
|
||||
2
|
||||
3
|
@ -15,3 +15,4 @@
|
||||
== view-source:bug673094-1.html view-source:bug673094-1-ref.html
|
||||
== bug696651-1.html bug696651-1-ref.html
|
||||
== bug696651-2.html bug696651-2-ref.html
|
||||
== view-source:bug700260-1.html view-source:bug700260-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user