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

Issue 632242 link

Starred by 6 users

Issue metadata

Status: Fixed
Owner:
Email to this user bounced
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

CSS Custom Properties serialize incorrectly when set to css-wide keywords (e.g. initial, inherit)

Project Member Reported by timloh@chromium.org, Jul 28 2016

Issue description

Setting a custom property to a css-wide keyword (initial, inherit, unset) works correctly for inheritance, but serialization is broken:

>> $0.style.cssText = '--a: initial ; --b:inherit'
>> $0.style.cssText
"--a:; --b:;"
>> $0.style.getPropertyValue("--a")
""

Interestingly, FF also does the wrong thing, "--ainitial; --binitial;".
 
Owner: rob.b...@samsung.com
Status: Assigned (was: Available)
Having a look.
Status: Fixed (was: Assigned)
Fixed by r408655.

Comment 4 by timloh@chromium.org, Oct 14 2016

 Issue 655756  has been merged into this issue.
Cc: shans@chromium.org
 Issue 571535  has been merged into this issue.

Sign in to add a comment