fixed a bug in dom.linter and added a new linter test for it

Change-Id: I397bf45059b64201ddf34209db8e32298c830aa3
Merge "fixed a bug in dom.linter and added a new linter test for it"