{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/user-action-pseudos",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "user-action-pseudos",
    "name": "User action pseudo-classes",
    "description": "The :active, :focus, and :hover CSS pseudo-classes match elements based on how users are interacting with them.",
    "group": "selectors",
    "groupName": "Selectors",
    "spec": "https://drafts.csswg.org/selectors-4/#the-hover-pseudo",
    "baseline": "high",
    "baselineLowDate": "2015-07-29",
    "baselineLowDay": 16645,
    "baselineHighDate": "2018-01-29",
    "compatCount": 6,
    "cats": [
      "css"
    ],
    "compatKeysSample": [
      "css.selectors.active",
      "css.selectors.active.non_a_elements",
      "css.selectors.focus",
      "css.selectors.hover",
      "css.selectors.hover.a_elements",
      "css.selectors.hover.all_elements"
    ],
    "s": {
      "chrome": {
        "v": "1",
        "d": 14224
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "firefox": {
        "v": "1",
        "d": 12731
      },
      "firefox_android": {
        "v": "4",
        "d": 15062
      },
      "safari": {
        "v": "2",
        "d": 12902
      },
      "safari_ios": {
        "v": "1",
        "d": 13693
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "css.selectors.active",
      "cat": "css",
      "mdn": "CSS/Reference/Selectors/:active",
      "spec": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-active",
      "st": 1,
      "wf": "user-action-pseudos",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "1",
          "d": 12226
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "5",
          "d": 11297
        },
        "opera_android": {
          "v": "10.1",
          "d": 14922
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "4",
          "d": 10134
        }
      }
    },
    {
      "id": "css.selectors.active.non_a_elements",
      "cat": "css",
      "spec": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-active",
      "st": 1,
      "wf": "user-action-pseudos",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "1",
          "d": 12226
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "7",
          "d": 12080
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "8",
          "d": 14322
        }
      },
      "notes": [
        {
          "t": "By default, Safari on iOS does not use the <a href=\"https://developer.mozilla.org/docs/Web/CSS/:active\"><code>:active</code></a> state unless there is a <a href=\"https://developer.mozilla.org/docs/Web/Reference/Events/touchstart\"><code>touchstart</code></a> event handler on the relevant element or on the <a href=\"https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/body\"><code>&lt;body&gt;</code></a> element.",
          "b": [
            "safari_ios"
          ]
        },
        {
          "t": "By default, WebView on iOS does not use the <a href=\"https://developer.mozilla.org/docs/Web/CSS/:active\"><code>:active</code></a> state unless there is a <a href=\"https://developer.mozilla.org/docs/Web/Reference/Events/touchstart\"><code>touchstart</code></a> event handler on the relevant element or on the <a href=\"https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/body\"><code>&lt;body&gt;</code></a> element.",
          "b": [
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "css.selectors.focus",
      "cat": "css",
      "mdn": "CSS/Reference/Selectors/:focus",
      "spec": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-focus",
      "st": 1,
      "wf": "user-action-pseudos",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "1",
          "d": 12226
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "7",
          "d": 12080
        },
        "opera_android": {
          "v": "10.1",
          "d": 14922
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "8",
          "d": 14322
        }
      }
    },
    {
      "id": "css.selectors.hover",
      "cat": "css",
      "mdn": "CSS/Reference/Selectors/:hover",
      "spec": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-hover",
      "st": 1,
      "wf": "user-action-pseudos",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "2",
          "d": 12902
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "4",
          "d": 11136
        },
        "opera_android": {
          "v": "10.1",
          "d": 14922
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "4",
          "d": 10134
        }
      },
      "notes": [
        {
          "t": "As of Safari for iOS 7.1.2, tapping a <a href=\"https://developer.mozilla.org/docs/Web/Events/click#Safari_Mobile\">clickable element</a> causes the element to enter the <code>:hover</code> state. The element will remain in the <code>:hover</code> state until a different element has entered the <code>:hover</code> state.",
          "b": [
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "css.selectors.hover.a_elements",
      "cat": "css",
      "spec": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-hover",
      "st": 1,
      "wf": "user-action-pseudos",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "2",
          "d": 12902
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "37",
          "d": 16316
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "4",
          "d": 11136
        },
        "opera_android": {
          "v": "10.1",
          "d": 14922
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "4",
          "d": 10134
        }
      }
    },
    {
      "id": "css.selectors.hover.all_elements",
      "cat": "css",
      "spec": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-hover",
      "st": 1,
      "wf": "user-action-pseudos",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "2",
          "d": 12902
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "37",
          "d": 16316
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "7",
          "d": 12080
        },
        "opera_android": {
          "v": "10.1",
          "d": 14922
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "7",
          "d": 13439
        }
      },
      "notes": [
        {
          "t": "In Edge, hovering over an element and then scrolling up or down without moving the pointer will leave the element in the <code>:hover</code> state until the pointer is moved.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "In Internet Explorer 8 to Internet Explorer 11, hovering over an element and then scrolling up or down without moving the pointer will leave the element in the <code>:hover</code> state until the pointer is moved. See <a href=\"https://connect.microsoft.com/IE/feedbackdetail/view/926665\">bug 926665</a>.",
          "b": [
            "ie"
          ]
        },
        {
          "t": "In Internet Explorer 9 (and possibly earlier), if a <a href=\"https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/table\"><code>&lt;table&gt;</code></a> has a parent with a non-<code>auto</code> <a href=\"https://developer.mozilla.org/docs/Web/CSS/width\"><code>width</code></a>, <a href=\"https://developer.mozilla.org/docs/Web/CSS/overflow-x\"><code>overflow-x</code></a><code>: auto;</code>, the <a href=\"https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/table\"><code>&lt;table&gt;</code></a> has enough content to horizontally overflow its parent, and there are <a href=\"https://developer.mozilla.org/docs/Web/CSS/:hover\"><code>:hover</code></a> styles set on elements within the table, then hovering over said elements will cause the <a href=\"https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/table\"><code>&lt;table&gt;</code></a>'s height to increase. See <a href=\"https://output.jsbin.com/diwiqe\">a live demo that triggers the bug</a>. One workaround for the bug is to set <code>min-height: 0%;</code> (the <code>%</code> unit must be specified, since unitless and <code>px</code> don't work) on the <code>&lt;table&gt;</code>'s parent element.",
          "b": [
            "ie"
          ]
        }
      ]
    }
  ]
}