mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibWeb: Import typo fix from the spec
This commit is contained in:
parent
5d57723ebf
commit
2f6de5d9ac
Notes:
github-actions[bot]
2025-03-19 17:37:51 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/2f6de5d9ac1 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4002 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 1 deletions
|
@ -1223,7 +1223,7 @@ GC::Ref<CSS::CSSStyleDeclaration> Window::get_computed_style(DOM::Element& eleme
|
|||
// 1. Parse pseudoElt as a <pseudo-element-selector>, and let type be the result.
|
||||
auto type = parse_pseudo_element_selector(CSS::Parser::ParsingParams(associated_document()), pseudo_element.value());
|
||||
|
||||
// 2. If type is failure, or is an ::slotted() or ::part() pseudo-element, let obj be null.
|
||||
// 2. If type is failure, or is a ::slotted() or ::part() pseudo-element, let obj be null.
|
||||
// FIXME: We can't pass a null element to CSSStyleProperties::create_resolved_style()
|
||||
if (!type.has_value()) {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue