Skip to content

Commit 215323a

Browse files
natebiggsCommit Queue
authored and
Commit Queue
committed
Fix broken links in dart:html package.
Fixes: #50247 Change-Id: Ia43cef267fa9f82702892c3a27cbaa81d71386c7 CoreLibraryReviewExempt: Doc update Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363440 Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
1 parent 88b7f08 commit 215323a

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

sdk/lib/html/dart2js/html_dart2js.dart

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13220,9 +13220,7 @@ class Element extends Node
1322013220
* Called by the DOM when this element has been inserted into the live
1322113221
* document.
1322213222
*
13223-
* More information can be found in the
13224-
* [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-attached-callback)
13225-
* draft specification.
13223+
* Warning: This API is part of multiple custom element APIs that are no [longer supported](https://github.com/dart-lang/sdk/issues/49536).
1322613224
*/
1322713225
void attached() {
1322813226
// For the deprecation period, call the old callback.
@@ -13233,8 +13231,7 @@ class Element extends Node
1323313231
* Called by the DOM when this element has been removed from the live
1323413232
* document.
1323513233
*
13236-
* More information can be found in the
13237-
* [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-detached-callback)
13234+
* Warning: This API is part of multiple custom element APIs that are no [longer supported](https://github.com/dart-lang/sdk/issues/49536).
1323813235
* draft specification.
1323913236
*/
1324013237
void detached() {
@@ -40617,9 +40614,7 @@ class _WrappedEvent implements Event {
4061740614
*
4061840615
* ## Other resources
4061940616
*
40620-
* * [Shadow DOM extensions to
40621-
* Event](http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-event)
40622-
* from W3C.
40617+
* * [Shadow trees](https://dom.spec.whatwg.org/#shadow-trees)
4062340618
*/
4062440619
// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#extensions-to-event
4062540620
List<Node> get path => wrapped.path as List<Node>;

tools/dom/src/dart2js_WrappedEvent.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ class _WrappedEvent implements Event {
7777
*
7878
* ## Other resources
7979
*
80-
* * [Shadow DOM extensions to
81-
* Event](http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-event)
82-
* from W3C.
80+
* * [Shadow trees](https://dom.spec.whatwg.org/#shadow-trees)
8381
*/
8482
// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#extensions-to-event
8583
List<Node> get path => wrapped.path as List<Node>;

tools/dom/templates/html/impl/impl_Element.darttemplate

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -865,9 +865,7 @@ $endif
865865
* Called by the DOM when this element has been inserted into the live
866866
* document.
867867
*
868-
* More information can be found in the
869-
* [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-attached-callback)
870-
* draft specification.
868+
* Warning: This API is part of multiple custom element APIs that are no [longer supported](https://github.com/dart-lang/sdk/issues/49536).
871869
*/
872870
void attached() {
873871
// For the deprecation period, call the old callback.
@@ -878,8 +876,7 @@ $endif
878876
* Called by the DOM when this element has been removed from the live
879877
* document.
880878
*
881-
* More information can be found in the
882-
* [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-detached-callback)
879+
* Warning: This API is part of multiple custom element APIs that are no [longer supported](https://github.com/dart-lang/sdk/issues/49536).
883880
* draft specification.
884881
*/
885882
void detached() {

0 commit comments

Comments
 (0)