kueblc / LDT

Lightweight in browser syntax highlighting
https://kueblc.github.io/LDT/
159 stars 17 forks source link

iOS text shadow #9

Closed honkskillet closed 3 years ago

honkskillet commented 10 years ago

I know it's not one of the officially supported browsers, but I tried it in iOS (UIWebView). There is a shadow of the text. It looks like maybe the underlying textarea is being render in light gray and is slightly offset a couple pixels. Also it is murderously slow, even for a small bit of text. On the plus side, it reacts to touch events properly (no 300ms delay, drag selection ok, etc.). These are issues that make other similar solutions like codeMirror unusable on iOS.

yckart commented 9 years ago

:+1:

Yaffle commented 8 years ago

Did you try using -webkit-text-fill-color: transparent; instead of semi-transparent colors ?

    -webkit-text-fill-color: transparent;
Yaffle commented 4 years ago

Modern browsers support caret-color property. So, it is possible to set color to transparent and caret-color to black.

kueblc commented 4 years ago

Brilliant @Yaffle, perhaps it's time to revive this project

kueblc commented 3 years ago

This has been implemented, thanks @Yaffle