Setting the display of the pseudo element to none prevents access of the generated content in Chrome. See Hal D's comment here: http://davidwalsh.name/pseudo-element. You can work around this by setting display to block, and then line height, font size, and height all to 0.
Setting the display of the pseudo element to none prevents access of the generated content in Chrome. See Hal D's comment here: http://davidwalsh.name/pseudo-element. You can work around this by setting display to block, and then line height, font size, and height all to 0.