<?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>287796</bug_id>
          
          <creation_ts>2025-02-17 08:12:45 -0800</creation_ts>
          <short_desc>document.caretPositionFromPoint over a video element returns null</short_desc>
          <delta_ts>2025-08-21 13:39:29 -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>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>287472</dup_id>
          <see_also>https://github.com/web-platform-tests/wpt/pull/54065</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>
          
          <blocked>286941</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Aditya Keerthi">akeerthi</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>bfulgham</cc>
    
    <cc>lwarlow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2095157</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2025-02-17 08:12:45 -0800</bug_when>
    <thetext>Instead you get null.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097373</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-24 08:13:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/145477560&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107561</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2025-03-31 13:56:42 -0700</bug_when>
    <thetext>Should this be about `document. caretPositionFromPoint`?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107735</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2025-03-31 23:27:34 -0700</bug_when>
    <thetext>I&apos;m pretty sure both use the same underlying infrastructure and we need to fix that as this ends up exposing shadow roots when they use video elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133493</commentid>
    <comment_count>4</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2025-07-30 14:57:42 -0700</bug_when>
    <thetext>The above is true, but going to retitle to mention `caretPositionFromPoint` since that&apos;s the standardized interface and is what is primarily motivating fixing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133525</commentid>
    <comment_count>5</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2025-07-30 17:54:51 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/48754</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133567</commentid>
    <comment_count>6</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2025-07-30 22:29:38 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54065</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138009</commentid>
    <comment_count>7</comment_count>
    <who name="Luke Warlow">lwarlow</who>
    <bug_when>2025-08-21 09:32:47 -0700</bug_when>
    <thetext>I think this bug was fixed as part of the SVG PR right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138076</commentid>
    <comment_count>8</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2025-08-21 13:39:11 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 287472 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138078</commentid>
    <comment_count>9</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2025-08-21 13:39:29 -0700</bug_when>
    <thetext>Yes, thank you for the reminder!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>