Skip to content

Commit 1668a54

Browse files
committed
Revert "add caption-side utilities (#10470)"
This reverts commit f395cc4.
1 parent 04c5b22 commit 1668a54

8 files changed

+0
-36
lines changed

CHANGELOG.md

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- Add `hyphens` utilities ([#10071](https://github.com/tailwindlabs/tailwindcss/pull/10071))
1818
- [Oxide] Use `lightningcss` for nesting and vendor prefixes in PostCSS plugin ([#10399](https://github.com/tailwindlabs/tailwindcss/pull/10399))
1919
- Add support for configuring default `font-variation-settings` for a `font-family` ([#10034](https://github.com/tailwindlabs/tailwindcss/pull/10034), [#10515](https://github.com/tailwindlabs/tailwindcss/pull/10515))
20-
- Add `caption-side` utilities ([#10470](https://github.com/tailwindlabs/tailwindcss/pull/10470))
2120

2221
### Fixed
2322

src/corePlugins.js

-7
Original file line numberDiff line numberDiff line change
@@ -772,13 +772,6 @@ export let corePlugins = {
772772
})
773773
},
774774

775-
captionSide: ({ addUtilities }) => {
776-
addUtilities({
777-
'.caption-top': { 'caption-side': 'top' },
778-
'.caption-bottom': { 'caption-side': 'bottom' },
779-
})
780-
},
781-
782775
borderCollapse: ({ addUtilities }) => {
783776
addUtilities({
784777
'.border-collapse': { 'border-collapse': 'collapse' },

tests/basic-usage.oxide.test.css

-6
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,6 @@
252252
.table-fixed {
253253
table-layout: fixed;
254254
}
255-
.caption-top {
256-
caption-side: top;
257-
}
258-
.caption-bottom {
259-
caption-side: bottom;
260-
}
261255
.border-collapse {
262256
border-collapse: collapse;
263257
}

tests/basic-usage.test.css

-6
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,6 @@
252252
.table-fixed {
253253
table-layout: fixed;
254254
}
255-
.caption-top {
256-
caption-side: top;
257-
}
258-
.caption-bottom {
259-
caption-side: bottom;
260-
}
261255
.border-collapse {
262256
border-collapse: collapse;
263257
}

tests/basic-usage.test.js

-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ crosscheck(({ stable, oxide }) => {
161161
<div class="stroke-current"></div>
162162
<div class="stroke-2"></div>
163163
<div class="table-fixed"></div>
164-
<div class="caption-top"></div>
165-
<div class="caption-bottom"></div>
166164
<div class="text-center"></div>
167165
<div class="indent-6 -indent-12"></div>
168166
<div class="text-indigo-500"></div>

tests/raw-content.oxide.test.css

-6
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,6 @@
179179
.table-fixed {
180180
table-layout: fixed;
181181
}
182-
.caption-top {
183-
caption-side: top;
184-
}
185-
.caption-bottom {
186-
caption-side: bottom;
187-
}
188182
.border-collapse {
189183
border-collapse: collapse;
190184
}

tests/raw-content.test.css

-6
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,6 @@
179179
.table-fixed {
180180
table-layout: fixed;
181181
}
182-
.caption-top {
183-
caption-side: top;
184-
}
185-
.caption-bottom {
186-
caption-side: bottom;
187-
}
188182
.border-collapse {
189183
border-collapse: collapse;
190184
}

tests/raw-content.test.js

-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ crosscheck(({ stable, oxide }) => {
123123
<div class="stroke-current"></div>
124124
<div class="stroke-2"></div>
125125
<div class="table-fixed"></div>
126-
<div class="caption-top"></div>
127-
<div class="caption-bottom"></div>
128126
<div class="text-center"></div>
129127
<div class="text-indigo-500"></div>
130128
<div class="underline"></div>

0 commit comments

Comments
 (0)