mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWeb: Avoid overwriting non-animated font-size when computing font
Previously if we would overwrite the non-animated font-size with the animated font-size if it was set. Gains us 8 WPT tests and means we now fail 9 others in line with other browsers.
This commit is contained in:
Notes:
github-actions[bot]
2025-09-19 09:08:54 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/64d2f0d55ab Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6072 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 560 tests
|
||||
|
||||
300 Pass
|
||||
260 Fail
|
||||
291 Pass
|
||||
269 Fail
|
||||
Pass background-color color(rgba) / values
|
||||
Fail background-color color(rgba) / events
|
||||
Pass background-position-x length(pt) / values
|
||||
@@ -407,23 +407,23 @@ Fail left percentage(%) / events
|
||||
Pass color color(rgba) / values
|
||||
Fail color color(rgba) / events
|
||||
Pass font-size length(pt) / values
|
||||
Pass font-size length(pt) / events
|
||||
Fail font-size length(pt) / events
|
||||
Pass font-size length(pc) / values
|
||||
Pass font-size length(pc) / events
|
||||
Fail font-size length(pc) / events
|
||||
Pass font-size length(px) / values
|
||||
Pass font-size length(px) / events
|
||||
Fail font-size length(px) / events
|
||||
Pass font-size length(em) / values
|
||||
Pass font-size length(em) / events
|
||||
Fail font-size length(em) / events
|
||||
Pass font-size length(ex) / values
|
||||
Pass font-size length(ex) / events
|
||||
Fail font-size length(ex) / events
|
||||
Pass font-size length(mm) / values
|
||||
Pass font-size length(mm) / events
|
||||
Fail font-size length(mm) / events
|
||||
Pass font-size length(cm) / values
|
||||
Pass font-size length(cm) / events
|
||||
Fail font-size length(cm) / events
|
||||
Pass font-size length(in) / values
|
||||
Pass font-size length(in) / events
|
||||
Fail font-size length(in) / events
|
||||
Pass font-size percentage(%) / values
|
||||
Pass font-size percentage(%) / events
|
||||
Fail font-size percentage(%) / events
|
||||
Pass font-weight font-weight(keyword) / values
|
||||
Pass font-weight font-weight(keyword) / events
|
||||
Pass font-weight font-weight(numeric) / values
|
||||
|
||||
Reference in New Issue
Block a user