Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8268397

CSS3/Filter/Backdrop filters don't work with WebView

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None
    • web

      While CSS3 backdrop filters, like blur or brightness, are in theory supported by WebView (WebCore::FilterOperation::OperationType), opening with WebView an html webpage that has any of these filters applied doesn't work, but the same webpage works fine on Safari or Chrome.

      The attached test fails with latest 17-ea on Windows 10, Ubuntu 20.04 and Mac OS 10.15.6 (see attached pic "WebView on MacOS").

      Opening the index.html file works with Safari (Mac OS, see attached pic), Chrome (Windows, Linux, MacOS) or Edge (Windows).

      Ref : https://webkit.org/blog/3632/introducing-backdrop-filters/
      Ref: https://trac.webkit.org/changeset/175672/webkit#file18

        1. Main.java
          0.6 kB
        2. index.html
          2 kB
        3. image.png
          image.png
          558 kB
        4. WebView on MacOS.png
          WebView on MacOS.png
          3.09 MB
        5. Safari on MacOS.png
          Safari on MacOS.png
          2.50 MB

            Unassigned Unassigned
            jpereda Jose Pereda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: