For the google+ feedback, how does it 'cut' its black overlay (a white rectangle) to create the highlight effect for its feedback, without cutting the html page? From this post, How does the Screenshot part of the Google+ Feedback system work?, I know that the highlights and blackouts are < div > tags and < canvas > tag.
I found a similar feedback in this website http://hertzen.com/experiments/jsfeedback/examples/combination/index.html, its highlight effect is also < div > tag and it uses CSS. However, its white rectangle is stack on top of the black overlay instead of 'cutting' through it. Hence, the highlight is not as clear as google's. Any insights on how google's feedback highlight function works? Is it through using canvas globalCompositeOperation? I tried to modify the codes to use canvas globalCompositeOperation, destination-out operation, but it cuts through the black overlay and html page. But it could be just me coding wrongly as I'm not very good in JavaScript. Any help would be much appreciated!!