Text and View lose backgroundColor on iOS new Architecture, whenborderStyle is "dashed" or "dotted", and borderWidth is 0.
Steps to reproduce
Clone the repro app provided
Launch iOS build with New Architecture enabled.
In App.tsx look for View and Text styles and set their borderStyle to either "dotted" or "dashed" and backgroundColor to something more visible (e.g, "red")
Observe that backgroundColor is not getting applied
change either borderStyle to solid. Observe backgroundColor is set correctly now
Description
Text
andView
lose backgroundColor on iOS new Architecture, whenborderStyle is "dashed" or "dotted", and borderWidth is 0.Steps to reproduce
solid
. ObservebackgroundColor
is set correctly nowReact Native Version
0.74.3
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/shubhamguptadream11/reproducer-react-native-bg-color-view
Screenshots and Videos
Actual![simulator_screenshot_0AC87FC1-8C92-484C-927A-2C71BD699EF8](https://github.com/facebook/react-native/assets/85783070/5458732f-1bc7-4cd4-9e19-0239de2a06f9)
Expected![simulator_screenshot_8ECE9251-B3A8-4C90-8843-6DD0A9CB5BE7](https://github.com/facebook/react-native/assets/85783070/d59992bc-5f2d-43b8-ac31-10ad3f4505cc)