Skip to content

Commit f712f54

Browse files
authored
Cleanup and refactor the main CSSStyleDeclaration class
* Stop making underscored ("private") properties and methods non-enumerable. We will eventually use jsdom's wrapper architecture to hide them instead. * Group the private properties into logical categories and make them closer to what the spec uses. * Remove the length setter. * Simplify indexed property handling and remove dead code. In the future jsdom's wrapper architecture will take care of many details here. * Rename arguments for clarity, notably "prior" to "priority". * Add jsdoc.
1 parent 91e5e73 commit f712f54

2 files changed

Lines changed: 344 additions & 367 deletions

File tree

0 commit comments

Comments
 (0)