function isChildOf(ctrl, parent) {
		while (ctrl) {
			if (ctrl == parent) {
				return true;
			}

			ctrl = ctrl.parent();
		}
	}
This class creates a floating panel.

@-x-less FloatPanel.less
@class tinymce.ui.FloatPanel
@extends tinymce.ui.Panel
@mixes tinymce.ui.Movable
@mixes tinymce.ui.Resizable