context-fill and context-stroke
Limited availability
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.
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 Not supported
- Safari on iOS Not supported
Baseline availability blocked since April 2024 by Safari (27 months)
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
Specifications
Usage (according to Chrome Platform Status)
~0.005% of page loads. More data at chromestatus.com.Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist