RFR: 8345348: CSS media feature queries [v21]

John Hendrikx jhendrikx at openjdk.org
Tue May 6 10:41:26 UTC 2025


On Tue, 6 May 2025 07:03:06 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/media-query.svg line 2:
>> 
>>> 1: <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> 2: <svg
>> 
>> just an observation: these images look blurry on my mac external monitor (scale=1) relative to the w3.org ones (on the left):
>> 
>> ![Screenshot 2025-05-05 at 08 06 36](https://github.com/user-attachments/assets/8ba6fe7b-ec1c-4297-b6ce-0796a314e9aa)
>
> I don't really see a major difference on your screenshot, both versions look blurry to me. When I open `cssref.html` in Chrome, it looks quite sharp.

It looks sharp to me as well.  The w3.org one looks better when I view it on the actual website (not your snapshot above).  

Mac renders things slightly differently and leans heavily on anti-aliasing to represent visuals as accurately as possible; this works well on high-DPI displays but tends to look blurry on lower-DPI screens. Windows, on the other hand, limits anti-aliasing more to achieve a crisper, sharper result; this is more effective on lower-DPI displays and doesn't really make a difference for high-DPI screens.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1655#discussion_r2075193668


More information about the openjfx-dev mailing list