Open cloudRoutine opened 8 years ago
I'd be happy with this change, provided that it works on reasonable number of modern browsers (which I suspect it does).
This good enough? :wink:
Looks good.
The CSS solution could be more reliable too - the JS code behaved oddly when the parent elements are relative
, absolute
, etc. So, this needs some testing in the new version too.
CSS tooltips would make snippets generated by FSharp.Formatting usable in contexts where js execution is restricted. I think they would also simplify and cut down the size of the generated html pages
(^ play with this example)
the CSS pseudo classes make it easy to reuse tooltips at multiple points in the same snippet, and nothing as verbose as
would be needed anymore.
I'm no CSS expert, so there may be a more elegant way to implement this functionality.