layout: Fix CSS attr() function case sensitivity matching (#34574)

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
This commit is contained in:
Steven Novaryo 2024-12-14 01:29:52 +08:00 committed by GitHub
parent 681d7dca9b
commit 3b3db37f16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 26 additions and 10 deletions

View file

@ -847,8 +847,7 @@ impl<'dom> ::selectors::Element for ServoThreadSafeLayoutElement<'dom> {
}
fn is_html_element_in_html_document(&self) -> bool {
debug!("ServoThreadSafeLayoutElement::is_html_element_in_html_document called");
true
self.element.is_html_element_in_html_document()
}
#[inline]