3 ms·
I would guess no, since it includes only a mock of the DOM. But really, are element locations something you want to test?
by a-priori 16y ago
I would guess no, since it includes only a mock of the DOM. But really, are element locations something you want to test?
- dools 16y agoDefinitely! But it would then also require a CSS renderer. Automated testing of something like Decal CMS (decalcms.com) where we provide javascript which manipulates the DOM but allows the designer to plug whatever markup/CSS they like into the system means that automated testing is incredibly difficult and does rely on actually checking for the position (and other computed styles) of an element after we've run certain pieces of code.
- EGreg 16y agoReally, YES. Half of the stuff I want to test is that the right stuff is showing up in the right place. Why, what would you want to test?