Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner]

git-svn-id: svn://10.0.0.236/trunk@247364 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com 2008-03-08 09:44:43 +00:00
parent 5cded2e728
commit dd9d5afa58
43 changed files with 52 additions and 52 deletions

View File

@ -150,7 +150,7 @@ groupbox.treebox .groupbox-body {
} }
#general-security-identity { #general-security-identity {
white-space: -moz-pre-wrap; white-space: pre-wrap;
line-height: 2em; line-height: 2em;
} }

View File

@ -147,7 +147,7 @@ groupbox.treebox .groupbox-body {
} }
#general-security-identity { #general-security-identity {
white-space: -moz-pre-wrap; white-space: pre-wrap;
line-height: 2em; line-height: 2em;
} }

View File

@ -168,7 +168,7 @@ groupbox.treebox .groupbox-body {
} }
#general-security-identity { #general-security-identity {
white-space: -moz-pre-wrap; white-space: pre-wrap;
line-height: 2em; line-height: 2em;
} }

View File

@ -60,7 +60,7 @@ td.content {
background-color: white; background-color: white;
} }
td.content p { td.content p {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
p.header { p.header {
color: white; color: white;

View File

@ -288,7 +288,7 @@ separator.tooltipBodySeparator {
description.tooltipBody { description.tooltipBody {
font-weight: normal; font-weight: normal;
white-space: -moz-pre-wrap; white-space: pre-wrap;
margin: 0pt; margin: 0pt;
} }

View File

@ -61,7 +61,7 @@ td.content {
background-color: white; background-color: white;
} }
td.content p { td.content p {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
p.header { p.header {
color: white; color: white;

View File

@ -289,7 +289,7 @@ separator.tooltipBodySeparator {
description.tooltipBody { description.tooltipBody {
font-weight: normal; font-weight: normal;
white-space: -moz-pre-wrap; white-space: pre-wrap;
margin: 0pt; margin: 0pt;
} }

View File

@ -125,7 +125,7 @@ separator.tooltipBodySeparator {
description.tooltipBody { description.tooltipBody {
font-weight: normal; font-weight: normal;
white-space: -moz-pre-wrap; white-space: pre-wrap;
margin: 0px; margin: 0px;
} }

View File

@ -115,7 +115,7 @@ separator.tooltipBodySeparator {
description.tooltipBody { description.tooltipBody {
font-weight: normal; font-weight: normal;
white-space: -moz-pre-wrap; white-space: pre-wrap;
margin: 0px; margin: 0px;
} }

View File

@ -597,7 +597,7 @@ nsPlainTextSerializer::DoOpenContainer(const nsIParserNode* aNode, PRInt32 aTag)
// Try to figure out here whether we have a // Try to figure out here whether we have a
// preformatted style attribute. // preformatted style attribute.
// //
// Trigger on the presence of a "-moz-pre-wrap" in the // Trigger on the presence of a "pre-wrap" in the
// style attribute. That's a very simplistic way to do // style attribute. That's a very simplistic way to do
// it, but better than nothing. // it, but better than nothing.
// Also set mWrapColumn to the value given there // Also set mWrapColumn to the value given there

View File

@ -502,7 +502,7 @@ a.chatzilla-link:hover {
.msg-data { /* .msg-data = the text portion */ .msg-data { /* .msg-data = the text portion */
padding: 1px 1px 1px 3px; /* of a message */ padding: 1px 1px 1px 3px; /* of a message */
width: 100%; width: 100%;
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }

View File

@ -54,7 +54,7 @@ a.venkman-link:hover {
.msg { /* .msg = a single message in the */ .msg { /* .msg = a single message in the */
width: 100%; /* output window */ width: 100%; /* output window */
font: 11pt lucida, sans-serif; font: 11pt lucida, sans-serif;
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.msg[monospace] { .msg[monospace] {

View File

@ -8,7 +8,7 @@ function boom()
</script> </script>
</head> </head>
<body onload="boom()" style="font-family: monospace; width: 20em;"> <body onload="boom()" style="font-family: monospace; width: 20em;">
<div id="div" style="white-space: -moz-pre-wrap; letter-spacing: 3em;"> <div id="div" style="white-space: pre-wrap; letter-spacing: 3em;">
x x x x x x x x x x x x
x x x x x x x x x x x x
</div> </div>

View File

@ -9,7 +9,7 @@ function boom()
</head> </head>
<body onload="boom()" style="font-family: monospace; width: 3em;"> <body onload="boom()" style="font-family: monospace; width: 3em;">
<div id="div" style="white-space: -moz-pre-wrap; letter-spacing: 1em;"> <div id="div" style="white-space: pre-wrap; letter-spacing: 1em;">
x x
</div> </div>

View File

@ -3,7 +3,7 @@
<head> <head>
<title>foobar</title> <title>foobar</title>
</head> </head>
<body style="white-space: -moz-pre-wrap"> <body style="white-space: pre-wrap">
make the window narrower until "height" wraps to the next line <BR> make the window narrower until "height" wraps to the next line <BR>
iframe name=selector2 src=http://www.mozilla.org/ width=100% <span>height</span>=100% iframe name=selector2 src=http://www.mozilla.org/ width=100% <span>height</span>=100%
</body> </body>

View File

@ -6,7 +6,7 @@ a { color:pink; }
</style> </style>
</head> </head>
<body> <body>
<p><a style="white-space:-moz-pre-wrap;">mmmmmmmmmm <br>m</a>mmmmmmmmm</p> <p><a style="white-space:pre-wrap;">mmmmmmmmmm <br>m</a>mmmmmmmmm</p>
<p>m <br><a style="white-space:pre;">mmmmmmmmmm</a>mmmmmmmmm</p> <p>m <br><a style="white-space:pre;">mmmmmmmmmm</a>mmmmmmmmm</p>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@ a { color:pink; }
</head> </head>
<body> <body>
<!-- A prewrap text frame should be able to record a break opportunity --> <!-- A prewrap text frame should be able to record a break opportunity -->
<p><a style="white-space:-moz-pre-wrap;">mmmmmmmmmm m</a>mmmmmmmmm</p> <p><a style="white-space:pre-wrap;">mmmmmmmmmm m</a>mmmmmmmmm</p>
<!-- A 'pre' text frame should be able to record a break opportunity at its start --> <!-- A 'pre' text frame should be able to record a break opportunity at its start -->
<p>m <a style="white-space:pre;">mmmmmmmmmm</a>mmmmmmmmm</p> <p>m <a style="white-space:pre;">mmmmmmmmmm</a>mmmmmmmmm</p>
</body> </body>

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html> <html>
<body style="width:0"> <body style="width:0">
<div style="white-space:-moz-pre-wrap">One <div style="white-space:pre-wrap">One
Two Three</div> Two Three</div>
</body> </body>
</html> </html>

View File

@ -5,7 +5,7 @@
<style> <style>
.nowrap { white-space:nowrap; } .nowrap { white-space:nowrap; }
.pre { white-space:pre; } .pre { white-space:pre; }
.prewrap { white-space:-moz-pre-wrap; } .prewrap { white-space:pre-wrap; }
div { border:1px solid black; } div { border:1px solid black; }
.container { float:left; width:20%; border-color:cyan; } .container { float:left; width:20%; border-color:cyan; }
p { width:0; } p { width:0; }

View File

@ -5,7 +5,7 @@
<style> <style>
.nowrap { white-space:nowrap; } .nowrap { white-space:nowrap; }
.pre { white-space:pre; } .pre { white-space:pre; }
.prewrap { white-space:-moz-pre-wrap; } .prewrap { white-space:pre-wrap; }
div { border:1px solid black; } div { border:1px solid black; }
.container { float:left; width:20%; border-color:cyan; } .container { float:left; width:20%; border-color:cyan; }
p { width:0; } p { width:0; }

View File

@ -10,7 +10,7 @@ b { font-weight:normal; background-color:yellow; }
.cell { display:table-cell; border:1px solid green; } .cell { display:table-cell; border:1px solid green; }
.nowrap { white-space:nowrap; } .nowrap { white-space:nowrap; }
.pre { white-space:pre; } .pre { white-space:pre; }
.prewrap { white-space:-moz-pre-wrap; } .prewrap { white-space:pre-wrap; }
</style> </style>
</head> </head>
<body> <body>

View File

@ -209,7 +209,7 @@ td > ol:-moz-only-whitespace:-moz-last-node, th > ol:-moz-only-whitespace:-moz-l
/* Quirk: support the ways of making PRE have wrapping */ /* Quirk: support the ways of making PRE have wrapping */
pre[wrap], pre[cols], pre[width] { pre[wrap], pre[cols], pre[width] {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }

View File

@ -48,7 +48,7 @@
white-space: pre; white-space: pre;
} }
#viewsource.wrap { #viewsource.wrap {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
pre { pre {
font: inherit; font: inherit;

View File

@ -745,7 +745,7 @@
<description class="CardViewText" id="cvCustom2"/> <description class="CardViewText" id="cvCustom2"/>
<description class="CardViewText" id="cvCustom3"/> <description class="CardViewText" id="cvCustom3"/>
<description class="CardViewText" id="cvCustom4"/> <description class="CardViewText" id="cvCustom4"/>
<description class="CardViewText" id="cvNotes" style="white-space: -moz-pre-wrap;"/> <description class="CardViewText" id="cvNotes" style="white-space: pre-wrap;"/>
<hbox> <hbox>
<image id="cvBuddyIcon"/> <image id="cvBuddyIcon"/>
</hbox> </hbox>

View File

@ -76,7 +76,7 @@ blockquote {
} }
.moz-text-plain[wrap="true"] { .moz-text-plain[wrap="true"] {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[wrap="false"] { .moz-text-plain[wrap="false"] {
@ -84,7 +84,7 @@ blockquote {
} }
.moz-text-plain[wrap="flow"] .moz-txt-sig { .moz-text-plain[wrap="flow"] .moz-txt-sig {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[graphical-quote="false"] blockquote { .moz-text-plain[graphical-quote="false"] blockquote {

View File

@ -78,7 +78,7 @@ div.headerdisplayname {
} }
.moz-text-plain[wrap="true"] { .moz-text-plain[wrap="true"] {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[wrap="false"] { .moz-text-plain[wrap="false"] {
@ -86,7 +86,7 @@ div.headerdisplayname {
} }
.moz-text-plain[wrap="flow"] .moz-txt-sig { .moz-text-plain[wrap="flow"] .moz-txt-sig {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[graphical-quote="false"] blockquote { .moz-text-plain[graphical-quote="false"] blockquote {

View File

@ -103,7 +103,7 @@
<description class="CardViewText" id="cvCustom2"/> <description class="CardViewText" id="cvCustom2"/>
<description class="CardViewText" id="cvCustom3"/> <description class="CardViewText" id="cvCustom3"/>
<description class="CardViewText" id="cvCustom4"/> <description class="CardViewText" id="cvCustom4"/>
<description class="CardViewText" id="cvNotes" style="white-space: -moz-pre-wrap;"/> <description class="CardViewText" id="cvNotes" style="white-space: pre-wrap;"/>
<hbox> <hbox>
<image id="cvBuddyIcon"/> <image id="cvBuddyIcon"/>

View File

@ -49,7 +49,7 @@
</comment> </comment>
</container><!--head--> </container><!--head-->
<container isa="body"> <container isa="body">
<attr name="style" value="white-space: -moz-pre-wrap; width: 72ch; font-family: -moz-fixed; background-color: rgb(255,255,255); "/> <attr name="style" value="white-space: pre-wrap; width: 72ch; font-family: -moz-fixed; background-color: rgb(255,255,255); "/>
<leaf isa="br"> <leaf isa="br">
</leaf><!--br--> </leaf><!--br-->
<content>http://www.hotbot.com/?MT=Search+Engines</content> <content>http://www.hotbot.com/?MT=Search+Engines</content>

View File

@ -35,7 +35,7 @@
- ***** END LICENSE BLOCK ***** --> - ***** END LICENSE BLOCK ***** -->
<title>Ender Plain Text Test Page</title> <title>Ender Plain Text Test Page</title>
</head> </head>
<body style="white-space: -moz-pre-wrap; width: 72ch; font-family: -moz-fixed; background-color: rgb(255,255,255); "> <body style="white-space: pre-wrap; width: 72ch; font-family: -moz-fixed; background-color: rgb(255,255,255); ">
80 char width (for reference only): 80 char width (for reference only):
---------|---------|---------|---------|---------|---------|---------|---------| ---------|---------|---------|---------|---------|---------|---------|---------|

View File

@ -38,7 +38,7 @@
<title>Ender Plain Text Test Page</title> <title>Ender Plain Text Test Page</title>
</head> </head>
<body style="white-space: -moz-pre-wrap; width: 72ch; font-family: -moz-fixed; background-color: rgb(255,255,255); "> <body style="white-space: pre-wrap; width: 72ch; font-family: -moz-fixed; background-color: rgb(255,255,255); ">
80 char width (for reference only) 80 char width (for reference only)
---------|---------|---------|---------|---------|---------|---------|---------| ---------|---------|---------|---------|---------|---------|---------|---------|

View File

@ -69,9 +69,9 @@
<!-- Note that because of the styling, there must be no whitespace within <!-- Note that because of the styling, there must be no whitespace within
the description tags --> the description tags -->
<description id="warningText" <description id="warningText"
style="white-space: -moz-pre-wrap"/> style="white-space: pre-wrap"/>
<description id="warningSupplemental" <description id="warningSupplemental"
style="font-weight: bold; white-space: -moz-pre-wrap;" style="font-weight: bold; white-space: pre-wrap;"
>&exceptionMgr.supplementalWarning;</description> >&exceptionMgr.supplementalWarning;</description>
</vbox> </vbox>
</hbox> </hbox>
@ -92,7 +92,7 @@
<caption label="&exceptionMgr.certstatus.caption;"/> <caption label="&exceptionMgr.certstatus.caption;"/>
<vbox style="overflow: auto;" flex="1"> <vbox style="overflow: auto;" flex="1">
<hbox> <hbox>
<description id="headerDescription" style="white-space: -moz-pre-wrap;" <description id="headerDescription" style="white-space: pre-wrap;"
flex="1"/> flex="1"/>
<vbox> <vbox>
<button id="viewCertButton" label="&exceptionMgr.certstatus.viewCert;" <button id="viewCertButton" label="&exceptionMgr.certstatus.viewCert;"
@ -102,13 +102,13 @@
</hbox> </hbox>
<description id="statusDescription" <description id="statusDescription"
style="font-weight: bold; padding-bottom: 1em;"/> style="font-weight: bold; padding-bottom: 1em;"/>
<description id="statusLongDescription" style="white-space: -moz-pre-wrap;"/> <description id="statusLongDescription" style="white-space: pre-wrap;"/>
<description id="status2Description" <description id="status2Description"
style="font-weight: bold; padding-bottom: 1em;"/> style="font-weight: bold; padding-bottom: 1em;"/>
<description id="status2LongDescription" style="white-space: -moz-pre-wrap;"/> <description id="status2LongDescription" style="white-space: pre-wrap;"/>
<description id="status3Description" <description id="status3Description"
style="font-weight: bold; padding-bottom: 1em;"/> style="font-weight: bold; padding-bottom: 1em;"/>
<description id="status3LongDescription" style="white-space: -moz-pre-wrap;"/> <description id="status3LongDescription" style="white-space: pre-wrap;"/>
<spacer flex="1"/> <spacer flex="1"/>
</vbox> </vbox>
<checkbox id="permanent" checked="true" disabled="true" <checkbox id="permanent" checked="true" disabled="true"

View File

@ -74,7 +74,7 @@ div.headerdisplayname {
} }
.moz-text-plain[wrap="true"] { .moz-text-plain[wrap="true"] {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[wrap="false"] { .moz-text-plain[wrap="false"] {
@ -82,7 +82,7 @@ div.headerdisplayname {
} }
.moz-text-plain[wrap="flow"] .moz-txt-sig { .moz-text-plain[wrap="flow"] .moz-txt-sig {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[graphical-quote="false"] blockquote { .moz-text-plain[graphical-quote="false"] blockquote {

View File

@ -84,7 +84,7 @@ groupbox.treebox .groupbox-body {
} }
#general-security-identity { #general-security-identity {
white-space: -moz-pre-wrap; white-space: pre-wrap;
line-height: 2em; line-height: 2em;
} }

View File

@ -74,7 +74,7 @@ div.headerdisplayname {
} }
.moz-text-plain[wrap="true"] { .moz-text-plain[wrap="true"] {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[wrap="false"] { .moz-text-plain[wrap="false"] {
@ -82,7 +82,7 @@ div.headerdisplayname {
} }
.moz-text-plain[wrap="flow"] .moz-txt-sig { .moz-text-plain[wrap="flow"] .moz-txt-sig {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.moz-text-plain[graphical-quote="false"] blockquote { .moz-text-plain[graphical-quote="false"] blockquote {

View File

@ -83,7 +83,7 @@ groupbox.treebox .groupbox-body {
} }
#general-security-identity { #general-security-identity {
white-space: -moz-pre-wrap; white-space: pre-wrap;
line-height: 2em; line-height: 2em;
} }

View File

@ -19,7 +19,7 @@
.console-msg-text, .console-msg-text,
.console-error-msg { .console-error-msg {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.console-error-source { .console-error-source {

View File

@ -45,7 +45,7 @@
-moz-user-focus: normal; -moz-user-focus: normal;
-moz-user-select: text; -moz-user-select: text;
cursor: text !important; cursor: text !important;
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
#loginLabel, #password1Label, #password2Label { #loginLabel, #password1Label, #password2Label {

View File

@ -347,7 +347,7 @@ tooltip {
tooltip { tooltip {
-moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip"); -moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
-moz-box-orient: vertical; -moz-box-orient: vertical;
white-space: -moz-pre-wrap; white-space: pre-wrap;
margin-top: 21px; margin-top: 21px;
} }

View File

@ -67,7 +67,7 @@ body[dir="rtl"] #errorPageContainer {
border-bottom: 1px solid ThreeDLightShadow; border-bottom: 1px solid ThreeDLightShadow;
padding-bottom: 1em; padding-bottom: 1em;
font-size: 130%; font-size: 130%;
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
#errorLongDesc { #errorLongDesc {

View File

@ -76,7 +76,7 @@
} }
.console-msg-text { .console-msg-text {
white-space: -moz-pre-wrap !important; white-space: pre-wrap !important;
} }
.console-icon { .console-icon {
list-style-image: inherit; list-style-image: inherit;

View File

@ -68,7 +68,7 @@ body[dir="rtl"] #errorPageContainer {
border-bottom: 1px solid ThreeDLightShadow; border-bottom: 1px solid ThreeDLightShadow;
padding-bottom: 1em; padding-bottom: 1em;
font-size: 130%; font-size: 130%;
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
#errorLongDesc { #errorLongDesc {

View File

@ -68,7 +68,7 @@ body[dir="rtl"] #errorPageContainer {
border-bottom: 1px solid ThreeDLightShadow; border-bottom: 1px solid ThreeDLightShadow;
padding-bottom: 1em; padding-bottom: 1em;
font-size: 130%; font-size: 130%;
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
#errorLongDesc { #errorLongDesc {

View File

@ -18,7 +18,7 @@
} }
.console-msg-text { .console-msg-text {
white-space: -moz-pre-wrap; white-space: pre-wrap;
} }
.console-error-source { .console-error-source {