[BUGFIX] BE login template: fix invalid HTML structure 78/33078/3
authorEric Chavaillaz <eric@hemmer.ch>
Tue, 30 Sep 2014 12:53:59 +0000 (14:53 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 30 Sep 2014 13:25:54 +0000 (15:25 +0200)
In the backend login template a div tag is nested within a dl tag.
This is prohibited by the HTML specification.
This patch reverses the tag ordering.

Resolves: #61962
Releases: master, 6.2
Change-Id: I4e6410111a2ede2f9294cf390d7e96eedbeb58f6
Reviewed-on: http://review.typo3.org/33078
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/backend/Resources/Private/Templates/login.html
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/structure/_login_screen.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3kin.css

index 845baed..6202b43 100644 (file)
@@ -45,9 +45,9 @@
                <h2 class="t3-login-news-headline">###NEWS_HEADLINE###</h2>
        </div>
        <div class="t3-login-box-body">
-               <dl id="t3-login-news">
+               <div id="t3-login-news">
                        <!-- ###NEWS_ITEM### begin -->
-                       <div class="t3-login-news-item###CLASS###">
+                       <dl class="t3-login-news-item###CLASS###">
                                <dt>
                                        <span class="t3-news-date">###DATE###: </span>
                                        <span class="t3-news-title">###HEADER###</span>
@@ -55,9 +55,9 @@
                                <dd>
                                        ###CONTENT###
                                </dd>
-                       </div>
+                       </dl>
                        <!-- ###NEWS_ITEM### end -->
-               </dl>
+               </div>
        </div>
 </div>
 <div class="t3-login-box-border-bottom"></div>
index 276c30a..a15b084 100644 (file)
@@ -9181,6 +9181,7 @@ body#typo3-wizard-colorpicker-php p.c-head {
   clear: both;
 }
 #typo3-index-php #t3-login-news-outer #t3-login-news .t3-login-news-item {
+  margin-top: 0;
   padding-top: 20px;
 }
 #typo3-index-php #t3-login-news-outer #t3-login-news dd {