<?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>321467</bug_id>
          
          <creation_ts>2026-08-10 15:31:05 -0700</creation_ts>
          <short_desc>[iOS] object-view-box view-transition overflow-visible path off by 1 device pixel</short_desc>
          <delta_ts>2026-08-11 14:52:57 -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=316882</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="Alice Tang">tang.alice.000</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>2239070</commentid>
    <comment_count>0</comment_count>
    <who name="Alice Tang">tang.alice.000</who>
    <bug_when>2026-08-10 15:31:05 -0700</bug_when>
    <thetext>old-content-with-object-view-box.html and new-content-with-object-view-box.html (imported/w3c/web-platform-tests/css/css-view-transitions/) fail on iOS by 1 device pixel.

Root cause: RenderViewTransitionCapture.cpp, in the overflow-visible paint path for ::view-transition-old/new with object-view-box: 
      dstRect = snapRectToDevicePixels(computePaintRectForObjectViewBox(replacedContentRect), document().deviceScaleFactor());

On iOS&apos;s higher deviceScaleFactor (2x/3x vs. Mac), this snaps the view-box paint rect to a different device pixel than the reference image expects, producing a consistent 1px diff. Appears to be a device-pixel-snapping rounding difference, not a functional bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2239073</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-08-10 15:34:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/184557440&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2239095</commentid>
    <comment_count>2</comment_count>
    <who name="Alice Tang">tang.alice.000</who>
    <bug_when>2026-08-10 16:53:44 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/71328</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2239369</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-08-11 14:52:57 -0700</bug_when>
    <thetext>Test gardening commit 318994@main (b11e8b5ae63a): &lt;https://commits.webkit.org/318994@main&gt;

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

    </bug>

</bugzilla>