зеркало из https://github.com/mozilla/pjs.git
removed hard-coded white background now that background colors work for lazily-instantiated
text controls. completes the fix for bug 9074 r=rods
This commit is contained in:
Родитель
56390be244
Коммит
4ba5c399fd
|
@ -114,9 +114,7 @@ nsTextEditRules::GetFlags(PRUint32 *aFlags)
|
|||
}
|
||||
|
||||
// Initial style for plaintext
|
||||
static char* PlaintextInitalStyle = "white-space: -moz-pre-wrap; width: 72ch; \
|
||||
background-color: rgb(255, 255, 255)";
|
||||
// font-family: -moz-fixed; \
|
||||
static char* PlaintextInitalStyle = "white-space: -moz-pre-wrap; width: 72ch;";
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTextEditRules::SetFlags(PRUint32 aFlags)
|
||||
|
|
|
@ -114,9 +114,7 @@ nsTextEditRules::GetFlags(PRUint32 *aFlags)
|
|||
}
|
||||
|
||||
// Initial style for plaintext
|
||||
static char* PlaintextInitalStyle = "white-space: -moz-pre-wrap; width: 72ch; \
|
||||
background-color: rgb(255, 255, 255)";
|
||||
// font-family: -moz-fixed; \
|
||||
static char* PlaintextInitalStyle = "white-space: -moz-pre-wrap; width: 72ch;";
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTextEditRules::SetFlags(PRUint32 aFlags)
|
||||
|
|
Загрузка…
Ссылка в новой задаче