getComputedStyle() gets wrong value for 'content' property
Reported by
oscar.do...@marfeel.com,
Apr 7 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2702.0 Safari/537.36 Steps to reproduce the problem: 1. Create a div element 2. Set a value to 'content' CSS property using CSS 3. Get the value of the content css property using window.getComputedStyle(testDiv,null)["content"]; What is the expected behavior? It should return the value assigned to the property 'content' (as it happens in Chrome 49 or lower) What went wrong? It returns the value 'normal' instead of the corresponding value. Here is a link with a small piece of code. If you play it in Chrome 51 and Chrome 49 you can see the difference. Did this work before? Yes Chrome 49 Chrome version: 51.0.2702.0 Channel: canary OS Version: OS X 10.10.4 Flash Version: Shockwave Flash 21.0 r0
,
Apr 8 2016
,
Apr 11 2016
This was an intentional change to align with specs. See bug 597500 for more details.
,
Apr 11 2016
Thanks for the feedback and the fast response. |
|||
►
Sign in to add a comment |
|||
Comment 1 by oscar.do...@marfeel.com
, Apr 7 2016