Bug 1606785 - Format dom CSS files with Prettier r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D249177
This commit is contained in:
committed by
hjones@mozilla.com
parent
c08e43fc3d
commit
c22e910235
@@ -1 +1,3 @@
|
||||
body { background: orange; }
|
||||
body {
|
||||
background: orange;
|
||||
}
|
||||
|
||||
@@ -3,82 +3,93 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
body {
|
||||
font-family: Helvetica Neue, Helvetica, Trebuchet MS, Sans-serif;
|
||||
font-size: 12pt;
|
||||
text-align: center;
|
||||
font-family:
|
||||
Helvetica Neue,
|
||||
Helvetica,
|
||||
Trebuchet MS,
|
||||
Sans-serif;
|
||||
font-size: 12pt;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #FF9500;
|
||||
text-decoration: none;
|
||||
color: #ff9500;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#content {
|
||||
width: 50em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
width: 50em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#head {
|
||||
font-family: Helvetica Neue, Helvetica, Trebuchet MS, Sans-serif;
|
||||
font-size: 300%;
|
||||
font-weight: lighter;
|
||||
padding: .2ex;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: .5ex;
|
||||
border-bottom: 10px solid #FF9500;
|
||||
font-family:
|
||||
Helvetica Neue,
|
||||
Helvetica,
|
||||
Trebuchet MS,
|
||||
Sans-serif;
|
||||
font-size: 300%;
|
||||
font-weight: lighter;
|
||||
padding: 0.2ex;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0.5ex;
|
||||
border-bottom: 10px solid #ff9500;
|
||||
}
|
||||
#head b {
|
||||
font-weight: bold;
|
||||
color: #FF9500;
|
||||
font-weight: bold;
|
||||
color: #ff9500;
|
||||
}
|
||||
|
||||
div.content {
|
||||
font-family: Helvetica Neue, Helvetica, Trebuchet MS, Sans-serif;
|
||||
color: #000;
|
||||
margin: 2ex;
|
||||
font-family:
|
||||
Helvetica Neue,
|
||||
Helvetica,
|
||||
Trebuchet MS,
|
||||
Sans-serif;
|
||||
color: #000;
|
||||
margin: 2ex;
|
||||
}
|
||||
|
||||
#foot {
|
||||
border-bottom: 1ex solid #FF9500;
|
||||
margin-top: 2ex;
|
||||
border-bottom: 1ex solid #ff9500;
|
||||
margin-top: 2ex;
|
||||
}
|
||||
|
||||
/*------------------------------------------*/
|
||||
|
||||
#start {
|
||||
background: #FF9500;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
padding: 1em 0 1em 0;
|
||||
width: 50em;
|
||||
cursor: pointer;
|
||||
background: #ff9500;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
padding: 1em 0 1em 0;
|
||||
width: 50em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
#results {
|
||||
text-align: left;
|
||||
width: 48em;
|
||||
border: 1px solid black;
|
||||
text-align: left;
|
||||
width: 48em;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.pass {
|
||||
font-weight: bold;
|
||||
color: #00539F;
|
||||
font-weight: bold;
|
||||
color: #00539f;
|
||||
}
|
||||
|
||||
.fail {
|
||||
font-weight: bold;
|
||||
color: #FF9500;
|
||||
font-weight: bold;
|
||||
color: #ff9500;
|
||||
}
|
||||
|
||||
.pending {
|
||||
font-weight: bold;
|
||||
color: #666;
|
||||
font-weight: bold;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
@@ -1,49 +1,49 @@
|
||||
#innerFrame {
|
||||
position: absolute;
|
||||
top: 300px;
|
||||
left: 200px;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
position: absolute;
|
||||
top: 300px;
|
||||
left: 200px;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
height: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
#square1 {
|
||||
top: 330px;
|
||||
left: 150px;
|
||||
background: black;
|
||||
top: 330px;
|
||||
left: 150px;
|
||||
background: black;
|
||||
}
|
||||
|
||||
#square2 {
|
||||
top: 50px;
|
||||
left: 30px;
|
||||
visibility: hidden;
|
||||
background: red;
|
||||
top: 50px;
|
||||
left: 30px;
|
||||
visibility: hidden;
|
||||
background: red;
|
||||
}
|
||||
|
||||
.square {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#target0 {
|
||||
background: black;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
background: black;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
#target1 {
|
||||
background: purple;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
background: purple;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
#scrollTarget {
|
||||
@@ -51,62 +51,62 @@ overflow-x: auto;
|
||||
}
|
||||
|
||||
.touchActionNone {
|
||||
touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
#innerframe {
|
||||
width: 90%;
|
||||
margin: 10px;
|
||||
margin-left: 10%;
|
||||
height: 200px;
|
||||
width: 90%;
|
||||
margin: 10px;
|
||||
margin-left: 10%;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.scroller {
|
||||
width: 700px;
|
||||
height: 430px;
|
||||
margin: 20px;
|
||||
overflow: auto;
|
||||
background: black;
|
||||
width: 700px;
|
||||
height: 430px;
|
||||
margin: 20px;
|
||||
overflow: auto;
|
||||
background: black;
|
||||
}
|
||||
|
||||
.scroller > div {
|
||||
height: 1000px;
|
||||
width: 1000px;
|
||||
color: white;
|
||||
height: 1000px;
|
||||
width: 1000px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.scroller > div div {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
color: white;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
color: white;
|
||||
}
|
||||
|
||||
div {
|
||||
margin: 0;
|
||||
padding: 2em;
|
||||
margin: 0;
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
#complete-notice {
|
||||
background: #afa;
|
||||
border: 1px solid #0a0;
|
||||
display: none;
|
||||
background: #afa;
|
||||
border: 1px solid #0a0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#pointertype-log {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#event-log {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#listener {
|
||||
background: orange;
|
||||
border: 1px solid orange;
|
||||
position: absolute;
|
||||
top: -100px;
|
||||
background: orange;
|
||||
border: 1px solid orange;
|
||||
position: absolute;
|
||||
top: -100px;
|
||||
}
|
||||
|
||||
body.scrollable {
|
||||
min-height: 5000px;
|
||||
min-height: 5000px;
|
||||
}
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
/*! Simple test for bug 1271796 */
|
||||
p::before { content: "\2014"; }
|
||||
p::before {
|
||||
content: "\2014";
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
button, vbox, menu, menuitem, menupopup {
|
||||
box-sizing: content-box;
|
||||
}
|
||||
button,
|
||||
vbox,
|
||||
menu,
|
||||
menuitem,
|
||||
menupopup {
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
@@ -7,4 +7,3 @@
|
||||
span {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
}
|
||||
|
||||
.expandable-opening {
|
||||
list-style: '+' outside;
|
||||
list-style: "+" outside;
|
||||
}
|
||||
|
||||
[open] > .expandable-opening {
|
||||
list-style-type: '−';
|
||||
list-style-type: "−";
|
||||
}
|
||||
|
||||
.expandable-opening::marker {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
BookSet {
|
||||
display: block;
|
||||
}
|
||||
@@ -15,12 +13,12 @@ Book {
|
||||
}
|
||||
|
||||
BookCover {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
padding: 5px;
|
||||
width: 100px;
|
||||
height: 140px;
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
padding: 5px;
|
||||
width: 100px;
|
||||
height: 140px;
|
||||
}
|
||||
|
||||
Title {
|
||||
@@ -45,24 +43,21 @@ Synopsis {
|
||||
background-color: #ddddff;
|
||||
}
|
||||
|
||||
|
||||
ListPrice {
|
||||
display: block;
|
||||
text-align: right;
|
||||
padding-right: 15px;
|
||||
text-decoration: line-through;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
|
||||
Price {
|
||||
display: block;
|
||||
color: rgb(20,100,0);
|
||||
text-align:right;
|
||||
color: rgb(20, 100, 0);
|
||||
text-align: right;
|
||||
padding-right: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
Price:before {
|
||||
content: "Our Price: ";
|
||||
}
|
||||
@@ -72,7 +67,3 @@ ISBN {
|
||||
font-family: monospace;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ SearchTitle {
|
||||
border-bottom: thin solid black;
|
||||
padding-bottom: 6px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
SearchTitle:first-line {
|
||||
font-family: Verdana, Sans-Serif;
|
||||
@@ -40,4 +40,4 @@ Label {
|
||||
|
||||
input {
|
||||
margin-top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
BookSet {
|
||||
display: block;
|
||||
}
|
||||
@@ -11,7 +10,7 @@ Book {
|
||||
}
|
||||
|
||||
BookCover {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
Title {
|
||||
@@ -31,23 +30,20 @@ Synopsis {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
ListPrice {
|
||||
display: none;
|
||||
text-align: right;
|
||||
padding-right: 15px;
|
||||
text-decoration: line-through;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
|
||||
Price {
|
||||
display: block;
|
||||
color: rgb(20,100,0);
|
||||
color: rgb(20, 100, 0);
|
||||
font-weight: bold;
|
||||
text-align:left;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
Price:before {
|
||||
content: "Our Price: ";
|
||||
}
|
||||
@@ -57,5 +53,3 @@ ISBN {
|
||||
font-family: monospace;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -19,4 +19,3 @@ mylink {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,9 @@ xlink|link {
|
||||
padding-left: +5px;
|
||||
}
|
||||
|
||||
sect1,sect2,sect3 {
|
||||
sect1,
|
||||
sect2,
|
||||
sect3 {
|
||||
display: block;
|
||||
padding-left: +20px;
|
||||
}
|
||||
@@ -25,4 +27,4 @@ sect1,sect2,sect3 {
|
||||
p {
|
||||
display: block;
|
||||
padding-left: +5px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user