<?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>162263</bug_id>
          
          <creation_ts>2016-09-20 03:24:07 -0700</creation_ts>
          <short_desc>style.removeProperty not working for &quot;overflow: hidden !important&quot;</short_desc>
          <delta_ts>2018-12-18 17:22:53 -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>CSS</component>
          <version>Safari 9</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=49059</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=129994</see_also>
          <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="Mike Sidorov">mikes.ekb</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
    
    <cc>m.goleb+bugzilla</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1231590</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Sidorov">mikes.ekb</who>
    <bug_when>2016-09-20 03:24:07 -0700</bug_when>
    <thetext>http://jsbin.com/requfofayi/edit?js,console,output

Try to set &quot;overflow: hidden !important&quot; style property and then call style.removeProperty(&apos;overflow&apos;);
No error if thrown but still everything remains intact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1231703</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-09-20 09:43:17 -0700</bug_when>
    <thetext>Mike, can you clarify what the expected behavior is for the test case? It seems like displaying red on button click is expected, and what the test actually verifies is getting the following console output after two clicks:

&quot;hidden&quot;
&quot;&quot;

Is this accurate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1231715</commentid>
    <comment_count>2</comment_count>
    <who name="Mike Sidorov">mikes.ekb</who>
    <bug_when>2016-09-20 09:53:52 -0700</bug_when>
    <thetext>Alexey, sorry, had to explain this earlier.

The test case is: clicking a button toggles to properties - background-color: red and overflow: hidden. These properties are being set/removed on every button click.
With background-color everything is fine - it gets set to red and removed on the next click.
But with overflow there&apos;s an issue: once you set it, you cannot remove it at all. I&apos;m getting the following output in the console:

&quot;hidden&quot;
&quot;hidden&quot;

What&apos;s expected is to remove that property (to be displayed &quot;hidden&quot; - &quot;&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1231762</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-09-20 10:45:26 -0700</bug_when>
    <thetext>Seems similar to bug 49059.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1261907</commentid>
    <comment_count>4</comment_count>
    <who name="Mike Sidorov">mikes.ekb</who>
    <bug_when>2016-12-20 23:32:13 -0800</bug_when>
    <thetext>Still actual for Safari 10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1261954</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-12-21 08:36:33 -0800</bug_when>
    <thetext>Please test in the next Safari Tech Preview (20).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1262034</commentid>
    <comment_count>6</comment_count>
    <who name="Michał Gołębiowski-Owczarek">m.goleb+bugzilla</who>
    <bug_when>2016-12-21 10:58:33 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Please test in the next Safari Tech Preview (20).

WebKit Nightly is still affected so I assume next Safari TP won&apos;t change anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1489148</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2018-12-18 17:22:53 -0800</bug_when>
    <thetext>I see:

&quot;hidden&quot;
&quot;&quot;

so it seems this works now (STP 72).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>