<?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>255182</bug_id>
          
          <creation_ts>2023-04-07 17:09:46 -0700</creation_ts>
          <short_desc>REGRESSION(262563@main): [ iOS ] imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html is a constant text failure</short_desc>
          <delta_ts>2023-04-10 13:38:08 -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>HTML Editing</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=254966</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>rniwa</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1947436</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-04-07 17:09:46 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html

is a constant text failure on iOs and XVFB/Wayland.

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Feditable-state-and-focus-in-shadow-dom-in-designMode.tentative.html

DIFF URL:
https://build.webkit.org/results/Apple-iOS-16-Simulator-Release-WK2-Tests/262718@main%20(2043)/imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative-pretty-diff.html

DIFF TEXT:
 PASS Focus after Collapse selection into text in the open shadow DOM
 PASS Typing &quot;A&quot; after Collapse selection into text in the open shadow DOM
 PASS Focus after Collapse selection into text in &lt;div contenteditable&gt; in the open shadow DOM
-PASS Typing &quot;A&quot; after Collapse selection into text in &lt;div contenteditable&gt; in the open shadow DOM
+FAIL Typing &quot;A&quot; after Collapse selection into text in &lt;div contenteditable&gt; in the open shadow DOM assert_equals: The shadow DOM shouldn&apos;t be modified after Collapse selection into text in &lt;div contenteditable&gt; in the open shadow DOM expected &quot;&lt;style&gt;:focus { outline: 3px red solid; }&lt;/style&gt;&lt;div&gt;text&lt;div contenteditable=\&quot;\&quot;&gt;Aeditable&lt;/div&gt;&lt;object tabindex=\&quot;0\&quot;&gt;object&lt;/object&gt;&lt;p tabindex=\&quot;0\&quot;&gt;paragraph&lt;/p&gt;&lt;/div&gt;&quot; but got &quot;&lt;style&gt;:focus { outline: 3px red solid; }&lt;/style&gt;&lt;div&gt;text&lt;div contenteditable=\&quot;\&quot;&gt;editable&lt;/div&gt;&lt;object tabindex=\&quot;0\&quot;&gt;object&lt;/object&gt;&lt;p tabindex=\&quot;0\&quot;&gt;paragraph&lt;/p&gt;&lt;/div&gt;&quot;
 PASS Focus after Set focus to &lt;object&gt; in the open shadow DOM
 PASS Typing &quot;A&quot; after Set focus to &lt;object&gt; in the open shadow DOM
 PASS Focus after Set focus to &lt;p tabindex=&quot;0&quot;&gt; in the open shadow DOM
@@ -27,7 +27,7 @@
 PASS Focus after Collapse selection into text in the closed shadow DOM
 PASS Typing &quot;A&quot; after Collapse selection into text in the closed shadow DOM
 PASS Focus after Collapse selection into text in &lt;div contenteditable&gt; in the closed shadow DOM
-PASS Typing &quot;A&quot; after Collapse selection into text in &lt;div contenteditable&gt; in the closed shadow DOM
+FAIL Typing &quot;A&quot; after Collapse selection into text in &lt;div contenteditable&gt; in the closed shadow DOM assert_equals: The shadow DOM shouldn&apos;t be modified after Collapse selection into text in &lt;div contenteditable&gt; in the closed shadow DOM expected &quot;&lt;style&gt;:focus { outline: 3px red solid; }&lt;/style&gt;&lt;div&gt;text&lt;div contenteditable=\&quot;\&quot;&gt;Aeditable&lt;/div&gt;&lt;object tabindex=\&quot;0\&quot;&gt;object&lt;/object&gt;&lt;p tabindex=\&quot;0\&quot;&gt;paragraph&lt;/p&gt;&lt;/div&gt;&quot; but got &quot;&lt;style&gt;:focus { outline: 3px red solid; }&lt;/style&gt;&lt;div&gt;text&lt;div contenteditable=\&quot;\&quot;&gt;editable&lt;/div&gt;&lt;object tabindex=\&quot;0\&quot;&gt;object&lt;/object&gt;&lt;p tabindex=\&quot;0\&quot;&gt;paragraph&lt;/p&gt;&lt;/div&gt;&quot;
 PASS Focus after Set focus to &lt;object&gt; in the closed shadow DOM
 PASS Typing &quot;A&quot; after Set focus to &lt;object&gt; in the closed shadow DOM
 PASS Focus after Set focus to &lt;p tabindex=&quot;0&quot;&gt; in the closed shadow DOM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947437</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-07 17:10:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/107774968&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947438</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-04-07 17:11:09 -0700</bug_when>
    <thetext>I have reproduce the text failure on iOS 16 Release ToT running the test as follows:

run-webkit-tests --iOS-simulator imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html


I have marked expectations for this test on iOS while under investigation. 

https://commits.webkit.org/262734@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947441</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-04-07 17:30:51 -0700</bug_when>
    <thetext>I was able to verify that https://commits.webkit.org/262563@main is the regression point, which is also when this test was last touched/modified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947705</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-04-10 13:19:48 -0700</bug_when>
    <thetext>The issue is somehow that letter “A” isn’t typed into the editable region in iOS. We probably just need to check in the failing test expectation for now.

Waiting for the keyboard to show up, for example, doesn’t help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947707</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-04-10 13:25:45 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12583</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947711</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-10 13:38:08 -0700</bug_when>
    <thetext>Test gardening commit 262782@main (c3cf8c9d9de2): &lt;https://commits.webkit.org/262782@main&gt;

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

    </bug>

</bugzilla>