[Webkit-unassigned] [Bug 71188] New: unicode-bidi:-webkit-plaintext on by default for <textarea dir=ltr|rtl>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 30 10:34:27 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=71188
Summary: unicode-bidi:-webkit-plaintext on by default for
<textarea dir=ltr|rtl>
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P1
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aharon at google.com
CC: eric at webkit.org, playmobil at google.com,
rniwa at webkit.org, leviw at chromium.org
unicode-bidi:-webkit-plaintext is supposed to be on by default for <textarea dir=auto>. However, currently (at least in Chrome 15.0.874.106 and 17.0.919.0), it is also on by default for <textarea dir=ltr> and <textarea dir=rtl>. This breaks backwards compatibility.
test case: data:text/html,<textarea dir=rtl>the period should be on the left.</textarea>
According to the HTML spec (http://dev.w3.org/html5/spec/Overview.html#bidirectional-text), the correct default stylesheet as relating to unicode-bidi is supposed to be:
[dir] { unicode-bidi: embed; }
bdi, bdi[dir], output, output[dir], [dir=auto i] { unicode-bidi: isolate; }
bdo, bdo[dir] { unicode-bidi: bidi-override; }
bdo[dir=auto i] { unicode-bidi: bidi-override isolate; }
textarea[dir=auto i], pre[dir=auto i] { unicode-bidi: plaintext; }
Also see https://bugs.webkit.org/show_bug.cgi?id=70373 for another bug due to an incorrect default being set for unicode-bidi.
Kudos to Amir Aharoni on finding this bug.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list