[
https://issues.apache.org/jira/browse/MSHARED-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MSHARED-1174:
-----------------------------------
Description:
In the last improvement MSHARED-1106 of the {{AbstractMavenReportRenderer}}
elements were wrapped in anchors.
While this seems to be a good idea, it causes trouble with HTML output since
CSS rules then completely change the style of the anchor body. It is then a CSS
trickery to differential between anchors and links.
Since anchors itself are deprecated (anchors without href) and the nearest
element should have the id, we will pull up the anchor *above* the target
element.
was:
In the last improvement of the {{AbstractMavenReportRenderer}} elements were
wrapped in anchors.
While this seems to be a good idea, it causes trouble with HTML output since
CSS rules then completely change the style of the anchor body. It is then a CSS
trickery to differential between anchors and links.
Since anchors itself are deprecated (anchors without href) and the nearest
element should have the id, we will pull up the anchor *above* the target
element.
> Don't wrap elements in anchors
> ------------------------------
>
> Key: MSHARED-1174
> URL: https://issues.apache.org/jira/browse/MSHARED-1174
> Project: Maven Shared Components
> Issue Type: Improvement
> Components: maven-reporting-impl
> Affects Versions: maven-reporting-impl-4.0.0-M3
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: maven-reporting-impl-4.0.0-M4
>
>
> In the last improvement MSHARED-1106 of the {{AbstractMavenReportRenderer}}
> elements were wrapped in anchors.
> While this seems to be a good idea, it causes trouble with HTML output since
> CSS rules then completely change the style of the anchor body. It is then a
> CSS trickery to differential between anchors and links.
> Since anchors itself are deprecated (anchors without href) and the nearest
> element should have the id, we will pull up the anchor *above* the target
> element.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)