зеркало из https://github.com/mozilla/pjs.git
Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner]
This commit is contained in:
Родитель
2f6354a44e
Коммит
53c5194c05
|
@ -150,7 +150,7 @@ groupbox.treebox .groupbox-body {
|
|||
}
|
||||
|
||||
#general-security-identity {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ groupbox.treebox .groupbox-body {
|
|||
}
|
||||
|
||||
#general-security-identity {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ groupbox.treebox .groupbox-body {
|
|||
}
|
||||
|
||||
#general-security-identity {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ td.content {
|
|||
background-color: white;
|
||||
}
|
||||
td.content p {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
p.header {
|
||||
color: white;
|
||||
|
|
|
@ -288,7 +288,7 @@ separator.tooltipBodySeparator {
|
|||
|
||||
description.tooltipBody {
|
||||
font-weight: normal;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
margin: 0pt;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ td.content {
|
|||
background-color: white;
|
||||
}
|
||||
td.content p {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
p.header {
|
||||
color: white;
|
||||
|
|
|
@ -289,7 +289,7 @@ separator.tooltipBodySeparator {
|
|||
|
||||
description.tooltipBody {
|
||||
font-weight: normal;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
margin: 0pt;
|
||||
}
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ separator.tooltipBodySeparator {
|
|||
|
||||
description.tooltipBody {
|
||||
font-weight: normal;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ separator.tooltipBodySeparator {
|
|||
|
||||
description.tooltipBody {
|
||||
font-weight: normal;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
|
|
@ -597,7 +597,7 @@ nsPlainTextSerializer::DoOpenContainer(const nsIParserNode* aNode, PRInt32 aTag)
|
|||
// Try to figure out here whether we have a
|
||||
// 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
|
||||
// it, but better than nothing.
|
||||
// Also set mWrapColumn to the value given there
|
||||
|
|
|
@ -502,7 +502,7 @@ a.chatzilla-link:hover {
|
|||
.msg-data { /* .msg-data = the text portion */
|
||||
padding: 1px 1px 1px 3px; /* of a message */
|
||||
width: 100%;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ a.venkman-link:hover {
|
|||
.msg { /* .msg = a single message in the */
|
||||
width: 100%; /* output window */
|
||||
font: 11pt lucida, sans-serif;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.msg[monospace] {
|
||||
|
|
|
@ -8,7 +8,7 @@ function boom()
|
|||
</script>
|
||||
</head>
|
||||
<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
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@ function boom()
|
|||
</head>
|
||||
|
||||
<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
|
||||
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>foobar</title>
|
||||
</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>
|
||||
iframe name=selector2 src=http://www.mozilla.org/ width=100% <span>height</span>=100%
|
||||
</body>
|
||||
|
|
|
@ -6,7 +6,7 @@ a { color:pink; }
|
|||
</style>
|
||||
</head>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -7,7 +7,7 @@ a { color:pink; }
|
|||
</head>
|
||||
<body>
|
||||
<!-- 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 -->
|
||||
<p>m <a style="white-space:pre;">mmmmmmmmmm</a>mmmmmmmmm</p>
|
||||
</body>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="width:0">
|
||||
<div style="white-space:-moz-pre-wrap">One
|
||||
<div style="white-space:pre-wrap">One
|
||||
Two Three</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<style>
|
||||
.nowrap { white-space:nowrap; }
|
||||
.pre { white-space:pre; }
|
||||
.prewrap { white-space:-moz-pre-wrap; }
|
||||
.prewrap { white-space:pre-wrap; }
|
||||
div { border:1px solid black; }
|
||||
.container { float:left; width:20%; border-color:cyan; }
|
||||
p { width:0; }
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<style>
|
||||
.nowrap { white-space:nowrap; }
|
||||
.pre { white-space:pre; }
|
||||
.prewrap { white-space:-moz-pre-wrap; }
|
||||
.prewrap { white-space:pre-wrap; }
|
||||
div { border:1px solid black; }
|
||||
.container { float:left; width:20%; border-color:cyan; }
|
||||
p { width:0; }
|
||||
|
|
|
@ -10,7 +10,7 @@ b { font-weight:normal; background-color:yellow; }
|
|||
.cell { display:table-cell; border:1px solid green; }
|
||||
.nowrap { white-space:nowrap; }
|
||||
.pre { white-space:pre; }
|
||||
.prewrap { white-space:-moz-pre-wrap; }
|
||||
.prewrap { white-space:pre-wrap; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -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 */
|
||||
|
||||
pre[wrap], pre[cols], pre[width] {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
white-space: pre;
|
||||
}
|
||||
#viewsource.wrap {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
pre {
|
||||
font: inherit;
|
||||
|
|
|
@ -745,7 +745,7 @@
|
|||
<description class="CardViewText" id="cvCustom2"/>
|
||||
<description class="CardViewText" id="cvCustom3"/>
|
||||
<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>
|
||||
<image id="cvBuddyIcon"/>
|
||||
</hbox>
|
||||
|
|
|
@ -76,7 +76,7 @@ blockquote {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="true"] {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[wrap="false"] {
|
||||
|
@ -84,7 +84,7 @@ blockquote {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="flow"] .moz-txt-sig {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[graphical-quote="false"] blockquote {
|
||||
|
|
|
@ -78,7 +78,7 @@ div.headerdisplayname {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="true"] {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[wrap="false"] {
|
||||
|
@ -86,7 +86,7 @@ div.headerdisplayname {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="flow"] .moz-txt-sig {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[graphical-quote="false"] blockquote {
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
<description class="CardViewText" id="cvCustom2"/>
|
||||
<description class="CardViewText" id="cvCustom3"/>
|
||||
<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>
|
||||
<image id="cvBuddyIcon"/>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</comment>
|
||||
</container><!--head-->
|
||||
<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><!--br-->
|
||||
<content>http://www.hotbot.com/?MT=Search+Engines</content>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
- ***** END LICENSE BLOCK ***** -->
|
||||
<title>Ender Plain Text Test Page</title>
|
||||
</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):
|
||||
---------|---------|---------|---------|---------|---------|---------|---------|
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<title>Ender Plain Text Test Page</title>
|
||||
</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)
|
||||
---------|---------|---------|---------|---------|---------|---------|---------|
|
||||
|
|
|
@ -69,9 +69,9 @@
|
|||
<!-- Note that because of the styling, there must be no whitespace within
|
||||
the description tags -->
|
||||
<description id="warningText"
|
||||
style="white-space: -moz-pre-wrap"/>
|
||||
style="white-space: pre-wrap"/>
|
||||
<description id="warningSupplemental"
|
||||
style="font-weight: bold; white-space: -moz-pre-wrap;"
|
||||
style="font-weight: bold; white-space: pre-wrap;"
|
||||
>&exceptionMgr.supplementalWarning;</description>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
@ -92,7 +92,7 @@
|
|||
<caption label="&exceptionMgr.certstatus.caption;"/>
|
||||
<vbox style="overflow: auto;" flex="1">
|
||||
<hbox>
|
||||
<description id="headerDescription" style="white-space: -moz-pre-wrap;"
|
||||
<description id="headerDescription" style="white-space: pre-wrap;"
|
||||
flex="1"/>
|
||||
<vbox>
|
||||
<button id="viewCertButton" label="&exceptionMgr.certstatus.viewCert;"
|
||||
|
@ -102,13 +102,13 @@
|
|||
</hbox>
|
||||
<description id="statusDescription"
|
||||
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"
|
||||
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"
|
||||
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"/>
|
||||
</vbox>
|
||||
<checkbox id="permanent" checked="true" disabled="true"
|
||||
|
|
|
@ -74,7 +74,7 @@ div.headerdisplayname {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="true"] {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[wrap="false"] {
|
||||
|
@ -82,7 +82,7 @@ div.headerdisplayname {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="flow"] .moz-txt-sig {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[graphical-quote="false"] blockquote {
|
||||
|
|
|
@ -84,7 +84,7 @@ groupbox.treebox .groupbox-body {
|
|||
}
|
||||
|
||||
#general-security-identity {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ div.headerdisplayname {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="true"] {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[wrap="false"] {
|
||||
|
@ -82,7 +82,7 @@ div.headerdisplayname {
|
|||
}
|
||||
|
||||
.moz-text-plain[wrap="flow"] .moz-txt-sig {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.moz-text-plain[graphical-quote="false"] blockquote {
|
||||
|
|
|
@ -83,7 +83,7 @@ groupbox.treebox .groupbox-body {
|
|||
}
|
||||
|
||||
#general-security-identity {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
.console-msg-text,
|
||||
.console-error-msg {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.console-error-source {
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
-moz-user-focus: normal;
|
||||
-moz-user-select: text;
|
||||
cursor: text !important;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
#loginLabel, #password1Label, #password2Label {
|
||||
|
|
|
@ -347,7 +347,7 @@ tooltip {
|
|||
tooltip {
|
||||
-moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
|
||||
-moz-box-orient: vertical;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
margin-top: 21px;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ body[dir="rtl"] #errorPageContainer {
|
|||
border-bottom: 1px solid ThreeDLightShadow;
|
||||
padding-bottom: 1em;
|
||||
font-size: 130%;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
#errorLongDesc {
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
}
|
||||
|
||||
.console-msg-text {
|
||||
white-space: -moz-pre-wrap !important;
|
||||
white-space: pre-wrap !important;
|
||||
}
|
||||
.console-icon {
|
||||
list-style-image: inherit;
|
||||
|
|
|
@ -68,7 +68,7 @@ body[dir="rtl"] #errorPageContainer {
|
|||
border-bottom: 1px solid ThreeDLightShadow;
|
||||
padding-bottom: 1em;
|
||||
font-size: 130%;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
#errorLongDesc {
|
||||
|
|
|
@ -68,7 +68,7 @@ body[dir="rtl"] #errorPageContainer {
|
|||
border-bottom: 1px solid ThreeDLightShadow;
|
||||
padding-bottom: 1em;
|
||||
font-size: 130%;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
#errorLongDesc {
|
||||
|
|
|
@ -1,61 +0,0 @@
|
|||
|
||||
.console-box {
|
||||
-moz-binding: url("chrome://global/content/consoleBindings.xml#console-box");
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.console-rows {
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
.console-row[type="error"],
|
||||
.console-row[type="warning"] {
|
||||
-moz-binding: url("chrome://global/content/consoleBindings.xml#error");
|
||||
}
|
||||
|
||||
.console-row[type="message"] {
|
||||
-moz-binding: url("chrome://global/content/consoleBindings.xml#message");
|
||||
}
|
||||
|
||||
.console-msg-text {
|
||||
white-space: -moz-pre-wrap;
|
||||
}
|
||||
|
||||
.console-error-source {
|
||||
-moz-binding: url("chrome://global/content/consoleBindings.xml#console-error-source");
|
||||
}
|
||||
|
||||
.console-dots {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
/* :::::::::: hiding and showing of rows for each mode :::::::::: */
|
||||
|
||||
.console-box[mode="Warnings"] > .console-box-internal > .console-rows
|
||||
> .console-row[type="error"],
|
||||
.console-box[mode="Messages"] > .console-box-internal > .console-rows
|
||||
> .console-row[type="error"]
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-box[mode="Errors"] > .console-box-internal > .console-rows
|
||||
> .console-row[type="warning"],
|
||||
.console-box[mode="Messages"] > .console-box-internal > .console-rows
|
||||
> .console-row[type="warning"]
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-box[mode="Errors"] > .console-box-internal > .console-rows
|
||||
> .console-row[type="message"],
|
||||
.console-box[mode="Warnings"] > .console-box-internal > .console-rows
|
||||
> .console-row[type="message"]
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* If line number is 0, hide the line number section */
|
||||
.lineNumberRow[line="0"] {
|
||||
display: none;
|
||||
}
|
Загрузка…
Ссылка в новой задаче