(&self, id: &LocalName, case_sensitivity: CaseSensitivity)
| 238 | |
| 239 | #[inline] |
| 240 | fn has_id(&self, id: &LocalName, case_sensitivity: CaseSensitivity) -> bool { |
| 241 | self.attributes() |
| 242 | .get(local_name!("id")) |
| 243 | .is_some_and(|id_attr| case_sensitivity.eq(id.as_bytes(), id_attr.as_bytes())) |
| 244 | } |
| 245 | |
| 246 | #[inline] |
| 247 | fn has_class(&self, name: &LocalName, case_sensitivity: CaseSensitivity) -> bool { |
nothing calls this directly
no test coverage detected