<?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>252003</bug_id>
          
          <creation_ts>2023-02-09 12:09:20 -0800</creation_ts>
          <short_desc>[GPU Process] [FormControls] Make it possible to draw a viewless NSCell</short_desc>
          <delta_ts>2023-02-21 21:52:47 -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=252427</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=252723</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>249168</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</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>1932409</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-02-09 12:09:20 -0800</bug_when>
    <thetext>AppKit crashes if [NSCell drawWithFrame] is called out of the main thread with a non-nil NSView. And this is why a hack was added to WebControlWindow to silence this crash in 257981@main. To fix the crash and to remove the hack, a nil NSView will be passed to [NSCell drawWithFrame] instead of passing the fake one. 

To provide the [NSCell drawWithFrame] with the settings that it used to get from the fake NSView, new AppKit SPIs will be used to explicitly set them from the drawing. An NSCell can be drawn without an NSView only if these SPIs are available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1932410</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-09 12:10:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/105233927&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1932417</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-02-09 12:28:42 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/9882</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1933235</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-13 11:13:58 -0800</bug_when>
    <thetext>Committed 260210@main (b8b3d9929d7d): &lt;https://commits.webkit.org/260210@main&gt;

Reviewed commits have been landed. Closing PR #9882 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1933253</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-02-13 12:22:16 -0800</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/10052</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1933254</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-13 12:25:51 -0800</bug_when>
    <thetext>Committed 260216@main (efa69875810d): &lt;https://commits.webkit.org/260216@main&gt;

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

    </bug>

</bugzilla>