Commit Graph

185 Commits

Author SHA1 Message Date
Robert O'Callahan
589c48df61 Bug 947588. Part 5: Fix tests to pass even if regular HTML content is not displaying hexboxes for control characters. r=jfkthame
--HG--
extra : rebase_source : 8eea41432c267b4ace85d1230c5dba76fe7cc3c4
2014-02-05 23:23:50 +13:00
Mats Palmgren
945c0cc094 Bug 957128 - Report hyphen breaks also for word-wrap:break-word (to display soft-hyphens). r=smontagu 2014-01-29 14:45:23 +00:00
Geoff Brown
738f3b46df Bug 936226 - (2) Adjust reftest manifests for Android x86; r=dminor 2013-11-17 10:23:17 -07:00
Jonathan Kew
0c39b384db bug 909344 - reftest for display of stray control characters. r=roc 2013-11-12 09:10:34 +00:00
Ed Morley
bd4653676c Backed out changeset f0d6d67fbc1e (bug 909344) for reftest failures in f0d6d67fbc1e 2013-11-12 15:17:31 +00:00
Jonathan Kew
ef53d8329c bug 909344 - reftest for display of stray control characters. r=roc 2013-11-12 12:58:18 +00:00
Jonathan Kew
4a5b8b4016 bug 797405 - adjust reftest annotations to account for switch from uniscribe/directwrite to harfbuzz for indic shaping. r=jdaggett 2013-11-05 13:49:13 +00:00
Mats Palmgren
cdb4ffd305 Bug 929991 - Tests for text-align: true X; 2013-10-27 20:56:32 +00:00
Jonathan Kew
60a897da37 bug 877203 pt 3 - update font prefs for Android to refer to Clear Sans. r=blassey 2013-10-23 22:04:40 +02:00
Jonathan Kew
07dfcd07e9 bug 854897 - prefer harfbuzz shaping for Indic text on WinXP. r=jdaggett 2013-08-05 21:06:09 +01:00
Jonathan Kew
3508f0fb9a bug 900975 - reftest for -moz-osx-font-smoothing on display:inline element. r=dbaron 2013-08-03 08:59:00 +01:00
John Daggett
ae8f359c4b Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-30 05:01:24 +09:00
Chris Lord
be8b24232e Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey 2013-07-04 14:53:33 +01:00
L. David Baron
1d8a7b6aa6 Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.

The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.

The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages.  There are no specific tests for font selection,
but font selection is known to use the same language data from style.

I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.

--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
Ehsan Akhgari
9b848f5568 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord
890997bd95 Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey
--HG--
extra : rebase_source : 75c2dc44bc3a8167b1699ab24da20c67075a182a
2013-05-29 15:26:37 +01:00
Trevor Saunders
4b16c76fb3 backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
6ce3ea6b45 Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey 2013-05-28 18:50:17 +01:00
Jonathan Kew
2245077183 bug 873902 - reftest for Arabic marks with Windows fonts. r=jdaggett 2013-05-21 13:45:41 +08:00
Michael Wu
78ce230297 Bug 840315 - Change default serif and sans serif fonts on gonk, r=jfkthame a=blocking-leo 2013-04-15 23:00:08 +02:00
Joel Maher
39d7e6b890 Bug 834737 - mark text/475092-pos.html as fails-if for gtk2Widget. r=bz 2013-03-15 10:11:50 -04:00
John Daggett
c19bf11f14 Bug 849976 - use HTTP(..) for reftests that require it. r=dholbert 2013-03-13 21:04:39 +09:00
Matt Woodrow
64caf6c648 Bug 702504 - Mark reftests that fail with the new resolution as fuzzy. r=roc 2013-03-12 09:21:30 +13:00
Jonathan Kew
2990ef8378 bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-02-22 13:36:02 +00:00
Jonathan Kew
c73155f4eb bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-02-22 13:36:00 +00:00
Phil Ringnalda
738d0c1fbf Back out ac6dff6a0811 and f97bc1de213a (bug 700022) for permaorange in b2g R6 2013-02-22 22:26:24 -08:00
Jonathan Kew
db5aabf340 bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-02-22 13:36:02 +00:00
Jonathan Kew
8e9aff2dd7 bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-02-22 13:36:00 +00:00
Joel Maher
454b0ce43a Bug 834737 - 2 text reftests fail while running unitests on ubuntu 12.04 on ec2 VMs. r=bz 2013-02-05 08:57:40 -05:00
Jonathan Kew
af13fc140c bug 833297 - reftest for preserving clusters across font-shaping boundary with graphite. r=jdaggett 2013-01-23 16:41:34 +00:00
Jonathan Kew
5b40cf36d9 backout 1458740cfd92 and 833978b3dadf (bug 700022) due to android-R4 and b2g-R10 orange 2013-01-21 11:22:49 +00:00
Jonathan Kew
e746e7545e bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-01-21 09:24:59 +00:00
Jonathan Kew
232b682f5f bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-01-21 09:24:55 +00:00
Jonathan Kew
f95673e5ad bug 831354 - test fix 9 - give the CGJ reftest a large line-height, so it's less sensitive to the metrics of any fallback font that happens to be found. 2013-01-19 13:42:19 +00:00
Jonathan Kew
cb368011c8 bug 831354 - test 'fix' 8 - mark remaining problematic tests as fuzzy on android. r=blassey 2013-01-19 10:30:28 +00:00
Phil Ringnalda
f62c0089ed Back out 823ab8a1c9c0:bc71821fcb9f (bug 831354) for b2g reftest failures
CLOSED TREE
2013-01-18 19:08:03 -08:00
Jonathan Kew
dfed5a23a8 bug 831354 - test 'fix' 8 - mark remaining problematic tests as fuzzy on android. r=blassey 2013-01-18 23:03:12 +00:00
L. David Baron
f9a61280bd Bug 831354, test fix 4: Make auto-hyphenation-2 not depend on different languages leading to the same font. r=jfkthame 2013-01-17 20:20:27 +00:00
L. David Baron
370f972666 Bug 702121, patch 3: Make the auto-hyphenation-{8,9,10} reftests not depend on picking the same fonts for different language or encoding values, to fix Android reftest failures from landing of bug 831354. r=jfkthame
--HG--
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-10-ref.html
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-8-ref.html
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-9-ref.html
2013-01-17 20:20:27 +00:00
Andrew Halberstadt
221179f50b Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Makoto Kato
f27b6cf373 Bug 820255 - U+205F (MEDIUM MATHEMATICAL SPACE) and U+1680 (OGHAM SPACE MARK) should break line. r=masayuki 2012-12-12 16:00:23 +09:00
Mats Palmgren
9c310a2c9f Bug 806284 - Resizing a RTL block with text-align:left does not reposition the lines. r=roc 2012-12-05 23:26:28 +01:00
Shriram Kunchanapalli
cb246a1698 Bug 799105: Adjusts the width and height to < 600px. r=smontagu. 2012-10-23 19:10:19 +05:30
Jonathan Kew
ef02f3e894 bug 715798 pt 2.5 - reftests to check Unicode emoji characters are not rendered blank. r=jrmuizel 2012-10-23 10:06:28 +01:00
Jonathan Kew
88748f1259 bug 772640 - reftests for rendering of decomposed char via OpenType and Graphite. r=jdaggett 2012-10-22 08:47:05 +01:00
Matt Woodrow
7507512379 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
6f5a5e2a30 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Cameron McCormack
0306878c88 Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron 2012-09-07 15:42:19 +10:00
L. David Baron
021ed89c27 Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame 2012-08-20 19:23:32 -07:00