RFR: JDK-8320538: Obsolete CSS styles in collection framework doc-file
Alan Bateman
alanb at openjdk.org
Thu Dec 7 07:44:36 UTC 2023
On Wed, 6 Dec 2023 16:22:24 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
> Please review a simple change to remove a stray inline CSS element from the Collection Framework index doc file. The only thing the `a {font-weight: bold;}` rule did was to make all links in the header and footer bold as [can be seen here][1]; the three content links to the other doc files are still displayed in bold font because they are contained in `<b>` tags. The other CSS rules had no effect in the page.
>
> [1]: https://download.java.net/java/early_access/jdk22/docs/api/java.base/java/util/doc-files/coll-index.html
>
> Screenshot of the fixed page:
> <img width="1082" alt="coll-framework-index" src="https://github.com/openjdk/jdk/assets/15975/0bd3b613-e535-438c-bd4d-7c8817df5702">
>
> I also added the `<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">` meta tag which is present in all other pages (both doc-files and generated by JavaDoc).
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/16997#pullrequestreview-1769396161
More information about the core-libs-dev
mailing list