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
Specifications
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.
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