Граф коммитов

11066 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown 60d64f402a Bug 1388764 - Re-enable test_object_nav.html and 508908-1.xhtml; r=jmaher
Re-enable tests previously disabled by this bug, for intermittent crashes.

Differential Revision: https://phabricator.services.mozilla.com/D97929
2020-11-30 12:03:27 +00:00
Nicolas Silva e6197136b7 Bug 1624446 - Adjust reftest fuzziness. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D98002
2020-11-26 16:54:32 +00:00
Razvan Maries 00226db676 Backed out changeset b2da4b644dd9 (bug 1677917) for perma failures on break-at-end-container-edge-000.html. CLOSED TREE 2020-11-21 19:23:33 +02:00
Emilio Cobos Álvarez d570280e88 Bug 1677917 - Change BlockReflowInput's skipsides setup to be sane. r=mats,TYLin
Precomputing the skipBEnd bit is odd / wrong. Using the PreReflow
version causes no regression, and allows us to simplify the code.

It also reverts the test annotations added to bug 1675376 which were
caused by the extra argument to GetLogicalSkipSides() somehow.

Differential Revision: https://phabricator.services.mozilla.com/D97418
2020-11-21 15:53:16 +00:00
Mats Palmgren 7352f9f7a6 Bug 1665214 - Reserve space at the top of the page for non-fragmented overflow from previous pages. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D97021
2020-11-19 20:16:11 +00:00
Tim Nguyen 73e2871fa8 Bug 1525737 - Remove layout/xul/grid directory. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53296
2020-11-17 01:20:33 +00:00
Tim Nguyen 082c712f75 Bug 1525737 - Remove/replace usages of XUL grid display values. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53300
2020-11-17 01:20:34 +00:00
Lee Salzman f6c80461bd Bug 1677872 - reduce division usage in brush shaders. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D97379
2020-11-18 19:08:37 +00:00
Cristina Coroiu b468838f9a Backed out changeset fc06dd6899fc (bug 1677872) for Wr failures at css/css-images/tiled-gradients.html on a CLOSED TREE 2020-11-18 19:07:55 +02:00
Lee Salzman e94ea21e9b Bug 1677872 - reduce division usage in brush shaders. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D97379
2020-11-18 14:39:20 +00:00
Butkovits Atila f16164a1b5 Backed out changeset 029ac94eb369 (bug 1677872) for failure at tiled-gradients.html. CLOSED TREE 2020-11-18 09:59:01 +02:00
Lee Salzman bca1de14ee Bug 1677872 - reduce division usage in brush shaders. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D97379
2020-11-18 04:35:22 +00:00
Ting-Yu Lin bccb437849 Bug 1676585 Part 2 - Use LogicalRect to compute joining boxes' border area. r=mats
The original code doesn't work for "writing-mode:vertical-rl" because
its block flow direction is the opposite of "writing-mode:vertical-lr."

Differential Revision: https://phabricator.services.mozilla.com/D96786
2020-11-17 05:36:42 +00:00
Ting-Yu Lin 7e3b64c3f2 Bug 1676585 Part 1 - Simplify vertical-wm-001.html by using logical properties. r=mats
This patch shouldn't change the rendering of the test at all.

Differential Revision: https://phabricator.services.mozilla.com/D96785
2020-11-17 05:35:33 +00:00
Nicolas Silva a8f628b1a7 Bug 1645318 - Adjust reftest references. r=jnicol
Depends on D97132

Differential Revision: https://phabricator.services.mozilla.com/D97133
2020-11-16 10:55:34 +00:00
Nicolas Silva e3c6dd3c03 Bug 1619715 - Adjust reftest references. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D97132
2020-11-16 10:56:02 +00:00
longsonr f1fb147667 Bug 1677187 - ignore x values for vertical and y values for horizontal text in textPaths r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D97086
2020-11-16 10:54:56 +00:00
Nicolas Silva e49c8d70ea Bug 1673387 - Adjust reftest references. r=jnicol
Changing the size or number of layers of textures unfortunately usually leads to small sampling differences which requires fixing in the refetest references.

Differential Revision: https://phabricator.services.mozilla.com/D95680
2020-11-12 22:26:32 +00:00
Ting-Yu Lin 258d115092 Bug 1676565 Part 4 - Add flex item fragmentation reftests for "writing-mode: vertical-rl". r=emilio
First, copy the "vertical-lr" reftests added in Part 3, then running the
following command to convert to `writing-mode: vertical-rl` for all the
reftests.

```
rg -l "vertical-lr" flexbox-*vertical-rl*  | xargs sed -i "s/vertical-lr/vertical-rl/g"
```

reftest.list are modified manually.

Differential Revision: https://phabricator.services.mozilla.com/D96742
2020-11-12 12:09:30 +00:00
Ting-Yu Lin f5a02d2780 Bug 1676565 Part 3 - Add flex item fragmentation reftests for "writing-mode: vertical-lr". r=emilio
First, copy the original reftests, then running the following command to
add `writing-mode: vertical-lr` to all the reftests, and modify `<link>`
tag.

```
function rename () {
    rg -l "$1" flexbox-*vertical-lr* | xargs sed -i "s/$1/$2/g"
}

rename "<style>" "<style>\n  html \{\n    writing-mode: vertical-lr;\n  \}"
rename "single-column" "single-column-vertical-lr"
rename "multi-column" "multi-column-vertical-lr"
rename "single-row" "single-row-vertical-lr"
rename "multi-row" "multi-row-vertical-lr"
```

reftest.list are modified manually.

Differential Revision: https://phabricator.services.mozilla.com/D96741
2020-11-12 12:08:27 +00:00
Ting-Yu Lin 623a5f2ad2 Bug 1676565 Part 2 - Convert flex item fragmentation reftests to use logical properties. r=emilio
Part 3 is going to duplicate all the fragmentation reftests, and add
"writing-mode: vertical-lr" to them. If any of the physical property is
missed the conversion, we'll know when running the them.

This patch is generated by running the following script under
`layout/reftests/flexbox/pagination`.

```
#!/usr/bin/env bash

function rename() {
    rg -l "$1" flexbox-single-* flexbox-multi* | xargs sed -i "s/$1/$2/g"
}

rename "margin-top" "margin-block-start"
rename "margin-bottom" "margin-block-end"
rename "border-width: 10px 0" "border-block-width: 10px"
rename "border: solid white" "border: 0 solid white"
rename "border-width: 15px 0" "border-block-width: 15px"
rename "padding: 5px 0" "padding-block: 5px"
rename "padding: 15px 0" "padding-block: 15px"
rename "top:" "inset-block-start:"
rename "left:" "inset-inline-start:"

# Rename properties containing 'width' or 'Height' to something else temporarily.
rename "border-width" "border-XXX"
rename "border-block-width" "border-block-XXX"
rename "column-width" "column-XXX"
rename "offsetHeight" "offsetYYY"

rename "width" "inline-size"
rename "height" "block-size"
rename "Height" "Block-size"

# Switch them back.
rename "XXX" "width"
rename "YYY" "Height"
```

Differential Revision: https://phabricator.services.mozilla.com/D96740
2020-11-12 12:06:42 +00:00
Ting-Yu Lin b88ba04641 Bug 1676565 Part 1 - Remove flexbox-multicol-vert-empty-2.html. r=emilio
This reftest is not in reftest.list nor does it have a reference file.
Let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D96739
2020-11-12 11:47:37 +00:00
lonocvb 0e9a6edc05 Bug 1517385 - Use "visibility: hidden" to keep the frame of AccessibleCaret alive. r=TYLin
Depends on D96506

Differential Revision: https://phabricator.services.mozilla.com/D94072
2020-11-12 18:36:40 +00:00
Butkovits Atila bc8d4ed13b Backed out 2 changesets (bug 1673387) for bustage on gradient_cache_hardstop_clip.yaml. CLOSED TREE
Backed out changeset a315ba98577f (bug 1673387)
Backed out changeset 591c4143921f (bug 1673387)
2020-11-12 15:31:08 +02:00
Nicolas Silva a75b23d02b Bug 1673387 - Adjust reftest references. r=jnicol
Changing the size or number of layers of textures unfortunately usually leads to small sampling differences which requires fixing in the refetest references.

Differential Revision: https://phabricator.services.mozilla.com/D95680
2020-11-12 12:28:28 +00:00
Lee Salzman 238f5569e7 Bug 1670328 - reduce stack size for SwComposite threads. r=mattwoodrow
There appears to be a substantial overhead for trying to wake cold threads
from a thread pool (especially with rayon), so for now let's leave the existing
thread spawning in place, but reduce the stack size for individual threads.
Since these threads only call into SWGL's composite routines and do little else,
there isn't much harm in having a small stack size.

Differential Revision: https://phabricator.services.mozilla.com/D96748
2020-11-11 20:24:38 +00:00
Matt Woodrow 02b6bea865 Bug 1674154 - Don't create RenderExternalTextureHost when using SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D96337
2020-11-09 21:35:50 +00:00
alwu ff629c2074 Bug 1675326 - part4 : move webvtt related reftest to `dom/media/webvtt/test/reftest`. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D96106
2020-11-09 15:47:14 +00:00
Emilio Cobos Álvarez 771dd03229 Bug 1669854 - Add a single pageRanges print setting. r=nordzilla
... which is an array of pairs of ranges, and use it instead of the
existing printRange / startPage / endPage settings.

Differential Revision: https://phabricator.services.mozilla.com/D96093
2020-11-07 16:01:57 +00:00
Mats Palmgren a5415dec54 Bug 1674594 - Remove the obsolete nsMathMLmfencedFrame and associated pref and tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95451
2020-11-05 22:36:43 +00:00
Bogdan Tara 17e7c54035 Backed out 2 changesets (bug 1673387) for wrench/reftests/ failures CLOSED TREE DONTBUILD
Backed out changeset a755e87bf875 (bug 1673387)
Backed out changeset e4cf743d6916 (bug 1673387)
2020-11-05 20:00:08 +02:00
Nicolas Silva a5d95630e1 Bug 1673387 - Adjust reftest references. r=jnicol
Changing the size or number of layers of textures unfortunately usually leads to small sampling differences which requires fixing in the refetest references.

Differential Revision: https://phabricator.services.mozilla.com/D95680
2020-11-05 16:32:22 +00:00
Jonathan Kew 0e3cf9687e Bug 1665657 - Whitespace that will hang should not contribute to the min inline-size of a textframe. r=emilio
This affects a few of the examples in the text/white-space-2 reftest, but the changes look sensible;
more significantly from an interop point of view, there are specific web-platform reftests that are
currently failing, but will pass after the patch.

Differential Revision: https://phabricator.services.mozilla.com/D95811
2020-11-04 13:31:30 +00:00
Jonathan Kew 810bc229cc Bug 1674839 - Skip trimmable whitespace after a line-break when computing min inline-width for a textframe. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95810
2020-11-04 13:31:16 +00:00
Matt Woodrow 96c437eeaf Bug 1674856 - Fiz fuzz annotations for Windows10 swr reftests. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95571
2020-11-03 23:51:40 +00:00
Bob Owen 9dea4325b4 Bug 1665413: Adjust fuzz for canvas-drawImage-alpha-2.html on Windows webrender with remote canvas disabled. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95766
2020-11-03 19:48:45 +00:00
Ting-Yu Lin e841fbf716 Bug 1674863 Part 3 - Add GetIntrinsicSize() override for nsVideoFrame. r=emilio
Also, delete unused rendering context parameter for
GetVideoIntrinsicSize().

Differential Revision: https://phabricator.services.mozilla.com/D95579
2020-11-03 19:54:51 +00:00
Razvan Maries c032d89358 Backed out 3 changesets (bug 1674856) for Windows10 swr reftests perma failures. CLOSED TREE
Backed out changeset 8e52162cdf48 (bug 1674856)
Backed out changeset eb84f9c620ac (bug 1674856)
Backed out changeset 477a1070a971 (bug 1674856)
2020-11-03 21:43:26 +02:00
Matt Woodrow 66c1e2b63c Bug 1674856 - Fix fuzz annotations for Windows10 swr reftests. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95571
2020-11-03 18:16:36 +00:00
Lee Salzman 17c5e8a4aa Bug 1652266 - implement Gaussian blur fast-path for SWGL. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95654
2020-11-03 17:03:32 +00:00
Lee Salzman 16d30bafd4 Bug 1674556 - adjust SWGL fuzz on layout/reftests/bugs/409659. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95476
2020-11-02 01:57:17 +00:00
Lee Salzman d1f364349a Bug 1621454 - adjust fuzz for SWGL span shaders. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95325
2020-10-31 13:30:57 +00:00
Butkovits Atila c4646c9aa3 Backed out 4 changesets (bug 1621454) for causing bustage src/swgl_ext.h. a=backout
Backed out changeset d0d03d5a81a8 (bug 1621454)
Backed out changeset 6675f76d6f11 (bug 1621454)
Backed out changeset 29943d5348df (bug 1621454)
Backed out changeset 80c0aaa81c2e (bug 1621454)
2020-10-31 12:28:47 +02:00
Lee Salzman 00b039a687 Bug 1621454 - adjust fuzz for SWGL span shaders. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95325
2020-10-31 02:28:08 +00:00
Jonathan Kew b01264f7cb Bug 1673510 - Add reftest for vertical alternate of wavy dash alone or in bopomofo context. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95067
2020-10-29 08:18:21 +00:00
Miko Mynttinen 96148431aa Bug 1640197 - Part 5: Add reftests r=mats
Differential Revision: https://phabricator.services.mozilla.com/D94037
2020-10-28 18:28:15 +00:00
Emilio Cobos Álvarez da97c00bb1 Bug 1411372 - Remove bogus XUL box sorting. r=TYLin
Instead, sort stuff using CSSOrderAwareFrameIterator. The current
sorting is broken in presence of dynamic insertions, consider the
following <Child(order)> combination in the DOM:

  <A(1000)> <B(0)>

That'd look like:

  <B(0)> <A(1000)>

On the frame tree. However when appending a child before B so that the
DOM looks like:

  <A(1000)> <C(0)> <B(0)>

The frame constructor will properly insert after A, and the reordering,
which is stable, will end up with:

  <B(0)> <C(0)> <A(1000)>

Which is the wrong frame tree order.

We only use -moz-box-ordinal-group in regular sprocket layout, so just
handle it there rather than everywhere. Similarly, we only rely on it
for in-flow stuff, so remove the test for that added in bug 877890 (flex
changed behavior afterwards, interestingly enough).

Differential Revision: https://phabricator.services.mozilla.com/D94790
2020-10-28 19:10:00 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Jonathan Kew eae3c7f86f Bug 1673098 - Ensure we use our implementation of the get_nominal_glyph callback when shaping a CFF font, so that hyphen fallbacks can take effect. r=lsalzman
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D94681
2020-10-26 05:33:06 +00:00
Mihai Alexandru Michis 36e7dbc5bc Backed out changeset 0a6c18c6e9d5 (bug 1673098) for causing webrender failures.
CLOSED TREE
2020-10-26 15:35:55 +02:00