<?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>212515</bug_id>
          
          <creation_ts>2020-05-29 02:38:22 -0700</creation_ts>
          <short_desc>Adjust &lt;link rel=stylesheet disabled&gt; handling</short_desc>
          <delta_ts>2023-08-23 21:44:13 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=243540</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=260642</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cyb.ai.815</cc>
    
    <cc>emilio</cc>
    
    <cc>mike</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1657188</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2020-05-29 02:38:22 -0700</bug_when>
    <thetext>See https://github.com/web-platform-tests/wpt/pull/22645 and https://github.com/whatwg/html/pull/4519.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879857</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-01 11:20:38 -0700</bug_when>
    <thetext>&lt;rdar://problem/96304439&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879858</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-01 11:20:49 -0700</bug_when>
    <thetext>It looks like we fail a couple of these tests (though we pass most). Importing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960538</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-06-08 06:31:26 -0700</bug_when>
    <thetext>We are only browser failing but just two tests:

https://wpt.fyi/results/css/cssom?label=master&amp;label=experimental&amp;aligned=&amp;q=cssom%2Fhtmllinkelement-</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973080</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-08-23 13:47:04 -0700</bug_when>
    <thetext>Blink Commit - https://chromium-review.googlesource.com/c/chromium/src/+/2216701</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973171</commentid>
    <comment_count>5</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2023-08-23 19:09:29 -0700</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #3)
&gt; We are only browser failing but just two tests:
&gt; 
&gt; https://wpt.fyi/results/css/
&gt; cssom?label=master&amp;label=experimental&amp;aligned=&amp;q=cssom%2Fhtmllinkelement-

The patch in https://github.com/WebKit/WebKit/pull/17001 gets WebKit passing all those tests.

But that patch isn’t a full implementation of the spec requirements in https://github.com/whatwg/html/pull/4519.

I have a separate patch that implements the “explicitly enabled” boolean flag specified in https://github.com/whatwg/html/pull/4519 — but I don’t yet know how to test it, or if WebKit even needs it.

I say that because HTMLLinkElement-disabled-003.html to HTMLLinkElement-disabled-007.html there all include some tests for the “explicitly enabled” requirements — but since WebKit is already passing all those tests, then it seems like either those tests aren’t correctly testing the “explicitly enabled” requirements, or else the WebKit implementation somehow already conforms to those requirements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973176</commentid>
    <comment_count>6</comment_count>
    <who name="Emilio Cobos Álvarez (:emilio)">emilio</who>
    <bug_when>2023-08-23 20:34:16 -0700</bug_when>
    <thetext>The &quot;explicitly enabled&quot; boolean flag is implemented as m_disabledState == EnabledViaScript in WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973183</commentid>
    <comment_count>7</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2023-08-23 21:01:01 -0700</bug_when>
    <thetext>(In reply to Emilio Cobos Álvarez (:emilio) from comment #6)
&gt; The &quot;explicitly enabled&quot; boolean flag is implemented as m_disabledState ==
&gt; EnabledViaScript in WebKit.

aha, I see now — thanks much</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973186</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-08-23 21:44:13 -0700</bug_when>
    <thetext>Should this be duped to bug 260642?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>