mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-18 23:12:02 +00:00
LibWeb/HTML: Return CSSStyleProperties from getComputedStyle()
Corresponds to 94fdd8ab1e
This commit is contained in:
parent
870915b594
commit
511e282002
Notes:
github-actions[bot]
2025-07-16 07:52:14 +00:00
Author: https://github.com/AtkinsSJ
Commit: 511e282002
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5461
Reviewed-by: https://github.com/gmta ✅
3 changed files with 5 additions and 5 deletions
|
@ -1272,8 +1272,8 @@ Variant<GC::Root<DOM::Event>, Empty> Window::event() const
|
|||
return Empty {};
|
||||
}
|
||||
|
||||
// https://w3c.github.io/csswg-drafts/cssom/#dom-window-getcomputedstyle
|
||||
GC::Ref<CSS::CSSStyleDeclaration> Window::get_computed_style(DOM::Element& element, Optional<String> const& pseudo_element) const
|
||||
// https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle
|
||||
GC::Ref<CSS::CSSStyleProperties> Window::get_computed_style(DOM::Element& element, Optional<String> const& pseudo_element) const
|
||||
{
|
||||
// 1. Let doc be elt’s node document.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue