diff --git a/__tests__/fixtures/tailwind-output-flagged.css b/__tests__/fixtures/tailwind-output-flagged.css index 604473b32b82..b2b8e55dd02d 100644 --- a/__tests__/fixtures/tailwind-output-flagged.css +++ b/__tests__/fixtures/tailwind-output-flagged.css @@ -10864,6 +10864,10 @@ video { display: contents; } +.list-item { + display: list-item; +} + .hidden { display: none; } @@ -39472,6 +39476,10 @@ video { display: contents; } + .sm\:list-item { + display: list-item; + } + .sm\:hidden { display: none; } @@ -68037,6 +68045,10 @@ video { display: contents; } + .md\:list-item { + display: list-item; + } + .md\:hidden { display: none; } @@ -96602,6 +96614,10 @@ video { display: contents; } + .lg\:list-item { + display: list-item; + } + .lg\:hidden { display: none; } @@ -125167,6 +125183,10 @@ video { display: contents; } + .xl\:list-item { + display: list-item; + } + .xl\:hidden { display: none; } @@ -153732,6 +153752,10 @@ video { display: contents; } + .\32xl\:list-item { + display: list-item; + } + .\32xl\:hidden { display: none; } diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index 46e893448edd..9b5a35100928 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -10864,6 +10864,10 @@ video { display: contents !important; } +.list-item { + display: list-item !important; +} + .hidden { display: none !important; } @@ -39472,6 +39476,10 @@ video { display: contents !important; } + .sm\:list-item { + display: list-item !important; + } + .sm\:hidden { display: none !important; } @@ -68037,6 +68045,10 @@ video { display: contents !important; } + .md\:list-item { + display: list-item !important; + } + .md\:hidden { display: none !important; } @@ -96602,6 +96614,10 @@ video { display: contents !important; } + .lg\:list-item { + display: list-item !important; + } + .lg\:hidden { display: none !important; } @@ -125167,6 +125183,10 @@ video { display: contents !important; } + .xl\:list-item { + display: list-item !important; + } + .xl\:hidden { display: none !important; } @@ -153732,6 +153752,10 @@ video { display: contents !important; } + .\32xl\:list-item { + display: list-item !important; + } + .\32xl\:hidden { display: none !important; } diff --git a/__tests__/fixtures/tailwind-output-no-color-opacity.css b/__tests__/fixtures/tailwind-output-no-color-opacity.css index a04be9a314ed..c0efe3ecc4b7 100644 --- a/__tests__/fixtures/tailwind-output-no-color-opacity.css +++ b/__tests__/fixtures/tailwind-output-no-color-opacity.css @@ -9302,6 +9302,10 @@ video { display: contents; } +.list-item { + display: list-item; +} + .hidden { display: none; } @@ -35354,6 +35358,10 @@ video { display: contents; } + .sm\:list-item { + display: list-item; + } + .sm\:hidden { display: none; } @@ -61363,6 +61371,10 @@ video { display: contents; } + .md\:list-item { + display: list-item; + } + .md\:hidden { display: none; } @@ -87372,6 +87384,10 @@ video { display: contents; } + .lg\:list-item { + display: list-item; + } + .lg\:hidden { display: none; } @@ -113381,6 +113397,10 @@ video { display: contents; } + .xl\:list-item { + display: list-item; + } + .xl\:hidden { display: none; } @@ -139390,6 +139410,10 @@ video { display: contents; } + .\32xl\:list-item { + display: list-item; + } + .\32xl\:hidden { display: none; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 604473b32b82..b2b8e55dd02d 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -10864,6 +10864,10 @@ video { display: contents; } +.list-item { + display: list-item; +} + .hidden { display: none; } @@ -39472,6 +39476,10 @@ video { display: contents; } + .sm\:list-item { + display: list-item; + } + .sm\:hidden { display: none; } @@ -68037,6 +68045,10 @@ video { display: contents; } + .md\:list-item { + display: list-item; + } + .md\:hidden { display: none; } @@ -96602,6 +96614,10 @@ video { display: contents; } + .lg\:list-item { + display: list-item; + } + .lg\:hidden { display: none; } @@ -125167,6 +125183,10 @@ video { display: contents; } + .xl\:list-item { + display: list-item; + } + .xl\:hidden { display: none; } @@ -153732,6 +153752,10 @@ video { display: contents; } + .\32xl\:list-item { + display: list-item; + } + .\32xl\:hidden { display: none; } diff --git a/src/plugins/display.js b/src/plugins/display.js index 0031a91c191d..b02f68e303bd 100644 --- a/src/plugins/display.js +++ b/src/plugins/display.js @@ -59,6 +59,9 @@ export default function () { '.contents': { display: 'contents', }, + '.list-item': { + display: 'list-item', + }, }, variants('display') )