Bug 1606785 - Format dom CSS files with Prettier r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D249177
This commit is contained in:
hannajones
2025-05-21 03:51:44 +00:00
committed by hjones@mozilla.com
parent c08e43fc3d
commit c22e910235
15 changed files with 146 additions and 143 deletions

View File

@@ -1 +1,3 @@
body { background: orange; }
body {
background: orange;
}

View File

@@ -3,13 +3,17 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
body {
font-family: Helvetica Neue, Helvetica, Trebuchet MS, Sans-serif;
font-family:
Helvetica Neue,
Helvetica,
Trebuchet MS,
Sans-serif;
font-size: 12pt;
text-align: center;
}
a {
color: #FF9500;
color: #ff9500;
text-decoration: none;
}
@@ -25,34 +29,42 @@ a:hover {
}
#head {
font-family: Helvetica Neue, Helvetica, Trebuchet MS, Sans-serif;
font-family:
Helvetica Neue,
Helvetica,
Trebuchet MS,
Sans-serif;
font-size: 300%;
font-weight: lighter;
padding: .2ex;
padding: 0.2ex;
padding-bottom: 0;
margin-bottom: .5ex;
border-bottom: 10px solid #FF9500;
margin-bottom: 0.5ex;
border-bottom: 10px solid #ff9500;
}
#head b {
font-weight: bold;
color: #FF9500;
color: #ff9500;
}
div.content {
font-family: Helvetica Neue, Helvetica, Trebuchet MS, Sans-serif;
font-family:
Helvetica Neue,
Helvetica,
Trebuchet MS,
Sans-serif;
color: #000;
margin: 2ex;
}
#foot {
border-bottom: 1ex solid #FF9500;
border-bottom: 1ex solid #ff9500;
margin-top: 2ex;
}
/*------------------------------------------*/
#start {
background: #FF9500;
background: #ff9500;
color: #fff;
text-align: center;
font-weight: bold;
@@ -61,7 +73,6 @@ div.content {
cursor: pointer;
}
#results {
text-align: left;
width: 48em;
@@ -70,12 +81,12 @@ div.content {
.pass {
font-weight: bold;
color: #00539F;
color: #00539f;
}
.fail {
font-weight: bold;
color: #FF9500;
color: #ff9500;
}
.pending {

View File

@@ -1,2 +1,4 @@
/*! Simple test for bug 1271796 */
p::before { content: "\2014"; }
p::before {
content: "\2014";
}

View File

@@ -1,2 +1,2 @@
@import 'cssC.css';
@import url('http://example.org/tests/dom/tests/mochitest/general/cssC.css');
@import "cssC.css";
@import url("http://example.org/tests/dom/tests/mochitest/general/cssC.css");

View File

@@ -1 +1 @@
@import url('http://example.org/tests/dom/tests/mochitest/general/cross.css');
@import url("http://example.org/tests/dom/tests/mochitest/general/cross.css");

View File

@@ -1,3 +1,2 @@
@import 'emptyCssFile2.css';
@import url('http://example.org/tests/dom/tests/mochitest/general/emptyCssFile2.css');
@import "emptyCssFile2.css";
@import url("http://example.org/tests/dom/tests/mochitest/general/emptyCssFile2.css");

View File

@@ -1,3 +1,7 @@
button, vbox, menu, menuitem, menupopup {
button,
vbox,
menu,
menuitem,
menupopup {
box-sizing: content-box;
}

View File

@@ -7,4 +7,3 @@
span {
padding-top: 10px;
}

View File

@@ -37,11 +37,11 @@
}
.expandable-opening {
list-style: '+' outside;
list-style: "+" outside;
}
[open] > .expandable-opening {
list-style-type: '';
list-style-type: "";
}
.expandable-opening::marker {

View File

@@ -1,5 +1,3 @@
BookSet {
display: block;
}
@@ -45,7 +43,6 @@ Synopsis {
background-color: #ddddff;
}
ListPrice {
display: block;
text-align: right;
@@ -53,7 +50,6 @@ ListPrice {
text-decoration: line-through;
}
Price {
display: block;
color: rgb(20, 100, 0);
@@ -62,7 +58,6 @@ Price {
font-weight: bold;
}
Price:before {
content: "Our Price: ";
}
@@ -72,7 +67,3 @@ ISBN {
font-family: monospace;
font-size: 8pt;
}

View File

@@ -1,4 +1,3 @@
BookSet {
display: block;
}
@@ -31,7 +30,6 @@ Synopsis {
display: none;
}
ListPrice {
display: none;
text-align: right;
@@ -39,7 +37,6 @@ ListPrice {
text-decoration: line-through;
}
Price {
display: block;
color: rgb(20, 100, 0);
@@ -47,7 +44,6 @@ Price {
text-align: left;
}
Price:before {
content: "Our Price: ";
}
@@ -57,5 +53,3 @@ ISBN {
font-family: monospace;
font-size: 8pt;
}

View File

@@ -19,4 +19,3 @@ mylink {
color: blue;
text-decoration: underline;
}

View File

@@ -17,7 +17,9 @@ xlink|link {
padding-left: +5px;
}
sect1,sect2,sect3 {
sect1,
sect2,
sect3 {
display: block;
padding-left: +20px;
}