Changeset 91879 in webkit


Ignore:
Timestamp:
Jul 27, 2011 4:16:25 PM (13 years ago)
Author:
leviw@chromium.org
Message:

unicode-bidi:-webkit-plaintext does not work on <textarea>
https://bugs.webkit.org/show_bug.cgi?id=65074

Reviewed by Ryosuke Niwa.

Source/WebCore:

Fixing unicode-bidi style propagation into text control shadow trees.

Test: fast/text/international/unicode-bidi-plaintext-in-textarea.html

  • rendering/RenderTextControl.cpp:

(WebCore::RenderTextControl::adjustInnerTextStyle):

LayoutTests:

Fixing unicode-bidi propagation into text controls.

  • fast/text/international/unicode-bidi-plaintext-in-textarea.html: Added.
  • platform/mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Added.
  • platform/mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: Added.
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r91875 r91879  
     12011-07-27  Levi Weintraub  <leviw@chromium.org>
     2
     3        unicode-bidi:-webkit-plaintext does not work on <textarea>
     4        https://bugs.webkit.org/show_bug.cgi?id=65074
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Fixing unicode-bidi propagation into text controls.
     9
     10        * fast/text/international/unicode-bidi-plaintext-in-textarea.html: Added.
     11        * platform/mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Added.
     12        * platform/mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: Added.
     13
    1142011-07-27  Adrienne Walker  <enne@google.com>
    215
  • trunk/Source/WebCore/ChangeLog

    r91872 r91879  
     12011-07-27  Levi Weintraub  <leviw@chromium.org>
     2
     3        unicode-bidi:-webkit-plaintext does not work on <textarea>
     4        https://bugs.webkit.org/show_bug.cgi?id=65074
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Fixing unicode-bidi style propagation into text control shadow trees.
     9
     10        Test: fast/text/international/unicode-bidi-plaintext-in-textarea.html
     11
     12        * rendering/RenderTextControl.cpp:
     13        (WebCore::RenderTextControl::adjustInnerTextStyle):
     14
    1152011-07-27  Eric Carlson  <eric.carlson@apple.com>
    216
  • trunk/Source/WebCore/rendering/RenderTextControl.cpp

    r91556 r91879  
    124124{
    125125    // The inner block, if present, always has its direction set to LTR,
    126     // so we need to inherit the direction from the element.
     126    // so we need to inherit the direction and unicode-bidi style from the element.
    127127    textBlockStyle->setDirection(style()->direction());
     128    textBlockStyle->setUnicodeBidi(style()->unicodeBidi());
    128129
    129130    bool disabled = updateUserModifyProperty(node(), textBlockStyle);
Note: See TracChangeset for help on using the changeset viewer.