I can reproduce it. It renders fine on Windows and Linux, and fails to
render on Mac. I also confirmed that removing the async works.
I filed https://bugs.openjdk.org/browse/JDK-8305674 to track this. It
reproduces with a simplified html file (a single image). Thanks for
reporting it.
-- Kevin
On 4/5/2023 11:04 AM, Jerry Kramskoy wrote:
Hi Guys,
Any <img … decoding=”async” …> does not get rendered on JDK/JFX19
(MacOS) WebView/WebEngine
Works fine on Windows 10.
This shows up with WordPress 6.1 up, whose default is to using async
decoding to speed up Web page loading.
This can be disabled via a WordPress API call, but this then penalises
SEO scoring.
Are you aware of this? I’m guessing the ECMAScript engine that ships
with MacOS version of WebView/WebEngine doesn’t support async.
It doesn’t show up in browsers on MacOS (11 …)
I’ve attached a standalone html file that demonstrates the problem.
If the ‘decoding=”async” is edited out, all works.
Thanks, Jerry Kramskoy