Can't set background-image with Typed OM |
|
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 |
|