? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
29 Jul 2016

Summary of Changes

In HTML5 we don't need to specify values for the async and defer attributes on script tags. So, save a few characters in the HTML output, don't send them.

Testing Instructions

Pre-patch when adding an async'd script the output should be similar to this:

<script src="/templates/joomla/js/template.js" async="async"></script>

Post-patch, it should look like this:

<script src="/templates/joomla/js/template.js" async></script>
avatar mbabker mbabker - open - 29 Jul 2016
avatar n9iels n9iels - test_item - 30 Jul 2016 - Tested successfully
avatar n9iels
n9iels - comment - 30 Jul 2016

I have tested this item successfully on e0cca7b


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11359.

avatar brianteeman brianteeman - test_item - 30 Jul 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 30 Jul 2016

I have tested this item successfully on e0cca7b

On review


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11359.

avatar brianteeman brianteeman - change - 30 Jul 2016
Status New Ready to Commit
avatar brianteeman
brianteeman - comment - 30 Jul 2016

Rtc


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11359.

avatar brianteeman brianteeman - change - 30 Jul 2016
Category Libraries
avatar jeckodevelopment
jeckodevelopment - comment - 30 Jul 2016

No labels...
@joomla-cms-bot please RTC

avatar mbabker
mbabker - comment - 30 Jul 2016

The bot, like me, is taking today off to drink excessively

On Saturday, July 30, 2016, Luca Marzo notifications@github.com wrote:

No labels...
@joomla-cms-bot https://github.com/joomla-cms-bot please RTC


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#11359 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfof6S_VRB69c3B-TMP3LGEP7bb86bks5qa5JNgaJpZM4JYhfS
.

avatar jeckodevelopment
jeckodevelopment - comment - 30 Jul 2016

It's saturday, maybe it's on holiday :)

avatar brianteeman
brianteeman - comment - 30 Jul 2016

I think there might be a bigger issue. Over the last few days I have
sometimes clicked on a link to an issue in an email and only ended up on
the home page pf the tracker and not the issue and then when I click on the
issue directly I only get the home page

On 30 July 2016 at 19:08, Luca Marzo notifications@github.com wrote:

It's saturday, maybe it's on holiday :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11359 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8c5pcgBZ-nbQNvtjfGS5wZA6h5xlks5qa5MIgaJpZM4JYhfS
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar brianteeman
brianteeman - comment - 30 Jul 2016

Adding it manually seemed to have worked

avatar piotr-cz
piotr-cz - comment - 1 Aug 2016

I wouldn't change the attributes, as ATM it's possible to serve document as XHTML5.

There is no harm in keeping it how it is.

avatar mbabker
mbabker - comment - 2 Aug 2016

You have to explicitly call $doc->setHtml5(true); to cause this change to happen. So if you're using XHTML5, I'd say you wouldn't be calling this so the attributes wouldn't change in that case.

avatar piotr-cz
piotr-cz - comment - 2 Aug 2016

Well, I'm for full HTML attributes, just like closing all HTML tags (which is not required in HTML5).
But I'm aware it's more a personal aesthetics related opinion.

Add a Comment

Login with GitHub to post a comment