Project

General

Profile

Actions

Feature #47857

closed

Delete adding type="text/javascript" if doctype is HTML5

Added by Eric Chavaillaz over 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2013-05-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hi,

Because to add a JavaScript file in an HTML5 document is made like this :

<script>FileName.js</script>

And no more like this :

<script type="text/javascript">FileName.js</script>

I purpose to remove adding type="text/javascript" if the doctype (set in config) is HTML5.

Thanks


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45512: Make the type attribute optional on script, style and link elementsClosed2013-02-15

Actions
Actions #1

Updated by Patrick Broens over 11 years ago

  • Tracker changed from Task to Feature
  • Assignee set to Patrick Broens
  • TYPO3 Version changed from 4.5 to 6.2

You are right. The type can be removed when it is HTML5. But it is not wrong, only redundant. Therefor I've set the TYPO3 version to 6.2, and changed the tracker to "Feature" instead of "Task".

Actions #2

Updated by Patrick Broens over 11 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Eric Chavaillaz over 11 years ago

Yes it's not wrong but not elegant ;-)

Thanks

Actions #4

Updated by Eric Chavaillaz about 11 years ago

Patrick, any news about this?

Thanks

Actions #5

Updated by Mathias Schreiber almost 10 years ago

  • Category changed from 1050 to Content Rendering
  • Target version set to 7.2 (Frontend)
Actions #6

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Actions #7

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #8

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #9

Updated by Benni Mack about 9 years ago

  • Target version deleted (7 LTS)
Actions #10

Updated by Riccardo De Contardi about 9 years ago

  • Status changed from Accepted to Closed

I close this as it is a duplicate of #45512, please continue the discussion there.

If you think that this is the wrong decision , then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF