mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Add stroke-linecap attribute and plumb it to SVGGraphicsElement
SVGGraphicsElement then goes ahead and does nothing with it for now.
This commit is contained in:
parent
202bfabdc6
commit
cc0cfd044b
Notes:
github-actions[bot]
2024-10-10 23:28:42 +00:00
Author: https://github.com/nico
Commit: cc0cfd044b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1714
Reviewed-by: https://github.com/AtkinsSJ ✅
11 changed files with 41 additions and 1 deletions
|
@ -234,6 +234,13 @@ Optional<float> SVGGraphicsElement::fill_opacity() const
|
|||
return layout_node()->computed_values().fill_opacity();
|
||||
}
|
||||
|
||||
Optional<CSS::StrokeLinecap> SVGGraphicsElement::stroke_linecap() const
|
||||
{
|
||||
if (!layout_node())
|
||||
return {};
|
||||
return layout_node()->computed_values().stroke_linecap();
|
||||
}
|
||||
|
||||
Optional<float> SVGGraphicsElement::stroke_opacity() const
|
||||
{
|
||||
if (!layout_node())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue