Skip to content

Commit

Permalink
added support details for content: gradients and image-set (#19896)
Browse files Browse the repository at this point in the history
* added support details for content: gradients and image-set

* made the notes be a string rather than array to fix the error

* made the mdn URL be non-localized

* Update css/properties/content.json

Co-authored-by: Florian Scholz <[email protected]>

* Update css/properties/content.json

Co-authored-by: Florian Scholz <[email protected]>

* fixed the misplaced commas that broke tests

---------

Co-authored-by: Florian Scholz <[email protected]>
  • Loading branch information
dletorey and Elchi3 authored May 31, 2023
1 parent ab0e3c3 commit f6e9301
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions css/properties/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,82 @@
}
}
},
"gradient": {
"__compat": {
"description": "<code>&lt;gradient&gt;</code>",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient",
"spec_url": "https://drafts.csswg.org/css-images-4/#gradients",
"support": {
"chrome": {
"version_added": "26"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "113",
"notes": "<code>content: &lt;gradient&gt;</code>` doesn't paint on ::before/::after pseudo elements. See <a href='https://bugzil.la/1832901'>bug 1832901</a>.",
"partial_implementation": true
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"image-set": {
"__compat": {
"description": "<code>image-set()</code>",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/image/image-set",
"spec_url": "https://drafts.csswg.org/css-images-4/#image-set-notation",
"support": {
"chrome": {
"version_added": "113"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "113",
"notes": "<code>content: image-set(…);</code>` doesn't paint on ::before/::after pseudo elements. See <a href='https://bugzil.la/1832901'>bug 1832901</a>.",
"partial_implementation": true
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"none_applies_to_elements": {
"__compat": {
"description": "<code>content: none</code> for elements",
Expand Down

0 comments on commit f6e9301

Please sign in to comment.