inherit =
        (cb) => shaka.text.UITextDisplayer.inheritProperty_(parents, cb)
@param {!HTMLElement} cueElement
@param {!shaka.text.Cue} cue
@param {!Array<!shaka.text.Cue>} parents
@param {boolean} hasWrapper
@private