Update getCssRule to exit on empty styles tag.
Test unit added.
Merge pull request #1703 from asturur/parsing-stroke-dash-array-+-misc

Update parser.js. Closes #1690.