[TASK] Disable ms-clear pseudo element 76/36876/2
authorBenjamin Kott <benjamin.kott@outlook.com>
Fri, 13 Feb 2015 13:02:00 +0000 (14:02 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 13 Feb 2015 13:12:59 +0000 (14:12 +0100)
The ms-clear pseudo element was introduced in IE10
to provide an easy way to clear inputfields that are not empty
and focused. To avoid confusion we disable this feature
and keep the implementation of the current clearable.

Releases: master
Resolves: #65057
Change-Id: I15f83e395de58c03c677bb1a2f50a7ae1ffe4668
Reviewed-on: http://review.typo3.org/36876
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_main_form.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css

index 60e0fad..8f520b9 100644 (file)
@@ -1,4 +1,14 @@
 //
+// Disable ms-clear pseudo-element globally to avoid confusion with the
+// existing clearable integration in TYPO3
+//
+// https://msdn.microsoft.com/en-us/library/windows/apps/hh465740.aspx
+//
+*::-ms-clear {
+       display: none;
+}
+
+//
 // Form
 //
 #typo3-docbody form {
index 05fd6c6..262fed4 100644 (file)
@@ -9650,6 +9650,9 @@ span.warningboxheader {
 .t3-btn {
   cursor: pointer;
 }
+*::-ms-clear {
+  display: none;
+}
 #typo3-docbody form {
   margin-bottom: 1.25em;
 }