| Summary: | styles.min.css should not render <a name="..."> tags as links | ||
|---|---|---|---|
| Product: | Community | Reporter: | Markus Keller <markus.kell.r> |
| Component: | Website | Assignee: | phoenix.ui <phoenix.ui-inbox> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chris.guindon, daniel_megert |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/74944 https://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=bc87738c80667cde96d53a61187bd9e625ee308c |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 493368 | ||
|
Description
Markus Keller
I think the problem here is that we are using the name attributes instead of id for anchor links. In HTML 4.01, the <a> tag could be either a hyperlink or an anchor. In HTML5, the <a> tag is always a hyperlink, but if it has no href attribute, it is only a placeholder for a hyperlink. (In reply to Christopher Guindon from comment #1) > I think the problem here is that we are using the name attributes instead of > id for anchor links. I agree that setting an "id" attribute is the right solution for new pages, but the solstice theme has been retrofitted onto existing pages, so we have to expect some remaining pages that still use the outdated form. Since the proposed fix only applies to cases where the outdated form is used, it should be a safe solution that won't affect clean HTML5 pages. (In reply to Markus Keller from comment #2) > (In reply to Christopher Guindon from comment #1) > > I think the problem here is that we are using the name attributes instead of > > id for anchor links. > > I agree that setting an "id" attribute is the right solution for new pages, > but the solstice theme has been retrofitted onto existing pages, so we have > to expect some remaining pages that still use the outdated form. Agreed but at the same time the migration to solstice has been done 2 years ago. I think we should consider opening bugs to update these pages. > > Since the proposed fix only applies to cases where the outdated form is > used, it should be a safe solution that won't affect clean HTML5 pages. The only problem I can see with this patch are links that include the href and name attribute. Even if I am on the fence with this one, I decided to create a patch to address this. If we see some breakage, we will need to revert this change. New Gerrit change created: https://git.eclipse.org/r/74944 Gerrit change https://git.eclipse.org/r/74944 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=bc87738c80667cde96d53a61187bd9e625ee308c This is now live! thanks for the bug report! Thanks Chris, looks good. |