diff --git a/content/canvas/test/test_canvas.html b/content/canvas/test/test_canvas.html index c98079af966..60f4259c40f 100644 --- a/content/canvas/test/test_canvas.html +++ b/content/canvas/test/test_canvas.html @@ -18539,6 +18539,102 @@ var ctx = canvas.getContext('2d'); ok(ctx.strokeStyle == '#000000', "ctx.strokeStyle == '#000000'"); +} + + + + +
Canvas test: 2d.text.align.default
+ + + + + +Canvas test: 2d.text.align.invalid
+ + + + + +Canvas test: 2d.text.baseline.default
+ + + + + +Canvas test: 2d.text.baseline.invalid
+ + @@ -24182,6 +24278,26 @@ function runTests() { } catch (e) { ok(false, "unexpected exception thrown in: test_2d_strokeStyle_default"); } + try { + test_2d_text_align_default(); + } catch (e) { + ok(false, "unexpected exception thrown in: test_2d_text_align_default"); + } + try { + test_2d_text_align_invalid(); + } catch (e) { + ok(false, "unexpected exception thrown in: test_2d_text_align_invalid"); + } + try { + test_2d_text_baseline_default(); + } catch (e) { + ok(false, "unexpected exception thrown in: test_2d_text_baseline_default"); + } + try { + test_2d_text_baseline_invalid(); + } catch (e) { + ok(false, "unexpected exception thrown in: test_2d_text_baseline_invalid"); + } try { test_2d_transformation_order(); } catch (e) {