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

View File

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

View File

@@ -1,2 +1,2 @@
@import 'cssC.css'; @import "cssC.css";
@import url('http://example.org/tests/dom/tests/mochitest/general/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 "emptyCssFile2.css";
@import url('http://example.org/tests/dom/tests/mochitest/general/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; box-sizing: content-box;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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