New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 601399 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Not on Chrome anymore
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

getComputedStyle() gets wrong value for 'content' property

Reported by oscar.do...@marfeel.com, Apr 7 2016

Issue description

UserAgent: 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
 
Missing link with the example: https://jsfiddle.net/oscardom/kxygLo07/
Components: -Blink Blink>CSS

Comment 3 by timloh@chromium.org, Apr 11 2016

Owner: nainar@chromium.org
Status: WontFix (was: Unconfirmed)
This was an intentional change to align with specs. See  bug 597500  for more details.
Thanks for the feedback and the fast response.

Sign in to add a comment