You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/12/20 21:12:00 UTC

[jira] [Closed] (MSHARED-1174) Don't wrap elements in anchors

     [ https://issues.apache.org/jira/browse/MSHARED-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSHARED-1174.
-----------------------------------
    Resolution: Fixed

Fixed with  [e720aa15eb1cb7a1b6d3c68fafe210ad41517dca|https://gitbox.apache.org/repos/asf?p=maven-reporting-impl.git;a=commit;h=e720aa15eb1cb7a1b6d3c68fafe210ad41517dca].

> 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)