mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Implement text-decoration-skip-ink painting
Use Skia's SkTextBlob::getIntercepts() to find where glyph outlines cross the underline/overline band, then split the decoration line into segments with gaps around those intersections.
This commit is contained in:
committed by
Tim Ledbetter
parent
18f01b2c4b
commit
3d2571b46e
Notes:
github-actions[bot]
2026-03-26 12:16:57 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/3d2571b46ed Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8606 Reviewed-by: https://github.com/tcl3 ✅
@@ -703,6 +703,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
|
||||
computed_values.set_image_rendering(computed_style.image_rendering());
|
||||
computed_values.set_pointer_events(computed_style.pointer_events());
|
||||
computed_values.set_text_decoration_line(computed_style.text_decoration_line());
|
||||
computed_values.set_text_decoration_skip_ink(computed_style.text_decoration_skip_ink());
|
||||
computed_values.set_text_decoration_style(computed_style.text_decoration_style());
|
||||
computed_values.set_text_transform(computed_style.text_transform());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user