Open Bug 1311263 Opened 3 years ago Updated 3 years ago

always return URL values for image-taking properties on nsComputedDOMStyle

Categories

(Core :: DOM: CSS Object Model, defect, P3)

defect

Tracking

()

People

(Reporter: heycam, Unassigned)

References

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.