Does something like -moz-background-inline-policy
exist in Webkit? This property basically gives you the opportunity to specify how should background render for
This non-standard feature isn't implemented in other browsers. You'll need to wrap each line in a span, then apply the background to that span.
You could use javascript to sort out the spans for you if you needed to have dynamic text, but if it's possible to hardcode it then it shouldn't be too complex.