Commit Graph

10026 Commits

Author SHA1 Message Date
Matt Woodrow
42c9b79f0b Bug 1544995 - Always update overflow areas up to the preserve-3d root. r=dbaron
We don't store post-transform overflow areas for frames within preserve-3d, but we do store pre-transform overflow areas.
Rather than just recomputing the changed overflow for the root, we should recompute overflows for all ancestors up to the 3d root.

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

--HG--
extra : moz-landing-system : lando
2019-05-19 22:39:58 +00:00
Matt Woodrow
dfc3175e1c Bug 1409114 - Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D29447

--HG--
extra : moz-landing-system : lando
2019-05-20 23:16:39 +00:00
Matt Woodrow
9f39c7b608 Bug 1409114 - Part 8: Create column and column group background display items as part of the cell's BuildDisplayList. r=dbaron
This is the main performance improvement, and means that we no longer have to iterate all the cells for each column.

It has a couple of behaviour changes:

The first is that we no longer apply stacking context effects (like opacity) to column and column group backgrounds.
I believe this is correct as per both CSS2.1 Appendix E, and css-tables-3 (quoted in nsTableColFrame::BuildDisplayList).
This matches the behaviour of blink and WebKit.

We also previously created items in column,row ordering, whereas now they will be in row,column. In cases where two cells
overlap (using rowspan and colspan to extend multiple neighbours in to the same place) this can render backgrounds in a
different order, but the new behaviour matches blink and WebKit.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:16:09 +00:00
Matt Woodrow
8bf47621c6 Bug 1409114 - Part 6: Store column and column group backgrounds separately, and then append then before the rest of the table contents. r=dbaron
This also changes behaviour a bit, previously we interleaved column and column group backgrounds. where we now put all the column group backgrounds behind all columns.
I believe this is the correct ordering as per CSS2.2 Appendix E.

Column backgrounds can overlap when using 'span', and we now render this in a different order, but this matches what other browsers do.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:15:39 +00:00
Jonathan Kew
e0b346b916 Bug 1359240 - Reftest for SVG-in-OT font using gzip-compressed SVG glyph documents. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31108

--HG--
extra : moz-landing-system : lando
2019-05-20 21:01:28 +00:00
Brendan Dahl
543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
Mihai Alexandru Michis
d0cbcbfaf1 Backed out 2 changesets (bug 1359240) for causing reftest failures. CLOSED TREE
Backed out changeset 10cac54d1bb9 (bug 1359240)
Backed out changeset 50ef8f8c6558 (bug 1359240)
2019-05-20 18:31:21 +03:00
Jonathan Kew
0ac415c764 Bug 1359240 - Reftest for SVG-in-OT font using gzip-compressed SVG glyph documents. r=jrmuizel
Depends on D31107

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

--HG--
extra : moz-landing-system : lando
2019-05-20 12:25:07 +00:00
Jonathan Kew
35bcd113af Bug 1509423 - Test/manifest updates to account for minor rendering differences between HarfBuzz and Core Text. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31095

--HG--
extra : moz-landing-system : lando
2019-05-20 14:29:35 +00:00
Bogdan Tara
6150afdc54 Backed out 2 changesets (bug 1359240) for gfxSVGGlyphs.cpp bustages CLOSED TREE
Backed out changeset 02eea6ec83db (bug 1359240)
Backed out changeset a31ec848a1ef (bug 1359240)
2019-05-20 15:21:39 +03:00
Jonathan Kew
adff1a5b06 Bug 1359240 - Reftest for SVG-in-OT font using gzip-compressed SVG glyph documents. r=jrmuizel
Depends on D31107

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

--HG--
extra : moz-landing-system : lando
2019-05-15 21:25:54 +00:00
Mats Palmgren
398d7b6736 Bug 1325798 - Add fuzzy factor for anti-aliasing pixels in scrollbar redendering. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D31661

--HG--
extra : rebase_source : 95f5081440679dbfc9b37e99990980978c73e1e4
2019-05-17 20:05:28 +02:00
Matt Woodrow
cba8f8f353 Bug 1551061 - Enable test for bug 1551053 with retained display lists. r=test-only
--HG--
extra : amend_source : d78814d86150ebe9097a5a18209a749c2561bedd
2019-05-17 14:33:10 +12:00
Daniel Holbert
23b06e8c67 Bug 1508441 followup: adjust reftest failure annotation to point to an updated bug number instead of this closed bug. (no review, test-manifest-only, DONTBUILD) 2019-05-16 12:02:00 -07:00
Coroiu Cristina
b4731ed54d Backed out 12 changesets (bug 1383650) for landing in the soft-freeze period
Backed out changeset 4316d55f87be (bug 1383650)
Backed out changeset 0118148f1534 (bug 1383650)
Backed out changeset 447c9248342b (bug 1383650)
Backed out changeset 6730776560c0 (bug 1383650)
Backed out changeset a7b8e6460fb8 (bug 1383650)
Backed out changeset e864696f6cf8 (bug 1383650)
Backed out changeset 2b003d678c58 (bug 1383650)
Backed out changeset 7bc3bff991c4 (bug 1383650)
Backed out changeset f1f7b4ad9547 (bug 1383650)
Backed out changeset 18b030b31660 (bug 1383650)
Backed out changeset 70e74dd6b45d (bug 1383650)
Backed out changeset 55a283e793df (bug 1383650)
2019-05-16 04:47:58 +03:00
violet
91a6cb1a68 Bug 1383650 - Add reftest for rect, circle, ellipse and foreignObject r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D30807

--HG--
extra : moz-landing-system : lando
2019-05-16 00:55:53 +00:00
Tim Nguyen
c1f5b7a338 Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23045

--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/search-textbox.js
extra : moz-landing-system : lando
2019-05-13 18:12:37 +00:00
Miko Mynttinen
4a60cbef9c Bug 1551053 - Check both list end and non-container items separately during display item merging r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30941

--HG--
extra : moz-landing-system : lando
2019-05-13 21:13:01 +00:00
Emilio Cobos Álvarez
ab3478ba32 Bug 1551137 - <svg:mpath> should work in Shadow DOM. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D30894

--HG--
extra : moz-landing-system : lando
2019-05-13 17:28:59 +00:00
Jonathan Kew
c5d721dff7 Bug 1550532 - Avoid auto-hyphenating capitalized words, except for German. r=emilio,mats
This affects a number of our existing reftests, so we'll need to update those
to not expect auto-hyphenation of a sentence-initial (capitalized) word.

(Hyphenation behavior is not sufficiently well-specified for this to be tested
at the WPT level, so we just use Gecko-specific reftests.)

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

--HG--
extra : moz-landing-system : lando
2019-05-13 16:35:44 +00:00
Coroiu Cristina
cc280c4be9 Backed out changeset c5798de806e2 (bug 1521280) for crashing when searching about:config for upcoming beta (bug 1551013)
--HG--
extra : rebase_source : 8f936159c23d09bf227ce4f5eb6f2d96d33bbff1
2019-05-13 08:50:28 +03:00
Ting-Yu Lin
3021c0878e Bug 1550729 - Enable column-span pref for contain-size-multicol-{002,003}.html individually. r=dholbert
CSS containment is enabled on early beta or earlier. Using
"default-preferences" to flip column-span pref overrides CSS
containment's pref at the first line in the reftest.list, which make the
two test fail on late beta.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 19:48:53 +00:00
Daniel Varga
fc3b3d6290 Bug 1473859 - Changed skip-if to fuzzy-if on linux disable r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30378

--HG--
extra : moz-landing-system : lando
2019-05-10 20:37:14 +00:00
Tim Nguyen
1a57aab68e Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23045

--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/search-textbox.js
extra : moz-landing-system : lando
2019-05-10 11:46:49 +00:00
Ting-Yu Lin
c169d13a59 Bug 1547162 Part 3 - Strip "-moz" prefix for all column properties in the received tests, and mark multicol-span-000-ref.xht pass. r=dbaron
multicol-span-000.xht passes because the id in

  <div id="column-span">123456</div>

was incorrect replaced by "-moz-column-span". Strip the "-moz" prefix
fixed it.

Except failures.list, other files were modified mechanically by running
import-tests.py against https://github.com/web-platform-tests/wpt commit
15f199c91a72b0d51bf0a12b3b77827ecb5051ff (the same commit in
received/import.log).

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

--HG--
extra : moz-landing-system : lando
2019-05-09 23:32:50 +00:00
Ting-Yu Lin
a0b2a1a223 Bug 1547162 Part 2 - Remove all the column properties from gPrefixedProperties in import-tests.py. r=dbaron
Also, build gPrefixRegexp and replace lines only if gPrefixedProperties
is non-empty. Otherwise, the import tests are messed up due to bogus
gPrefixRegexp.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 23:32:00 +00:00
Ting-Yu Lin
bb8e9c6ca6 Bug 1547162 Part 1 - Remove unused variables and imports in import-test.py. r=dbaron
This is discovered by running "flake8 import-tests.py" locally.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 23:30:17 +00:00
Ting-Yu Lin
62831385c7 Bug 1494100 Part 3 - Implement "contain:size" for ColumnSetWrapperFrame. r=dholbert
Add multicol-width-004.html and multicol-width-005.html to test "width:
min-content" and "width: max-content" with column-span:all children.
There's no size containment in these tests.

Note it may be worth to reuse nsBlockFrame's mCachedMinISize and
mCachedPrefISize to cache intrinsic size for ColumnSetWrapperFrame, but
this can be done separately.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:58:39 +00:00
Ting-Yu Lin
44b91cdf58 Bug 1548118 Part 4 - Always mark inner ColumnSetWrapper's children dirty before reflowing it if the outer ColumnSetWrapper is balancing. r=dbaron
ColumnSetFrame always tries to reflow column content regardless of it's
dirtiness. Making ColumnSetWrapperFrame's children dirty can have the
same effect.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 03:12:18 +00:00
Ting-Yu Lin
1bfc721a99 Bug 1548118 Part 3 - Remove margin-bottom from column-balancing-nested-001.html and its reference. r=dbaron
Per bug 1487927, margin-bottom value is not always rendered as expected
with our column balancing algorithm. I'd like to remove it from
column-balancing-nested-001.html, and add <br> to separate each cases.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 03:12:18 +00:00
Alexis Beingessner
0feadff33f Bug 1545768 - Re-enable good text bounds for webrender. r=kats
This just reverts commit 580a7e38c60491123f3e7bba82904008ab0262d1.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 11:20:34 +00:00
Lee Salzman
0037d62d7b Bug 1414961 - enable WR dual-source blending by default. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D30107

--HG--
extra : moz-landing-system : lando
2019-05-07 02:30:16 +00:00
arthur.iakab
e044816b6c Backed out 3 changesets (bug 1548118) for causing reftest failures on column-balancing-nested-001.html CLOSED TREE
Backed out changeset 516cc2c504f5 (bug 1548118)
Backed out changeset 40a074be8bf0 (bug 1548118)
Backed out changeset f3821529e276 (bug 1548118)
2019-05-07 05:41:24 +03:00
Ting-Yu Lin
0c3d6cd3a5 Bug 1548118 Part 3 - Always mark inner ColumnSetWrapper's children dirty before reflowing it if the outer ColumnSetWrapper is balancing. r=dbaron
ColumnSetFrame always tries to reflow column content regardless of it's
dirtiness. Making ColumnSetWrapperFrame's children dirty can have the
same effect.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 23:09:35 +00:00
Jeff Muizelaar
0e7d61fe73 Bug 1539846. Ensure building rect changes cause invalidations. r=mstange
Typically this would be handled by the visible region of the layer
changing. However, since we build the container layer for the filter
item directly the visible region doesn't get set or checked. As a
shortcut to using more of FLB we just ensure the building rect hasn't
changed.

The situations under which this bugs shows up are somewhat rare:
- The filtered item needs to be in transform so that it's bounds
  are not changed by scrolling.
- The filtered item needs to contain items that change their drawing
  depending on the building rect. In this case an image with downscale
  on decode.
- The filter needs to be unsupported by WebRender.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 20:46:07 +00:00
Emilio Cobos Álvarez
eced12d735 Bug 1548809 - Don't paint outlines for empty fragments of IB-splits. r=mats
Added a test to test the empty block (didn't submit to WPT because it's not
clear to me if the outlines of the two spans should form a single rect or not).

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

--HG--
extra : moz-landing-system : lando
2019-05-03 13:31:34 +00:00
Gurzau Raul
bf5404331b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 07:22:56 +03:00
Gurzau Raul
b4e790d05f Merge inbound to mozilla-central. a=merge 2019-05-03 07:16:59 +03:00
Ting-Yu Lin
87b3beffae Bug 1548126 - Mark known existing reftests failures with column-span enabled. r=dholbert
Due to the syntax limitation in failures.list, I cannot mark
multicol-rule-004.xht as fails with column-span enabled and success with
column-span disabled simultaneously. Luckily, we had another copy of it
in testing/web-platform/tests/css/css-multicol/multicol-rule-004.xht, We
can use it to test with column-span disabled for now.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 21:41:33 +00:00
Matt Woodrow
ccad9d3fc8 Bug 1414033 - Recursively invalidate any cached ContainerLayer surfaces for new attached Layers, since they might have been moved and we don't track invalid areas within them. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29452

--HG--
extra : moz-landing-system : lando
2019-05-02 21:00:30 +00:00
violet
47cc97916c Bug 608812 - Add blurry reftest r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D29621

--HG--
extra : moz-landing-system : lando
2019-05-02 20:51:55 +00:00
Brian Grinstead
787d9413a8 Bug 1500626 - Convert <menuitem> bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D9322

--HG--
extra : moz-landing-system : lando
2019-05-02 19:28:18 +00:00
Emilio Cobos Álvarez
ad082043b5 Back out changeset 0e9ee7d2188b (bug 1541233) as per bug discussion. 2019-05-02 21:50:57 +02:00
Noemi Erli
15d9c099fb Backed out changeset 10a025aed3d4 (bug 1414033) for failing in opacity-keep-intermediate-surface-too-long.html 2019-05-02 06:05:10 +03:00
violet
96e3a70dc5 Bug 608812 - GetTransformForRendering() should have the same rounding behavior r=emilio
The comment in nsDisplayTransform::GetTransformForRendering() clearly
says that |aOutOrigin| should return the same offset as GetTransform().

GetTransform() will pass the offset to GetResultingTransformMatrix()
which will round it in many cases to avoid subpixel blurry rendering.

But GetTransformForRendering() doesn't take this rounding into account,
thus contradicting the intent described by the comment.

This rounding is important to keep subpixel behavior consistent with
or without webrender enabled. Currently, SVG will be rendered blurry
in some cases if it's at a subpixel position. After fixing the problem
in non-webrender case, the strange blur still occurs in webrender case.
It turns out to be caused by this inconsistency.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 15:20:31 +00:00
violet
3c2c9a686e Bug 608812 - Should snap subpixel value for outer svg and anon child r=longsonr
We should  snap subpixel value at nsDisplayTransform::GetResultingTransformMatrix
for outer svg and the anon child. This will solve blurry rendering for subpixel position
when webrender is __not__ enabled.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 17:53:32 +00:00
Matt Woodrow
6fe6d1d590 Bug 1414033 - Recursively invalidate any cached ContainerLayer surfaces for new attached Layers, since they might have been moved and we don't track invalid areas within them. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29452

--HG--
extra : moz-landing-system : lando
2019-05-02 01:14:46 +00:00
Glenn Watson
21c39a0ede Bug 1548171 - Allocate texture cache location for render task cache immediately. r=kvark
This is a first step towards allowing (some) batching work to be
done during prepare_prims pass rather than render pass building.

This is prep work related to output different batch lists for a given
picture (e.g. a different batch list per dirty region), rather than
replaying the same batch list.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:31:47 +00:00
Cosmin Sabou
e6eb7b2e78 Bug 1540635 - Fuzzy-if 1295466-1.xhtml on linux for frequent failures. r=jmaher
--HG--
extra : rebase_source : 08beb9d9db2935d53e5fbdf4616fc9d611a9ca8b
2019-05-01 21:46:06 +03:00
Cosmin Sabou
3f94b5cd03 Backed out changeset cec83984a5aa (bug 1540635) for reftest mass failures on layout/reftests/bugs/reftest.list. CLOSED TREE 2019-05-01 20:44:31 +03:00