Commit Graph

208 Commits

Author SHA1 Message Date
Joel Maher
d99950f9a4 Bug 1456855 - adjust manifests for tests that now run with the new linux64 FreeType. r=ahal
Depends on D21559

Differential Revision: https://phabricator.services.mozilla.com/D21560

--HG--
extra : moz-landing-system : lando
2019-03-01 20:35:47 +00:00
Joel Maher
bdd8e3ce31 Bug 1522900 - adjust manifests to allow tests to pass on windows10 1803 release. r=gbrown CLOSED TREE
--HG--
extra : rebase_source : 1350412a9925eea526bda708011086c4e8e19170
extra : amend_source : 548af67b37ba2207f380c509a1b213c323fcd1cb
2019-02-11 10:02:51 +01:00
Jonathan Kew
6e926e57f0 Bug 1499124 - Increase font-loading timeouts for the font-display-1 reftest to allow for slow debug builds. r=emilio 2019-01-16 21:58:52 +00:00
Boris Chiou
c35f47093e Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio
Support unprefixed min-content and max-content and treat the prefixed
version as aliases for
1. width, min-width, max-width if inline-axis is horizontal, and
2. height, min-height, max-height if inline-axis is vertical, and
3. inline-size, min-inline-size, max-inline-size, and
4. flex-basis.

Besides, update the test cases to use unprefixed max-content and
min-content.

Depends on D7535

Differential Revision: https://phabricator.services.mozilla.com/D7536

--HG--
extra : moz-landing-system : lando
2018-12-18 18:47:37 +00:00
Ryan VanderMeulen
a167f28e51 Bug 1392106 - Annotate more failing tests as random on Win7. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D5688

--HG--
extra : rebase_source : 27d50e4a9fc0731630999f9f96883fe367a4beb8
2018-09-10 15:30:44 -04:00
Jonathan Kew
2e8d8064f7 Bug 1481905 - Testcase for loading subsequent @font-face source after an in-progress load is cancelled. r=emilio 2018-08-12 15:32:34 +02:00
L. David Baron
1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

Differential Revision: https://phabricator.services.mozilla.com/D2974

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
Joel Maher
8bc0bcda97 Bug 1392106 - random-if more win7 reftest font rendering failures. r=RyanVM 2018-06-26 13:32:30 -04:00
Joel Maher
5cf551b940 Bug 1392106 - random-if more win7 tests for missing letters. r=RyanVM 2018-06-01 09:29:35 -04:00
Joel Maher
bea2e0899f Bug 1392106 - random-if many more win7 tests. r=RyanVM 2018-05-29 13:50:33 -04:00
Joel Maher
29d83f200e Bug 1392106 - random-if many more tests on win7. r=RyanVM 2018-05-25 13:03:59 -04:00
Xidorn Quan
f62e2a947a Bug 1406552 - Only update max ascent / descent with em ones when ascent and descent are zero. r=jfkthame
The original code was added in bug 385263 for fixing bug 279032 that a
single font provides zero for max ascent / descent in its HHEA table
which caused Firefox to crash.

Unconditionally picking the maximum of max ascent / descent and their
em correspondents doesn't seem to be essential for working around that
case, so this patch changes it to just use the em ascent / descent when
both max ascent and descent are zero.

This fixes a webcompat problem related to Roboto font on Linux (and
presumably also Android given it uses FreeType backend as well).

MozReview-Commit-ID: EpKrfiOwnZt

--HG--
extra : rebase_source : 0619abf992fb1e1a1f3068ab172880913ebff1f1
2018-05-03 19:43:46 +10:00
Jonathan Kew
c66fb1e660 Bug 1451296 - Make enabling of font-variation-settings and font-optical-sizing properties dependent on adequate platform support at runtime. r=lsalzman 2018-04-05 18:53:56 +01:00
Emilio Cobos Álvarez
48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Jonathan Kew
b9dbb6ad68 Bug 1436997 - Add reftests to check that we accept the *-variations format strings iff the variation-font pref is enabled. r=jwatt 2018-02-15 10:56:43 +00:00
Olli Pettay
e84d7b7ef4 Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron
MozReview-Commit-ID: GFnj2du2bWJ
2015-05-05 17:56:01 +03:00
Jonathan Kew
1a0fca4019 Bug 1318526 - Remove HTTP(..) from reftest manifests where this was only needed to work around file-URI origin restrictions. r=dbaron 2017-10-22 08:31:41 +01:00
Joel Maher
2475c1cfbb Bug 1383577 - Enable font-face/reflow-sanity-delay-1-metrics.html on windows debug. r=jfkthame 2017-10-20 12:07:08 -04:00
Joel Maher
8a10ffde65 Bug 1383577 - Disable font-face/reflow-sanity-delay-1-metrics.html on windows/debug for frequent failures. r=me, a=test-only 2017-10-09 11:10:34 -04:00
Jonathan Kew
34f77e6f9a Bug 1317445 - Enable support for the 'font-display' descriptor in @font-face rules. r=dbaron 2017-10-05 10:00:59 +02:00
Ethan Lin
6c6b68f2e7 Bug 1404091 - Re-enable some skip-if and random-if tests after the fix. r=kats
MozReview-Commit-ID: 6gFLZWi0p4b

--HG--
extra : rebase_source : df2013e00b5eacea450d161a000b9e6bfe5c1e07
2017-10-02 22:51:03 +08:00
Kartikaya Gupta
818cfd7499 Bug 1389000 - Update reftest annotations for layers-free results. r=jrmuizel
This patch:
- adds fails-if annotations for all the reftests that were consistently failing
  with layers-free turned on.
- removes fails-if or reduces the range on fuzzy-if annotations for all
  the reftests that were producing UNEXPECTED-PASS results with
  layers-free turned on.
- adds skip-if, random-if, or fuzzy-if annotations to the reftests that
  were intermittently failing due to timeout, obvious incorrectness, or
  slight pixel differences, respectively.

MozReview-Commit-ID: A0Aknn6rnjj

--HG--
extra : rebase_source : 420d9cf43f23a5d654fa36eec69138937d13c173
2017-09-26 14:49:19 -04:00
Brad Werth
ecc231a691 Bug 1400386: Skip reftest layout/reftests/font-face/font-display-1.html for being intermittent. r=aryx
MozReview-Commit-ID: 9aEcZg94Ivk

--HG--
extra : rebase_source : 37919c09ea8f9a2ae235ed66246ea26979e9ab4c
2017-09-15 15:39:51 -07:00
Chris Peterson
3e9e421167 Bug 1394603 - Replace random-if(styloVsGecko) with skip-if. r=jryans
Running individual random tests might still be useful for finding crashes or assertion failures, but there is no need to run the styloVsGecko visual comparison tests if the results are random.

MozReview-Commit-ID: Brz6zf25lCO

--HG--
extra : rebase_source : 74b453e952da2710f069afc6b8d8017a4ec021dd
extra : source : 95dc8a8a752d1a1ac05e026115aff319fc27e772
2017-09-03 21:05:29 -07:00
Chris Peterson
ce7edc4de1 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 22bb5d4e3c5138ef832995eaf5716824f4707ffe
extra : source : d40fb20c9a49d0797c0eeae613a04912b12a28f7
2017-09-01 20:39:44 -07:00
Phil Ringnalda
75f9cdbd7e Backed out 3 changesets (bug 1394603) for reftest syntax error
CLOSED TREE

Backed out changeset 44117208f321 (bug 1394603)
Backed out changeset 31088c59d895 (bug 1394603)
Backed out changeset 20551d68f602 (bug 1394603)

MozReview-Commit-ID: 4F4jSQ8GyfG
2017-09-06 22:48:55 -07:00
Chris Peterson
502148b819 Bug 1394603 - Replace random-if(styloVsGecko) with skip-if. r=jryans
Running individual random tests might still be useful for finding crashes or assertion failures, but there is no need to run the styloVsGecko visual comparison tests if the results are random.

MozReview-Commit-ID: Brz6zf25lCO

--HG--
extra : rebase_source : 2a86191ce8ecd77ce502237c5217ae4b30fe1574
2017-09-03 21:05:29 -07:00
Chris Peterson
2d629378b2 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 0c307639c3626af3b6b43e05d3ee73d08b3f47ce
2017-09-01 20:39:44 -07:00
J. Ryan Stinnett
c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Bobby Holley
172ae6c387 Bug 1341102 - Reenable some reftests. r=me
MozReview-Commit-ID: 7aVfa7FgWmn
2017-07-25 14:33:12 -07:00
Brad Werth
1750a1c799 Bug 1356158 Part 1: Re-enable layout/reftests/font-face/sheet-set-switch-1.html on stylo. r=manishearth
MozReview-Commit-ID: 5Mnr5eLfDTx

--HG--
extra : rebase_source : 6a704e462a72932c9bd3119fec822a83537d4d69
2017-06-28 09:39:27 -07:00
Cameron McCormack
dd07264e50 Bug 1367647 - Test expectation updates. r=emilio
MozReview-Commit-ID: 8UEX25GCpJX

--HG--
extra : rebase_source : fb14632f58de7169ad0ef7a420b629eaeac152dd
2017-05-28 19:33:06 +08:00
Shing Lyu
c729f26a66 Bug 1367636 - Update stylo-vs-stylo reftest expectations. r=heycam
MozReview-Commit-ID: DVO2R2RQuiK
2017-05-25 16:44:44 +08:00
Shing Lyu
5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Hiroyuki Ikezoe
fd65caccea Bug 1355402 - Update test expectations for -moz-{min,max,fit}-content,available}. r=manishearth
MozReview-Commit-ID: HxjE9ArYuys
2017-05-20 12:14:32 +09:00
Emilio Cobos Álvarez
ab5433c222 Bug 1364824: Implement ServoRestyleManager::PostRebuildAllStyleDataEvent. r=heycam
MozReview-Commit-ID: I9HmM9ZMB2c
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

--HG--
extra : rebase_source : 08481f2a84508ed79d544fefbf39a92cac0d5ce5
2017-05-15 09:41:42 +02:00
Manish Goregaokar
b640a06ad6 Bug 1358634 - Update test expectations for fallback fonts ;r=manishearth
MozReview-Commit-ID: GHUfkmJNgqG
2017-05-05 12:28:41 -07:00
Hiroyuki Ikezoe
751ec1a2f7 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
2017-05-04 06:39:30 +09:00
Ting-Yu Lin
918033ba12 Bug 1321754 Part 2 - Update reftest and crashtest expectations for stylo. r=heycam
MozReview-Commit-ID: AunZ2DE209M

--HG--
extra : rebase_source : 4a091cd55581039c8d81f4db9bfbe2af8c0d0863
2017-04-28 14:53:16 +08:00
Shing Lyu
c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu
435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst
ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst
f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Joel Maher
6732d75e18 Bug 1356013 - Intermittent font-face/media-query-add-1.html. skip on stylo. r=gbrown
MozReview-Commit-ID: GOtYjBIDuRu
2017-04-20 11:41:48 -04:00
Manish Goregaokar
27c6217632 Bug 1341102 - Update stylo reftest expectations; r=orange
MozReview-Commit-ID: FRHThUmyVWb
2017-04-05 00:15:13 -07:00
Masayuki Nakano
99a1135919 Bug 1351332 gfxDWriteFontList and gfxGDIFontList should ignore italic face of Meiryo for using synthetic italic style r=jfkthame
Meiryo has same glyph for both normal style and italic/oblique style.  Therefore, if we will use it as default Japanese font, italic/oblique style won't be used in Japanese text.  It's too bad for <em>, <i> and backward compatibility with MS PGothic.

This patch makes gfxDWriteFontList and gfxGDIFontList ignore italic style face(s) of Meiryo at creating Meiryo's font face list.

Note that in GDI mode, font names are localized.  Therefore, we need to compare with both English name and Japanese name.  However, in DirectWrite mode, face names are not localized.  Therefore, it's enough to compare only with English face names.

MozReview-Commit-ID: 60tFxB0jcd

--HG--
extra : rebase_source : 45eb61403f97cd765de1b81c290c29632d8174e5
2017-03-29 18:38:41 +09:00
Xidorn Quan
6e6684128a Bug 1345696 part 8 - Update test expectations. r=heycam
MozReview-Commit-ID: 5zQjzFUKdR8

--HG--
extra : rebase_source : 18d7a9cc76a21ab2d90e75eb4194f61fcd9797de
2017-03-28 16:28:36 +11:00
Manish Goregaokar
06a78b09a1 Bug 1341775 - Part 2: stylo: Update test expectations; r=heycam
MozReview-Commit-ID: AZPnws5TpCk

--HG--
extra : rebase_source : 05da6118989bf83fb9c0e26bb7ecf282e2a8d369
2017-03-17 19:48:20 -07:00