Web platform features explorer

context-fill and context-stroke

The context-fill and context-stroke CSS values are used with fill and stroke in SVG <marker> or <use> elements to match a color from where they appear.

Status

Limited availability

MDN documentation

Browser support

  • Chrome 124 Released on 2024-04-16
  • Chrome Android 124 Released on 2024-04-16
  • Edge 124 Released on 2024-04-18
  • Firefox 111 Released on 2023-03-14
  • Firefox for Android 111 Released on 2023-03-14
  • Safari
  • Safari on iOS

Baseline availability blocked since April 2024 by Safari (18 months)

Usage (according to Chrome Platform Status)

~0.006% of page loads. More data at chromestatus.com.