Skip to content

Commit c215617

Browse files
dletoreydipikabh
andauthored
Firefox 148 adds CSS light-dark() with <image> behind pref (#29429)
* added light-dark(<image>, <image>) support * updated the additional feature name * removed the tags * added underascore to feature name * added spec url * Update css/types/color.json Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> * Update css/types/color.json Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> * removed the backticks and angle brackets from feature name as not supported * Update color.json Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> --------- Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
1 parent d64e16e commit c215617

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

css/types/color.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,47 @@
928928
"standard_track": true,
929929
"deprecated": false
930930
}
931+
},
932+
"image_value": {
933+
"__compat": {
934+
"description": "`<image>` values",
935+
"spec_url": "https://drafts.csswg.org/css-color-5/#typedef-light-dark-image",
936+
"support": {
937+
"chrome": {
938+
"version_added": "148",
939+
"flags": [
940+
{
941+
"type": "preference",
942+
"name": "#enable-experimental-web-platform-features",
943+
"value_to_set": "Enabled"
944+
}
945+
],
946+
"impl_url": "https://crbug.com/491829958"
947+
},
948+
"chrome_android": "mirror",
949+
"edge": "mirror",
950+
"firefox": {
951+
"version_added": "150"
952+
},
953+
"firefox_android": "mirror",
954+
"oculus": "mirror",
955+
"opera": "mirror",
956+
"opera_android": "mirror",
957+
"safari": {
958+
"version_added": false,
959+
"impl_url": "https://webkit.org/b/309689"
960+
},
961+
"safari_ios": "mirror",
962+
"samsunginternet_android": "mirror",
963+
"webview_android": "mirror",
964+
"webview_ios": "mirror"
965+
},
966+
"status": {
967+
"experimental": true,
968+
"standard_track": true,
969+
"deprecated": false
970+
}
971+
}
931972
}
932973
},
933974
"named-color": {

0 commit comments

Comments
 (0)