New issue
Advanced search Search tips

Issue 719838 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug


Show other hotlists

Hotlists containing this issue:
style-dev-current


Sign in to add a comment

URL Image type custom properties have incorrect loaded state & intrinsicWidth/Hight/Ratio

Project Member Reported by rjwright@chromium.org, May 9 2017

Issue description

If you register a custom property with image syntax and url value and use it (e.g. make background-image: var(--my-image)) the loaded state will still be "unloaded" and the intrinsicWidth/Height/Ratio are null.

This can be seen in testcase t1 in LayoutTests/typedcssom/computedstyle/custom-properties.html, added in  https://codereview.chromium.org/2791193004

However the state & intrinsic attributes for background-image will be correct (see testcase t2 in the same file).
 
Cc: alancutter@chromium.org
Labels: -Pri-3 Hotlist-Interop Update-Monthly Pri-2
Status: Available (was: Untriaged)
Alan, do you know if this is the expected behavior?
Good question. I'm not sure if custom properties registered as <image> should actually load the image so that Typed OM can have this data.

Worth filing a spec issue against https://drafts.css-houdini.org/css-properties-values-api-1/ to clarify this.
Labels: BlockedBug Standards
Labels: -Update-Monthly
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 6

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: andruud@chromium.org
Status: Available (was: Untriaged)

Sign in to add a comment