<?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>242970</bug_id>
          
          <creation_ts>2022-07-20 17:07:51 -0700</creation_ts>
          <short_desc>RenderBox::determineBackgroundBleedAvoidance returns BackgroundBleedUseTransparencyLayer for cases of no bleeding without taking background-clip:content-box into account</short_desc>
          <delta_ts>2022-07-27 17:08:15 -0700</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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=65906</see_also>
          <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 name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</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>1885498</commentid>
    <comment_count>0</comment_count>
      <attachid>461061</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-07-20 17:07:51 -0700</bug_when>
    <thetext>Created attachment 461061
test case

RenderBox::determineBackgroundBleedAvoidance returns BackgroundBleedUseTransparencyLayer for cases of no bleeding without taking background-clip:content-box into account

In the test case, RenderBox::paintBoxDecorations doesn&apos;t need to
begin a transparency layer because the background and borders
don&apos;t intersect. However,
RenderBox::determineBackgroundBleedAvoidance returns
BackgroundBleedUseTransparencyLayer because it&apos;s always assuming
background-clip:border-box.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887203</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-27 17:08:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/97692182&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>461061</attachid>
            <date>2022-07-20 17:07:51 -0700</date>
            <delta_ts>2022-07-20 17:07:51 -0700</delta_ts>
            <desc>test case</desc>
            <filename>a.html</filename>
            <type>text/html</type>
            <size>276</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxzdHlsZT4KICAgIGRpdiB7CiAgICAgICAgd2lkdGg6
IDEwMHB4OwogICAgICAgIGhlaWdodDogMTAwcHg7CiAgICAgICAgYmFja2dyb3VuZDogZ3JlZW47
CiAgICAgICAgYm9yZGVyOiAzcHggZG90dGVkIHJlZDsKICAgICAgICBib3JkZXItcmFkaXVzOiAy
MHB4OwogICAgICAgIHBhZGRpbmc6IDMwcHg7CiAgICAgICAgYmFja2dyb3VuZC1jbGlwOiBjb250
ZW50LWJveDsKICAgIH0KICA8L3N0eWxlPgogIDxkaXY+PC9kaXY+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>