Tested with lingering potions.
After throwing down a bunch of lingering potions (To create a "cloud"), I looked at some stained glass in my world. To my surprise, I was able to see the stained glass! nothing behind it, just the glass. I tried it with regular glass, and it did not work.
(P.S. The 2 blue rectangles are stained glass.)
Environment
Macbook Pro
Processor: 2.4 GHz Intel Core 2 Duo
Graphics: NVIDIA GeForce 320M 256 MB
Java version: Java 8, Version 66
Duplicate of MC-9553.