I have included a search input in my code like this:
<input type="search" placeholder="search" />
Webkit has different styles for an input field with the type 'search'.
One of these styles is displaying a cancel ('x') button on the right side of the input when text is entered.
However, if you are using a language that reads from right to left such as Hebrew or Arabic, the webkit cancel button still appears on the right side instead of left.
You can see this behavior in this example.
Do you think this is a bug in webkit?
If it is indeed a bug, is there a workaround to keep using
type="search"
in my code?