Issue metadata
Sign in to add a comment
|
-webkit-slider-thumb no longer displays CSS :after content property
Reported by
bianch...@gmail.com,
Mar 13 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36 Example URL: https://dev2.verbol.com/chromebug.html?verbol=raw Steps to reproduce the problem: ::-webkit-slider-thumb:after { content: 'hello'; } is no longer a valid CSS rule as of Chrome 49. Here is a simple example that uses the above CSS. <!DOCTYPE html> <html> <head> <style> #myr { -webkit-appearance: none; width: 100%; height: 0 !important; margin: 0; } #myr::-webkit-slider-thumb { -webkit-appearance: none; height: 30px; width: 80px; line-height: 30px; border-radius: 15px; background: blue; font-size: 21px; text-align: center; color: white; } #myr::-webkit-slider-runnable-track { background: yellow; height: 30px; } #myr::-webkit-slider-thumb:after { content: "hello"; } </style> </head> <body> <input id="myr" type="range" /> </body> </html> What is the expected behavior? In this particular example, I would expect to see the word "hello" inside the slider thumb. What went wrong? ::-webkit-slider-thumb:after { content: 'hello'; } used to display the word "hello" in the slider thumb. On Chrome 48, the above URL shows this to work. Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? Yes Chrome v48 Does this work in other browsers? N/A Chrome version: 49.0.2623.87 Channel: stable OS Version: OS X 10.11.1 Flash Version: Shockwave Flash 21.0 r0 I realize that webkit-slider-thumb was a non-standard pseudo-element but I can't find any mention of change support for it in the Chrome 49 release notes. The reason this was useful before was that the :after {content: 'xxx' } property could be used dynamically to display the selected value of the range.
,
Mar 14 2016
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by rnimmagadda@chromium.org
, Mar 14 2016Labels: -Type-Compat M-50 OS-Linux OS-Windows Type-Bug-Regression
Owner: r...@opera.com
Status: Assigned (was: Unconfirmed)