When validating for HTML5, the "name" attribute is obsolete/deprecated when used in anchor tags. The ID tag should be used here instead. The ID works just as NAME did, as an in-line anchor target in all browsers (even IE6) to jump to a part of the page from a link, such as href="#some_id_target".
Fixes here are for pro silver, subsilver2 and the ACP styles.
Issue here http://tracker.phpbb.com/browse/PHPBB3-10362
The ticket id needs to be on a separate line at the end of the commit message. Also note the blank lines.
Yeah, it got botched up. I'm trying to figure out how to change it.
The commit message now exceeds 79 chars horizontally.
[ticket/10362] HTML5 Fix - Replace name attribute with id in anchors
When validating for HTML5, the name attribute is obsolete/deprecated
when used in anchor tags. The ID tag should be used here instead.
OK fixed that
Looks good, I think. If there are no objections I think it is ready for merging.
Actually, if we're going to revert to xhtml1 for subsilver, do we want to edit it here?
The changes made to subsilver2 here will not matter if it is going to be HTML5 or XHTML. They are valid for both doctypes.
That is true but we don't want to make changes we don't have to due to modifications.
[ticket/10362] Revert subsilver2 changes
If subsilver2 will remain at XHTML then we do not need to make any
changes to its files.