Skip to content

Commit 7edf690

Browse files
committed
Add 'borderRadius' compat and 'direction' issue
1 parent afcf734 commit 7edf690

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

proposals/0000-reduce-fragmentation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ The styling capabilities of React Native should be significantly expanded to cov
380380
Existing properties that can be adjusted to align with the CSS spec.
381381

382382
* [x] `aspectRatio`. Support string values, i.e., `'16 / 9'`, to align with CSS.
383+
* [x] `borderRadius`. Support percentage values to align with CSS.
383384
* [x] `fontVariant` support space-separated string values to align with CSS.
384385
* [x] `fontWeight` support number values to align with React DOM / CSS.
385386
* [x] `objectFit` is equivalent to `resizeMode` for `<Image>`.
@@ -391,7 +392,7 @@ Existing properties that can be adjusted to align with the CSS spec.
391392

392393
Existing logical properties that can be adjusted to adopt the CSS standard names. In addition, React Native will need to add native support for subtree-level writing direction controls. Setting the `dir` prop (or `direction` style) to `ltr` or `rtl` on an element should alter the way logical properties are resolved in the subtree.
393394

394-
* [ ] `direction` is equivalent to `writingDirection`.
395+
* [ ] (`direction` is equivalent to `writingDirection`. But it is [not recommended](https://w3c.github.io/csswg-drafts/css-writing-modes/#propdef-direction) on web, and we should consider removing it in favor of the `dir` prop.)
395396
* [ ] `borderEndEndRadius` is equivalent to `borderBottomEndRadius`.
396397
* [ ] `borderEndStartRadius` is equivalent to `borderBottomStartRadius`.
397398
* [ ] `borderStartEndRadius` is equivalent to `borderTopEndRadius`.
@@ -483,6 +484,7 @@ Support CSS Media Queries. Although Media Queries are not a preferred long-term
483484
Miscellaneous CSS properties and values that should be supported on native.
484485

485486
* [ ] `backgroundImage`. Add support for setting background images via `url()`. Stretch: support CSS gradients.
487+
* [ ] `backgroundPosition`.
486488
* [ ] `boxSizing`.
487489
* [ ] `boxShadow`. Add native support for CSS box shadows to replace buggy, iOS-specific `shadow*` styles.
488490
* [ ] `caretColor`.

0 commit comments

Comments
 (0)