Hello! I faced a problem with CSS in ios 13 - custom caret color, which can be defined by caret-color style is not working on first browser load. https://developer.mozilla.org/en-US/docs/Web/CSS/caret-color I provided an example in the attachment. This problem can be reproduced at least in ios 13.3, ios 13.6, and in ios 14.2 (browsers: safari, google chrome). In the example, I'm using an ios simulator, but actually, the problem is the same on real devices. IOS Version in the example is 13.3.
Created attachment 435059 [details] example of invalid caret color
This doesn't reproduce for me on iOS 15 (I tested iPhone w/ software keyboard and iPad with hardware keyboard).
(In reply to Wenson Hsieh from comment #2) > This doesn't reproduce for me on iOS 15 (I tested iPhone w/ software > keyboard and iPad with hardware keyboard). Never mind, I'm able to reproduce now — this only happens if I focus the input field right after backgrounding Safari and bringing it to the foreground again.
<rdar://problem/81674787>
Created attachment 435159 [details] Patch
Comment on attachment 435159 [details] Patch Thanks for the review!
Committed r280767 (240352@main): <https://commits.webkit.org/240352@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435159 [details].
Thank you for the patch. Is it possible to use it in my safari 13 (ios 13)?
(In reply to Rostislav Shtanko from comment #8) > Thank you for the patch. Is it possible to use it in my safari 13 (ios 13)? Unfortunately, not on iOS 13. I will leave an update when this fix makes it into a beta release of iOS — thank you for your patience!