Commit Graph

176 Commits

Author SHA1 Message Date
Jonathan Kew
cb73405190 bug 854897 - prefer harfbuzz shaping for Indic text on WinXP. r=jdaggett 2013-08-05 21:06:09 +01:00
Jonathan Kew
98ffe8946b bug 900975 - reftest for -moz-osx-font-smoothing on display:inline element. r=dbaron 2013-08-03 08:59:00 +01:00
John Daggett
48ee16093c Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-30 05:01:24 +09:00
Chris Lord
602d006cfc 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
b31121a2a1 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
6c61de1ac0 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
7f4d4699cf 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
4a839150dd 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
b7ad6dc419 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
2551d18d29 bug 873902 - reftest for Arabic marks with Windows fonts. r=jdaggett 2013-05-21 13:45:41 +08:00
Michael Wu
9297eb10f3 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
4c619a8bcf Bug 834737 - mark text/475092-pos.html as fails-if for gtk2Widget. r=bz 2013-03-15 10:11:50 -04:00
John Daggett
b76d808dbf Bug 849976 - use HTTP(..) for reftests that require it. r=dholbert 2013-03-13 21:04:39 +09:00
Matt Woodrow
f735930263 Bug 702504 - Mark reftests that fail with the new resolution as fuzzy. r=roc 2013-03-12 09:21:30 +13:00
Jonathan Kew
c9fb9d7c5c bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-02-22 13:36:02 +00:00
Jonathan Kew
2cd9e25c43 bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-02-22 13:36:00 +00:00
Phil Ringnalda
ef7e288a28 Back out ac6dff6a0811 and f97bc1de213a (bug 700022) for permaorange in b2g R6 2013-02-22 22:26:24 -08:00
Jonathan Kew
1233b9cff5 bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-02-22 13:36:02 +00:00
Jonathan Kew
99396a59d3 bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-02-22 13:36:00 +00:00
Joel Maher
54d973cc7b 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
a7a92fe4cd bug 833297 - reftest for preserving clusters across font-shaping boundary with graphite. r=jdaggett 2013-01-23 16:41:34 +00:00
Jonathan Kew
60b739b0ed backout 1458740cfd92 and 833978b3dadf (bug 700022) due to android-R4 and b2g-R10 orange 2013-01-21 11:22:49 +00:00
Jonathan Kew
6e4845508d bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-01-21 09:24:59 +00:00
Jonathan Kew
0e33dd987a bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-01-21 09:24:55 +00:00
Jonathan Kew
f01ee6d61f 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
ece0b7d7f5 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
68d9bd5dec Back out 823ab8a1c9c0:bc71821fcb9f (bug 831354) for b2g reftest failures
CLOSED TREE
2013-01-18 19:08:03 -08:00
Jonathan Kew
488949a1c8 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
7fa8875f92 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
0ea6ccecbf 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
4a18b30019 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Makoto Kato
b108c37738 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
4795bfa1d7 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
139ebcaff0 Bug 799105: Adjusts the width and height to < 600px. r=smontagu. 2012-10-23 19:10:19 +05:30
Jonathan Kew
966af42211 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
33aed8417a bug 772640 - reftests for rendering of decomposed char via OpenType and Graphite. r=jdaggett 2012-10-22 08:47:05 +01:00
Matt Woodrow
58d3d65ab2 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
0b20201fde Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Cameron McCormack
7b1c6a96f0 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
8861dbb7d3 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
Cameron McCormack
e6e89e5e75 Bug 774968 - line-height percentage value not computed accurately. r=dbaron
--HG--
extra : rebase_source : 93885c1b2ef72d673a935c135f89cc06bc58136d
2012-07-20 07:03:35 +10:00
Ehsan Akhgari
df2fb388c2 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Jonathan Kew
b7693867f2 Bug 755730 - don't mask out Indic codepoints in OpenType fonts supported by OS X 10.7. r=jdaggett 2012-05-23 14:15:43 +01:00
Jonathan Kew
21bf420289 bug 752459 - reftest for word-wrap cluster support. r=smontagu 2012-05-18 16:51:40 +01:00
Jonathan Kew
ce3521f360 bug 752455 - reftest for word-break, clusters, text-transform. r=smontagu 2012-05-18 16:51:39 +01:00
Jonathan Kew
37f001de9d Split wordbreak-7 test into two testcases, one without lam-alef ligatures and one with (marked as failing due to bug 479829). Bug 249159, r=smontagu 2012-05-07 12:18:24 -07:00
Simon Montagu
3b6c3efca9 More tests for bug 249159, r=jfkthame 2012-05-07 12:18:24 -07:00
Makoto Kato
ae4279cc0e Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu 2012-05-07 12:18:23 -07:00