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

55 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo 1630744f89 Bug 1458145 - Extend the ASR adjustment performed on perspective items, to a wrapping OwnLayer item as well. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D100144
2020-12-21 21:29:40 +00:00
Emilio Cobos Álvarez 04502effb0 Bug 1618584 - Some tests are asserting less.
MANUAL PUSH: UNEXPECTED-PASS fixes on a CLOSED TREE
2020-12-18 17:25:58 +01:00
Kartik Gautam f7ffcd09fb Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Dorel Luca 7320ae982a Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam caf549c200 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Emilio Cobos Álvarez cf07cf6df6 Bug 1621274 - Skip some table layout assertions when xul is involved. r=dholbert
Realistically we're not going to bother investigating these, I suspect,
and Thunderbird seems to hit these too often in their tests.

Differential Revision: https://phabricator.services.mozilla.com/D75683
2020-09-30 12:25:37 +00:00
Kartikaya Gupta 40a788d924 Bug 1647034 - Change how the visual viewport is updated to eliminate spurious reflows. r=tnikkel
There's two code changes in this patch:

- The update to the visual viewport that was happening just before positioning
  the fixed items gets moved to happen after determining the scrollbars for
  the root scrollframe. This moves it a little bit earlier, to basically the
  earliest point at which the visual viewport can actually be computed, since
  it depends on the presence of the root scrollframe's scrollbars.

  More importantly, this change sets the visual viewport without checking to
  see if one was already set, as the old code did. This means every reflow
  of the root scrollframe on a presShell with an MVM will now have a visual
  viewport set. Previously the visual viewport would only get set for the first
  time when the MVM got a load or first-paint event, and then would get updated
  for subsequent reflows. The net effect here is that the visual viewport is
  set earlier, and this can sometimes eliminate extra reflows from after the
  load event, because everything is already in a consistent state.

- The NotifyResizeReflow call to MVM is replaced by a NotifyReflow call that
  runs before every reflow, instead of just on resizes. Note that the
  NotifyReflow also doesn't update the visual viewport like NotifyResizeReflow
  used to do, because that is taken care of by the above-mentioned code change
  to set the visual viewport.

  This is desirable because there are things that run during reflow that attempt
  to read the display size from the MVM, and they were getting a zero size
  for reflows that happened before the first resize or load/first-paint events.
  Now they get a valid display size on every reflow, and so again this allows
  fewer overall reflows as the code converges to a stable state faster.

Together these changes ensure that every reflow has access to up-to-date
properties (display size, mobile viewport size, visual viewport size) from the
MVM. This eliminates unnecessary reflows because of out-of-order computations
based on stale values and such. Therefore the number of reflows goes down,
which is reflected by the changes to the crashtest assertion counts.

Differential Revision: https://phabricator.services.mozilla.com/D81375
2020-06-29 18:39:57 +00:00
Kartikaya Gupta b9d1b84ed3 Bug 1644271 - Adjust assertion counts on some crashtests. r=tnikkel
I looked at the assertion stacks and checked that there were no new kinds of
assertions being triggered, just more of the same old assertions. Seems
reasonable that as the desktop behaviour moves closer to mobile (by turning
on visual viewport codepaths) the assertion count will also match that of
mobile.

Depends on D80088

Differential Revision: https://phabricator.services.mozilla.com/D80089
2020-06-21 20:48:32 +00:00
Razvan Maries c60adf564e Backed out 6 changesets (bug 1644271) for perma failures on browser_bug1170531.js.
Backed out changeset 9d4e746c732d (bug 1644271)
Backed out changeset 681a48643a84 (bug 1644271)
Backed out changeset 3cf3176c45d4 (bug 1644271)
Backed out changeset efaddcd67a33 (bug 1644271)
Backed out changeset 03aaac05c759 (bug 1644271)
Backed out changeset a780f5111efa (bug 1644271)
2020-06-21 23:44:04 +03:00
Kartikaya Gupta c2c799ab64 Bug 1644271 - Adjust assertion counts on some crashtests. r=tnikkel
I looked at the assertion stacks and checked that there were no new kinds of
assertions being triggered, just more of the same old assertions. Seems
reasonable that as the desktop behaviour moves closer to mobile (by turning
on visual viewport codepaths) the assertion count will also match that of
mobile.

Depends on D80088

Differential Revision: https://phabricator.services.mozilla.com/D80089
2020-06-20 11:13:27 +00:00
Jonathan Kew f2b9997dda Bug 1587953 - Improve Gtk theme handling for some widgets in vertical writing-modes. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D67289

--HG--
extra : moz-landing-system : lando
2020-03-19 19:29:55 +00:00
Miko Mynttinen 610f6700a9 Bug 1589800 - Mark partial display list build failed if a blend mode was added r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D64751

--HG--
extra : moz-landing-system : lando
2020-03-02 15:13:00 +00:00
Emilio Cobos Álvarez 547c9db8cd Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 21:00:42 +00:00
Bogdan Tara 6571a2a6fb Backed out changeset 23d862866f3a (bug 1606130) for android crashtest complaining about 1547420-1.html 2020-01-07 22:53:10 +02:00
Emilio Cobos Álvarez ff938720a8 Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 18:02:05 +00:00
Geoff Brown d0c30405e1 Bug 1521640 - Update android crashtest assertion ranges; r=geckoview-reviewers,snorp
Avoid assertion range mismatch errors in Android crashtests.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 19:40:24 +00:00
Geoff Brown b0e5901c93 Bug 1582884 - Enable some crashtests on Android; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D46784

--HG--
extra : moz-landing-system : lando
2019-09-24 01:12:09 +00:00
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Charlie Marlow c762d7b259 Bug 1574392: fix for crash caused by a zero length textblob r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42347

--HG--
extra : moz-landing-system : lando
2019-08-16 20:57:45 +00:00
Matt Woodrow d35146931b Bug 1555819 - Remove invalidated display items during PreProcessDisplayLists, since we might not merge their display list. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D33881

--HG--
extra : moz-landing-system : lando
2019-06-11 04:39:17 +00:00
Cosmin Sabou 3d72a8ffe7 Backed out 2 changesets (bug 1547802, bug 1555819) for build bustages on nsDisplayList.
Backed out changeset aea91be6ce82 (bug 1555819)
Backed out changeset 11a69daedddb (bug 1547802)
2019-06-11 06:52:46 +03:00
Matt Woodrow 5dc2d83f7b Bug 1555819 - Remove invalidated display items during PreProcessDisplayLists, since we might not merge their display list. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D33881

--HG--
extra : moz-landing-system : lando
2019-06-11 02:20:21 +00:00
Noemi Erli 5b41ddf5f2 Backed out 2 changesets (bug 1547802, bug 1555819) mochitest and marionette failures CLOSED TREE
Backed out changeset 10ba83441846 (bug 1555819)
Backed out changeset b9af6aea762d (bug 1547802)
2019-06-07 09:12:09 +03:00
Matt Woodrow bc3e85dc75 Bug 1555819 - Remove invalidated display items during PreProcessDisplayLists, since we might not merge their display list. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D33881

--HG--
extra : moz-landing-system : lando
2019-06-07 01:55:57 +00:00
Matt Woodrow 90ea5fbc78 Bug 1551389 - Compare line pointers directly, since we're ok with it failing if the lines are in different lists. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D31152

--HG--
extra : moz-landing-system : lando
2019-05-19 21:56:21 +00:00
Matt Woodrow 3e231add81 Bug 1549909 - Use display list building order for walking parents in AddFramesForContainingBlock. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D30453

--HG--
extra : moz-landing-system : lando
2019-05-15 03:33:26 +00:00
Narcis Beleuzu 94512af92c Backed out changeset 9d6897b968f6 (bug 1551389) for crashtest failures on 1551389-1.html 2019-05-15 06:15:35 +03:00
Matt Woodrow e470ac5993 Bug 1551389 - Compare line lists as well as lines when deciding if two frames are on the same line. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D31152

--HG--
extra : moz-landing-system : lando
2019-05-14 22:26:17 +00:00
Csoregi Natalia 6b3623045e Backed out changeset 7c1fce459b7a (bug 1549909) for crashtest failures on 1458028.html. CLOSED TREE 2019-05-10 14:21:07 +03:00
Matt Woodrow 6f7852c76c Bug 1549909 - Use display list building order for walking parents in AddFramesForContainingBlock. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D30453

--HG--
extra : moz-landing-system : lando
2019-05-10 04:58:39 +00:00
Miko Mynttinen 85748ab45f Bug 1547420 - Handle bounds overflow in FrameLayerBuilder::PaintItems() r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29754

--HG--
extra : moz-landing-system : lando
2019-05-03 15:15:44 +00:00
Geoff Brown eed275df56 Bug 1424166 - Disable crashtest 1418177-1.html on android for frequent intermittent failures; r=me,a=test-only
--HG--
extra : rebase_source : c7de0a4fb9da0b8a8a9b1db4cb64cd3b35c8d7ed
2019-01-22 15:05:16 -07:00
Matt Woodrow f278a7e08c Bug 1500864 - Cull items within opacity:0 containers when merging with retained display lists. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D14304

--HG--
extra : moz-landing-system : lando
2018-12-16 23:35:42 +00:00
Emilio Cobos Álvarez 4cf97e23c7 Bug 1504033 - Ensure we don't start walking past our subtree. r=mattwoodrow
In this case aAncestor is an SVGOuterSVGFrame, and aItem is a transform item for
its AnonChildFrame.

I'm not sure if it's quite expected to have such a frame generating a
transform...

Let me know if not and I can try to dig more, but this looks intentional given
the comment in nsSVGOuterSVGAnonChildFrame.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 01:37:19 +00:00
Miko Mynttinen 1f7081c0aa Bug 1477831 - Merge items in FLBDisplayItemIterator r=mattwoodrow
MozReview-Commit-ID: AWxVue3tjN1

--HG--
extra : rebase_source : 94a3a2bbc70b2259c7ad0caeaec62fc10770b872
2018-07-24 16:31:04 +02:00
Kartikaya Gupta 11b43679d8 Bug 1421825 - Fix crash and re-enable crashtest. r=jrmuizel
In some cases we get a gecko display list that looks like this:

WrapList with asr(<A>, <B>)
  Item with asr (<B>) and clipchain(<something> [A])

In this case, we would initialize the WebRenderLayerScrollData for the
nested item using a stop-at ancestor of A (because that was the leafmost
ASR from the containing WrapList) but the item itself has an ASR of B,
which is an ancestor of A. So when walking up from B we'd never hit the
stop-at ancestor, and so we'd end up duplicating metrics from the
containing WRLSD onto the nested WRLSD. This generated an assertion
failure in the APZ code.

This patch detects this scenario and skips adding metrics on the nested
WRLSD. This produces an APZ tree equivalent to what the non-WebRender
path would produce.

MozReview-Commit-ID: 8eo6pzXXKBd

--HG--
extra : rebase_source : 0581c54c4d9fa6ca08249e42b306c7155022bec7
2018-07-10 09:37:40 -04:00
Tyson Smith f806457a58 Bug 1469472 - Add crashtest. 2018-06-22 12:20:37 -04:00
Hiroyuki Ikezoe ca097c91ca Bug 1468124 - Don't calculate overflow area if there is any frames in preserve-3d context. r=mattwoodrow
MozReview-Commit-ID: 2Ts3MzdouB7

--HG--
extra : rebase_source : f4cbff214d410012dae862670a82361e9a322f23
2018-06-19 14:49:47 +09:00
Lee Salzman 0512c7822e Bug 1465305 - ensure nsDisplayBackgroundColor::Paint begins a new path before adding rectangle. r=jfkthame 2018-06-07 11:49:39 -04:00
Miko Mynttinen ce747b87c6 Bug 1455944 - Do not paint nsDisplayOpacity children when opacity push/pop markers have empty paint rect r=mattwoodrow
MozReview-Commit-ID: 5BgHOFjW34H

--HG--
extra : rebase_source : 0fc76b610ee3149c525e342988fac5b5028feeeb
2018-04-25 22:54:18 +02:00
Miko Mynttinen 181215aa0f Bug 1454105 - Do not flatten opacity for IB splits r=mattwoodrow
MozReview-Commit-ID: 67nBRgzdSZ6

--HG--
extra : rebase_source : 5bd24b253e4d3c2638c38d745abf16abebabd302
2018-04-24 17:17:04 +02:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Kartikaya Gupta 1707a5be08 Bug 1430589 - Add crashtest. r=mattwoodrow,mstange
MozReview-Commit-ID: 4KBEobcNx7w
2018-01-19 23:47:29 -05:00
Miko Mynttinen 64bd4309b2 Bug 1428906 - Implement Clone() and copy-constructors for nsDisplayTableBlendMode, nsDisplayTableBlendContainer, and nsDisplayTableFixedPosition r=mattwoodrow
MozReview-Commit-ID: Fr34xFp4n8

--HG--
extra : rebase_source : b9052c71ffadfb94207bc0aa37ce371c4e7ea497
2018-01-09 13:55:35 +01:00
Miko Mynttinen 03b4894819 Bug 1425271 - Improve temporary display item removal r=mattwoodrow
MozReview-Commit-ID: FBDuGice0DU

--HG--
extra : rebase_source : 3e932e2851d9f706e11c56156a5bc48a2df8b1c2
2017-12-15 16:33:03 -06:00
Morris Tseng 370148757e Bug 1418177 - Add crashtest. r=mattwoodrow
MozReview-Commit-ID: EADOkkqo6Dj
2017-12-05 16:47:27 +08:00
Morris Tseng 95e86e857a Bug 1421930 - Add crashtest. r=mattwoodrow
MozReview-Commit-ID: BXTREZhY3fK

--HG--
extra : rebase_source : e2ec2186e9b1b39aa5c9b2fdd1bc871412ec35e5
2017-11-30 10:36:46 +08:00
Matt Woodrow dc809d0cf5 Bug 1418722 - Mark nsDisplayPerspective items for removal when the inner transform frame gets removed from the frame tree. r=mstange
--HG--
extra : rebase_source : 2fb93f516949aa084ab014388fbb19e7a59f1c19
2017-11-28 09:39:08 +13:00
Matt Woodrow 367e79bd4d Bug 1413073 - Part 1: Add new crashtests for complex ASR cases. r=mstange
--HG--
extra : rebase_source : b2a075e9c703d7cd470546cf2bbd6516bea8192f
2017-11-10 13:16:36 +13:00