always return URL values for image-taking properties on nsComputedDOMStyle

NEW
Unassigned

Status

()

Core
DOM: CSS Object Model
P3
normal
a year ago
a year ago

People

(Reporter: heycam, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

For properties that accept url() values for images, we should expose them from nsComputedDOMStyle as url() values even if we failed to produce an imgRequestProxy or failed to resolve a relative URL to an absolute one.

(See comments added in bug 1288302 to this effect.)
https://www.w3.org/TR/css3-values/#relative-urls says:

  When a <url> appears in the computed value of a property, it is resolved to an absolute URL,
  as described in the preceding paragraph. The computed value of a URL that the UA cannot resolve
  to an absolute URL is the specified value.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.