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

Issue 792328 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 545318



Sign in to add a comment

[css-typed-om] CSSUrlImageValue should set attributes to null if there was an error

Project Member Reported by shend@chromium.org, Dec 6 2017

Issue description

When there's an error loading a CSSUrlImageValue, its intrinsicWidth/Height/Ratio should be set to null. Currently they're being set to 0.

Test failure (typedcssom/stylevalue-subclasses/cssUrlImageValue.html):
FAIL Loading a CSSURLImageValue from a URL to an invalid image sets its state to error assert_equals: expected (object) null but got (number) 0

Spec: https://drafts.css-houdini.org/css-typed-om-1/#cssimagevalue
 
Owner: shanmug...@samsung.com
Status: Assigned (was: Available)
Status: Fixed (was: Assigned)

Sign in to add a comment