Changeset 88002 in webkit


Ignore:
Timestamp:
Jun 3, 2011 3:35:54 AM (13 years ago)
Author:
dominicc@chromium.org
Message:

2011-06-03 Dominic Cooney <dominicc@chromium.org>

Reviewed by Kent Tamura.

Adds a test that keygen clones have the right shadow pseudoclass.
https://bugs.webkit.org/show_bug.cgi?id=61984

  • fast/html/clone-keygen-expected.txt: Added.
  • fast/html/clone-keygen.html: Added.
  • platform/win/Skipped: Test needs DRT functionality not in this port.

2011-06-03 Dominic Cooney <dominicc@chromium.org>

Reviewed by Kent Tamura.

Cloned keygen shadows should have -webkit-keygen-select pseudoclass.
https://bugs.webkit.org/show_bug.cgi?id=61984

When cloneNode's tag name-based cloning algorithm clones the
KeygenSelectElements of a keygen shadow as select elements. These
lack the -webkit-keygen-select pseudoclass.

Test: fast/html/clone-keygen.html

  • html/HTMLKeygenElement.cpp: (WebCore::KeygenSelectElement::cloneElementWithoutAttributesAndChildren): Create a KeygenSelectElement when being cloned.
Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r88000 r88002  
     12011-06-03  Dominic Cooney  <dominicc@chromium.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Adds a test that keygen clones have the right shadow pseudoclass.
     6        https://bugs.webkit.org/show_bug.cgi?id=61984
     7
     8        * fast/html/clone-keygen-expected.txt: Added.
     9        * fast/html/clone-keygen.html: Added.
     10        * platform/win/Skipped: Test needs DRT functionality not in this port.
     11
    1122011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>
    213
  • trunk/LayoutTests/platform/win/Skipped

    r87995 r88002  
    12861286# https://bugs.webkit.org/show_bug.cgi?id=59081
    12871287fast/dom/shadow
     1288fast/html/clone-keygen.html
    12881289fast/html/clone-range.html
    12891290inspector/elements/shadow-dom.html
  • trunk/Source/WebCore/ChangeLog

    r88001 r88002  
     12011-06-03  Dominic Cooney  <dominicc@chromium.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Cloned keygen shadows should have -webkit-keygen-select pseudoclass.
     6        https://bugs.webkit.org/show_bug.cgi?id=61984
     7
     8        When cloneNode's tag name-based cloning algorithm clones the
     9        KeygenSelectElements of a keygen shadow as select elements. These
     10        lack the -webkit-keygen-select pseudoclass.
     11
     12        Test: fast/html/clone-keygen.html
     13
     14        * html/HTMLKeygenElement.cpp:
     15        (WebCore::KeygenSelectElement::cloneElementWithoutAttributesAndChildren): Create a KeygenSelectElement when being cloned.
     16
    1172011-06-02  MORITA Hajime  <morrita@google.com>
    218       
  • trunk/Source/WebCore/html/HTMLKeygenElement.cpp

    r83256 r88002  
    6060        : HTMLSelectElement(selectTag, document, 0)
    6161    {
     62    }
     63
     64private:
     65    virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() const
     66    {
     67        return create(document());
    6268    }
    6369};
Note: See TracChangeset for help on using the changeset viewer.