Re: [csswg-drafts] [css-page3] [cssom] Descriptors and properties (#9685)

I think this has been resolved in #5649:

  > So, here's a proposal. [...] `CSSPageProperties` for `@page` rules, with only the page descriptors
  
  > Is there any reason why we can't go for [...] `CSSPageDescriptors` [...] ?
  
  > RESOLVED: Having different interfaces for declarations blocks that expose a different set of descriptors/properties
  > RESOLVED: Go with emilio naming and Sam's amendment

In Chrome, `fontFaceRule.style.getPropertyValue('color')` currently returns `green` after `fontFaceRule.style.setProperty('color', 'green')`, which seems undesirable.

Similarly, I think `keyframeRule.style.setProperty('animation-duration', '1s')` should do nothing, as in Chrome but not Firefox, like `tryRule.style.setProperty('color', 'green')` (not supported by any browser).

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9685#issuecomment-1846657195 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 8 December 2023 07:01:32 UTC