<?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>264103</bug_id>
          
          <creation_ts>2023-11-02 11:26:23 -0700</creation_ts>
          <short_desc>getComputedStyle() should work with functional pseudo-elements like ::highlight()</short_desc>
          <delta_ts>2024-02-26 06:01:06 -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>CSS</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=243539</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>
          <dependson>269743</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Anne van Kesteren">annevk</assigned_to>
          <cc>annevk</cc>
    
    <cc>commit-queue</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1989453</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-11-02 11:26:23 -0700</bug_when>
    <thetext>Spec: https://www.w3.org/TR/css-pseudo-4/#getComputedStyle

WPT:
https://wpt.fyi/results/css/css-highlight-api?label=master&amp;label=experimental&amp;aligned&amp;q=computed


Implementation notes:
Anywhere we take a PseudoId from CSSComputedStyleDeclaration to ComputedStyleExtractor to Element::computedStyle(), etc. we should pass a PseudoElementRequest instead of a PseudoId
CSSComputedStyleDeclaration would also need to convert from a String to a PseudoElementRequest instead of PseudoId</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989454</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-02 11:26:38 -0700</bug_when>
    <thetext>&lt;rdar://problem/117864743&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2002481</commentid>
    <comment_count>2</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-01-02 01:45:38 -0800</bug_when>
    <thetext>The parser side of this we want to do in CSSSelector::parseStandalonePseudoElement these days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013934</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-02-15 06:17:20 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/24510</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2014532</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-02-16 10:00:33 -0800</bug_when>
    <thetext>Committed 274846@main (2a9c86135d14): &lt;https://commits.webkit.org/274846@main&gt;

Reviewed commits have been landed. Closing PR #24510 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015229</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2024-02-19 13:06:09 -0800</bug_when>
    <thetext>Re-opened since this is blocked by bug 269743</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015539</commentid>
    <comment_count>6</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-02-20 10:24:56 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/24824</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015609</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-02-20 13:52:34 -0800</bug_when>
    <thetext>Committed 275068@main (494280aef6da): &lt;https://commits.webkit.org/275068@main&gt;

Reviewed commits have been landed. Closing PR #24824 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2016831</commentid>
    <comment_count>8</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-02-26 06:01:06 -0800</bug_when>
    <thetext>*** Bug 269416 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>