<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>259081</bug_id>
          
          <creation_ts>2023-07-10 16:23:02 -0700</creation_ts>
          <short_desc>`background-blend-mode` not applied for some background image sizes / repeat</short_desc>
          <delta_ts>2024-12-14 08:00:48 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>strarsis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>chriskirknielsen+wkbugs</cc>
    
    <cc>jjones1000</cc>
    
    <cc>paco</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1966071</commentid>
    <comment_count>0</comment_count>
    <who name="">strarsis</who>
    <bug_when>2023-07-10 16:23:02 -0700</bug_when>
    <thetext>`background-blend-mode` is not applied when the background image has a specific size relative to the DOM element.
This only occurs in iOS/iPad OS Safari.
Empirically, it appears that the background image size has to be smaller than 256 pixel on one side, 
the issue is sometimes also caused by repeating the background in the direction where the background image dimension is smaller than 256 pixels.

A variety of examples that use `background-blend-mode` which do work and do not work in iOS / iPad OS Safari:
https://codepen.io/strarsis/pen/poQWPOX

Minimal, reproducible sample:
https://codepen.io/strarsis/pen/ZEmXyxL

Feature (or rather bug) detection:
https://codepen.io/strarsis/pen/YzRrbaZ


MDN browser compat data issue:
https://github.com/mdn/browser-compat-data/issues/20308</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967130</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-17 16:23:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/112435175&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081792</commentid>
    <comment_count>2</comment_count>
    <who name="Christopher Kirk-Nielsen">chriskirknielsen+wkbugs</who>
    <bug_when>2024-12-14 08:00:48 -0800</bug_when>
    <thetext>I have run into this issue as well, and had to reduce the background size to have the blend mode take effect.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>