- From: Felipe Erias via GitHub <noreply@w3.org>
- Date: Wed, 04 Mar 2026 12:18:49 +0000
- To: public-css-archive@w3.org
Hi, I would like to ask about the effect on CSSOM/Typed OM.
For example:
```js
element.style.backgroundSize = '1px';
const cssom_value = element.style.backgroundSize;
const typed_om_value = element.attributeStyleMap.get('background-size');
```
What should be the value of `cssom_value` and `typed_om_value`?
Should we also update tests like [css/css-typed-om/the-stylepropertymap/properties/background-size.html](https://github.com/web-platform-tests/wpt/blob/master/css/css-typed-om/the-stylepropertymap/properties/background-size.html) to mark `<length>` and `<percentage>` as unsupported?
--
GitHub Notification of comment by felipeerias
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7802#issuecomment-3997200546 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 March 2026 12:18:50 UTC