Commit Graph

497 Commits

Author SHA1 Message Date
Mats Palmgren
4ebe60371d Bug 1495153 part 2 - Implement cropping the filename for <input type=file>. r=emilio,jfkthame 2018-10-07 10:08:45 +02:00
Narcis Beleuzu
5786b9be9f Backed out 2 changesets (bug 1495153) for causing perma failures on dynamic-max-width.html
Backed out changeset 6d95f0e0cc76 (bug 1495153)
Backed out changeset 6800eb348ebe (bug 1495153)
2018-10-07 05:14:44 +03:00
shindli
ea18bce030 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-07 00:15:20 +03:00
Mats Palmgren
3eec51d6b3 Bug 1495153 part 2 - Implement cropping the filename for <input type=file>. r=emilio,jfkthame 2018-10-06 19:31:51 +02:00
Emilio Cobos Álvarez
9aeb8183fd Bug 1444185 - More consistently round around fallback data. r=mstange
To avoid trimming pixels at the top / left.

This makes it closer to non-WR[1], and fixes both the checkboxes getting
cut off and the master password field.

[1]: non-WR at least at 124 scaling on a hiDPI display is still perfect, though I saw nin symmetric borders at other resolutions, so we might be able to improve here further.

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

--HG--
extra : moz-landing-system : lando
2018-10-06 10:34:36 +00:00
Emilio Cobos Álvarez
939fb708fe Bug 1493710 - Don't apply containing shadow-host rules to NAC. r=mats
This is a regression from bug 1487856.

Differential Revision: https://phabricator.services.mozilla.com/D6700
2018-09-25 09:21:23 +02:00
Csoregi Natalia
4a5dd87283 Backed out changeset 73a8628576e4 (bug 1493710) for failures on layout/reftests/forms/input/shadow-rules.html. CLOSED TREE 2018-09-25 03:57:36 +03:00
Emilio Cobos Álvarez
2375a01424 Bug 1493710 - Don't apply containing shadow-host rules to NAC. r=mats
This is a regression from bug 1487856.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 21:32:59 +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
Andrew Swan
62bcb25a7c Bug 1451503 Move most reftest resources from chrome: to resource: r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D5232

--HG--
extra : rebase_source : 00223dacf6cfdfc4bb8505405844f66c7134e2c0
extra : histedit_source : 2d1f6e353e394520038c05b07bcd08ce06908cf2
2018-09-06 16:01:39 -07:00
Emilio Cobos Álvarez
46971a6492 Bug 1488403 - Make sticky legend reftest not depend on groove border antialising. r=nical
This reftest fails with my changes from
https://github.com/servo/webrender/pull/3010. I tried to debug locally but it
passes here.

The reason it fails is because WebRender does distance AA between the segments
of a ridge / groove border, and there's a subpixel difference so we get the AA
slightly different in the test.

Gecko on the other hand represents these borders as different composed solid
segments, so it can't have this problem, since it doesn't do AA across the
segments.

We may want to change that, but it's not clear to me it's wanted, since rounded
corners for these look much better on WR, for example.

Rather than fuzzing the test or something like that, make the test not rely on
that, given it's testing the position of the legend.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 15:17:04 +00:00
Joel Maher
af81c03a10 Bug 1392106 - random-if more test cases for windows 7 letter rendering failures. r=RyanVM
random-if statements for the last 2 days worth of annotated failures

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:38:37 +00:00
Daniel Holbert
6fc91f26dc Bug 1483499: Give <legend> consistent default padding, regardless of whether it's a child of fieldset. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D4029

--HG--
extra : moz-landing-system : lando
2018-08-24 21:23:56 +00:00
Margareta Eliza Balazs
9b4034d1f9 Backed out changeset 69faa23050d9 (bug 1412179) for landing without first patch 2018-08-24 18:32:02 +03:00
Alexis Beingessner
99ab5a469f Bug 1412179 - Implement non-empty legends for wr. r=jrmuizel
MozReview-Commit-ID: 1QqgRcSN1K3

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

--HG--
extra : moz-landing-system : lando
2018-08-24 13:21:28 +00:00
Gurzau Raul
9a8991af69 Backed out changeset b168deee0bcf (bug 1392106) for failures on canvas/1304353-text-global-composite-op-1.html on a CLOSED TREE
--HG--
extra : amend_source : 3529e35d35d31def6e2da65217dc1343885dfa3a
2018-08-23 18:16:05 +03:00
Joel Maher
e6844b61ad Bug 1392106 - random-if more test cases for windows 7 letter rendering failures. r=RyanVM
random-if statements for the last 2 days worth of annotated failures

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

--HG--
extra : moz-landing-system : lando
2018-08-23 12:35:17 +00:00
Daniel Holbert
1856a6c679 Bug 1397768 part 2: Adjust reftests for clarity & to reliably pass on all platforms. (test-only)
--HG--
extra : rebase_source : 4ab449fee6697decb8e403a313be3c7b9a126327
2018-08-17 23:45:39 -07:00
Mihir Iyer
ce5bd50ad2 Bug 1397768 part 1: Make 'display: flex/grid' in a button take up all the available space. r=dholbert
--HG--
extra : rebase_source : 15b1dc83b9b8b76a839be4455dc42b7a6be8f841
2018-08-17 07:36:50 -07:00
Emilio Cobos Álvarez
fe71af2bfe Bug 1483211 - Make fieldset UA rule use min-inline-size instead of min-width. r=dholbert
Per https://github.com/whatwg/html/pull/3914

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

--HG--
extra : moz-landing-system : lando
2018-08-16 14:59:19 +00:00
Daniel Holbert
03ba2de2e4 Bug 1483527: Change fieldset block-end & inline-axis padding to match other browsers. r=emilio
This mirrors the web-platform-tests change at
6058e914c1

According to that commit, WebKit/Chromium/EdgeHTML all have the behavior
that we're switching to here.

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

--HG--
extra : moz-landing-system : lando
2018-08-16 18:26:39 +00: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
Ryan Hunt
72b3d724c5 Bug 1471704 - Reftest annotation changes for tiling on linux. r=nical
MozReview-Commit-ID: 4dqnHHJQZ8r

--HG--
extra : source : 388b977365765c5e0edac355fbe4576687c09878
2018-07-16 12:30:48 -05:00
Emilio Cobos Álvarez
b5a8cf3e7c Revert three changesets (Bug 1451576) for causing bug 1467964 and since it's not generally sound. r=me
MozReview-Commit-ID: CZaLUNlGkX8
2018-06-12 16:52:52 -07:00
Joel Maher
d113b6d4a4 Bug 1392106 - random-if(win7) reftest font rendering failures. r=RyanVM 2018-06-06 05:30:44 -04:00
Timothy Guan-tin Chien
b355943072 Bug 1464412 - Flip vertical resizers on rtl sites r=dao
MozReview-Commit-ID: E0ejPUUCJiJ

--HG--
rename : layout/reftests/forms/textarea/resize-rtl.html => layout/reftests/forms/textarea/resize-rtl-vertical.html
rename : layout/reftests/forms/textarea/resize.html => layout/reftests/forms/textarea/resize-vertical.html
extra : rebase_source : 2e8b3492826ed05d2471f7aab25d371140039182
2018-05-26 10:18:19 +08:00
Kartikaya Gupta
8e203673f1 Bug 1463416 - use new WR subpixel positioning API from WR PR 2738. r=Gankro
Patch originally developed on bug 1458921 but needs to land with the WR update.

MozReview-Commit-ID: 82BYyNWBAfn

--HG--
extra : rebase_source : e6bca2f446c019fd41a37c2c28db73bbe1cfc216
2018-05-26 11:09:21 -04:00
Jonathan Kew
71787557ea Bug 1392147 - Test/expectation adjustments for the change in default font on Android. r=xidorn 2018-05-23 13:52:08 +01:00
Kartikaya Gupta
32a1261d0d Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 22:42:51 -04:00
Andreea Pavel
8daddd690f Backed out 2 changesets (bug 1322845) for failing reftest background-repeat-large-area.html == background-repeat-large-area-ref.html on a CLOSED TREE
Backed out changeset 4fd46cd822bf (bug 1322845)
Backed out changeset abd41b3e63e7 (bug 1322845)
2018-05-09 05:13:08 +03:00
Kartikaya Gupta
93650c1b04 Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 20:39:51 -04:00
Timothy Guan-tin Chien
5515df7c99 Bug 1459646 - Always flip the resizer with CSS transform r=dao
Having the native theme widget to flip its own direction turned out to be
something not needed anymore, and it interfere with the CSS rule we set to
flip non-native SVG background.

This patch turned that off and always flips the resizer with CSS transform.

MozReview-Commit-ID: EbjTfFpJpZ0

--HG--
rename : layout/reftests/forms/textarea/resize-ref.html => layout/reftests/forms/textarea/resize-rtl-ref.html
rename : layout/reftests/forms/textarea/resize.html => layout/reftests/forms/textarea/resize-rtl.html
extra : rebase_source : a319698cea6c8460aaed23948e20b0757cec686e
2018-05-07 15:05:26 -07:00
Kartikaya Gupta
1eb717ccf5 Bug 1377187 - Rewrite the clipping code to use the new clipchain API. r=mstange
The clip chain API in webrender allows us to build the clip state in WR
so that it matches the gecko display list more closely. This patch throws
away ScrollingLayersHelper.* and introduces ClipManager.* which pushes
the clip state to WR using the new method. A quick summary of the new
method is below.

Each display item in gecko has a DisplayItemClipChain which is a chain
of individual clips. The individual clips are defined in WR, and the
clip ids for those clips are put into a WR clip chain using the new
define_clip_chain API. Furthermore, each clip chain can also have a
parent chain, which is used to link a DisplayItemClipChain to the parent
display item's DisplayItemClipChain. This allows the WR clip state to
closely match the structure of the gecko display list clip state,
resulting in more correct behaviour.

There are a few other major changes that are lumped into this patch and
that were tricky to separate into their own patches:
- The collapsing of WrScrollId and WrStickyId into WrClipId. On the WR
  side all the clip ids are treated the same anyway. Trying to preserve
  the arbitrary distinction on the gecko side was resulting in
  increasingly convoluted code, with different kinds of Variant<..>
  types in the method signatures. It was much simpler and resulted in a
  bunch of code deletion to just collapse the types.
- Moving the "override" mechanism from WebRenderAPI to ClipManager. The
  override mechanism (explained in ClipManager.h) was simplified by
  moving it into ClipManager, because it removed the need for tracking
  additional clip stack state in WebRenderAPI.

MozReview-Commit-ID: GGbdFyJGprK

--HG--
extra : rebase_source : baa56ff179e917b0ab5a5c186a3a415761f8050a
2018-05-08 09:08:39 -04:00
Timothy Guan-tin Chien
49faa579a0 Bug 1451576 - Set dir=auto on [Browse...] button of <input type=file> r=Ehsan
The label of the button comes from the UI; it's direction should be independent
of the web content directionality. As there is no access to :-moz-locale-dir()
selectors in HTML, we'll have to rely on auto-direction here.

The alternative (or, addition to the fix here) would be adding the value of
the dir attribute to HtmlForm.properties, allowing the localizers to set
the directionality explicitly. I however don't know if that's necessary.

MozReview-Commit-ID: 5NXeLtxLXVH

--HG--
extra : rebase_source : 724eb60ccd841d2355fc17ba31af3cf4792962ef
extra : source : 91d8903ab19812f36aa1732d35d0dc203b0f6281
2018-04-17 18:04:39 +08:00
Timothy Guan-tin Chien
c594214666 Bug 1450017 - Part IX, Move resizer style rules to minimal-xul.css and unify non-native resizer style r=dao
MozReview-Commit-ID: LEodr0aTPkM

--HG--
extra : rebase_source : 92c1b404ebbe64324f63ccbe1878575ae0309604
extra : source : a56127f3a7ed207da2a160362eb1bcf01bf31522
2018-04-10 21:31:25 +08:00
Hiroyuki Ikezoe
541443c523 Bug 1349646 - Don't overflow -moz-inner-focus border. r=wisniewskit+471096
MozReview-Commit-ID: FFSI6cKZBha

--HG--
extra : rebase_source : 8b858372c528a7dd0b936f9edec1aa49f8ba8c23
2018-04-07 08:38:26 +09:00
Kevin Brosnan
645b842fbe Kevin Brosnan - Bug 1435988 disable border radius styling on the range element - r=snorp
MozReview-Commit-ID: G9Hy7hXvAKY

--HG--
extra : rebase_source : 7a602c7a3bba151f35939847fd352547f33283dd
2018-02-16 13:21:07 -08:00
Emilio Cobos Álvarez
9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
Cameron McCormack
9dfabd795c Bug 1317539 - Remove dom.forms.number pref. r=bz
MozReview-Commit-ID: EgeUfWMcE8D

--HG--
extra : rebase_source : 74cb7f69e21fd1a773259a53919fb04a82af2f5d
2018-04-10 11:02:28 +10:00
Kartikaya Gupta
2eefaf54ec Bug 1344350 - Mark reftests passing with webrender on Windows. r=jrmuizel
This covers all the reftests that have lower fuzz (or zero fuzz) and
were producing an UNEXPECTED-PASS result with webrender on windows. In
many cases I just adjusted the lower bound of the existing webrender
fuzz. In other cases existing fails-if conditions had to be tweaked to
exclude webrender.

MozReview-Commit-ID: 49LvS0vuYWR

--HG--
extra : rebase_source : d194e24affb87fe4560a127ff4016f9c38f414fd
2018-04-06 11:58:44 -04: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
7ff4c1c33d Bug 1430446 - Prefer hinted glyph widths from FreeType, except when hinting is disabled or the font includes variations. r=lsalzman 2018-01-23 18:16:42 +00:00
Jessica Jong
4bee56a645 Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug
Most of the Shadow DOM related code are behind "dom.webcomponents.enabled" and
this pref is only used by Shadow DOM right now, so we should rename it to
"dom.webcomponents.shadowdom.enabled"

MozReview-Commit-ID: er1c7AsSSW
2018-01-16 17:16:30 +01:00
Noemi Erli
adbfbaab81 Merge inbound to mozilla-central r=merge a=merge 2018-01-11 23:54:07 +02:00
Sylvestre Ledru
4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Ciure Andrei
f7400ad72e Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
Kartikaya Gupta
c3c24da1c1 Bug 1429469 - Replace fails-if(webrender) annotations with fuzzy checks. r=jrmuizel
In these cases there is no human-visible difference in the WR renderings
of the test and reference images, so we can replace the failing
annotations with fuzzy ones instead.

MozReview-Commit-ID: Ioiem4ZwwI2

--HG--
extra : rebase_source : d2204d9674b4aba6eb78bc0d0007a40121564ac5
2018-01-10 13:34:15 -05:00
Mats Palmgren
30ae9d36e5 Bug 1246836 part 2 - Reftest. r=me 2018-01-10 20:09:18 +01:00
Jonathan Kew
80ebb3e8d9 Bug 1428826 - Don't rely on FT_Get_Advance for glyph widths, get the advance from the glyph slot instead for better consistency with cairo metrics & rendering; update test expectations for minor changes in rendering. r=lsalzman 2018-01-09 17:36:37 +00:00
Emilio Cobos Álvarez
2b97da363f Bug 1417200: Stop using -moz-border-*-colors in forms.css. r=xidorn
On a CLOSED TREE, since the servo patch got in.

This removes one px of "padding" in:

 <progress style="-moz-appearance: none"></progress>

But it'd be worse to not be able as an author to override those somehow.

MozReview-Commit-ID: EFZIBHaUskM
2017-12-01 23:25:17 +01:00