Changeset 276585 in webkit


Ignore:
Timestamp:
Apr 26, 2021, 3:56:01 AM (4 years ago)
Author:
rniwa@webkit.org
Message:

Implement ShadowRoot.prototype.delegatesFocus attribute
https://bugs.webkit.org/show_bug.cgi?id=224805

Reviewed by Antti Koivisto.

LayoutTests/imported/w3c:

Rebaselined now that test casses are passing.

  • web-platform-tests/shadow-dom/focus/ShadowRoot-delegatesFocus-expected.txt:

Source/WebCore:

Added the IDL attribute. Chrome had supported this IDL attribute for ages.

Test: imported/w3c/web-platform-tests/shadow-dom/focus/ShadowRoot-delegatesFocus.html

  • dom/ShadowRoot.idl:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r276584 r276585  
     12021-04-26  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Implement ShadowRoot.prototype.delegatesFocus attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=224805
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Rebaselined now that test casses are passing.
     9
     10        * web-platform-tests/shadow-dom/focus/ShadowRoot-delegatesFocus-expected.txt:
     11
    1122021-04-25  Ryosuke Niwa  <rniwa@webkit.org>
    213
  • trunk/LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/ShadowRoot-delegatesFocus-expected.txt

    r276584 r276585  
    11
    2 FAIL default delegatesFocus value assert_equals: expected (boolean) false but got (undefined) undefined
    3 FAIL delegatesFocus set to false in init dict assert_equals: expected (boolean) false but got (undefined) undefined
    4 FAIL delegatesFocus set to true in init dict assert_equals: expected (boolean) true but got (undefined) undefined
     2PASS default delegatesFocus value
     3PASS delegatesFocus set to false in init dict
     4PASS delegatesFocus set to true in init dict
    55
  • trunk/Source/WebCore/ChangeLog

    r276582 r276585  
     12021-04-26  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Implement ShadowRoot.prototype.delegatesFocus attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=224805
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Added the IDL attribute. Chrome had supported this IDL attribute for ages.
     9
     10        Test: imported/w3c/web-platform-tests/shadow-dom/focus/ShadowRoot-delegatesFocus.html
     11
     12        * dom/ShadowRoot.idl:
     13
    1142021-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>
    215
  • trunk/Source/WebCore/dom/ShadowRoot.idl

    r267939 r276585  
    2929] interface ShadowRoot : DocumentFragment {
    3030    readonly attribute ShadowRootMode mode;
     31    readonly attribute boolean delegatesFocus;
    3132    readonly attribute Element host;
    3233    attribute EventHandler onslotchange;
Note: See TracChangeset for help on using the changeset viewer.