On Mon, 18 Jan 2021 13:21:18 GMT, Stanimir Stamenkov <github.com+1247730+sta...@openjdk.org> wrote:
> > > The display dpi shouldn't matter. I've tried it in a couple of different > monitor configurations: 1.25, 1.5, and 2.0 scaling. I've also tried it with > non-dpi-aware Java 8. I've used `body { font-size: 14 }` which should always > evaluate to `Font.size=14` (no matter the `w3cLengthUnits` value, for > example) – the other elements use relative to that base font-size. OK. Good to know dpi factor is not affecting this usecase, but speaking of `w3cLengthUnits` value, it seems there is another JBS issue https://bugs.openjdk.java.net/browse/JDK-8231286 where "font-size" value with this w3cLengthUnits attribute set is affected by the hidpi factor, so was wondering if this fix will have any impact on that issue as well, but it seems it's not and need something more to be done. Anyway, this is good to go. ------------- PR: https://git.openjdk.java.net/jdk/pull/1759