Skip to content

Commit

Permalink
Un-deprecate ShadowRoot.p.delegatesFocus (#4508)
Browse files Browse the repository at this point in the history
whatwg/dom#974 added ShadowRoot.prototype.delegatesFocus
to the DOM spec (see whatwg/dom@f346858). And
per whatwg/dom#931 (comment)
(https://trac.webkit.org/r276585) it’s been implemented in WebKit.

So given that it’s now part of the DOM standard, and implemented in multiple
browsers, this change drops the Deprecated_Header macro from the source — as
well as fixing the spec URL.

Related BCD change: mdn/browser-compat-data#10102
  • Loading branch information
sideshowbarker authored Apr 27, 2021
1 parent c317bc0 commit d92c1a9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions files/en-us/web/api/shadowroot/delegatesfocus/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
slug: Web/API/ShadowRoot/delegatesFocus
tags:
- API
- Non-standard
- Property
- Reference
- ShadowRoot
- Web Components
- delegatesFocus
- shadow dom
---
<div>{{APIRef("Shadow DOM")}}{{Deprecated_Header}}</div>
<div>{{APIRef("Shadow DOM")}}</div>

<p>The <strong><code>delegatesFocus</code></strong> read-only property of the
{{domxref("ShadowRoot")}} interface returns a boolean that indicates whether
Expand Down Expand Up @@ -50,10 +49,10 @@ <h2 id="Specifications">Specifications</h2>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG',
'#shadowroot-delegates-focus', 'delegatesFocus')}}
<td>{{SpecName('DOM WHATWG',
'#dom-shadowroot-delegatesfocus', 'delegatesFocus')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td>{{Spec2('DOM WHATWG')}}</td>
<td></td>
</tr>
</tbody>
Expand Down

0 comments on commit d92c1a9

Please sign in to comment.