code: function getUnstylableParent( element )
  	{
  		var unstylable,
  			editable;
  
  		while ( ( element = element.getParent() ) )
  		{
  			if ( element.getName() == 'body' )
  				break;
  
  			if ( element.getAttribute( 'data-nostyle' ) )
  				unstylable = element;
  			else if ( !editable )
  			{
  				var contentEditable = element.getAttribute( 'contentEditable' );
  
  				if ( contentEditable == 'false' )
  					unstylable = element;
  				else if ( contentEditable == 'true' )
  					editable = 1;
  			}
  		}
  
  		return unstylable;
  	}
docs: Gets the parent element which blocks the styling for an element. This can be done through read-only elements (contenteditable=false) or elements with the "data-nostyle" attribute.