From 07e13c52d30a30971a042421363fbf46490aae4b Mon Sep 17 00:00:00 2001
From: Henrik Elsner <helsner@dfau.de>
Date: Tue, 2 May 2017 16:17:39 +0200
Subject: [PATCH] [TASK] Replace outdated nowrap attribute

The outdated nowrap attribute for table tags
is replaced by a class addition, bringing
the functional stylings

Resolves: #81110
Releases: master, 8.7
Change-Id: Id0981b104be226dec4dc7c2c56b2919391823b31
Reviewed-on: https://review.typo3.org/52683
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
---
 .../Classes/RecordList/AbstractRecordList.php |  8 +-
 .../backend/Classes/View/PageLayoutView.php   |  2 +-
 .../Partials/Clipboard/TabContent.html        | 14 +--
 .../Private/Templates/Clipboard/Main.html     |  4 +-
 .../Private/Templates/Permission/Index.html   | 90 +++++++++----------
 .../TypoScript/ExtendedTemplateService.php    |  2 +-
 .../Private/Templates/FileList/Search.html    | 36 ++++----
 .../Backend/Templates/FormManager/Index.html  | 20 ++---
 .../Classes/Plugin/AbstractPlugin.php         |  6 +-
 .../Resources/Private/Partials/Page.html      |  4 +-
 .../Private/Partials/PageZeroTableRow.html    |  2 +-
 .../Classes/Browser/FileBrowser.php           | 12 +--
 .../Classes/Browser/FolderBrowser.php         |  2 +-
 .../Partials/RecordsTable/DeletedRecord.html  | 14 +--
 .../Controller/SchedulerModuleController.php  |  4 +-
 .../Resources/Private/Templates/PageZero.html |  4 +-
 .../Resources/Public/JavaScript/Backend.js    |  2 +-
 17 files changed, 115 insertions(+), 111 deletions(-)

diff --git a/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php b/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php
index bdfdab135d1f..4ffa127c865c 100644
--- a/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php
+++ b/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php
@@ -225,7 +225,7 @@ abstract class AbstractRecordList
     public function addElement($h, $icon, $data, $rowParams = '', $_ = '', $_2 = '', $colType = 'td')
     {
         $colType = ($colType === 'th') ? 'th' : 'td';
-        $noWrap = $this->no_noWrap ? '' : ' nowrap="nowrap"';
+        $noWrap = $this->no_noWrap ? '' : ' nowrap';
         // Start up:
         $l10nParent = isset($data['_l10nparent_']) ? (int)$data['_l10nparent_'] : 0;
         $out = '
@@ -234,7 +234,7 @@ abstract class AbstractRecordList
         // Show icon and lines
         if ($this->showIcon) {
             $out .= '
-			<' . $colType . ' nowrap="nowrap" class="col-icon">';
+			<' . $colType . ' class="col-icon nowrap">';
             if (!$h) {
                 $out .= '&nbsp;';
             } else {
@@ -269,7 +269,7 @@ abstract class AbstractRecordList
                         $cssClass = implode(' ', [$this->addElement_tdCssClass[$lastKey], $this->oddColumnsCssClass]);
                     }
                     $out .= '
-						<' . $colType . $noWrap . ' class="' . $cssClass . '"' . $colsp . $this->addElement_tdParams[$lastKey] . '>' . $data[$lastKey] . '</' . $colType . '>';
+						<' . $colType . ' class="' . $cssClass . $noWrap . '"' . $colsp . $this->addElement_tdParams[$lastKey] . '>' . $data[$lastKey] . '</' . $colType . '>';
                 }
                 $lastKey = $vKey;
                 $c = 1;
@@ -292,7 +292,7 @@ abstract class AbstractRecordList
                 $cssClass = implode(' ', [$this->addElement_tdCssClass[$lastKey], $this->oddColumnsCssClass]);
             }
             $out .= '
-				<' . $colType . $noWrap . ' class="' . $cssClass . '"' . $colsp . $this->addElement_tdParams[$lastKey] . '>' . $data[$lastKey] . '</' . $colType . '>';
+				<' . $colType . ' class="' . $cssClass . $noWrap . '"' . $colsp . $this->addElement_tdParams[$lastKey] . '>' . $data[$lastKey] . '</' . $colType . '>';
         }
         // End row
         $out .= '
diff --git a/typo3/sysext/backend/Classes/View/PageLayoutView.php b/typo3/sysext/backend/Classes/View/PageLayoutView.php
index 0b2df0d8c5ff..f3b02d8b2140 100644
--- a/typo3/sysext/backend/Classes/View/PageLayoutView.php
+++ b/typo3/sysext/backend/Classes/View/PageLayoutView.php
@@ -946,7 +946,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                         . ' ' . $recordIcon . ' ' . htmlspecialchars(GeneralUtility::fixed_lgd_cs($this->pageRecord['title'], 20));
                 }
                 $sCont[$lP] = '
-					<td nowrap="nowrap" class="t3-page-column t3-page-lang-label">' . $lPLabel . '</td>';
+					<td class="t3-page-column t3-page-lang-label nowrap">' . $lPLabel . '</td>';
             }
             // Add headers:
             $out .= '<tr>' . implode($cCont) . '</tr>';
diff --git a/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html b/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html
index e119f8d639e0..3ba2e5e4f72f 100644
--- a/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html
+++ b/typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html
@@ -1,8 +1,8 @@
 <tr>
-	<td nowrap="nowrap" class="col-icon">
+	<td class="col-icon nowrap">
 		<f:format.raw>{content.icon}</f:format.raw>
 	</td>
-	<td nowrap="nowrap" width="95%">
+	<td width="95%" class="nowrap">
 		<f:format.raw>{content.title}</f:format.raw>
 		<f:if condition="{tab.id} == 'normal'">
 			<strong>(
@@ -21,18 +21,22 @@
 			<f:image image="{content.thumb.image}" title="{content.thumb.title}"/>
 		</f:if>
 	</td>
-	<td nowrap="nowrap" class="col-control">
+	<td class="col-control nowrap">
 		<div class="btn-group">
 			<f:if condition="{content.infoLink}">
 				<a class="btn btn-default" href="#" onclick="{content.infoLink}"
 					 title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.info')}">
-					<f:format.raw><core:icon identifier="actions-document-info" alternativeMarkupIdentifier="inline"/></f:format.raw>
+					<f:format.raw>
+						<core:icon identifier="actions-document-info" alternativeMarkupIdentifier="inline"/>
+					</f:format.raw>
 				</a>
 			</f:if>
 			<f:if condition="{content.removeLink}">
 				<a class="btn btn-default" href="{content.removeLink}#clip_head"
 					 title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.removeItem')}">
-					<f:format.raw><core:icon identifier="actions-selection-delete" alternativeMarkupIdentifier="inline"/></f:format.raw>
+					<f:format.raw>
+						<core:icon identifier="actions-selection-delete" alternativeMarkupIdentifier="inline"/>
+					</f:format.raw>
 				</a>
 			</f:if>
 		</div>
diff --git a/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html b/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html
index 62914f8711d5..d42da6263054 100644
--- a/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html
+++ b/typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html
@@ -8,13 +8,13 @@
 				</div>
 				<table class="table">
 					<tr>
-						<td colspan="2" nowrap="nowrap" width="95%">
+						<td colspan="2" class="nowrap" width="95%">
 							<f:render partial="Clipboard/CopymodeSelector" arguments="{_all}"/>
 							<f:if condition="{elementCount}">
 								<f:render partial="Clipboard/MenuSelector" arguments="{_all}"/>
 							</f:if>
 						</td>
-						<td nowrap="nowrap" class="col-control">
+						<td class="col-control nowrap">
 							<f:if condition="{elementCount}">
 								<a href="{removeAllUrl}#clip_head"
 									 title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:buttons.clear')}" class="btn btn-danger">
diff --git a/typo3/sysext/beuser/Resources/Private/Templates/Permission/Index.html b/typo3/sysext/beuser/Resources/Private/Templates/Permission/Index.html
index 1a270f4a49f5..cb0b870eb506 100644
--- a/typo3/sysext/beuser/Resources/Private/Templates/Permission/Index.html
+++ b/typo3/sysext/beuser/Resources/Private/Templates/Permission/Index.html
@@ -34,7 +34,7 @@
 									A "normal" page row is rendered, not the root page
 								</f:comment>
 
-								<td align="left" nowrap="nowrap">
+								<td align="left" class="nowrap">
 									<f:link.action
 										action="edit"
 										arguments="{id: '{f:if(condition: data.row._ORIG_uid, then: data.row._ORIG_uid, else: data.row.uid)}', depth: depth}"
@@ -59,7 +59,7 @@
 									</f:link.action>
 								</td>
 
-								<td nowrap="nowrap">
+								<td class="nowrap">
 									<bu:permissions permission="{data.row.perms_user}" scope="user" pageId="{data.row.uid}" />
 									<f:render
 										partial="Permission/Ownername"
@@ -71,7 +71,7 @@
 									/>
 								</td>
 
-								<td nowrap="nowrap">
+								<td class="nowrap">
 									<bu:permissions permission="{data.row.perms_group}" scope="group" pageId="{data.row.uid}" />
 									<f:render
 										partial="Permission/Groupname"
@@ -83,11 +83,11 @@
 									/>
 								</td>
 
-								<td nowrap="nowrap">
+								<td class="nowrap">
 									<bu:permissions permission="{data.row.perms_everybody}" scope="everybody" pageId="{data.row.uid}" />
 								</td>
 
-								<td nowrap="nowrap">
+								<td class="nowrap">
 									<span id="el_{data.row.uid}">
 										<f:if condition="{data.row.editlock}">
 											<f:then>
@@ -119,15 +119,15 @@
 								<f:comment>
 									Root page row is rendered
 								</f:comment>
-								<td align="left" nowrap="nowrap">
+								<td align="left" class="nowrap">
 									<f:format.raw>{data.HTML}</f:format.raw>
 									{data.row.title -> f:format.crop(maxCharacters:20)}
 								</td>
 								<td></td>
-								<td nowrap="nowrap"></td>
-								<td nowrap="nowrap"></td>
-								<td nowrap="nowrap"></td>
-								<td nowrap="nowrap"></td>
+								<td class="nowrap"></td>
+								<td class="nowrap"></td>
+								<td class="nowrap"></td>
+								<td class="nowrap"></td>
 							</f:else>
 						</f:if>
 					</tr>
@@ -142,49 +142,49 @@
 	<div class="beuser-legend">
 		<table>
 			<tr>
-				<td nowrap="nowrap" class="edge"><span><span></span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap"><span class="number">1</span></td>
-				<td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:1" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:1_t" /></td>
+				<td class="edge nowrap"><span><span></span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="nowrap"><span class="number">1</span></td>
+				<td class="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:1" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:1_t" /></td>
 			</tr>
 			<tr>
-				<td nowrap="nowrap" class="vr"><span></span></td>
-				<td nowrap="nowrap" class="edge"><span><span></span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap"><span class="number">2</span></td>
-				<td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:16" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:16_t" /></td>
+				<td class="vr nowrap"><span></span></td>
+				<td class="edge nowrap"><span><span></span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="nowrap"><span class="number">2</span></td>
+				<td class="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:16" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:16_t" /></td>
 			</tr>
 			<tr>
-				<td nowrap="nowrap" class="vr"><span></span></td>
-				<td nowrap="nowrap" class="vr"><span></span></td>
-				<td nowrap="nowrap" class="edge"><span><span></span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap"><span class="number">3</span></td>
-				<td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:2" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:2_t" /></td>
+				<td class="vr nowrap"><span></span></td>
+				<td class="vr nowrap"><span></span></td>
+				<td class="edge nowrap"><span><span></span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="nowrap"><span class="number">3</span></td>
+				<td class="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:2" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:2_t" /></td>
 			</tr>
 			<tr>
-				<td nowrap="nowrap" class="vr"><span></span></td>
-				<td nowrap="nowrap" class="vr"><span></span></td>
-				<td nowrap="nowrap" class="vr"><span></span></td>
-				<td nowrap="nowrap" class="edge"><span><span></span></span></td>
-				<td nowrap="nowrap" class="hr"><span></span></td>
-				<td nowrap="nowrap"><span class="number">4</span></td>
-				<td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:4" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:4_t" /></td>
+				<td class="vr nowrap"><span></span></td>
+				<td class="vr nowrap"><span></span></td>
+				<td class="vr nowrap"><span></span></td>
+				<td class="edge nowrap"><span><span></span></span></td>
+				<td class="hr nowrap"><span></span></td>
+				<td class="nowrap"><span class="number">4</span></td>
+				<td class="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:4" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:4_t" /></td>
 			</tr>
 			<tr>
-				<td nowrap="nowrap"><core:icon identifier="status-status-permission-granted" /></td>
-				<td nowrap="nowrap"><core:icon identifier="status-status-permission-denied" /></td>
-				<td nowrap="nowrap"><core:icon identifier="status-status-permission-granted" /></td>
-				<td nowrap="nowrap"><core:icon identifier="status-status-permission-denied" /></td>
-				<td nowrap="nowrap"><core:icon identifier="status-status-permission-denied" /></td>
-				<td nowrap="nowrap"><span class="number">5</span></td>
-				<td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:8" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:8_t" /></td>
+				<td class="nowrap"><core:icon identifier="status-status-permission-granted" /></td>
+				<td class="nowrap"><core:icon identifier="status-status-permission-denied" /></td>
+				<td class="nowrap"><core:icon identifier="status-status-permission-granted" /></td>
+				<td class="nowrap"><core:icon identifier="status-status-permission-denied" /></td>
+				<td class="nowrap"><core:icon identifier="status-status-permission-denied" /></td>
+				<td class="nowrap"><span class="number">5</span></td>
+				<td class="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:8" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:8_t" /></td>
 			</tr>
 		</table>
 	</div>
diff --git a/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php b/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
index 5bbb9779e7d0..01337f7e252f 100644
--- a/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
+++ b/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
@@ -695,7 +695,7 @@ class ExtendedTemplateService extends TemplateService
             $RL = $this->ext_getRootlineNumber($row['pid']);
             $statusCheckedIcon = $iconFactory->getIcon('status-status-checked', Icon::SIZE_SMALL)->render();
             $keyArray[] = '<tr>
-							<td nowrap="nowrap">' . $HTML . '</td>
+							<td class="nowrap">' . $HTML . '</td>
 							<td align="center">' . ($row['root'] ? $statusCheckedIcon : '') . '</td>
 							<td align="center">' . ($row['clConf'] ? $statusCheckedIcon : '') . '</td>
 							<td align="center">' . ($row['clConst'] ? $statusCheckedIcon : '') . '</td>
diff --git a/typo3/sysext/filelist/Resources/Private/Templates/FileList/Search.html b/typo3/sysext/filelist/Resources/Private/Templates/FileList/Search.html
index fdac31212d59..5a7f125baf5d 100644
--- a/typo3/sysext/filelist/Resources/Private/Templates/FileList/Search.html
+++ b/typo3/sysext/filelist/Resources/Private/Templates/FileList/Search.html
@@ -16,29 +16,29 @@
 			<table class="table table-striped table-hover" id="typo3-filelist">
 				<thead>
 				<tr data-uid="0" data-l10nparent="0">
-					<th nowrap="nowrap" class="col-icon"></th>
-					<th nowrap="nowrap" class="col-path">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_filepath' )}</th>
-					<th nowrap="nowrap" class="col-title">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_file' )}</th>
-					<th nowrap="nowrap" class="col-control"></th>
-					<th nowrap="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_fileext' )}</th>
-					<th nowrap="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_tstamp' )}</th>
-					<th nowrap="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_size' )}</th>
-					<th nowrap="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_rw' )}</th>
-					<th nowrap="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c__REF_' )}</th>
+					<th class="col-icon nowrap"></th>
+					<th class="col-path nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_filepath' )}</th>
+					<th class="col-title nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_file' )}</th>
+					<th class="col-control"></th>
+					<th class="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_fileext' )}</th>
+					<th class="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_tstamp' )}</th>
+					<th class="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_size' )}</th>
+					<th class="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c_rw' )}</th>
+					<th class="nowrap">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:c__REF_' )}</th>
 				</tr>
 				</thead>
 				<tbody>
 				<f:for each="{files}" as="file">
 					<tr data-uid="0" data-l10nparent="0">
-						<td nowrap="nowrap" class="col-icon">
+						<td class="col-icon nowrap">
 							<fl:link.clickMenuOnIcon table="{file.combinedIdentifier}">
 								{file.icon->f:format.raw()}
 							</fl:link.clickMenuOnIcon>
 						</td>
-						<td nowrap="nowrap" class="col-path">
+						<td class="col-path nowrap">
 							{file.path}
 						</td>
-						<td nowrap="nowrap" class="col-title col-responsive">
+						<td class="col-title col-responsive nowrap">
 							<f:if condition="{file.isMetadataEditable}">
 								<f:then>
 									<a href="#" class="filelist-file-title"
@@ -57,7 +57,7 @@
 								<f:image image="{file.resource}" maxWidth="64" maxHeight="43" />
 							</f:if>
 						</td>
-						<td nowrap="nowrap" class="col-control">
+						<td class="col-control nowrap">
 							<div class="btn-group">
 								<f:if condition="{file.isEditable}">
 									<f:then>
@@ -163,13 +163,13 @@
 								</f:if>
 							</div>
 						</td>
-						<td nowrap="nowrap">{file.extension}</td>
-						<td nowrap="nowrap">{file.lastModified}</td>
-						<td nowrap="nowrap">{file.size}</td>
-						<td nowrap="nowrap">
+						<td class="nowrap">{file.extension}</td>
+						<td class="nowrap">{file.lastModified}</td>
+						<td class="nowrap">{file.size}</td>
+						<td class="nowrap">
 							<f:if condition="{file.isReadable}"><strong class="text-danger">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:read' )}</strong></f:if><f:if condition="{file.isWritable}"><strong class="text-danger">{f:translate( key:'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file_list.xlf:write' )}</strong></f:if>
 						</td>
-						<td nowrap="nowrap">
+						<td class="nowrap">
 							<f:if condition="{file.referenceCount} > 0">
 								<f:then>
 									<a href="#" class="filelist-file-references" data-identifier="{file.combinedIdentifier}" title="{f:translate( key:'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:show_references' )} ({file.referenceCount})">{file.referenceCount}</a>
diff --git a/typo3/sysext/form/Resources/Private/Backend/Templates/FormManager/Index.html b/typo3/sysext/form/Resources/Private/Backend/Templates/FormManager/Index.html
index 3cd7573d90f6..26aec41d7b68 100644
--- a/typo3/sysext/form/Resources/Private/Backend/Templates/FormManager/Index.html
+++ b/typo3/sysext/form/Resources/Private/Backend/Templates/FormManager/Index.html
@@ -22,17 +22,17 @@
 						<table id="forms" class="table table-striped table-hover">
 							<thead>
 								<tr>
-									<th nowrap="nowrap" class="col-icon"><a class="btn btn-default" data-identifier="newForm" href="#"><core:icon identifier="actions-add" /></a></th>
-									<th nowrap="nowrap" class="col-title col-responsive"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.form_name" /></th>
-									<th nowrap="nowrap" class="col-control"></th>
-									<th nowrap="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.location" /></th>
-									<th nowrap="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.references" /></th>
+									<th class="col-icon nowrap"><a class="btn btn-default" data-identifier="newForm" href="#"><core:icon identifier="actions-add" /></a></th>
+									<th class="col-title col-responsive nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.form_name" /></th>
+									<th class="col-control nowrap"></th>
+									<th class="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.location" /></th>
+									<th class="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.references" /></th>
 								</tr>
 							</thead>
 							<tbody>
 							<f:for each="{forms}" as="form">
 								<tr>
-									<td nowrap="nowrap" class="col-icon">
+									<td class="col-icon nowrap">
 										<f:if condition="{form.duplicateIdentifier}">
 											<f:then>
 												<span title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.duplicate_identifier')} {form.identifier}" data-toggle="tooltip" data-placement="top">
@@ -46,7 +46,7 @@
 											</f:else>
 										</f:if>
 									</td>
-									<td nowrap="nowrap" class="col-title col-responsive">
+									<td class="col-title col-responsive nowrap">
 										<f:if condition="{form.readOnly}">
 												<f:then>
 													<div>{form.name}</div>
@@ -56,7 +56,7 @@
 												</f:else>
 										</f:if>
 									</td>
-									<td nowrap="nowrap" class="col-control">
+									<td class="col-control nowrap">
 										<div class="btn-group" role="group">
 											<f:if condition="{form.readOnly}">
 												<f:then>
@@ -77,8 +77,8 @@
 											</f:if>
 										</div>
 									</td>
-									<td nowrap="nowrap">{form.persistenceIdentifier}</td>
-									<td nowrap="nowrap">
+									<td class="nowrap">{form.persistenceIdentifier}</td>
+									<td class="nowrap">
 										<f:if condition="{form.referenceCount}">
 											<f:then>
 												<a href="#" data-identifier="showReferences" data-form-persistence-identifier="{form.persistenceIdentifier}" data-form-name="{form.name}">{form.referenceCount}</a>
diff --git a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
index 13c78d50b94a..6cdbaa2c68bc 100644
--- a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
+++ b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
@@ -571,9 +571,9 @@ class AbstractPlugin
             $pagefloat = -1;
         }
         // Default values for "traditional" wrapping with a table. Can be overwritten by vars from $wrapArr
-        $wrapper['disabledLinkWrap'] = '<td nowrap="nowrap"><p>|</p></td>';
-        $wrapper['inactiveLinkWrap'] = '<td nowrap="nowrap"><p>|</p></td>';
-        $wrapper['activeLinkWrap'] = '<td' . $this->pi_classParam('browsebox-SCell') . ' nowrap="nowrap"><p>|</p></td>';
+        $wrapper['disabledLinkWrap'] = '<td class="nowrap"><p>|</p></td>';
+        $wrapper['inactiveLinkWrap'] = '<td class="nowrap"><p>|</p></td>';
+        $wrapper['activeLinkWrap'] = '<td' . $this->pi_classParam('browsebox-SCell') . ' class="nowrap"><p>|</p></td>';
         $wrapper['browseLinksWrap'] = rtrim('<table ' . $tableParams) . '><tr>|</tr></table>';
         $wrapper['showResultsWrap'] = '<p>|</p>';
         $wrapper['browseBoxWrap'] = '
diff --git a/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/Page.html b/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/Page.html
index 40d89a145dab..079519eb94c1 100644
--- a/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/Page.html
+++ b/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/Page.html
@@ -1,8 +1,8 @@
 <h1>{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:tsconf_title')}</h1>
 <f:if condition="{csh}">
-    <span class="btn btn-default btn-sm"><f:format.raw>{csh}</f:format.raw></span>
+  <span class="btn btn-default btn-sm"><f:format.raw>{csh}</f:format.raw></span>
 </f:if>
-<f:render partial="Menu" arguments="{_all}" />
+<f:render partial="Menu" arguments="{_all}"/>
 <f:if condition="{tsconfParts99}">
     <f:then>
         <f:for each="{lines}" as="line">
diff --git a/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/PageZeroTableRow.html b/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/PageZeroTableRow.html
index 5a4ea9d58733..5a759113a7c9 100644
--- a/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/PageZeroTableRow.html
+++ b/typo3/sysext/info_pagetsconfig/Resources/Private/Partials/PageZeroTableRow.html
@@ -1,5 +1,5 @@
 <tr>
-    <td nowrap style="padding-left: {line.padding}px">
+    <td class="nowrap" style="padding-left: {line.padding}px">
         <f:if condition="{line.link}">
             <f:then>
                 <a href="{line.link}" title="{line.title}">
diff --git a/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php b/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
index 674318f066b9..01090c4dcccf 100644
--- a/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
+++ b/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
@@ -247,13 +247,13 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
 
         $lines[] = '
 			<tr>
-				<th class="col-title" nowrap="nowrap">' . $folderIcon . ' ' . htmlspecialchars(GeneralUtility::fixed_lgd_cs($folder->getIdentifier(), $titleLen)) . '</th>
-				<th class="col-control" nowrap="nowrap"></th>
-				<th class="col-clipboard" nowrap="nowrap">
+				<th class="col-title nowrap">' . $folderIcon . ' ' . htmlspecialchars(GeneralUtility::fixed_lgd_cs($folder->getIdentifier(), $titleLen)) . '</th>
+				<th class="col-control nowrap"></th>
+				<th class="col-clipboard nowrap">
 					<a href="#" class="btn btn-default" id="t3js-importSelection" title="' . htmlspecialchars($lang->getLL('importSelection')) . '">' . $this->iconFactory->getIcon('actions-document-import-t3d', Icon::SIZE_SMALL) . '</a>
 					<a href="#" class="btn btn-default" id="t3js-toggleSelection" title="' . htmlspecialchars($lang->getLL('toggleSelection')) . '">' . $this->iconFactory->getIcon('actions-document-select', Icon::SIZE_SMALL) . '</a>
 				</th>
-				<th nowrap="nowrap">&nbsp;</th>
+				<th class="nowrap">&nbsp;</th>
 			</tr>';
 
         if ($filesCount === 0) {
@@ -325,13 +325,13 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
             // Show element:
             $lines[] = '
 					<tr class="file_list_normal">
-						<td class="col-title" nowrap="nowrap">' . $filenameAndIcon . '&nbsp;</td>
+						<td class="col-title nowrap">' . $filenameAndIcon . '&nbsp;</td>
 						<td class="col-control">
 							<div class="btn-group">' . $ATag . $ATag_e . '
 							<a href="' . htmlspecialchars($Ahref) . '" class="btn btn-default" title="' . htmlspecialchars($lang->getLL('info')) . '">' . $this->iconFactory->getIcon('actions-document-info', Icon::SIZE_SMALL) . '</a>
 						</td>
 						<td class="col-clipboard" valign="top">' . $bulkCheckBox . '</td>
-						<td nowrap="nowrap">&nbsp;' . $pDim . '</td>
+						<td class="nowrap">&nbsp;' . $pDim . '</td>
 					</tr>';
             if ($pDim) {
                 $lines[] = '
diff --git a/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php b/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php
index 32351e428db8..9a9991681694 100644
--- a/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php
+++ b/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php
@@ -175,7 +175,7 @@ class FolderBrowser extends AbstractElementBrowser implements ElementBrowserInte
             $foldernameAndIcon = $aTag_alt . $icon . htmlspecialchars(GeneralUtility::fixed_lgd_cs($subFolder->getName(), $titleLength)) . $aTag_e;
             $lines[] = '
 				<tr>
-					<td nowrap="nowrap">' . $foldernameAndIcon . '&nbsp;</td>
+					<td class="nowrap">' . $foldernameAndIcon . '&nbsp;</td>
 					<td>' . $aTag . '<span title="' . htmlspecialchars($lang->getLL('addToList')) . '">' . $this->iconFactory->getIcon('actions-add', Icon::SIZE_SMALL)->render() . '</span>' . $aTag_e . '</td>
 					<td>&nbsp;</td>
 				</tr>';
diff --git a/typo3/sysext/recycler/Resources/Private/Partials/RecordsTable/DeletedRecord.html b/typo3/sysext/recycler/Resources/Private/Partials/RecordsTable/DeletedRecord.html
index 6e145ae662f1..15a84b2fd1e4 100644
--- a/typo3/sysext/recycler/Resources/Private/Partials/RecordsTable/DeletedRecord.html
+++ b/typo3/sysext/recycler/Resources/Private/Partials/RecordsTable/DeletedRecord.html
@@ -1,10 +1,10 @@
 <tr data-uid="{record.uid}" data-table="{record.table}" data-recordtitle="{record.title}" data-parent-deleted="{record.isParentDeleted}">
-	<td nowrap="nowrap">{record.tableTitle}</td>
-	<td nowrap="nowrap"><f:format.raw>{record.icon}</f:format.raw> {record.title}</td>
-	<td nowrap="nowrap">{record.tstamp}</td>
-	<td nowrap="nowrap">{record.uid}</td>
-	<td nowrap="nowrap">{record.pageTitle} ({record.pid})</td>
-	<td nowrap="nowrap" class="text-right">
+	<td class="nowrap">{record.tableTitle}</td>
+	<td class="nowrap"><f:format.raw>{record.icon}</f:format.raw> {record.title}</td>
+	<td class="nowrap">{record.tstamp}</td>
+	<td class="nowrap">{record.uid}</td>
+	<td class="nowrap">{record.pageTitle} ({record.pid})</td>
+	<td class="text-right nowrap">
 		<div class="btn-group">
 			<a class="btn btn-default" data-action="expand" data-toggle="collapse" data-target="#{record.table}_{record.uid}" title="{f:translate(key: 'LLL:EXT:recycler/Resources/Private/Language/locallang.xlf:button.expand')}">
 				<core:icon identifier="apps-pagetree-collapse" />
@@ -45,4 +45,4 @@
 			</tbody>
 		</table>
 	</td>
-</tr>
\ No newline at end of file
+</tr>
diff --git a/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php b/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
index 130532c40a6c..516259f91fb8 100644
--- a/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
+++ b/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
@@ -1156,7 +1156,7 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas
                             . '<td><span class="t-span">' . $multiple . '</span></td>'
                             . '<td><span class="t-span">' . $lastExecution . '</span></td>'
                             . '<td><span class="t-span">' . $nextDate . '</span></td>'
-                            . '<td nowrap="nowrap"><span class="t-span">' . $actions . '</span></td>'
+                            . '<td class="nowrap"><span class="t-span">' . $actions . '</span></td>'
                         . '</tr>';
                 } else {
                     // The task object is not valid
@@ -1172,7 +1172,7 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas
                             . '<td>' . $startExecutionElement . '</td>'
                             . '<td class="right">' . $schedulerRecord['uid'] . '</td>'
                             . '<td colspan="6">' . $executionStatusOutput . '</td>'
-                            . '<td nowrap="nowrap"><div class="btn-group" role="group">'
+                            . '<td class="nowrap"><div class="btn-group" role="group">'
                                 . '<span class="btn btn-default disabled">' . $this->moduleTemplate->getIconFactory()->getIcon('empty-empty', Icon::SIZE_SMALL)->render() . '</span>'
                                 . '<span class="btn btn-default disabled">' . $this->moduleTemplate->getIconFactory()->getIcon('empty-empty', Icon::SIZE_SMALL)->render() . '</span>'
                                 . $deleteAction
diff --git a/typo3/sysext/tstemplate/Resources/Private/Templates/PageZero.html b/typo3/sysext/tstemplate/Resources/Private/Templates/PageZero.html
index 2f3f4d78eaa0..aa5c4f129e20 100644
--- a/typo3/sysext/tstemplate/Resources/Private/Templates/PageZero.html
+++ b/typo3/sysext/tstemplate/Resources/Private/Templates/PageZero.html
@@ -22,7 +22,7 @@
 
 <f:section name="PageZeroTableRow">
     <tr class="{line.class}">
-        <td nowrap>
+        <td class="nowrap">
             <span style="width: 1px; height: 1px; display:inline-block; margin-left: {line.marginLeft}px"></span>
             <a href="{line.href}" title="{line.title}">
                 <f:format.raw>{line.icon}</f:format.raw>
@@ -33,4 +33,4 @@
         <td><f:format.raw>{line.root_max_val}</f:format.raw></td>
         <td><f:format.raw>{line.root_min_val}</f:format.raw></td>
     </tr>
-</f:section>
\ No newline at end of file
+</f:section>
diff --git a/typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js b/typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js
index 7b0ca659ab78..bd3dfd542747 100644
--- a/typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js
+++ b/typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js
@@ -546,7 +546,7 @@ define([
 					$('<td />').text(item.label_Stage),
 					$('<td />').html($integrityIcon),
 					$('<td />').html(item.language.icon),
-					$('<td />', {class: 'text-right', nowrap: 'nowrap'}).append($actions)
+					$('<td />', {class: 'text-right nowrap'}).append($actions)
 				)
 			);
 
-- 
GitLab