style-mode: Make style-for-url more functional.
style-mode: Make style-for-url more functional.

In particular, this allows us to add more predicates without repeating the loop
boilerplate.

jmercouris/NeXT,jmercouris/NeXT