nl_tokens: Check if the given element is fixed or is inside a fixed parent
pl_tokens: function isFixed ( element ) { var nodeName = element . nodeName ; if ( nodeName === 'BODY' || nodeName === 'HTML' ) { return false ; } if ( getStyleComputedProperty ( element , 'position' ) === 'fixed' ) { return <mask> ; } var parentNode = getParentNode ( element ) ; if ( ! parentNode ) { return false ; } return isFixed ( parentNode ) ; }