<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>30107</bug_id>
          
          <creation_ts>2017-05-04 16:16:57 +0000</creation_ts>
          <short_desc>CSSOM spec should be updated to reflect recent Web IDL changes with regards to [TreatNullAs]</short_desc>
          <delta_ts>2017-06-14 15:43:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">chris</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>d</cc>
    
    <cc>weinig</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>128569</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">chris</who>
    <bug_when>2017-05-04 16:16:57 +0000</bug_when>
    <thetext>CSSOM spec should be updated to reflect recent Web IDL changes with regards to [TreatNullAs]:
- https://github.com/heycam/webidl/pull/286

e.g.
For example at https://drafts.csswg.org/cssom/#the-medialist-interface :
[TreatNullAs=EmptyString] stringifier attribute CSSOMString mediaText;

should become:
stringifier attribute [TreatNullAs=EmptyString] CSSOMString mediaText;

There are likely other instances in the same spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128643</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2017-06-14 11:59:46 +0000</bug_when>
    <thetext>https://github.com/w3c/csswg-drafts/pull/1528

I updated all instances in csswg-drafts:

$ find . -name &quot;*.bs&quot; | xargs grep &quot;TreatNullAs&quot;
./cssom/Overview.bs:  [TreatNullAs=EmptyString] stringifier attribute CSSOMString mediaText;
./cssom/Overview.bs:  [CEReactions] void setProperty(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString value, [TreatNullAs=EmptyString] optional CSSOMString priority = &quot;&quot;);
./cssom/Overview.bs:  [CEReactions] void setPropertyValue(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString value);
./cssom/Overview.bs:  [CEReactions] void setPropertyPriority(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString priority);
./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString cssFloat;
./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString _&lt;var&gt;camel_cased_attribute&lt;/var&gt;;
./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString _&lt;var&gt;webkit_cased_attribute&lt;/var&gt;;
./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString _&lt;var&gt;dashed_attribute&lt;/var&gt;;

(Nothing with [Clamp] or [EnforceRange] AFAICT.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128645</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">chris</who>
    <bug_when>2017-06-14 15:43:25 +0000</bug_when>
    <thetext>(In reply to Simon Pieters from comment #1)
&gt; https://github.com/w3c/csswg-drafts/pull/1528
&gt; 
&gt; I updated all instances in csswg-drafts:
&gt; 
&gt; $ find . -name &quot;*.bs&quot; | xargs grep &quot;TreatNullAs&quot;
&gt; ./cssom/Overview.bs:  [TreatNullAs=EmptyString] stringifier attribute
&gt; CSSOMString mediaText;
&gt; ./cssom/Overview.bs:  [CEReactions] void setProperty(CSSOMString property,
&gt; [TreatNullAs=EmptyString] CSSOMString value, [TreatNullAs=EmptyString]
&gt; optional CSSOMString priority = &quot;&quot;);
&gt; ./cssom/Overview.bs:  [CEReactions] void setPropertyValue(CSSOMString
&gt; property, [TreatNullAs=EmptyString] CSSOMString value);
&gt; ./cssom/Overview.bs:  [CEReactions] void setPropertyPriority(CSSOMString
&gt; property, [TreatNullAs=EmptyString] CSSOMString priority);
&gt; ./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute
&gt; CSSOMString cssFloat;
&gt; ./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute
&gt; CSSOMString _&lt;var&gt;camel_cased_attribute&lt;/var&gt;;
&gt; ./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute
&gt; CSSOMString _&lt;var&gt;webkit_cased_attribute&lt;/var&gt;;
&gt; ./cssom/Overview.bs:  [CEReactions, TreatNullAs=EmptyString] attribute
&gt; CSSOMString _&lt;var&gt;dashed_attribute&lt;/var&gt;;
&gt; 
&gt; (Nothing with [Clamp] or [EnforceRange] AFAICT.)

Thanks Simon!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>