Fix LTR field handling:

* Restore .ltr class lost in the conversion to RTL as a build process.
 * Make email and url inputs always LTR.
 * Set an email field on user-edit to be LTR.

props MikeHansenMe, yoavf for initial patches.
fixes #26824.


git-svn-id: https://develop.svn.wordpress.org/trunk@27743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2014-03-26 17:11:47 +00:00
parent befc57bc7c
commit cce32aa627
3 changed files with 12 additions and 1 deletions

View File

@@ -374,6 +374,11 @@ ol.ol-decimal > li {
margin: 0 0 0.5em;
}
/* @noflip */
.ltr {
direction: ltr;
}
/* @noflip */
.code,
code {

View File

@@ -12,6 +12,12 @@ textarea {
box-sizing: border-box;
}
/* @noflip */
input[type="email"],
input[type="url"] {
direction: ltr;
}
input[type="checkbox"],
input[type="radio"] {
border: 1px solid #bbb;