<?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>205798</bug_id>
          
          <creation_ts>2020-01-06 06:32:54 -0800</creation_ts>
          <short_desc>Meta color-scheme does not set the root element color-scheme property</short_desc>
          <delta_ts>2023-09-15 21:54: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>CSS</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.14</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <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="Rune Lillesveen">rune.lillesveen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mike</cc>
    
    <cc>ntim</cc>
    
    <cc>thorton</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1603020</commentid>
    <comment_count>0</comment_count>
    <who name="Rune Lillesveen">rune.lillesveen</who>
    <bug_when>2020-01-06 06:32:54 -0800</bug_when>
    <thetext>According to [1], setting color-scheme with the meta element sets a presentational hint on the root element which should cause the computed value of the root element to be affected. The computed value for the root element is always &apos;auto&apos; in WebKit.

This causes a bunch of wpt failures in https://wpt.fyi/results/css/css-color-adjust/meta

[1] https://drafts.csswg.org/css-color-adjust-1/#color-scheme-meta</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1603800</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-01-07 14:39:34 -0800</bug_when>
    <thetext>&lt;rdar://problem/58388532&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906021</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-10-16 19:00:22 -0700</bug_when>
    <thetext>The tests are now at https://wpt.fyi/results/html/semantics/document-metadata/the-meta-element/color-scheme?label=master&amp;label=experimental&amp;aligned&amp;view=subtest&amp;q=color-scheme</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906047</commentid>
    <comment_count>3</comment_count>
    <who name="Rune Lillesveen">rune.lillesveen</who>
    <bug_when>2022-10-17 01:04:27 -0700</bug_when>
    <thetext>The spec changed after I reported this issue. The meta element no longer sets presentation attributes. This is probably a Wontfix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977815</commentid>
    <comment_count>4</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2023-09-15 21:54:08 -0700</bug_when>
    <thetext>Resolving as Wontfix per https://bugs.webkit.org/show_bug.cgi?id=205798#c3. (There are still a couple failing tests in https://wpt.fyi/results/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-attribute-changes.html but those are unrelated to this issue — and the other failing tests in https://wpt.fyi/results/html/semantics/document-metadata/the-meta-element/color-scheme are fixed by https://github.com/WebKit/WebKit/pull/17817.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>