Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[web:tests] switch to new HTML DOM matcher #52354

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/web_ui/lib/src/engine/dom.dart
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,9 @@ extension DomElementExtension on DomElement {
external set _id(JSString id);
set id(String id) => _id = id.toJS;

@JS('innerHtml')
external set _innerHtml(JSString? html);
set innerHtml(String? html) => _innerHtml = html?.toJS;
@JS('innerHTML')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱

external set _innerHTML(JSString? html);
set innerHTML(String? html) => _innerHTML = html?.toJS;

@JS('outerHTML')
external JSString? get _outerHTML;
Expand Down
Loading