So we've noticed there are font and coulor issues with the placeholders on all safari-based browsers. Chrome works fine (or perhaps has a built-in mechanism to recover from unreadable CSS).
This is our form for safari (you'll notice font and colour for the first 3 fields controlled by the iFrame do not match; the other 3 are ours):
This is our form for chrome (and firefox):
We pass the following CSS to the iFrame (encoded):
input_css = %( background-color: #F6F7FB; font-family: Roboto; display: block; float: inherit; font-size: 16px; font-weight: 400; height: 40px; width: 100%; z-index: inherit; margin-bottom: 10px !important; border: 1px solid #e2e8ed !important; border-radius: 5px; padding: 10px 10px; outline: none; &::placeholder { color: #757575 !important; } )
And the result in the head of the returned iFrame is this:
you'll notice the brackets surrounding the placeholder directives have been replaced by underscores. Also, the Roboto font directive is present but still completely ignored by the browser.
Any ideas?
In reply to MichelJam: