Bug 1586019 - Remove textbox .plain class support. r=bgrins

Differential Revision: https://phabricator.services.mozilla.com/D48074

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tim Nguyen 2019-10-03 16:21:42 +00:00
parent 2e50f42b7a
commit 2ed60e9a99
7 changed files with 0 additions and 71 deletions

View File

@ -34,8 +34,3 @@ html|input.num {
#linux html|input.num {
padding-inline-end: 3px;
}
html|div.plainfield {
color: -moz-fieldtext;
white-space: pre;
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
title="Textbox tests">
<script type="text/javascript" src="platform.js"/>
<textbox value=" test" class="plain"/>
</window>

View File

@ -1,13 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="resource://reftest/input.css" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
title="Textbox tests">
<script type="text/javascript" src="platform.js"/>
<html:div class="plainfield"> test</html:div>
</window>

View File

@ -6,7 +6,6 @@ fails-if(Android) skip-if(winWidget) == chrome://reftest/content/editor/reftests
fails-if(Android) skip-if(winWidget) == chrome://reftest/content/editor/reftests/xul/passwd-1.xul chrome://reftest/content/editor/reftests/xul/passwd-ref.xul # Windows: bug 1239170
fails-if(Android) skip-if(winWidget) == chrome://reftest/content/editor/reftests/xul/passwd-2.xul chrome://reftest/content/editor/reftests/xul/passwd-ref.xul # Windows: bug 1239170
!= chrome://reftest/content/editor/reftests/xul/passwd-3.xul chrome://reftest/content/editor/reftests/xul/passwd-ref.xul
fails-if(Android) == chrome://reftest/content/editor/reftests/xul/plain-1.xul chrome://reftest/content/editor/reftests/xul/plain-ref.xul # bug 783658
fails-if(Android) skip-if(winWidget) == chrome://reftest/content/editor/reftests/xul/textbox-1.xul chrome://reftest/content/editor/reftests/xul/textbox-ref.xul # Windows: bug 1239170
!= chrome://reftest/content/editor/reftests/xul/textbox-disabled.xul chrome://reftest/content/editor/reftests/xul/textbox-ref.xul
# Read-only textboxes look like normal textboxes in windows Vista/7 default theme

View File

@ -57,20 +57,6 @@ search-textbox[disabled="true"] {
color: GrayText;
}
/* ::::: plain textbox ::::: */
textbox.plain {
-moz-appearance: none !important;
background-color: transparent;
padding: 0px !important;
margin: 0px !important;
border: none !important;
}
textbox.plain html|*.textbox-input {
padding: 0px !important;
}
/* ::::: search textbox ::::: */
search-textbox:not([searchbutton]) > .textbox-search-sign {

View File

@ -49,18 +49,6 @@ search-textbox[disabled="true"] {
color: GrayText;
}
textbox.plain {
-moz-appearance: none !important;
background-color: transparent;
padding: 0px !important;
margin: 0px !important;
border: none !important;
}
textbox.plain html|*.textbox-input {
padding: 0px !important;
}
/* ::::: search box ::::: */
search-textbox {

View File

@ -63,20 +63,6 @@ search-textbox[disabled="true"] {
color: GrayText;
}
/* ::::: plain textbox ::::: */
textbox.plain {
-moz-appearance: none !important;
background-color: transparent;
padding: 0px !important;
margin: 0px !important;
border: none !important;
}
textbox.plain html|*.textbox-input {
padding: 0px !important;
}
/* ::::: search textbox ::::: */
search-textbox:not([searchbutton]) > .textbox-search-sign {