On Wed, 6 Dec 2023 16:22:24 GMT, Hannes Wallnöfer <hann...@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).

This pull request has now been integrated.

Changeset: 9a87e52c
Author:    Hannes Wallnöfer <hann...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/9a87e52c0ca6754092845c8ebc9e324c58936c72
Stats:     10 lines in 1 file changed: 0 ins; 9 del; 1 mod

8320538: Obsolete CSS styles in collection framework doc-file

Reviewed-by: alanb

-------------

PR: https://git.openjdk.org/jdk/pull/16997

Reply via email to