如何更改可调整大小的文本区域的光标? [英] How to change cursor for resizable textarea?

查看:47
本文介绍了如何更改可调整大小的文本区域的光标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个HTML元素 textarea ,该元素具有已定义的CSS规则 {resize:both} .在FF中,当用户将鼠标移到 textarea 的右下角时,光标会根据属性 resize 的值更改,但在Chrome中,光标不会更改.

I have an HTML element textarea with defined CSS rule { resize: both }. In FF when the user mouse over the right bottom corner of textarea the cursor changed according to value of property resize, but in Chrome cursor doesn't change.

请在FF和Chrome中打开此示例,以检查差异.

Please open this example in FF and Chrome to check the difference.

这是Google Chrome的错误吗,我可以自己使用CSS修复它吗?

Is it a bug of Google Chrome and can I fix it with CSS on my side?

更新

我向Chromium报告了一个错误: https://bugs.chromium.org/p/chromium/issues/detail?id = 942017

I reported bug to Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=942017

更新2

该错误已在Chrome 80中修复.

The bug was fixed in Chrome 80.

推荐答案

由浏览器本身渲染,无法使用CSS设计

This is rendered by browser itself cant be designed using css

这篇关于如何更改可调整大小的文本区域的光标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆