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

61761 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia 3ec05888ca Merge inbound to mozilla-central r=merge a=merge 2017-12-16 11:37:48 +02: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
Gerald Squelart 024f843fb6 Bug 1425550 - Output frame tree when RDL checker finds issues - r=mattwoodrow
MozReview-Commit-ID: IGnFpDuk0Sc

--HG--
extra : rebase_source : 28099067dd8bcecd51cdc56a5befcf807f140f89
2017-12-15 14:56:37 -06:00
Cosmin Sabou d1dc090edc Backed out changeset 3eab9fd44dda (bug 1425550) for build bustages on build/src/layout/base/nsLayoutUtils.cpp:3888:21 r=backout on a CLOSED TREE 2017-12-16 00:56:48 +02:00
Brindusan Cristian bd96271858 Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-15 23:56:03 +02:00
Ciure Andrei 7e4e20da7d Merge inbound to mozilla-central r=merge a=merge 2017-12-15 23:52:00 +02:00
Gerald Squelart 61cd254de0 Bug 1425550 - Output frame tree when RDL checker finds issues - r=mattwoodrow
MozReview-Commit-ID: IGnFpDuk0Sc

--HG--
extra : rebase_source : 659c6ed336493a458bc62c2eb73ebc08fef0a0d4
2017-12-15 14:56:37 -06:00
Botond Ballo c1cb97c6d8 Bug 1425485 - Propagate overscroll-behavior on a text input to the anonymous scrollable <div> inside it. r=tnikkel
MozReview-Commit-ID: Ey1Ns34GXJL

--HG--
extra : rebase_source : 67676a085787170ff99bae8142890616cc3e774c
2017-12-15 13:23:24 -05:00
Emilio Cobos Álvarez 2c789cb314 Bug 1424952: Modernize a bit more nsImageMap, and make removals a bit more incremental. r=dholbert
Summary: MozReview-Commit-ID: 4iXJtLKEwY7

Reviewers: dholbert

Reviewed By: dholbert

Bug #: 1424952

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

MozReview-Commit-ID: 3FANAhS06Z5
2017-12-15 17:53:41 +01:00
Margareta Eliza Balazs defd7cd449 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-15 11:52:23 +02:00
Narcis Beleuzu 88be244907 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-15 03:47:38 +02:00
Narcis Beleuzu b73dac9611 Merge autoland to mozilla-central. r=merge a=merge on a CLOSED TREE 2017-12-15 03:43:08 +02:00
Matt Woodrow 7418541eb3 Bug 1419609 - Always mark the root agr as async. r=jwatt 2017-12-14 17:39:49 -06:00
Matt Woodrow 5d4d20a5a6 Bug 1419021 - Part 2: Don't do a full display list build when there are no modified frames. r=miko 2017-12-14 17:38:21 -06:00
Matt Woodrow 1571d5e823 Bug 1419021 - Part 1: Invalidate display items when we get a size for decoded images since this can change the display items we build. r=tnikkel
This breaks rendering when we try do a sync decode paint since we might not have created the nsDisplayImage/nsDisplayBackgroundImage yet (or cached the empty size) and so we never get to the actual paint call.
2017-12-14 17:37:56 -06:00
Kartikaya Gupta 1a9363bebe Bug 1424782 - Follow-up to remove overzealous assertion I added. r=me
With webrender and gfx.webrender.hit-test enabled, we create
nsDisplayCompositorHitTestInfo items which are subclasses of nsDisplayEventReceiver,
and we do so even for painting display lists. So this assertion trips even though
this is the desired behaviour. I'm taking the assertion out as it is not really
needed.

DONTBUILD because trivial assertion removal

MozReview-Commit-ID: Bs9PjtQSwqQ
2017-12-14 13:55:08 -05:00
Miko Mynttinen ea3073f5e3 Bug 1425115 - Only add nsDisplayPerspective to mTransformFrame when retaining display list r=mattwoodrow
MozReview-Commit-ID: HKey0DG2r4c

--HG--
extra : rebase_source : 4e3087f2c12751ec129d558127556259b1b12f23
extra : source : 27e11cbb58f2549e3df59aea3f95306613ec6194
2017-12-13 14:38:24 -06:00
Narcis Beleuzu eda8e08e68 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-15 03:46:15 +02:00
00626c42d9 Bug 1413104 - Drop telemetry probes for layer size; r=botond
MozReview-Commit-ID: FtpTJDC50A8

--HG--
extra : rebase_source : 2e1ba62ae1cb462546ce552efccdde2fe1380a00
2017-12-14 21:36:09 +00:00
Morris Tseng f4496d23fc Bug 1419546 - Consider mLayer in nsDisplayTableBackgroundImage::GetPerFrameKey(). r=mattwoodrow
MozReview-Commit-ID: Bqk0U4REESW

--HG--
extra : rebase_source : 6519c6df50d282cbeff42b414ac13578347e8586
2017-12-13 10:44:17 -06:00
Gerald Squelart 0c3cf12488 Bug 1416991 - Fix perspective indexing in partial DL builds - r=mattwoodrow
Perspective item indices (used to produce unique per-frame keys) were generated
by incrementing a counter in the builder when building a perspective display
item. This caused problems with retained display lists, because an unmodified
perspective could be skipped during a partial build, causing other perspectives
to be incorrectly numbered and then incorrectly merged with the previous
retained display list.

To fix this, we need to always increment the counter if there is likely to be
a perspective, before that item may be skipped.

MozReview-Commit-ID: Edn7lUOLuPw

--HG--
extra : rebase_source : 5d10d4595576d17a2ac3fa6d6289fb98408c3654
2017-12-13 05:41:13 -06:00
Narcis Beleuzu cb3d418959 Backed out changeset 6cb9414b5d77 (bug 1425115) for web platform reftests failures on CSS2/borders. r=backout on a CLOSED TREE 2017-12-14 23:21:40 +02:00
Miko Mynttinen b427c98213 Bug 1425115 - Only add nsDisplayPerspective to mTransformFrame when retaining display list r=mattwoodrow
MozReview-Commit-ID: HKey0DG2r4c

--HG--
extra : rebase_source : 4e3087f2c12751ec129d558127556259b1b12f23
extra : source : 27e11cbb58f2549e3df59aea3f95306613ec6194
2017-12-13 14:38:24 -06:00
Boris Zbarsky 68d5557904 Bug 1425107. Fix setting scrollTop to 0 on an element with a pending scroll position restore to actually work correctly. r=mats
MozReview-Commit-ID: 949eBXmKHlA
2017-12-14 12:45:37 -05:00
Mats Palmgren 0de4d4e471 Bug 1424528 part 4 - Remove the nsDidReflowStatus enum type. r=dholbert
MozReview-Commit-ID: 3QFWSlQ84fF
2017-12-14 16:21:49 +01:00
Mats Palmgren 41423a85e6 Bug 1424528 part 3 - A few manual fixes related to removing the nsDidReflowStatus param in DidReflow. r=dholbert
MozReview-Commit-ID: 8elJQTfOaaL
2017-12-14 16:21:49 +01:00
Mats Palmgren fb3dd87715 Bug 1424528 part 2 - Remove nsDidReflowStatus param in DidReflow declarations (automated change). r=dholbert
MozReview-Commit-ID: 44pchGXzYL7
2017-12-14 16:21:49 +01:00
Mats Palmgren 60e745ae58 Bug 1424528 part 1 - Remove nsDidReflowStatus::FINISHED 3rd arg in DidReflow calls (automated change). r=dholbert
MozReview-Commit-ID: CiK7pV0OsGr
2017-12-14 16:21:49 +01:00
Mats Palmgren 22e39fd75a Bug 1424524 part 2 - Use IsFlexOrGridContainer() in a few more places. r=dholbert
MozReview-Commit-ID: 3BwSheNfbrx
2017-12-14 16:21:49 +01:00
Mats Palmgren 979ed84b2e Bug 1424524 part 1 - Use IsFlexContainerForLegacyBox() to avoid code duplication. r=dholbert
MozReview-Commit-ID: 6LY3iW4YnbY
2017-12-14 16:21:49 +01:00
Emilio Cobos Álvarez b864765f92 Bug 1424816: Remove the document state cache. r=smaug
See bug 1422633, there are assertions missing, and servo doesn't assert at all
anymore.

I don't think it's worth optimizing / lazily resolving it, each time the
document state changes.

We usually just restyle the world anyway (which requires recomputing it), and
the changes that it's optimizing (nsWindow::SetActive() and XUL root element
localedir attribute changes) aren't common enough to warrant the complexity I'd
say.

This doesn't handle invalidating the cache in the case the root element goes
away, I haven't bothered because it was already broken, and GetRootElement() is
already gone in RemoveSubtreeFromDocument.

MozReview-Commit-ID: 9RuQhmmy7Kr
2017-12-14 16:07:36 +01:00
Dorel Luca 110706c3c0 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-14 11:54:15 +02:00
Jonathan Kew 1a613e00cb Bug 1424898 - patch 2 - De-virtualize nsIWordBreaker and rename to mozilla::intl::WordBreaker. r=m_kato
--HG--
rename : intl/lwbrk/nsSampleWordBreaker.cpp => intl/lwbrk/WordBreaker.cpp
rename : intl/lwbrk/nsIWordBreaker.h => intl/lwbrk/WordBreaker.h
2017-12-13 22:17:38 -06:00
Jonathan Kew 574a922078 Bug 1424898 - patch 1 - De-virtualize nsILineBreaker and rename to mozilla::intl::LineBreaker. r=m_kato
--HG--
rename : intl/lwbrk/nsJISx4051LineBreaker.cpp => intl/lwbrk/LineBreaker.cpp
rename : intl/lwbrk/nsILineBreaker.h => intl/lwbrk/LineBreaker.h
2017-12-13 22:17:32 -06:00
Dorel Luca 61983e9ada Backed out 5 changesets (bug 1421799) for failing browser-chrome on Linux and OSX and for failing autophone-mochitest on Android r=backout on a CLOSED TREE
Backed out changeset 7fb20bced076 (bug 1421799)
Backed out changeset 629e467a07be (bug 1421799)
Backed out changeset 2de335c0287a (bug 1421799)
Backed out changeset afe14ec646ab (bug 1421799)
Backed out changeset bbe4d2292f86 (bug 1421799)
2017-12-14 15:41:22 +02:00
Jonathan Watt f239219d4f Bug 1425178 - Rename nsPrintEngine to nsPrintJob. r=bobowen
MozReview-Commit-ID: 2HCNmeOLPd3

--HG--
rename : layout/printing/nsPrintEngine.cpp => layout/printing/nsPrintJob.cpp
rename : layout/printing/nsPrintEngine.h => layout/printing/nsPrintJob.h
2017-12-04 11:44:17 -06:00
Andrew Osmond 990c86e27e Bug 1423424 - Don't use empty image containers in image layers. r=tnikkel
Prior to bug 1368776, when no surface was obtained for the container, no
container was returned. Since we prefer an empty image container with
WebRender to avoid fallback, this was changed, but regressed
non-WebRender behaviour. Now on the non-WebRender path, we check if
there is anything in the container before accepting it.
2017-12-15 16:20:22 -06:00
Andrew Halberstadt b59244590b Bug 1421799 - [reftest] Log 'GECKO(<pid>)' instead of 'ProcessReader' for process_output log actions r=gbrown
MozReview-Commit-ID: FsKg5Gtwx9Z

--HG--
extra : rebase_source : 3bb118c510be08bb8716d553beeae09c7d60d82b
2017-12-06 14:11:55 -05:00
Edgar Chen 5fedbb92b8 Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
MozReview-Commit-ID: HgbFo9ddr0o

--HG--
extra : rebase_source : 04989782fc7c7ce79e0e65b3dc907c9e174a0809
2017-11-27 16:10:27 +08:00
Brad Werth ba544223af Bug 1424436 Part 1: Add more asserts in flex api calculation of mainDeltaSize values. r=dholbert
MozReview-Commit-ID: IpMrMfmMy7t

--HG--
extra : rebase_source : b5862f1cb1735a00b63e000c4857bd80cc5c9f49
2017-12-08 15:49:56 -08:00
Csoregi Natalia 1134c27c23 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-14 00:15:40 +02:00
Csoregi Natalia be90f4e875 Merge inbound to mozilla-central r=merge a=merge 2017-12-14 00:01:37 +02:00
Morris Tseng 49929d098e Bug 1415034 - Add drop-shadow support. r=kats
The long-chain.html failure is tracking by
https://github.com/servo/webrender/issues/2197

MozReview-Commit-ID: FECidSvTQrY
2017-12-13 12:57:01 -06:00
Sebastian Hengst 64b87f0c48 Backed out changeset fd2a2e17aef3 (bug 1415034) for build bustage at layout/painting/nsDisplayList.cpp:9992. r=backout 2017-12-13 19:48:08 +02:00
Morris Tseng c9fab1d021 Bug 1415034 - Add drop-shadow support. r=kats
The long-chain.html failure is tracking by
https://github.com/servo/webrender/issues/2197

MozReview-Commit-ID: FECidSvTQrY
2017-12-13 10:53:33 -06:00
Narcis Beleuzu 71f4a218d8 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-13 12:24:41 +02:00
Cosmin Sabou b0098afaea Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-13 12:14:29 +02:00
Miko Mynttinen 2fc0722497 Bug 1425078 - Remove nsDisplayList::AppendNewToTop and nsDisplayList::AppendNewToBottom r=mattwoodrow
MozReview-Commit-ID: E3neKT2sV4Q

--HG--
extra : rebase_source : 98b65e4c82f8a965df211e828bc68d46e7a6716e
2017-12-13 11:23:04 -06:00
Mantaroh Yoshinaga 8ecd3aa6bd Bug 1246883 - Load UA Stylesheet when printing the SVG document. r=jwatt
Currently, Gecko load only minimal-xul.css if the document is the SVG[1].
In the case of printing SVG document, gecko should load ua.css for using style
which related to print.

This patch will load ua.css when printing the SVG document.

[1] http://searchfox.org/mozilla-central/rev/67f38de2443e6b613d874fcf4d2cd1f2fc3d5e97/layout/base/nsDocumentViewer.cpp#2472

MozReview-Commit-ID: JtdaEvX8QTw

--HG--
extra : rebase_source : 6208827fce6639f6175a875b93d3a0371281b35a
2017-12-13 08:58:05 +09:00
Samathy Barratt d8ba79a56b Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel
Renamed to imgDrawResult

MozReview-Commit-ID: 5ESSgIhhU41

--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : dbf645574aff7eefe65fa81809d6c07cb5800ec6
2017-12-11 15:37:59 +00:00