If pokemon faints because of the field its attack works after it goes down.
On screenshot I used Icicle Crash. It took 90-95% and then fainted because of the field. After that its Glare activated and... yeah.
I don't know if it was already reported.
(and sorry for broken english)