From ddf38b81a88cb9ffc1fd365a417ff2963f24a3da Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Mon, 18 Sep 2023 00:23:17 +0200 Subject: [PATCH] xilem_html: Fix DOM element table web_sys type --- crates/xilem_html/src/element/elements.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/xilem_html/src/element/elements.rs b/crates/xilem_html/src/element/elements.rs index 4675cc9db..03b1dba9f 100644 --- a/crates/xilem_html/src/element/elements.rs +++ b/crates/xilem_html/src/element/elements.rs @@ -200,7 +200,7 @@ elements!( (Caption, caption, web_sys::HtmlTableCaptionElement), (Col, col, web_sys::HtmlTableColElement), (Colgroup, colgroup, web_sys::HtmlTableColElement), - (Table, table, web_sys::HtmlTableSectionElement), + (Table, table, web_sys::HtmlTableElement), (Tbody, tbody, web_sys::HtmlTableSectionElement), (Td, td, web_sys::HtmlTableCellElement), (Tfoot, tfoot, web_sys::HtmlTableSectionElement), @@ -217,7 +217,7 @@ elements!( (Legend, legend, web_sys::HtmlLegendElement), (Meter, meter, web_sys::HtmlMeterElement), (Optgroup, optgroup, web_sys::HtmlOptGroupElement), - (Option, option, web_sys::HtmlOptionElement), + (OptionElement, option, web_sys::HtmlOptionElement), (Output, output, web_sys::HtmlOutputElement), (Progress, progress, web_sys::HtmlProgressElement), (Select, select, web_sys::HtmlSelectElement),