From dbd1666b17b22130bcce75e6255f376e6fbe256c Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 24 Sep 2024 11:45:33 +0200 Subject: Layout: Implement innerText/outerText (#33312) * Implement outerText on HtmlElement Signed-off-by: Shane Handley * Fixed some innerText/outerText bugs Signed-off-by: Benjamin Vincent Schulenburg * Unified innerText/outerText handling outside of Layout Before these 2 were treated separately and only within Layout would they end up calling the same method, now they are already unified within HTMLElement Signed-off-by: Benjamin Vincent Schulenburg * Address a few nits Signed-off-by: Martin Robinson * Added innerText support for `inline-flex` Signed-off-by: Benjamin Vincent Schulenburg --------- Signed-off-by: Shane Handley Signed-off-by: Benjamin Vincent Schulenburg Signed-off-by: Martin Robinson Co-authored-by: Shane Handley Co-authored-by: Martin Robinson --- components/script/dom/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/window.rs') diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 80267002f15..1622eecc896 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -2737,7 +2737,7 @@ fn debug_reflow_events(id: PipelineId, reflow_goal: &ReflowGoal, reason: &Reflow QueryMsg::OffsetParentQuery => "\tOffsetParentQuery", QueryMsg::StyleQuery => "\tStyleQuery", QueryMsg::TextIndexQuery => "\tTextIndexQuery", - QueryMsg::ElementInnerTextQuery => "\tElementInnerTextQuery", + QueryMsg::ElementInnerOuterTextQuery => "\tElementInnerOuterTextQuery", QueryMsg::InnerWindowDimensionsQuery => "\tInnerWindowDimensionsQuery", }, }; -- cgit v1.2.3