layout: Add an implementation of process_resolved_font_style_query for Layout 2020 (#31436)

* layout: support setting canvas font

Signed-off-by: syvb <me@iter.ca>

* Update 2d.reset.state.font.html test

Signed-off-by: syvb <me@iter.ca>

---------

Signed-off-by: syvb <me@iter.ca>
This commit is contained in:
Smitty 2024-02-28 16:00:17 -05:00 committed by GitHub
parent a89bacb7c5
commit 5c87fe940e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 120 additions and 38 deletions

View file

@ -1,3 +0,0 @@
[2d.reset.state.font.html]
[check that the state is reset]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.text.font.parse.basic.html]
[Canvas test: 2d.text.font.parse.basic]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.text.font.parse.complex.html]
[Canvas test: 2d.text.font.parse.complex]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.text.font.parse.complex2.html]
[Canvas test: 2d.text.font.parse.complex2]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.text.font.parse.family.html]
[Canvas test: 2d.text.font.parse.family]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.text.font.parse.size.percentage.default.html]
[Canvas test: 2d.text.font.parse.size.percentage.default]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.text.font.parse.size.percentage.html]
[Canvas test: 2d.text.font.parse.size.percentage]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.text.font.parse.tiny.html]
[Canvas test: 2d.text.font.parse.tiny]
expected: FAIL

View file

@ -1,6 +1,3 @@
[parent-style-relative-units.html]
[Font-size based on canvas element font-size]
expected: FAIL
[Font-size based on canvas element line-height]
expected: FAIL