mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
LibWeb/CSS: Add the text-rendering
property
This commit is contained in:
parent
7152821c8f
commit
68035a2b8d
Notes:
github-actions[bot]
2025-06-27 15:53:08 +00:00
Author: https://github.com/tcl3
Commit: 68035a2b8d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5236
Reviewed-by: https://github.com/AtkinsSJ ✅
19 changed files with 106 additions and 10 deletions
|
@ -792,6 +792,12 @@ TextOverflow ComputedProperties::text_overflow() const
|
|||
return keyword_to_text_overflow(value.to_keyword()).release_value();
|
||||
}
|
||||
|
||||
TextRendering ComputedProperties::text_rendering() const
|
||||
{
|
||||
auto const& value = property(PropertyID::TextRendering);
|
||||
return keyword_to_text_rendering(value.to_keyword()).release_value();
|
||||
}
|
||||
|
||||
PointerEvents ComputedProperties::pointer_events() const
|
||||
{
|
||||
auto const& value = property(PropertyID::PointerEvents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue