ckeditor/ckeditor-dev — pull request #57 by niklam (2013-09-10 08:55:49+00:00)
Title: Allow attributes when getting ascendants with getAscendant

Allowing attribute check for elements gives a possibility to match elements with specific attribute. This is handy for creating complex custom templates and accessing them later on.

I'm creating templatesExtended plugin which relies on this behavior.

This only supports check for one attribute.