fix style sheet parsing
Merge pull request #9988 from adobe/randy/issue-9875-squashed

Fix style sheet parsing