Skip to content

Commit

Permalink
Backed out changeset bbb688fe1ba3 (bug 1365614)
Browse files Browse the repository at this point in the history
  • Loading branch information
BavarianTomcat committed May 22, 2017
1 parent 0dd2458 commit 00d4ea3
Show file tree
Hide file tree
Showing 336 changed files with 695 additions and 574 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ function createPanel(attrs)
button.label = "OK";
button.width = 120;
button.height = 40;
button.setAttribute("style", "-moz-appearance: none; border: 0; margin: 0;");
panel.setAttribute("style", "-moz-appearance: none; border: 0; margin: 0;");
button.setAttribute("style", "-moz-appearance: none; appearance: none; border: 0; margin: 0;");
panel.setAttribute("style", "-moz-appearance: none; appearance: none; border: 0; margin: 0;");
return document.documentElement.appendChild(panel);
}
Expand Down
4 changes: 0 additions & 4 deletions browser/base/content/test/static/browser_parsable_css.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ let whitelist = [
{sourceName: /web\/viewer\.css$/i,
errorMessage: /Unknown pseudo-class.*(fullscreen|selection)/i,
isFromDevTools: false},
// PDFjs rules needed for compat with other UAs.
{sourceName: /web\/viewer\.css$/i,
errorMessage: /Unknown property.*appearance/i,
isFromDevTools: false},
// Tracked in bug 1004428.
{sourceName: /aboutaccounts\/(main|normalize)\.css$/i,
isFromDevTools: false},
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/responsive.html/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ body,
}

select {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background-color: var(--theme-toolbar-background);
background-image: var(--viewport-selection-arrow);
-moz-context-properties: fill;
Expand Down
4 changes: 2 additions & 2 deletions devtools/client/sourceeditor/test/browser_css_getInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ const CSSCompleter =

const source = [
".devtools-toolbar {",
" -moz-appearance: none;",
" -moz-appearance: none; appearance: none;",
" padding:4px 3px;border-bottom-width: 1px;",
" border-bottom-style: solid;",
"}",
"",
"#devtools-menu.devtools-menulist,",
".devtools-toolbarbutton#devtools-menu {",
" -moz-appearance: none;",
" -moz-appearance: none; appearance: none;",
" -moz-box-align: center;",
" min-width: 78px;",
" min-height: 22px;",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.devtools-toolbar {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
padding:4px 3px;border-bottom-width: 1px;
border-bottom-style: solid;
}

#devtools-menu.devtools-menulist,
.devtools-toolbarbutton#devtools-menu {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
-moz-box-align: center;
min-width: 78px;
min-height: 22px;
Expand Down Expand Up @@ -64,7 +64,7 @@
}

.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
}

.devtools-sidebar-tabs > tabs > tab:first-of-type {
Expand Down
3 changes: 0 additions & 3 deletions devtools/client/sourceeditor/test/css_statemachine_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
"tests": [
[[0, 10], ["null", "", "", ""]],
[[4, 3], ["selector", "class", "de", ".de"]],
[[5, 8], ["property", "null", "-moz-a"]],
[[5, 21], ["value", "null", "no", "-moz-appearance"]],
[[6, 18], ["property", "null", "padding"]],
[[6, 24], ["value", "null", "3", "padding"]],
[[6, 29], ["property", "null", "bo"]],
Expand All @@ -31,7 +29,6 @@
[[10, 17], ["selector", "class", "de", "#devtools-menu.de"]],
[[11, 5], ["selector", "class", "devt", ".devt"]],
[[11, 30], ["selector", "id", "devtoo", ".devtools-toolbarbutton#devtoo"]],
[[12, 10], ["property", "null", "-moz-app"]],
[[16, 27], ["value", "null", "hsl", "text-shadow"]],
[[19, 24], ["value", "null", "linear-gra", "background"]],
[[19, 55], ["value", "null", "hsl", "background"]],
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/themes/animationinspector.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ body {
}

#timeline-rate select.devtools-button {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
text-align: center;
font-family: inherit;
color: var(--theme-body-color);
Expand Down
7 changes: 4 additions & 3 deletions devtools/client/themes/commandline-browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
}

#developer-toolbar {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
padding: 0;
min-height: 32px;
background-color: var(--gcli-background-color);
border-top: 1px solid var(--gcli-border-color);
}

#developer-toolbar > toolbarbutton {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
border: none;
background-color: transparent;
margin: 0;
Expand Down Expand Up @@ -123,6 +123,7 @@ html|*#gcli-output-frame {
border-width: 0;
background-color: transparent;
-moz-appearance: none;
appearance: none;

/* We always wanted this to be a percentage of the viewport size but width: x% does not
* work. vw is the obvious solution.
Expand All @@ -145,7 +146,7 @@ html|*#gcli-output-frame {
}

.gclitoolbar-input-node {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
color: var(--gcli-input-color);
background-color: var(--gcli-input-background);
background-repeat: no-repeat;
Expand Down
6 changes: 3 additions & 3 deletions devtools/client/themes/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ html|button, html|select {
}

.devtools-autocomplete-listbox {
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
background-color: transparent;
border-width: 0px !important;
margin: 0;
Expand Down Expand Up @@ -229,7 +229,7 @@ checkbox:-moz-focusring {
.devtools-menulist,
.devtools-toolbarbutton,
.devtools-button {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background: transparent;
border: 1px solid var(--toolbarbutton-border-color);
border-radius: 2px;
Expand Down Expand Up @@ -383,7 +383,7 @@ checkbox:-moz-focusring {
.devtools-textinput,
.devtools-searchinput,
.devtools-filterinput {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
margin: 1px 3px;
border: 1px solid;
border-radius: 2px;
Expand Down
4 changes: 2 additions & 2 deletions devtools/client/themes/debugger.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/* Firebug theme uses breakpoint icon istead of a checkbox */

.theme-firebug #sources-pane .dbg-breakpoint-checkbox .checkbox-check {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
border: none;
background: url(chrome://devtools/skin/images/firebug/breakpoint.svg) no-repeat 50% 50%;
}
Expand Down Expand Up @@ -327,7 +327,7 @@
}

.dbg-expression-button {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
border: none;
background: none;
text-decoration: underline;
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/themes/devtools-browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

.devtools-eyedropper-panel {
pointer-events: none;
-moz-appearance: none;
-moz-appearance: none; appearance: none;
width: 156px;
height: 120px;
background-color: transparent;
Expand Down
6 changes: 3 additions & 3 deletions devtools/client/themes/floating-scrollbars-dark-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
well as any overflow: scroll elements within the page, while excluding
<select>. */
*|*:not(html|select) > scrollbar {
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
position: relative;
background-color: transparent;
background-image: none;
Expand Down Expand Up @@ -37,14 +37,14 @@

*|*:not(html|select) > scrollbar thumb {
background-color: rgba(170, 170, 170, .2) !important; /* --toolbar-tab-hover */
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
border-width: 0px !important;
border-radius: 3px !important;
}

*|*:root[platform="mac"] > scrollbar slider,
*|*:root[platform="mac"] *|*:not(html|select) > scrollbar slider {
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
}

*|*:root[platform="win"] > scrollbar scrollbarbutton,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
well as any overflow: scroll elements within the page, while excluding
<select>. */
*|*:not(html|select) > scrollbar {
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
position: relative;
background-color: transparent;
background-image: none;
Expand All @@ -31,11 +31,11 @@
}

*|*:not(html|select) > scrollbar slider {
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
}

*|*:not(html|select) > scrollbar thumb {
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
background-color: rgba(0,0,0,0.2);
border-width: 0px !important;
border-radius: 3px !important;
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/themes/new-webconsole.css
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ body {
padding: 0;
padding-inline-start: 20px;
margin: 0;
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background-color: transparent;
}

Expand Down
22 changes: 11 additions & 11 deletions devtools/client/themes/responsivedesign.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

.devtools-responsiveui-toolbar {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background: transparent;
/* text color is textColor from dark theme, since no theme is applied to
* the responsive toolbar.
Expand All @@ -29,7 +29,7 @@
}

.devtools-responsiveui-textinput {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background: #333;
color: #fff;
border: 1px solid #111;
Expand All @@ -46,7 +46,7 @@

.devtools-responsiveui-menulist,
.devtools-responsiveui-toolbarbutton {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
-moz-box-align: center;
min-width: 32px;
min-height: 22px;
Expand All @@ -60,12 +60,12 @@
}

.devtools-responsiveui-menulist .menulist-editable-box {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background-color: transparent;
}

.devtools-responsiveui-menulist html|*.menulist-editable-input {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
color: inherit;
text-align: center;
}
Expand Down Expand Up @@ -124,7 +124,7 @@
}

.devtools-responsiveui-menulist > .menulist-dropmarker {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
display: -moz-box;
background-color: transparent;
list-style-image: url("chrome://devtools/skin/images/dropmarker.svg");
Expand All @@ -134,7 +134,7 @@
}

.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
color: inherit;
border-width: 0;
border-inline-end: 1px solid hsla(210,8%,5%,.45);
Expand All @@ -152,7 +152,7 @@

.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
-moz-appearance: none !important;
-moz-appearance: none !important; appearance: none !important;
list-style-image: url("chrome://devtools/skin/images/dropmarker.svg");
-moz-box-align: center;
padding: 0 3px;
Expand Down Expand Up @@ -266,7 +266,7 @@
}

.devtools-responsiveui-hardware-buttons {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
padding: 20px;

border: 1px solid #FFFFFF;
Expand All @@ -288,7 +288,7 @@

.devtools-responsiveui-sleep-button {
-moz-user-focus: ignore;
-moz-appearance: none;
-moz-appearance: none; appearance: none;
/* compensate browserStack top padding */
margin-top: -67px;
margin-right: 10px;
Expand Down Expand Up @@ -316,7 +316,7 @@
.devtools-responsiveui-volume-up-button,
.devtools-responsiveui-volume-down-button {
-moz-user-focus: ignore;
-moz-appearance: none;
-moz-appearance: none; appearance: none;
border: 1px solid red;
min-width: 8px;
height: 40px;
Expand Down
4 changes: 2 additions & 2 deletions devtools/client/themes/shadereditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}

.side-menu-widget-item-checkbox {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
opacity: 0;
transition: opacity .15s ease-out 0s;
}
Expand All @@ -43,7 +43,7 @@
}

.side-menu-widget-item-checkbox .checkbox-check {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background-image: url(images/item-toggle.svg);
background-color: transparent;
width: 16px;
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/themes/splitters.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

.devtools-horizontal-splitter,
.devtools-side-splitter {
-moz-appearance: none;
-moz-appearance: none; appearance: none;
background-image: none;
border: 0;
border-style: solid;
Expand Down
Loading

0 comments on commit 00d4ea3

Please sign in to comment.