From afca099af15e16090524f89d4294387bad62b75f Mon Sep 17 00:00:00 2001 From: Sascha Egerer <sascha@sascha-egerer.de> Date: Sat, 18 Feb 2017 15:31:59 +0100 Subject: [PATCH] [CLEANUP] Remove invalid :has CSS definition There is a css rule containing a `:has()` rule. This rule is not supported in any browser yet and there must be also no whitespace between the `:has` and the opening brace. Resolves: #79890 Releases: master Change-Id: Ief60c287f1bd0f95c6b61fde0e6f50704978357f Reviewed-on: https://review.typo3.org/51739 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Josef Glatz <josef.glatz@typo3.org> Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com> Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- Build/Resources/Public/Less/form.less | 5 +---- typo3/sysext/form/Resources/Public/Css/form.css | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Build/Resources/Public/Less/form.less b/Build/Resources/Public/Less/form.less index ab917020ec8b..0bc38aa47b1e 100644 --- a/Build/Resources/Public/Less/form.less +++ b/Build/Resources/Public/Less/form.less @@ -528,9 +528,6 @@ transition: margin @stage-validation-transition-time-in; } } - &:has (.ui-sortable-handle:hover) { - border-color: transparent; - } span { color: @gray-dark; } @@ -963,4 +960,4 @@ .t3-form-element-new-page-button { position: absolute; left: 0.5em; -} \ No newline at end of file +} diff --git a/typo3/sysext/form/Resources/Public/Css/form.css b/typo3/sysext/form/Resources/Public/Css/form.css index f1b90a0ce711..f301b965cd9c 100644 --- a/typo3/sysext/form/Resources/Public/Css/form.css +++ b/typo3/sysext/form/Resources/Public/Css/form.css @@ -385,9 +385,6 @@ margin-right: 75px; transition: margin 0.2s; } -#t3-form-stage-container.t3-form-stage-viewmode-abstract .ui-sortable-handle:has (.ui-sortable-handle:hover) { - border-color: transparent; -} #t3-form-stage-container.t3-form-stage-viewmode-abstract .ui-sortable-handle span { color: #5a5a5a; } -- GitLab