According to the spec the ::first-line pseudo-element do not apply to grid containers: "the ::first-line and ::first-letter pseudo-elements do not apply to grid containers." I'll provide a patch to add coverage for ::first-line which is already working as expected. ::first-letter needs some changes in the code, so it'd be done in a separated patch. This has already landed in Blink: https://src.chromium.org/viewvc/blink?view=rev&revision=179640
Created attachment 236309 [details] Patch
Comment on attachment 236309 [details] Patch r=me
Comment on attachment 236309 [details] Patch Clearing flags on attachment: 236309 Committed r173169: <http://trac.webkit.org/changeset/173169>
All reviewed patches have been landed. Closing bug.