<?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>258740</bug_id>
          
          <creation_ts>2023-06-30 10:19:37 -0700</creation_ts>
          <short_desc>Fix shadow invalidation rect issue in vertical-rl mode</short_desc>
          <delta_ts>2023-12-01 17:54:56 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=264625</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="Ahmad Saleem">ahmad.saleem792</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>1964516</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-06-30 10:19:37 -0700</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s commit, I came across another clean-up to fix shadow invalidation rects issue and don&apos;t seems to have any failing test case (in /fast/ directory).

Blink Commit: https://src.chromium.org/viewvc/blink?revision=177246&amp;view=revision

Just wanted to raise, so I can get input, whether it is good to merge or not.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964517</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-06-30 10:22:19 -0700</bug_when>
    <thetext>WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderBox.cpp#5074</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964779</commentid>
    <comment_count>2</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-07-03 06:24:39 -0700</bug_when>
    <thetext>I&apos;d look at the history of those flipped lines to see why we originally thought they needed flipping. Blink&apos;s commit message does not explain that (it just says it&apos;s erroneous)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964782</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-03 06:32:26 -0700</bug_when>
    <thetext>(In reply to zalan from comment #2)
&gt; I&apos;d look at the history of those flipped lines to see why we originally
&gt; thought they needed flipping. Blink&apos;s commit message does not explain that
&gt; (it just says it&apos;s erroneous)

Original bugs refer this:

Shadows and border images should be unrelated to writing-mode. Should not flip the edges when invalidating them despite writing-mode.

and in spec:

https://drafts.csswg.org/css-writing-modes-3/#physical-only

&quot;The following values are purely physical in their definitions and do not respond to changes in writing mode:&quot;

-&gt; the offsets of the box-shadow and text-shadow properties</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965615</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-07 10:20:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/111915460&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996104</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-11-30 18:37:05 -0800</bug_when>
    <thetext>I tried to look back into this and this patch added the comment:

https://bugs.webkit.org/attachment.cgi?id=106906&amp;action=diff

Although it is not super clear to myself. Since Simon is working on &apos;overflow&apos; and &apos;repaint rects&apos; clean-up, I think he might have more insight.

@Simon - any insight?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996105</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-11-30 18:37:09 -0800</bug_when>
    <thetext>I tried to look back into this and this patch added the comment:

https://bugs.webkit.org/attachment.cgi?id=106906&amp;action=diff

Although it is not super clear to myself. Since Simon is working on &apos;overflow&apos; and &apos;repaint rects&apos; clean-up, I think he might have more insight.

@Simon - any insight?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996269</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-12-01 10:29:45 -0800</bug_when>
    <thetext>I think we do want to take this change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996399</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-01 17:54:54 -0800</bug_when>
    <thetext>Committed 271416@main (b738ab355f6e): &lt;https://commits.webkit.org/271416@main&gt;

Reviewed commits have been landed. Closing PR #21174 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>