Google Chrome 131 has a bug: the text on the selected website will not be highlighted
IT Home News on November 20, recently some users found that the text highlighting function was abnormal when visiting certain websites using the latest version of Chromium-based browsers (such as Chrome 131). The reason seems to be a conflict between Tailwind CSS and the new selection style changes of Chrome 131.
On affected websites (such as the post editor of the X platform), users may still be able to select, copy, and paste text, but there is no visual indication to confirm the selected content. Even some users may not be able to copy and paste text at all, or encounter other problems when trying to select specific text.
Tailwind CSS has updated its CSS tools and provided corresponding solutions, but not all websites have implemented fixes. It is not clear how wide the scope of affected websites is.
This problem stems from the new selection style inheritance behavior introduced by Chrome 131 and other browsers based on the latest version of Chromium. In previous Chrome versions, the selection style was inherited from the ::selection pseudo-element of the selected element. Starting with Chrome 131, elements inherit the selection style behavior of their parent elements.
IT Home noticed that Adam Wathan, the creator of Tailwind CSS, has shared a solution on the X platform, but it may take some time to fix the website.
On affected websites (such as the post editor of the X platform), users may still be able to select, copy, and paste text, but there is no visual indication to confirm the selected content. Even some users may not be able to copy and paste text at all, or encounter other problems when trying to select specific text.
Tailwind CSS has updated its CSS tools and provided corresponding solutions, but not all websites have implemented fixes. It is not clear how wide the scope of affected websites is.
This problem stems from the new selection style inheritance behavior introduced by Chrome 131 and other browsers based on the latest version of Chromium. In previous Chrome versions, the selection style was inherited from the ::selection pseudo-element of the selected element. Starting with Chrome 131, elements inherit the selection style behavior of their parent elements.
IT Home noticed that Adam Wathan, the creator of Tailwind CSS, has shared a solution on the X platform, but it may take some time to fix the website.
IT之家注意到,Tailwind CSS 的创建者 Adam Wathan 已经在 X 平台上分享了解决方案,但网站修复可能需要一定时间