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

938 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher 8d940c6e4d Bug 1545859 - Set gfx.font_ahem_antialias_none=True for reftests. r=jfkthame
Set gfx.font_ahem_antialias_none=True for reftests.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 17:36:42 +00:00
Ciure Andrei bc3c25dece Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-11 12:57:28 +03:00
violet 995f337626 Bug 1524901 - Should not set SVG viewport to intrinsic size when painting background image r=longsonr
When an SVG is used as a CSS background-image, we previously used the same behavior as
a normal image. It will stretch if the background-size is incompatible with the intrinsic
size of the SVG. This is a webcompat issue.

Now we use the painting destination rect size instead to avoid stretching.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 01:05:02 +00:00
Lee Salzman edad5dd2c0 Bug 1542738 - disable Mac contrast adjustment in Skia. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D26911
2019-04-10 10:13:08 -04:00
Lee Salzman a00853db4b Bug 1539026 - Skia m74 fuzzing. r=rhunt 2019-03-26 14:52:45 -04:00
Daniel Holbert f4e0af6db7 Bug 1514843 part 3: Add more testcases for 'contain:size' on scrollable elements. r=TYLin
This patch adds tweaked copies of the testcases from the prior patch,
exercising the other relevant values for the 'overflow' property (for 'hidden'
and 'auto', rather than 'scroll').

Depends on D25155

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

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-block-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-block-003-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-block-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-block-003.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-block-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-block-004-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-block-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-block-004.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-003-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-003.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-004-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-004.html
extra : moz-landing-system : lando
2019-03-29 22:01:25 +00:00
Daniel Holbert beda2208c9 Bug 1514843 part 2: Honor 'contain:size' for scrollable elements. r=TYLin
'contain:size' just means we should size these elements as if they had no
contents -- i.e. wherever we derive the size of the scrollable frame from the
size of its contents, we should pretend that its contents had zero size.

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

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-block-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-block-002.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-inline-block-002.html
extra : moz-landing-system : lando
2019-03-29 22:08:34 +00:00
Daniel Holbert c7d7937517 Bug 1503173: When deciding whether a flex item needs a final reflow, check RELATIVE_BSIZE state bit on its children. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D25441

--HG--
extra : moz-landing-system : lando
2019-03-29 21:50:37 +00:00
Cameron McCormack ca2fb0a357 Bug 282126 - Part 5: Tests. r=jfkthame,emilio
MozReview-Commit-ID: 1c0yMdUt7QG

Depends on D23426

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

--HG--
extra : moz-landing-system : lando
2019-03-21 04:50:49 +00:00
Glenn Watson 9d856b1091 Bug 1535976 - Add a fast path for common rounded rect clips to WR. r=kvark
Most rounded rect clips in real content are (a) axis aligned and
(b) have uniform radii.

When these conditions are met, we can run a fast path for clip
mask generation that uses significantly fewer ALU shader ops.

This is not typically a bottleneck on desktop GPUs, but can have
a large performance impact on mobile GPUs (and perhaps low end
integrated GPUs).

The Mali shader analyzer reports the slow path for the rounded
rect clip shader to be 94 cycles per fragment, while the fast
path is 10 cycles.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 19:48:13 +00:00
Bogdan Tara 84581c394f Backed out changeset 70440f88051f (bug 1535976) for /reftests/transform-3d/mask-layer* failures CLOSED TREE 2019-03-19 06:02:09 +02:00
Glenn Watson 7e08c517ab Bug 1535976 - Add a fast path for common rounded rect clips to WR. r=kvark
Most rounded rect clips in real content are (a) axis aligned and
(b) have uniform radii.

When these conditions are met, we can run a fast path for clip
mask generation that uses significantly fewer ALU shader ops.

This is not typically a bottleneck on desktop GPUs, but can have
a large performance impact on mobile GPUs (and perhaps low end
integrated GPUs).

The Mali shader analyzer reports the slow path for the rounded
rect clip shader to be 94 cycles per fragment, while the fast
path is 10 cycles.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 16:15:45 +00:00
Daniel Holbert a790bf04bf Bug 1530462 followup: remove end-of-line whitespace in testcase. (no review, trivial test-only change) 2019-02-27 10:15:35 -08:00
Daniel Holbert ad874c840f Bug 1530462: Adjust reftest 'float-retry-push-image.html' to allow for rounding error on linear-gradient edge. r=bradwerth
And while we're at it, update the reference case to have "Reference" in
its title, so that the reference case and testcases are easier to distinguish
when viewing them side-by-side in several tabs.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 16:50:08 +00:00
Andrew Osmond 6cba1775c3 Bug 1453935 - Ensure that we snap within the visible rect with WebRender. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18869
2019-02-07 18:05:43 -05:00
Andreea Pavel 7e3beb59f7 Backed out changeset 87ad4b91e29f (bug 1453935) for reftest failures on a CLOSED TREE 2019-02-08 00:45:29 +02:00
Andrew Osmond fa36639a3b Bug 1453935 - Ensure that we snap within the visible rect with WebRender. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18869
2019-02-07 15:26:54 -05:00
Daniel Holbert cde912690c Bug 1522898: Account for box-sizing (add border & padding) when setting a main-size property value override on a flex item (which it uses for aspect ratio calculations). r=mats
For elements that have box-sizing:border-box specified, the aspect ratio
calculation code subtracts out border & padding from any specified property
values.

So, when we create a fake "override" specified property value for a flex item
whose main size has been resolved, we need to add in the border and padding to
account for the fact that they're going to be subtracted out later.

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

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001v.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007v.html
extra : moz-landing-system : lando
2019-02-04 23:06:16 +00:00
Daniel Holbert 7b8111e317 Bug 1520946: Shrink some content in various w3c-submitted flexbox tests so that they won't trigger scrollbars in WPT harness. r=TYLin
All of these tests have an .ini file indicating a failure for at least one of
them right now, in the copy that lives in the WPT harness, because
 - they trigger a scrollbar in the WPT harness
...and:
 - the scrollbar is a slightly different size in the reference case vs.
   in one of the testcases, e.g. due to a tiny margin being honored (or not)
   on the final piece of content.

This patch shrinks the content a bit in these test files so that they all fit
in a 400x400 viewport and won't trigger a scrollbar. I expect this should make
them pass in the WPT harness when they make the roundtrip through our
synchronization process.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 19:36:30 +00:00
Emilio Cobos Álvarez c89256299a Bug 957915 - Handle calc(%) on tables. r=mats
This patch makes us handle calc with percentages when we can convert to
percentages the same way we handle plain percentages in table layout.

We still treat length + percentage as auto (this matches Blink / WebKit as
well). There's one case we differ with Blink / WebKit, which is calc(% + 0px),
which they'd treat as auto instead of a percentage.

I think this is a bug on them (or at least worth some spec clarification). I
filed https://github.com/w3c/csswg-drafts/issues/3482 for that.

In practice what that'd means for us if the WG decides that Blink / WebKit is
right in that case is that we'd need to keep track of whether the calc()
specifies lengths, and return false from ConvertsToPercent if so.

In any case, nothing that would massively change this patch, and I think enough
of an edge case that is not worth blocking on the CSSWG decision here. Though I
could be convinced otherwise of course.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 19:39:23 +00:00
Andreea Pavel 9adc37e4a2 Bug 1465260 - disable box-sizing-replaced-002.xht on Android opt for frequent failures r=jmaher 2018-12-21 14:28:00 +02:00
Andreea Pavel a4a6ecec31 Backed out changeset 37feb66e0984 (bug 1465260) for failing reftests on a CLOSED TREE 2018-12-22 12:53:44 +02:00
Cristina Coroiu cc534321e8 Bug 1465260 - disable box-sizing-replaced-002.xht on Android opt for frequent failuires r=jmaher 2018-12-21 14:28:00 +02:00
Boris Chiou 0605a25f5e Bug 1322780 - Part 5: Adjust reftests to be fitted into 600x600. r=dholbert
If the size is larger than 600x600, we cannot test all the rendering
results, and it seems there is a bug related the inactive windows,
https://github.com/web-platform-tests/wpt/issues/13563, which may causes
that the scroll bar has different color.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 07:00:15 +00:00
Boris Chiou 647706e4fd Bug 1322780 - Part 4: Add tests. r=dholbert
1. Test the most simple cases when we use max-content/min-content on
   width/height/block-size.
   * block-size-with-min-or-max-content-1a.html
   * block-size-with-min-or-max-content-1b.html
2. Test base cases when we use max-content/min-content on
   width/height/block-size inside the table element.
   * block-size-with-min-or-max-content-table-1a.html
   * block-size-with-min-or-max-content-table-1b.html
3. For {horizontal|vertical} writing mode, we use max-content/min-content on
   {min-|max-}{height|width} and {min-|max-}block-size on the inner element.
   * hori-block-size-small-or-larger-than-container-with-min-or-max-content-1.html
   * vert-block-size-small-or-larger-than-container-with-min-or-max-content-1.html
4. For {horizontal|vertical} writing mode, we use max-content/min-content on
   {min-|max-}{height|width} on the outer element (i.e. the container).
   * hori-block-size-small-or-larger-than-container-with-min-or-max-content-2a.html
   * vert-block-size-small-or-larger-than-container-with-min-or-max-content-2a.html
5. For {horizontal|vertical} writing mode, we use max-content/min-content on
   {min-|max-}block-size on the outer element (i.e. the container).
   * hori-block-size-small-or-larger-than-container-with-min-or-max-content-2b.html
   * vert-block-size-small-or-larger-than-container-with-min-or-max-content-2b.html

Depends on D14320

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:47:41 +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
Manuel Rego Casasnovas 74286ae6ec Bug 1511963 - Fix reference in contain-layout-suppress-baseline-002.html r=emilio
It was pointing to contain-layout-suppress-baseline-001-ref.html
but the correct one is contain-layout-suppress-baseline-002-ref.html.
2018-12-04 04:24:00 +02:00
Daniel Holbert 43d2e1f178 Bug 1507663 part 5: Remove stray/unused markup for "basic"/"basc" class in contain-size-fieldset-002-ref.html. r=TYLin
This class wasn't applied due to a typo, and it's unnecessary anyway -- there's
a separate 'fieldset {...}' CSS rule further down in the file that has the same
effect (hiding the border and the textual contents).

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

--HG--
extra : moz-landing-system : lando
2018-11-26 22:02:22 +00:00
Daniel Holbert 861b0e54bb Bug 1507663 part 4: Add dedicated reftests to verify that "contain:layout" suppresses baseline alignment. r=TYLin
Note that we don't get this correct for form controls yet, so the -002 test is annotated as "fails" for now.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 22:00:46 +00:00
Daniel Holbert cfb6ab418b Bug 1507663 part 3: Update titles to remove stale references to baseline alignment, in two reftests that don't test baseline alignment. r=TYLin
Depends on D12615

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:17:52 +00:00
Daniel Holbert 6c0b28dbdd Bug 1507663 part 2: Adjust reftest 'contain-size-button-001.html' to expect that contain:size *does not* suppress baseline alignment. r=TYLin
Note that Firefox doesn't actually match this expectation yet, so I've added a
'fails' annotation to the manifest with the followup bug number.

Also, this patch makes several other improvements to this test:

 - remove red background in testcase.  This was making the testcase spuriously
   fail in Chrome, because Chrome paints (at least) a 1px-tall background-area
   on empty buttons, which meant a 1px-tall red area in the testcase vs. a
   1px-tall gray area in the reference case.
 - clear floats to prevent them from piling up awkwardly.
 - use 'vertical-align:top' to turn off baseline alignment in parts of the test
   where the testcase has text and the reference case does not (and where we're
   not intentionally testing the baseline's influence on layout).

Depends on D12614

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:05:34 +00:00
Daniel Holbert 856c7058bc Bug 1507663 part 1: Uncomment/invert expectations in some reftests to now expect that contain:size *does not* interfere with baseline alignment. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D12614

--HG--
extra : moz-landing-system : lando
2018-11-26 20:01:57 +00:00
Joel Maher 6ae712cb2a Bug 1509054 - add fuzzy-if statements to allow reftests to run on new windows10 AMI image. r=kats
add fuzzy-if statements to allow reftests to run on new windows10 AMI image

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

--HG--
extra : moz-landing-system : lando
2018-11-21 16:11:24 +00:00
Ting-Yu Lin 1209bed8a8 Bug 1491915 - Fix bullet frame creation for columns. r=bzbarsky
The modification to nsLayoutUtils::GetFirstLinePosition() is needed because we
need to get the correct first line position from child (i.e. ColumnSet) when
there's an outside bullet on ColumnSetWrapperFrame.

The difference between the two newly added tests is "overflow: hidden" on
the columns.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 21:46:23 +00:00
Joel Maher 65cec285ac Bug 1507161 - adjust fuzzy-if statements for win10 tests that are failing on new windows10 ami image. r=ahal
adjust fuzzy-if statements for win10 tests that are fialing on new windows 10 ami image

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:37:30 +00:00
Lee Salzman 81c20a9e90 Bug 1506129 - Fuzz for fixed WebRender DWrote text render mode. r=kats
Depends on D11509

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

--HG--
extra : moz-landing-system : lando
2018-11-09 18:55:58 +00:00
Boris Chiou d781fa81ce Bug 1500107 - Fix the default behavior of scale:<number>{1}. r=birtles
The current spec says: "If only the X value is given, the Y value
defaults to the same value.", so we should update the behavior.

Besides, we also update the serialization, so we serialization both
specified and computed value by servo. We enable the preference
for all the css-transforms, so some of them are passed now.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 23:44:24 +00:00
Ting-Yu Lin f1ae18f596 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:27:36 +00:00
Lee Salzman c2b504684d Bug 1502152 - Skia m71 fuzzing. r=rhunt 2018-10-30 22:17:35 -04:00
Daniel Holbert e7d21b64b2 Bug 1502510: Provide missing image file for calc-background-position and calc-background-size reftests. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D9951

--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/reftests/w3c-css/submitted/values3/support/blue-32x32.png
extra : moz-landing-system : lando
2018-10-29 00:57:16 +00:00
Emilio Cobos Álvarez 8e5db71984 Bug 1501125 - Use WR clips instead of a mask as well for circle() and ellipse() shapes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9463
2018-10-24 00:43:26 +02:00
Cristina Coroiu 0846a53f21 Bug 1432941 - Disable multicol-inherit-003.xht on mac for frequent failures. r=jmaher 2018-10-20 08:07:00 -04:00
Gurzau Raul fa37566219 Merge inbound to mozilla-central. a=merge 2018-10-10 07:35:14 +03:00
Daniel Holbert 12fe521b72 Bug 1495470: Only let 'contain:layout/paint' create stacking contexts on frames that support it. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D7926

--HG--
extra : moz-landing-system : lando
2018-10-09 21:04:03 +00:00
Manuel Rego Casasnovas d9ecddc9fa Bug 1491235: [css-contain] Make 'contain:layout' (not 'contain:size') suppress baseline measurements r=dholbert
The CSSWG has recently resolved that layout containment
suppress baseline alignment, while size containment does not:
https://github.com/w3c/csswg-drafts/issues/2995

Spec text (https://drafts.csswg.org/css-contain/#containment-layout):
  "7. For the purpose of the vertical-align property,
   or any other property whose effects need to relate
   the position of the containing element's baseline
   to something other than its descendants,
   the containing element is treated as having no baseline."

And a note in (https://drafts.csswg.org/css-contain/#containment-size):
  "Note: size containment does not suppress baseline alignment.
   See layout containment for that."

This patch does this change just switching IsContainSize()
by IsLayoutSize() in several places related to baseline alignment
in the source code.

With the patch several WPT tests start to pass. Apart from that,
some of the tests under vendor-imports are updated to follow
the new behavior.

--HG--
extra : amend_source : 05dc9a320afeb1d58981e2bd8bc47b435999f2f9
2018-10-09 14:13:13 -07:00
Emilio Cobos Álvarez d2ed7ef067 Bug 1493645 - Fix line endings in flexbox-dyn-resize-001.html. r=me 2018-09-28 00:28:57 +02:00
Daniel Holbert 62925b4703 Bug 1493645 part 1: When caching flex item sizes, use computed inline size as part of the cache key. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D6991

--HG--
extra : moz-landing-system : lando
2018-09-26 22:51:08 +00:00
Jonathan Kew 24a9c4ca21 Bug 1493181 - Use rounding instead of ceiling when computing 'ch' width; update test expectations accordingly. r=manishearth 2018-09-22 23:26:55 +01:00
Mats Palmgren 67932714b4 Bug 1491731 - [css-text-3] Resolve 'text-indent' using a zero percentage basis in intrinsic sizing. r=dholbert
Per CSSWG resolution:
https://github.com/w3c/csswg-drafts/issues/1597#issuecomment-406001183
2018-09-17 20:14:24 +02:00
Mats Palmgren 280c9ee0c5 Bug 1490730 part 2 - [css-grid] Static position should use content-box, not padding-box. Test reference updates. 2018-09-15 01:30:18 +02:00
Jeff Muizelaar 352d476720 Bug 1490640. Mark intermittent tests as random. 2018-09-12 21:58:57 -04: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
Cosmin Sabou de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Gerald Squelart 7927ab927e Bug 1470462 - contain:size for nsGridContainerFrame - r=dholbert
When contain:size is set for a grid container, ignore sizes from children when
computing own size during layout.

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

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-flex-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-grid-001-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-flex-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-grid-001.html
extra : moz-landing-system : lando
2018-09-11 00:00:05 +00:00
Daniel Holbert b93eae7de2 Bug 1486086: Switch to use logical axes, for stale physical-axis-based flex-item border/padding calculation. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D4974

--HG--
extra : moz-landing-system : lando
2018-09-10 17:40:41 +00:00
Andreea Pavel 68e3aa4736 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-09-11 01:02:34 +03:00
Daniel Holbert 1251117de4 Bug 1490111: Fix typo in reference case link-tag for reftest contain-layout-formatting-context-margin-001.html. (no review; just a trivial test metadata tweak)
This patch fixes a trivial typo and brings the <link rel="match"> tag into
alignment with what we've already got in our reftest.list file.

Landing as DONTBUILD (skipping builds/tests) because this won't impact test
runs, since this <link> tag is inactive in this local copy of the test.

--HG--
extra : rebase_source : 1b0f6f79d671416fb6e617804158925a10499f17
2018-09-10 13:50:42 -07:00
Henrik Winnemöller b28c12db80 Bug 1452979 - Update reftest expectations. r=nical 2018-09-03 21:46:32 +02: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
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 7fe3e02d70 Bug 1481951 part 2: Adjust reftest contain-layout-overflow-002.html to be clearer & have accurate expectations. r=dbaron
This test is basically a copy of its -001 variant, with some "float:left"
sprinkled around on contained descendants.

Before this patch, this test had an additional arbitrary sizing difference as
compared to the -001 version -- there's one element that arbitrarily has class
"outer" in the -002 test whereas it has class "inner-lg" in the -001 version.
These classes have different sizing characteristics, which makes a difference
to whether scrollbars show up, because this element is not contained (though it
is a layout container itself).

This patch undoes this arbitrary difference and also adds a "float" class to
make it easier to see which elements we've sprinkled float styling onto.

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

--HG--
extra : rebase_source : 2630420b4dfc1a307cbfe20447e66fbfecf7b0aa
2018-08-20 12:43:14 -07:00
Daniel Holbert 38fd2332b7 Bug 1481951 part 1: Adjust contain-layout-overflow-* reftests to remove unused rule for nonexistent class "inner-md". r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D3825

--HG--
extra : rebase_source : 74b16f8e06088d47d687e0f07178473c1b1ad540
2018-08-20 12:45:06 -07:00
Daniel Holbert 5c4a4202ff Bug 1483685 part 2: Remove wrap-reverse styling from flexbox-align-content-horiz-001* reftest (& 'vert' variant) since that's now tested elsewhere. r=mihir
--HG--
extra : rebase_source : c65b86fac2e99ccd8dc7beba2a64b946a93f5736
extra : histedit_source : a67f0f8954b8943a4872e5b0250bdd54924ec1f3
2018-08-15 15:17:15 -07:00
Daniel Holbert 62d8ae4bdd Bug 1483685 part 1: Move flexbox-align-content-horizrev-001.xhtml (and its vertrev variant) to w3c-css directory, and add "start/end" cases inside it. r=mihir
--HG--
rename : layout/reftests/flexbox/flexbox-align-content-horizrev-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-002-ref.xhtml
rename : layout/reftests/flexbox/flexbox-align-content-horizrev-001.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-002.xhtml
rename : layout/reftests/flexbox/flexbox-align-content-vertrev-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-002-ref.xhtml
rename : layout/reftests/flexbox/flexbox-align-content-vertrev-001.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-002.xhtml
extra : rebase_source : 144267aada6bc58694fcb668dadeec9c623810a3
extra : histedit_source : 3c147ec16e4e06e0fa2b76cae53c99313a804416
2018-08-15 14:48:45 -07:00
Mihir Iyer 299e679ae7 Bug 1472843 - Implement justify-content:left/right/start/end, align-content:start/end, align-self:self-start/self-end for flexbox. r=dholbert
This commit also removes some cases & warnings about unsupported values that
have now been removed from the css alignment spec.
Specifically: "justify-content:[last] baseline" and
"align-self/align-content: left/right".

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-wmvert-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-001a.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-wmvert-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-002-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-005-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-002.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-005.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-005-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-006-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-005.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-006.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-006-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001a.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-006.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-wmvert-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001a.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-wmvert-001.xhtml
extra : amend_source : 93cd04450f573fcfa11f3400ffd0ecb4cb3e6d90
2018-08-03 07:56:32 -07:00
Morgan Rae Reschenberg f72ce47c36 Bug 1472919 - Establish stacking context, containing block, independent formatting context for contain:layout. r=dbaron
MozReview-Commit-ID: H36HpePX29C

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-containing-block-absolute-001.html => layout/reftests/w3c-css/submitted/contain/contain-layout-containing-block-absolute-001.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-containing-block-fixed-001.html => layout/reftests/w3c-css/submitted/contain/contain-layout-containing-block-fixed-001.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-formatting-context-float-001.html => layout/reftests/w3c-css/submitted/contain/contain-layout-formatting-context-float-001.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-formatting-context-margin-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-layout-formatting-context-margin-001-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-formatting-context-margin-001.html => layout/reftests/w3c-css/submitted/contain/contain-layout-formatting-context-margin-001.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-ignored-cases-no-principal-box-001.html => layout/reftests/w3c-css/submitted/contain/contain-layout-ignored-cases-no-principal-box-001.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-containing-block-absolute-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-layout-ignored-cases-no-principal-box-002-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-containing-block-absolute-001.html => layout/reftests/w3c-css/submitted/contain/contain-layout-ignored-cases-no-principal-box-002.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-containing-block-fixed-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-layout-ignored-cases-no-principal-box-003-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-paint-containing-block-fixed-001.html => layout/reftests/w3c-css/submitted/contain/contain-layout-ignored-cases-no-principal-box-003.html
extra : rebase_source : d6e53cd496c98949b0b4ecfb96d6a8a5eb4d6635
2018-07-20 10:57:22 -07:00
Morgan Rae Reschenberg 1eafba7c64 Bug 1476495 - Treat overflow in contain:layout elements as ink overflow. r=dholbert
MozReview-Commit-ID: 2gRm0LOUTI6

--HG--
extra : rebase_source : 83c0519bd76d68ff6fd8a20968fbb1a0ef9e81d4
2018-07-23 11:04:50 -07:00
Cosmin Sabou 2000d70040 Backed out changeset b580e5b9f9e4 (bug 1476495) for wpt reftest failures on contain-layout-ink-overflow. CLOSED TREE
--HG--
extra : amend_source : 52811bc4cb88b219adc749a02c8f51c7ddb69bd3
2018-08-10 07:17:58 +03:00
Morgan Rae Reschenberg 717134bfa2 Bug 1476495 - Treat overflow in contain:layout elements as ink overflow. r=dholbert
MozReview-Commit-ID: 2gRm0LOUTI6

--HG--
extra : rebase_source : 3efe39a597fce724e59ebc8d001c19234b3646ed
2018-07-23 11:04:50 -07: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
Morgan Rae Reschenberg 20f759a6e0 Bug 1478550 - Adjust IsInnerTableStyle to fail for table captions. r=dholbert
MozReview-Commit-ID: 6CK1XEYWsTl

--HG--
extra : rebase_source : d5f753d0127c482021577fe0f48c67a1361e0b53
2018-07-26 14:09:52 -07:00
Mihir Iyer f7cad8b983 Bug 1473047 - Re-resolve row-gap percentages after intrinsic block size calculated. r=dholbert
MozReview-Commit-ID: EHX1WFvqwr1

--HG--
extra : rebase_source : fb9c082c1c3f74fcc9404016343eb456cb8948ed
2018-07-24 11:38:54 -07:00
Morgan Rae Reschenberg 8c326e567e Bug 1470176 - Implement contain:size for fieldset objects. r=dholbert
MozReview-Commit-ID: ImkclemDA9o

--HG--
extra : rebase_source : cc6fc798f8b2daffaa53da4d2cec4e4d20632e2f
2018-07-17 13:14:39 -07:00
Mihir Iyer 4751922915 Bug 1311892 - Implement <overflow-position> 'safe'/'unsafe' for absolutely positioned boxes in grid and flexbox. r=dholbert
MozReview-Commit-ID: 1xKmq7KFAM4

--HG--
extra : rebase_source : 64c143d908d31fa9bee522e4995b29ddf67749ca
2018-07-19 12:30:48 -07:00
Mihir Iyer 60111bbc33 Bug 1297774 - Implement safe/unsafe for flexbox 'justify-content' and 'align-{content,self,items}' r=dholbert
MozReview-Commit-ID: BHpaSvj5EOW

--HG--
extra : rebase_source : b8b9326fb6f439418471b3e972b80ba78efd43ca
2018-06-26 14:33:02 -07:00
Morgan Rae Reschenberg 16a0e6cd2f Bug 1474663 - Implement contain:size for nsColumnSetFrame. r=dholbert
MozReview-Commit-ID: EE7Un9LUJcV

--HG--
extra : rebase_source : 7e3a3946b93bd3853e2ebfceeb93c28231f12c83
2018-07-12 09:10:52 -07:00
Bogdan Tara a7481969d4 Backed out changeset 4aa2f74bad5b (bug 1474663) for contain size failures CLOSED TREE 2018-07-16 21:11:42 +03:00
Morgan Rae Reschenberg da09c07290 Bug 1474663 - Implement contain:size for nsColumnSetFrame. r=dholbert
MozReview-Commit-ID: EE7Un9LUJcV

--HG--
extra : rebase_source : c89ee8a403821b9f7f901116a8e9a6cb8687cbd0
2018-07-12 09:10:52 -07:00
Ting-Yu Lin 3eb470a022 Bug 1475385 - Unprefix -moz-column-* in w3c-submitted reftests. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D2112

--HG--
extra : moz-landing-system : lando
2018-07-13 15:57:41 +00:00
Mihir Iyer 0caaba609c Bug 1473044 - Make flexbox cross size take row/column gap into account. r=dholbert
MozReview-Commit-ID: 47BNLZOA79W

--HG--
extra : rebase_source : 7d3d99cee3ded337c8a15ea44f2fcff2140a16cd
2018-07-10 10:16:31 -07:00
Daniel Holbert 29750aed37 Bug 1474093: Annotate reftest contain-size-inline-flex-001.html as slightly fuzzy on Windows WebRender. (test-manifest-only)
--HG--
extra : amend_source : 0df1a924a10b8c8d9609c301d714717cd7b96b33
2018-07-07 09:32:54 -07:00
Morgan Rae Reschenberg 9ab261d6c6 Bug 1467209 - Implement contain:size for flexContainerFrame. r=dholbert
MozReview-Commit-ID: 46BFbEGa7uz

--HG--
extra : rebase_source : 5135a92a82340219f2c3b83287af5929105ab5b7
2018-06-29 10:31:22 -07:00
Morgan Rae Reschenberg 2b431dd034 Bug 1467209 - Implement contain:size for blockFrame. r=dholbert
MozReview-Commit-ID: 852mDXLEpOj

--HG--
extra : rebase_source : f55cb848e798ef38fd501c6ffd6fff238fc126bc
2018-06-29 10:30:07 -07:00
Morgan Rae Reschenberg d7195a66a7 Bug 1467209 - Implement contain:size for HTMLButtonControlFrame. r=dholbert
MozReview-Commit-ID: Jsjs3jxy4z3

--HG--
extra : rebase_source : 2532d959dbcf4e062f50a00e05a512d549357116
2018-06-29 10:27:55 -07:00
Morgan Rae Reschenberg 29036db401 Bug 1470329 - Change ReflowInput to have unconstrained BSize for size-contained elements, add reftests r=dholbert
MozReview-Commit-ID: 6IRAi8iScwy

--HG--
extra : rebase_source : 13f3de7149f82aa6d742eda957f1327d41fcd5ef
2018-07-02 09:43:03 -07:00
Brindusan Cristian 911da838e3 Backed out changeset 3eed69f0be08 (bug 1470329) for web-platform failures on /css/css-contain/contain-size-breaks-001.html. CLOSED TREE 2018-07-04 01:26:31 +03:00
Morgan Rae Reschenberg 51d3a6c12c Bug 1470329 - Change ReflowInput to have unconstrained BSize for size-contained elements, add reftests r=dholbert
MozReview-Commit-ID: 6IRAi8iScwy

--HG--
extra : rebase_source : 2d98a5f5fc591fcb8d6360c0a6ac478e6afd77a6
2018-07-02 09:43:03 -07:00
Mihir Iyer b3ebeebc31 Bug 1398483 - Implement column and row gap for flexbox. r=dholbert
MozReview-Commit-ID: 2EmaG3G0HRI

--HG--
extra : rebase_source : ce90f9a38c0f3a6634a95b0f4f97a2a3fbd48a57
2018-06-19 10:28:31 -07:00
Emilio Cobos Álvarez d73b4b0679 Bug 1464782: Rename offset-* logical properties to inset-*. r=xidorn
MozReview-Commit-ID: BW44sru99RF
2018-06-27 16:12:01 +02:00
Joel Maher 8bc0bcda97 Bug 1392106 - random-if more win7 reftest font rendering failures. r=RyanVM 2018-06-26 13:32:30 -04:00
Dan Glastonbury c8136964bd Bug 1467621 - P2: Reftests for {box,text}-shadow with currentcolor. r=xidorn
MozReview-Commit-ID: Ak6qWFetz5d

--HG--
extra : rebase_source : 81392451106833e23751cbbee9262cbbe54104ad
2018-06-19 14:35:15 +10:00
Yusuf Sermet 39baf8cadf Bug 1465936 - Follow-up: Fix reftests to have LF line endings and to end with a newline. r=dholbert
MozReview-Commit-ID: HvndvEbyjJg
2018-06-22 10:04:57 -07:00
Yusuf Sermet 4139d00894 Bug 1465936 - Ignore contain:paint for elements without a principal box, internal table elements except table-cell, internal ruby elements, and non-atomic inlines. r=dholbert
MozReview-Commit-ID: Lt8z3BEWnQy

--HG--
extra : rebase_source : 526838f24f75adc75f825bb7813103a3f02579c7
2018-06-14 10:22:38 -07:00
Yusuf Sermet 56541de400 Bug 1468268 - Remove & simplify unnecessary CSS in contain:paint reftests. r=dholbert
MozReview-Commit-ID: 8m7FTdwEeS7

--HG--
extra : rebase_source : 23460e9661a48d6f0087f71f5a2a42bfe816ba25
2018-06-14 10:59:47 -07:00
Brad Werth 9c2954234b Bug 1466231 Part 4: Correct the size of an element in a submitted WPT test, that was only passing due to this bug. r=dbaron
This reftest was submitted by me with an incorrect size for the shape element.
It was only passing in Firefox due to a related bug, which is now fixed. The
updated size makes this test construct a polygon similar to the one in the
shape-outside-polygon-012 test, which was the original intent.


MozReview-Commit-ID: CuXe2vTmjS0

--HG--
extra : rebase_source : b993a509365055817d8290a3b8a04f6f819e28a0
2018-06-12 11:28:38 -07:00
Brad Werth bb2b1d141a Bug 1466231 Part 3: Change some reftests to expected pass, one with fuzziness. r=dbaron
MozReview-Commit-ID: 2g6EvOuZqRg

--HG--
extra : rebase_source : 52638c6e5344760c88672e7043d5c5b728cfd718
2018-06-12 14:39:14 -07:00
Brad Werth 84bf1764f5 Bug 1466231 Part 2: Add a submitted WPT reftest. r=dbaron
MozReview-Commit-ID: 4OtqxvM4Gen

--HG--
extra : rebase_source : 3cd183d5a294ed4f549a90939d2d0447d9c2a843
2018-06-06 13:21:31 -07:00
Cosmin Sabou 5a87ab1364 Backed out 5 changesets (bug 1466231) for reftest failures on float-retry-push-image.html.
Backed out changeset 8141b2848c2c (bug 1466231)
Backed out changeset 2250da9a0dd0 (bug 1466231)
Backed out changeset 012e16dcc677 (bug 1466231)
Backed out changeset 332453c76ec7 (bug 1466231)
Backed out changeset f926e605d5a9 (bug 1466231)
2018-06-16 01:45:26 +03:00
Brad Werth b3c6982556 Bug 1466231 Part 4: Correct the size of an element in a submitted WPT test, that was only passing due to this bug. r=dbaron
This reftest was submitted by me with an incorrect size for the shape element.
It was only passing in Firefox due to a related bug, which is now fixed. The
updated size makes this test construct a polygon similar to the one in the
shape-outside-polygon-012 test, which was the original intent.


MozReview-Commit-ID: CuXe2vTmjS0

--HG--
extra : rebase_source : 6f316d12e1a40e786bf3df243b2fb882b3df9aa5
2018-06-12 11:28:38 -07:00
Brad Werth bc5c3a038a Bug 1466231 Part 3: Change some reftests to expected pass, one with fuzziness. r=dbaron
MozReview-Commit-ID: 2g6EvOuZqRg

--HG--
extra : rebase_source : 725af5221f665f9adac8cf4f9a85bf7e95975550
2018-06-12 14:39:14 -07:00
Brad Werth e18b798451 Bug 1466231 Part 2: Add a submitted WPT reftest. r=dbaron
MozReview-Commit-ID: 4OtqxvM4Gen

--HG--
extra : rebase_source : 3cd183d5a294ed4f549a90939d2d0447d9c2a843
2018-06-06 13:21:31 -07:00
Dan Glastonbury e4d008ace2 Bug 1467379 - P2: Reftest for currentcolor in gradient stop color. r=xidorn
MozReview-Commit-ID: 97rjeZBqrxM

--HG--
extra : rebase_source : f86e8ea856214241e97d9dd76af1bbe2b09c2aeb
2018-06-14 08:12:05 +10:00
Dorel Luca 05f09702e7 Backed out changeset a2e4bbd59dc7 (bug 1465936) for Web Platform test failures on css/css-contain/contain-paint-005.html 2018-06-12 11:59:32 +03:00
Yusuf Sermet bde12340ee Bug 1465936 - Ignore contain:paint for elements without a principal box, internal table elements except table-cell, internal ruby elements, and non-atomic inlines. r=dholbert
MozReview-Commit-ID: 3Y4clUkIe9O

--HG--
extra : rebase_source : 6772555b53426dbba675b27589067992d7f75643
2018-06-05 15:32:40 -07:00
Daniel Holbert 2eecfcbe24 Bug 1450390 followup: Fix incorrect rel="match" tag in reftest flexbox-abspos-child-002.html. (test-only) 2018-06-10 14:17:06 -07:00
Brad Werth 42d6b2934a Bug 1463745 Part 4: Add tests of inline elements being pushed in block direction past too-wide sections of shape-outside floats. r=dbaron
MozReview-Commit-ID: ocav30Drcs

--HG--
extra : rebase_source : fa33b2ee4d018a58f77e0ee94d5e73e0307717ab
2018-05-30 16:48:46 -07:00
Yusuf Sermet de248c7ca7 Bug 1465250 - Make contain:paint trigger clipping independent of the overflow property. r=mattwoodrow
MozReview-Commit-ID: 2QbfZD1jnWX

--HG--
extra : rebase_source : 3c73973bd6373889ce1d147e348e584036782d1d
2018-05-30 14:28:53 -07:00
Gurzau Raul 70a6147545 Backed out changeset 9bdd12949711 (bug 1465250) for multiple failures on /css-contain/contain-paint-002.html on a CLOSED TREE 2018-06-07 06:40:03 +03:00
Yusuf Sermet f215910786 Bug 1465250 - Make contain:paint trigger clipping independent of the overflow property. r=mattwoodrow
MozReview-Commit-ID: 2QbfZD1jnWX

--HG--
extra : rebase_source : c3a61463a25d9160adde3f04abc4b6b59bf42b6a
2018-05-30 14:28:53 -07:00
Joel Maher 0ddcbb8f81 Bug 1392106 - fix w3c-css received tests manifest conflicts. r=me, a=testonly CLOSED TREE 2018-06-06 06:41:27 -04:00
Joel Maher d113b6d4a4 Bug 1392106 - random-if(win7) reftest font rendering failures. r=RyanVM 2018-06-06 05:30:44 -04:00
Brad Werth 5754fc7fd6 Bug 1461046 Part 6: Remove submitted WPT reftests that checked for empty float areas (which are no longer empty), or relied on ignoring horizontal spurs in polygons. r=dholbert
MozReview-Commit-ID: 4fADKtvcZVp

--HG--
extra : rebase_source : 71673a33ebe6ce0541a23cf783af55ee92988a3a
2018-05-25 10:44:40 -07:00
Gurzau Raul 8409fd4a82 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-02 05:12:32 +03:00
Gurzau Raul b36972ff91 Backed out 7 changesets (bug 1461046) for permafailing reftest on /reftests/css-invalid/select/select-disabled-fieldset-1.html a=backout
Backed out changeset f5990eb1eb0d (bug 1461046)
Backed out changeset 8e0c340b9700 (bug 1461046)
Backed out changeset fbfe1d5b94e1 (bug 1461046)
Backed out changeset 48057a6ba3d6 (bug 1461046)
Backed out changeset 5c8648bcf6bb (bug 1461046)
Backed out changeset 157bbc74460a (bug 1461046)
Backed out changeset e990d4d07b0e (bug 1461046)
2018-06-02 05:07:03 +03:00
Cosmin Sabou 292d295d6b Merge inbound to mozilla-central. a=merge 2018-06-01 12:41:08 +03:00
Daniel Holbert 47ef6a1664 Bug 1463599: Fix endline characters in contain-paint-stacking-context-001* test files. (no review, test-only & whitespace-only)
DONTBUILD

--HG--
extra : rebase_source : c2433e251f5ca860b293ba3d50c57d52d5c0ec49
2018-05-31 11:18:17 -07:00
Brad Werth 517654d95a Bug 1461046 Part 6: Remove submitted WPT reftests that checked for empty float areas (which are no longer empty), or relied on ignoring horizontal spurs in polygons. r=dholbert
MozReview-Commit-ID: 4fADKtvcZVp

--HG--
extra : rebase_source : 61b1c19b40dcbbef6d36683547753e0cde09cb8f
2018-05-25 10:44:40 -07:00
Joel Maher 5cf551b940 Bug 1392106 - random-if more win7 tests for missing letters. r=RyanVM 2018-06-01 09:29:35 -04:00
Csoregi Natalia f3599e000e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-30 12:28:56 +03:00
Emilio Cobos Álvarez dd5f25c2f6 Bug 1465107: Cleanup remaining mochitest / reftest / crashtests stylo expectations. r=xidorn
MozReview-Commit-ID: 1IeURcnoESX
2018-05-30 10:03:50 +02:00
Joel Maher bea2e0899f Bug 1392106 - random-if many more win7 tests. r=RyanVM 2018-05-29 13:50:33 -04:00
Yusuf Sermet ebb3ebe1db Bug 1463599 - Create a stacking context for contain:paint. r=mattwoodrow
MozReview-Commit-ID: Ln72MOlHXwi

--HG--
extra : rebase_source : ec6bd5d3de4635acd2e2d0dcd2222232524d9459
2018-05-28 23:54:01 -07: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
Joel Maher 29d83f200e Bug 1392106 - random-if many more tests on win7. r=RyanVM 2018-05-25 13:03:59 -04:00
Brad Werth 39c314e889 Bug 1463794: Move new WPT reftests to correct source-of-truth directory. r=dbaron+3881
MozReview-Commit-ID: DcM0kVCAsZn

--HG--
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html
extra : rebase_source : add4f42d16a770eac4915b26fb4a7fffd5ac6ac4
2018-05-23 12:53:34 -07:00
Noemi Erli 2be73dec54 Backed out changeset c19f0dedfb15 (bug 1463794) for reftest failures in build/tests/reftest/tests/layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html on a CLOSED TREE
--HG--
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html
2018-05-24 18:30:36 +03:00
Brad Werth 5b8c66a63f Bug 1463794: Move new WPT reftests to correct source-of-truth directory. r=dbaron
MozReview-Commit-ID: DcM0kVCAsZn

--HG--
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html
extra : rebase_source : 3286d9c09b8394b5a48168ec9c257ef7b7579c38
2018-05-23 12:53:34 -07:00
Jonathan Kew 07d3fd7107 Bug 1392147 followup, remove obsolete fuzzy() annotation that was inadvertently left in the patch. r=me 2018-05-23 20:03:18 +01:00
Sebastian Hengst e88db8b986 Backed out 2 changesets (bug 1460041) for failing new reftests on a CLOSED TREE
Backed out changeset 55bf0e045b5e (bug 1460041)
Backed out changeset b80e4986ecfe (bug 1460041)

--HG--
extra : amend_source : 53b04f877c09838715d46124d1186630caa4099b
2018-05-23 20:35:58 +03:00
Joel Maher 5bff4baed5 Bug 1392106 - random-if many tests on win7 to avoid missing letters. r=RyanVM 2018-05-23 13:06:50 -04:00
L. David Baron a9986f687b Bug 1460041 Part 2 followup: reland the correct version of the patch. r=jfkthame 2018-05-23 09:57:35 -07:00
Brad Werth 32a1652991 Bug 1460041 Part 2: Add WPT reftests for many shape-outside shapes that use an element offset from its container. r=jfkthame
This adds several tests to ensure that computation of float areas for
shape-outside shapes works for elements that are offset from their containing
block.

(Part of original patch relanded by dbaron in the correct master directory.)
2018-05-09 12:50:25 -07: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
Jeff Muizelaar b67abeee17 Bug 1458968. Adjust fuzz for webrender tests r=mstange
MozReview-Commit-ID: 73Rs8QPn1xl
2018-05-22 21:41:33 -04:00
Matt Woodrow 756861ae84 Bug 1462412 - Followup - Fix reference test file to match properly.
--HG--
extra : rebase_source : f2b2c926bff4ed104afcc4888184179e1cb3e9b1
2018-05-23 13:28:17 +12:00
Matt Woodrow 95856dac21 Bug 1462412 - Correctly ignore the perspective property for frames that aren't transformable. r=dbaron 2018-05-23 10:41:19 +12:00
Xidorn Quan 5d887e07dc Followup of bug 1392106 backout to remove reftest_writing_modes.list. 2018-05-22 13:57:30 +10:00
Xidorn Quan 99537039c5 Bug 1458159 followup - Update reftest expectations in w3c-css/received/reftest.list on CLOSED TREE 2018-05-22 13:44:15 +10:00
Xidorn Quan d9975fe508 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : source : 653c6b7480997c4e1dbead5f0441bc06a0605b7a
2018-05-22 11:43:30 +10:00
Noemi Erli e380c579e9 Backed out changeset 1be70a3d127f (bug 1458159) for reftest failures in sizing-orthog-vlr-in-htb-008.xht on a CLOSED TREE 2018-05-22 04:23:47 +03:00
Xidorn Quan 98bfde7521 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : rebase_source : 540e68ffff618a6dc3c14b3702b2c042988061a3
2018-05-01 15:18:55 +10:00
Andreea Pavel 5298f758aa Backed out changeset 5352d48512f7 (bug 1458159) for failing reftest min-intrinsic-with-percents-across-elements.html == min-intrinsic-with-percents-across-elements-ref.html on a CLOSED TREE 2018-05-21 13:00:19 +03:00
Xidorn Quan d8a44ee949 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : rebase_source : 6c61fa95a3b01e7b439be46a2498b4f893d8b84b
2018-05-01 15:18:55 +10:00
Joel Maher 5b3afd93d3 backout 3 patches (1ee5b2531836, cac593a84f72, 95ccdb87f63f) from bug 1392106 for not fixing font rendering problems.
--HG--
extra : rebase_source : 30b2aa771eeaa978a8e3af18009f22562d764831
2018-05-18 06:40:00 +03:00
Joel Maher b798845062 Bug 1392106 - skip css writing modes on win7/debug and fix import-tests.py to support reftest_writing_modes.list. r=gbrown,xidorn 2018-05-09 08:55:51 -04: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
Joel Maher fa141745dd Bug 1392106 - split reftest fonts into seperate suite. r=gbrown 2018-04-12 13:58:54 -04:00