mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Implement dominant-baseline for SVG text
This property determines the default baseline used to align content within the given box.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
90a211bf47
commit
f05bc7c0cd
Notes:
github-actions[bot]
2026-02-26 08:24:27 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/f05bc7c0cd3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8173 Reviewed-by: https://github.com/gmta ✅
@@ -0,0 +1,14 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 9 tests
|
||||
|
||||
9 Pass
|
||||
Pass Property dominant-baseline value 'auto'
|
||||
Pass Property dominant-baseline value 'text-bottom'
|
||||
Pass Property dominant-baseline value 'alphabetic'
|
||||
Pass Property dominant-baseline value 'ideographic'
|
||||
Pass Property dominant-baseline value 'middle'
|
||||
Pass Property dominant-baseline value 'central'
|
||||
Pass Property dominant-baseline value 'mathematical'
|
||||
Pass Property dominant-baseline value 'hanging'
|
||||
Pass Property dominant-baseline value 'text-top'
|
||||
@@ -0,0 +1,9 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Pass
|
||||
Pass e.style['dominant-baseline'] = "normal" should not set the property value
|
||||
Pass e.style['dominant-baseline'] = "none" should not set the property value
|
||||
Pass e.style['dominant-baseline'] = "alphabetic, ideographic" should not set the property value
|
||||
Pass e.style['dominant-baseline'] = "middle central" should not set the property value
|
||||
@@ -0,0 +1,14 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 9 tests
|
||||
|
||||
9 Pass
|
||||
Pass e.style['dominant-baseline'] = "auto" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "text-bottom" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "alphabetic" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "ideographic" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "middle" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "central" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "mathematical" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "hanging" should set the property value
|
||||
Pass e.style['dominant-baseline'] = "text-top" should set the property value
|
||||
Reference in New Issue
Block a user