New issue
Advanced search Search tips

Issue 881245 link

Starred by 5 users

Issue metadata

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



Sign in to add a comment

Can't set background-image with Typed OM

Project Member Reported by andruud@chromium.org, Sep 6

Issue description

Note that using a url() instead of a gradient works. That means that this likely has something to do with CSSUnsupportedStyleValue vs CSSURLImageValue.

Repro:

<!DOCTYPE html>
<style>
  div {
    width: 100px;
    height: 100px;
  }
</style>
<div id="target">
</div>
<script>
  target.attributeStyleMap.set('background-image', 'linear-gradient(green, green)');
  target.attributeStyleMap.set('background-color', 'red');
</script>
<p>
  There should be a green rect above.
</p>


 

Sign in to add a comment