From 0a11232b9d13eaf667d036edb0dc4260ad58f9ea Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Thu, 21 Sep 2023 17:12:10 +0200 Subject: [PATCH] xilem_html: Fix DOM element table web_sys type (#136) --- 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),