Web platform features explorer

context-fill and context-stroke

Limited availability
Tags: svg Groups: SVG

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.

Learn more

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

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 (15 months)

Usage (according to Chrome Platform Status)

~0.005% of page loads. More data at chromestatus.