mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0
This commit is contained in:
@@ -320,6 +320,19 @@
|
||||
_assertGreen(ctx, 100, 50);
|
||||
expected: green
|
||||
|
||||
- name: 2d.text.draw.fill.maxWidth.NaN
|
||||
desc: fillText handles maxWidth correctly
|
||||
testing:
|
||||
- 2d.text.draw.maxwidth
|
||||
code: |
|
||||
ctx.fillStyle = '#0f0';
|
||||
ctx.fillRect(0, 0, 100, 50);
|
||||
ctx.fillStyle = '#f00';
|
||||
ctx.font = '35px Arial, sans-serif';
|
||||
ctx.fillText('fail fail fail fail fail', 5, 35, NaN);
|
||||
_assertGreen(ctx, 100, 50);
|
||||
expected: green
|
||||
|
||||
- name: 2d.text.draw.stroke.basic
|
||||
desc: strokeText draws stroked text
|
||||
manual:
|
||||
|
||||
Reference in New Issue
Block a user