From 0e14cc1a897f09335f23829792a98e07d61c9b08 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Fri, 21 Oct 2011 08:12:44 +0100 Subject: [PATCH] bug 695639 - test for GetFontFacesForText with textrun wrapped onto multiple lines. r=roc --- layout/inspector/tests/chrome/Makefile.in | 2 + .../inspector/tests/chrome/test_bug695639.css | 8 ++ .../inspector/tests/chrome/test_bug695639.xul | 80 +++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 layout/inspector/tests/chrome/test_bug695639.css create mode 100644 layout/inspector/tests/chrome/test_bug695639.xul diff --git a/layout/inspector/tests/chrome/Makefile.in b/layout/inspector/tests/chrome/Makefile.in index 4518bb32139..aac68770d0a 100644 --- a/layout/inspector/tests/chrome/Makefile.in +++ b/layout/inspector/tests/chrome/Makefile.in @@ -47,6 +47,8 @@ include $(topsrcdir)/config/rules.mk _CHROME_FILES =\ test_bug467669.xul \ test_bug467669.css \ + test_bug695639.xul \ + test_bug695639.css \ GentiumPlus-R.woff \ $(NULL) diff --git a/layout/inspector/tests/chrome/test_bug695639.css b/layout/inspector/tests/chrome/test_bug695639.css new file mode 100644 index 00000000000..549537498ce --- /dev/null +++ b/layout/inspector/tests/chrome/test_bug695639.css @@ -0,0 +1,8 @@ +@font-face { + font-family: gent; + src: url(GentiumPlus-R.woff) format("woff"); +} + +.test { + font-family: gent, sans-serif; +} diff --git a/layout/inspector/tests/chrome/test_bug695639.xul b/layout/inspector/tests/chrome/test_bug695639.xul new file mode 100644 index 00000000000..cc2c879c9b6 --- /dev/null +++ b/layout/inspector/tests/chrome/test_bug695639.xul @@ -0,0 +1,80 @@ + + + + + + + + + + + + Mozilla Bug 695639 +
Hello 你好 world
+ + +