Project

General

Profile

Actions

Bug #93587

closed

FLUID f:form.button without "content" is not rendered validly (self closing)

Added by Christian Hackl over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-02-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

FLUID f:form.button without "content" is not rendered validly.

Examples:

<f:form.button type="reset" name="buttonName" value="buttonValue"></f:form.button>

is renderd like:
<button type="reset" name="buttonName" value="buttonValue" />

But html-tag button is a not self-closing tag. So it should be like (with end-tag "</button>"):

<button type="reset" name="buttonName" value="buttonValue"></button>

Workaround:
add a "space" between <f:form.button> and closing </f:form.button>.


Files

f-form-button.JPG (168 KB) f-form-button.JPG w3c Christian Hackl, 2021-02-24 18:46
Actions #1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68109

Actions #2

Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68116

Actions #3

Updated by Oliver Bartsch over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF