Skip to content

Add table_cells entry for writing-mode iOS Safari compatibility - #30276

Open
r4-rahul123 wants to merge 6 commits into
mdn:mainfrom
r4-rahul123:fix-writing-mode-table-cells-ios
Open

r4-rahul123 wants to merge 6 commits into
mdn:mainfrom
r4-rahul123:fix-writing-mode-table-cells-ios

Conversation

@r4-rahul123

Copy link
Copy Markdown

Fixes #29241

This PR adds a new compatibility entry documenting that writing-mode: vertical-* does not work on <th> or <td> elements on iOS Safari before version 17.

The current data shows safari_ios: "mirror" which incorrectly implies full support from iOS 9+. In reality, table cell elements only received support starting from iOS 17.

…29241)

Added a new compatibility entry documenting that writing-mode: vertical-*
does not work on <th> or <td> elements on iOS Safari before version 17.

Fixes mdn#29241
@github-actions github-actions Bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed labels Aug 19, 2026
@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The lint check found auto-fixable issues. Apply suggested changes (attributed to bcd-linter), or to fix all at once, run npm run lint:fix locally.

See also: Automated lint suggestions on pull requests

- Changed description from 'Applies to <th> and <td> elements' to 'Applies to table cell elements'
- Changed notes from 'Not supported on <th> or <td> elements before iOS 17.' to 'Not supported on table cell elements before iOS 17.'

BCD linter only allows code, kbd, em, strong, a HTML elements in notes.
Remove redundant notes field from safari_ios entry to fix BCD linter error.
Comment thread css/properties/writing-mode.json Outdated
Comment on lines +476 to +513
"table_cells": {
"__compat": {
"description": "Applies to table cell elements",
"tags": [
"web-features:writing-mode"
],
"support": {
"chrome": {
"version_added": "48"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "43"
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "9"
},
"safari_ios": {
"version_added": "17"
},
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[bcd-linter] reported by reviewdog 🐶

Suggested change
"table_cells": {
"__compat": {
"description": "Applies to table cell elements",
"tags": [
"web-features:writing-mode"
],
"support": {
"chrome": {
"version_added": "48"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "43"
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "9"
},
"safari_ios": {
"version_added": "17"
},
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like the JSON file is not properly formatted, specifically not properly ordered (though the automated review missed to post a separate comment for adding this feature further above).

Please run npm run lint:fix -- css/properties/writing-mode.json locally to resolve this.

Remove web-features tag from subfeature and add ie support for BCD linter compliance.
Comment thread css/properties/writing-mode.json Outdated
Comment on lines +476 to +513
"table_cells": {
"__compat": {
"description": "Applies to table cell elements",
"support": {
"chrome": {
"version_added": "48"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "43"
},
"firefox_android": "mirror",
"ie": {
"version_added": "9"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "9"
},
"safari_ios": {
"version_added": "17"
},
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[bcd-linter] reported by reviewdog 🐶

Suggested change
"table_cells": {
"__compat": {
"description": "Applies to table cell elements",
"support": {
"chrome": {
"version_added": "48"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "43"
},
"firefox_android": "mirror",
"ie": {
"version_added": "9"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "9"
},
"safari_ios": {
"version_added": "17"
},
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},

Comment thread css/properties/writing-mode.json Outdated
Comment on lines +476 to +478
"table_cells": {
"__compat": {
"description": "Applies to table cell elements",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency, this could be renamed to:

Suggested change
"table_cells": {
"__compat": {
"description": "Applies to table cell elements",
"vertical_oriented_table_cells": {
"__compat": {
"description": "Vertically-oriented table cells",

Comment on lines +480 to +502
"chrome": {
"version_added": "48"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "43"
},
"firefox_android": "mirror",
"ie": {
"version_added": "9"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "9"
},
"safari_ios": {
"version_added": "17"
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to assume all browsers supported table cells from the beginning. It would probably be best to verify this in BrowserStack Live with a small JSBin.

@r4-rahul123

Copy link
Copy Markdown
Author

@caugner Thanks for the review and suggestions!

I have renamed the feature key to vertical_oriented_table_cells with the description "Vertically-oriented table cells" for consistency with vertical_oriented_form_controls, and properly sorted the keys in alphabetical order to satisfy the BCD linter.

Please let me know if any further adjustments are needed!

@r4-rahul123
r4-rahul123 requested a review from caugner September 3, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

css.properties.writing-mode - vertical-* does not work on <th> or <td> on iOS < 17

3 participants