Check for valid arguments before processing canvas.fillText

This commit is contained in:
Utsav Oza 2020-05-22 15:51:36 +05:30
parent 68f641ee78
commit 726f7d7209
4 changed files with 44 additions and 38 deletions

View file

@ -22,6 +22,7 @@ canvas_traits = { path = "../canvas_traits" }
crossbeam-channel = "0.4"
cssparser = "0.27"
euclid = "0.20"
font-kit = "0.7"
fnv = "1.0"
gleam = "0.11"
half = "1"
@ -30,7 +31,7 @@ log = "0.4"
lyon_geom = "0.14"
num-traits = "0.2"
pixels = { path = "../pixels" }
raqote = "0.8"
raqote = { version = "0.8", features = ["text"] }
servo_config = { path = "../config" }
sparkle = "0.1.24"
# NOTE: the sm-angle feature only enables ANGLE on Windows, not other platforms!