mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Support stroke-linecap as attribute as well
This should have been part of #1714. (stroke-linecap still isn't implemented, but once it is, it will now work in attribute form as well.)
This commit is contained in:
parent
205155a7ab
commit
eafcd82e82
Notes:
github-actions[bot]
2024-10-29 22:38:01 +00:00
Author: https://github.com/nico
Commit: eafcd82e82
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2030
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ void SVGGraphicsElement::apply_presentational_hints(CSS::StyleProperties& style)
|
|||
NamedPropertyID(CSS::PropertyID::Fill),
|
||||
// FIXME: The `stroke` attribute and CSS `stroke` property are not the same! But our support is limited enough that they are equivalent for now.
|
||||
NamedPropertyID(CSS::PropertyID::Stroke),
|
||||
NamedPropertyID(CSS::PropertyID::StrokeLinecap),
|
||||
NamedPropertyID(CSS::PropertyID::StrokeWidth),
|
||||
NamedPropertyID(CSS::PropertyID::FillRule),
|
||||
NamedPropertyID(CSS::PropertyID::FillOpacity),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue