<?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>223654</bug_id>
          
          <creation_ts>2021-03-23 13:54:05 -0700</creation_ts>
          <short_desc>Border-color set as currentColor on button is not changing on hover</short_desc>
          <delta_ts>2022-05-14 22:40:46 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>240401</dup_id>
          
          <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="Vadim Makeev">hi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>koivisto</cc>
    
    <cc>ntim</cc>
    
    <cc>sam</cc>
    
    <cc>twilco.o</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1742993</commentid>
    <comment_count>0</comment_count>
      <attachid>424060</attachid>
    <who name="Vadim Makeev">hi</who>
    <bug_when>2021-03-23 13:54:05 -0700</bug_when>
    <thetext>Created attachment 424060
Demo for the bug

If you have border-color set as currentColor, it’s not possible to change the color on hover for a button.

# Steps to reproduce

1. Set border-color for a button to currentColor
2. Change the color property on hover to green

# Expected behavior

- Green text color
- Green border color

# Actual behavior

- Green text color
- Black border color

See the demo for examples.

---

It works fine

- For a div
- For background-color
- With focus
- When you slightly change opacity to 0.99

Sometimes it works

- If you move cursor fast enough from the right button to the left
- With no reason, just for a few seconds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745293</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-30 13:55:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/76020369&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869058</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-05-14 22:40:46 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 240401 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>424060</attachid>
            <date>2021-03-23 13:54:05 -0700</date>
            <delta_ts>2021-03-23 13:54:05 -0700</delta_ts>
            <desc>Demo for the bug</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>411</size>
            <attacher name="Vadim Makeev">hi</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CiAgPG1ldGEgY2hhcnNldD0i
VVRGLTgiPgogIDx0aXRsZT5idXR0b24gYm9yZGVyIGN1cnJlbnRDb2xvcjwvdGl0bGU+CiAgPHN0
eWxlPgogICAgYnV0dG9uIHsKICAgICAgYm9yZGVyOiAxMHB4IHNvbGlkIGN1cnJlbnRDb2xvcjsK
ICAgIH0KCiAgICBidXR0b246aG92ZXIgewogICAgICBjb2xvcjogZ3JlZW47CiAgICB9CgogICAg
YnV0dG9uOmZvY3VzIHsKICAgICAgY29sb3I6IHJlZDsKICAgIH0KCiAgICAuZml4OmhvdmVyIHsK
ICAgICAgb3BhY2l0eTogMC45OTk7CiAgICB9CiAgPC9zdHlsZT4KPGJvZHk+CiAgPGJ1dHRvbj5i
dXR0b248L2J1dHRvbj4KICA8YnV0dG9uIGNsYXNzPSJmaXgiPmJ1dHRvbjwvYnV0dG9uPgo8L2Jv
ZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>