Support for x-component element name and better locality for selectors

BUG=
R=sigmund@google.com

Review URL: https://chromiumcodereview.appspot.com//16055007