[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Integrated: 8260328: Drop redundant CSS properties from java.desktop HTML files
From: Alexey Ivanov <aivanov () openjdk ! java ! net>
Date: 2022-02-22 13:22:50
Message-ID: 3FKyL96SynEZ22FHMXsJ6tx3-PaCH4jMa3eIghEexrs=.3d505edd-cd81-4d82-b9e9-225833a837d2 () github ! com
[Download RAW message or body]
On Sun, 20 Feb 2022 17:04:39 GMT, Alexey Ivanov <aivanov@openjdk.org> wrote:
> Drop redundant `text-align: left` from `<table>` elements, which don't affect the \
> table alignment. Then drop `text-align: center` from `<th> elements which \
> counter-act the align set on the `<table>`.
> Also drop `vertical-align: top` from table cells and declare this style globally. \
> This makes the properties and values be rendered at the top of the table cell in \
> cases where the description wraps to multiple lines.
> Visually, the updated tables look nearly the same way as before. I left out \
> applying top alignment for `<thead>` elements: the headers are center-aligned. You \
> can see this in tables for `JOptionPane`, `JProgressBar` and other components which \
> have long descriptions so that *Expected Type* and *Default Value* are wrapped to \
> two lines.
This pull request has now been integrated.
Changeset: ab6d8e64
Author: Alexey Ivanov <aivanov@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ab6d8e6424aa478eb7661d1d38d543cccd38888f
Stats: 180 lines in 1 file changed: 3 ins; 0 del; 177 mod
8260328: Drop redundant CSS properties from java.desktop HTML files
Reviewed-by: serb, dmarkov
-------------
PR: https://git.openjdk.java.net/jdk/pull/7546
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic