NV / CSSOM

Unmaintained! ⚠️ CSS Object Model implemented in pure JavaScript. Also, a CSS parser.
https://nv.github.io/CSSOM/docs/parse.html
MIT License
752 stars 99 forks source link

"font-size" not accessible #112

Open Kal-Aster opened 3 years ago

Kal-Aster commented 3 years ago

Hi, thanks for this library.

I'm trying to access "font-size" on a CSSStyleDeclaration object like I would on the browser using .fontSize but apparently it is only accessible using ["font-size"]... I think this applies to all dashed properties, is this intended?