2011-01-19 Chang Shu <chang.shu@nokia.com>
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 24 Jan 2011 21:33:13 +0000 (18:33 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 24 Jan 2011 21:48:27 +0000 (18:48 -0300)
commit402b427a43631fe4d98c18983a9aa81804d2a7b7
tree187880c1d85368528bb65efd8c553b7782bc2299
parent13c4ed2dcf4e12909a8f593d911cb0267560fdbd
2011-01-19  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=52056
        1. Fixed test cases in the above bug;
        2. Partially fixed test cases in other contentEditable bugs;
        3. Updated expected result for fast/dom/element-attribute-js-null.html.
           However, the test itself should be fixed later in bug 52057.

        * editing/editability/attr-invalid-string-expected.txt:
        * editing/editability/attr-invalid-string.html:
        * editing/editability/attr-missing-ancestor-false-expected.txt:
        * editing/editability/attr-missing-ancestor-false.html:
        * editing/editability/attr-missing-ancestor-true-expected.txt:
        * editing/editability/attr-missing-ancestor-true.html:
        * editing/editability/attr-missing-parent-ancestor-missing-expected.txt:
        * editing/editability/attr-missing-parent-ancestor-missing.html:
        * editing/editability/attr-missing-parent-false-expected.txt:
        * editing/editability/attr-missing-parent-false.html:
        * editing/editability/attr-missing-parent-true-expected.txt:
        * editing/editability/attr-missing-parent-true.html:
        * editing/editability/set-false-expected.txt:
        * editing/editability/set-inherit-parent-false-expected.txt:
        * editing/editability/set-inherit-parent-true-expected.txt:
        * editing/editability/set-invalid-value-expected.txt:
        * editing/editability/set-true-expected.txt:
        * editing/editability/set-value-caseinsensitive-expected.txt:
        * fast/dom/element-attribute-js-null-expected.txt:
2011-01-19  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Darin Adler.

        The return value of contentEditable() function should depend on the DOM attribute
        instead of render style userModify. The code change fixed test cases in the bug
        and partially fixed test cases in other contentEditable bugs;

        https://bugs.webkit.org/show_bug.cgi?id=52056

        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::contentEditable):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76145 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLElement.cpp
22 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/editability/attr-invalid-string-expected.txt
LayoutTests/editing/editability/attr-invalid-string.html
LayoutTests/editing/editability/attr-missing-ancestor-false-expected.txt
LayoutTests/editing/editability/attr-missing-ancestor-false.html
LayoutTests/editing/editability/attr-missing-ancestor-true-expected.txt
LayoutTests/editing/editability/attr-missing-ancestor-true.html
LayoutTests/editing/editability/attr-missing-parent-ancestor-missing-expected.txt
LayoutTests/editing/editability/attr-missing-parent-ancestor-missing.html
LayoutTests/editing/editability/attr-missing-parent-false-expected.txt
LayoutTests/editing/editability/attr-missing-parent-false.html
LayoutTests/editing/editability/attr-missing-parent-true-expected.txt
LayoutTests/editing/editability/attr-missing-parent-true.html
LayoutTests/editing/editability/set-false-expected.txt
LayoutTests/editing/editability/set-inherit-parent-false-expected.txt
LayoutTests/editing/editability/set-inherit-parent-true-expected.txt
LayoutTests/editing/editability/set-invalid-value-expected.txt
LayoutTests/editing/editability/set-true-expected.txt
LayoutTests/editing/editability/set-value-caseinsensitive-expected.txt
LayoutTests/fast/dom/element-attribute-js-null-expected.txt
WebCore/ChangeLog
WebCore/html/HTMLElement.cpp