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

61653 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 49e389c837 Bug 1418727 part 2 - [css-grid] Require that an item spans at least one track with an 'auto' min sizing function for Automatic Minimum Size to apply. r=dholbert
MozReview-Commit-ID: KTVul2XQGsa
2017-12-07 18:44:57 +01:00
Mats Palmgren 055bc089c7 Bug 1418727 part 1 - [css-grid] Introduce StateBitsForRange() that collects the union of the state bits for a range of tracks (idempotent change). r=dholbert
MozReview-Commit-ID: HzSxwPMkBEu
2017-12-07 18:44:57 +01:00
Colomban Wendling 155453c3df Bug 1166825, do not focus the first item in the menu when open with F10, helped by Samuel Thibault, r=enndeakin
This is consistent with other apps and toolkits (GTK, LibreOffice), and
gives blind people a better experience by providing a consistent
desktop experience, and consistent behavior of the right arrow key
regardless of the first focusable element.

---
 layout/xul/nsMenuBarListener.cpp                 |    2 +-
 layout/xul/nsXULPopupManager.cpp                 |   17 ++++++++++++++++-
 toolkit/content/tests/widgets/window_menubar.xul |   14 ++++++++------
 3 files changed, 25 insertions(+), 8 deletions(-)
2017-12-08 08:38:23 -05:00
Narcis Beleuzu fd0b701b6f Backed out 4 changesets (bug 1417251) for reftest failures in abs-pos-non-replaced-vrl* on Windows and in box-sizing-replaced* on Android. r=backout a=backout
Backed out changeset 66d4e6df73d2 (bug 1417251)
Backed out changeset 5f8edbddf6b5 (bug 1417251)
Backed out changeset bf26cbb99b6a (bug 1417251)
Backed out changeset 2374657677b7 (bug 1417251)

--HG--
extra : amend_source : 9e00f8873f41a7aa6a98e6ccb6528e0c3c19eb05
2017-12-08 14:31:03 +02:00
Cosmin Sabou c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
Phil Ringnalda 9d10710b26 Backed out 5 changesets (bug 1409083) for eslint failures
Backed out changeset 9de539be3665 (bug 1409083)
Backed out changeset 660e79af5c93 (bug 1409083)
Backed out changeset 574cd09aad41 (bug 1409083)
Backed out changeset b21b06a24705 (bug 1409083)
Backed out changeset b21e6a795493 (bug 1409083)
2017-12-07 19:47:09 -08:00
Emilio Cobos Álvarez d39e1da3ff Bug 1419964: Remove AdjustParentFrameForAfterContent. r=mats
Instead, handle the display: contents case and the ::after case using
FindNextSibling.

The removal of line frames is moved up to not interfere with the insertion point
computation.

Also parentAfterFrame is renamed to nextSibling, which is more relevant to what
it was doing with display: contents.

MozReview-Commit-ID: 1cqclsGQlaw
2017-12-08 00:02:00 +01:00
Emilio Cobos Álvarez c1a9f55817 Bug 1419762: Return the inline continuation of an IB split when appending. r=mats
The only reason not to do that is when there's after content in there. We know
that there isn't really any ::after content, since it would've been handled by
FindNextSibling, so we know we're performing a real append.

MozReview-Commit-ID: ExoPolZy4gG
2017-12-07 23:57:39 +01:00
Emilio Cobos Álvarez 091c695546 Bug 1422538: Use a plain for loop instead of IntegerRange because it busts OSX builds who knows why. r=me
I don't understand why though... on a CLOSED TREE, of course.

MozReview-Commit-ID: 4HJohKNdMiQ
2017-12-07 23:52:34 +01:00
Eric Rahm 07c97a5afe Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.

--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Emilio Cobos Álvarez 99108b60bd Bug 1422538: Move ServoElementSnapshot::AddAttrs outside the class declaration. r=bz
MozReview-Commit-ID: DO1u3vpr8ry
2017-12-07 22:55:45 +01:00
Emilio Cobos Álvarez d168a0b49e Bug 1422538: Inline ServoElementSnapshot::AddAttrs. r=bz
MozReview-Commit-ID: FmCikbv44A5
2017-12-07 22:55:06 +01:00
Emilio Cobos Álvarez 7c35a51632 Bug 1422538: Inline ServoElementSnapshot destructor. r=bz
No point in doing a function call for a default destructor.

MozReview-Commit-ID: Ll26umYyrKL
2017-12-07 22:55:02 +01:00
Noemi Erli 9980e08c0e Backed out 3 changesets (bug 1418727) for unexpected passes, e.g. wpt's /css/css-grid/alignment/grid-alignment-implies-size-change-007.html r=backout on a CLOSED TREE
Backed out changeset 1d41ae02660f (bug 1418727)
Backed out changeset 440408ffbb8c (bug 1418727)
Backed out changeset db0445690ceb (bug 1418727)
2017-12-07 22:06:00 +02:00
Noemi Erli 697bb1eb5d Backed out changeset 2dba9f7cb4fa (bug 1423292) for unexpected passes, e.g. wpt's /css/css-grid/alignment/grid-alignment-implies-size-change-007.html r=backout on a CLOSED TREE 2017-12-07 22:00:54 +02:00
Emilio Cobos Álvarez 1367a2f87f Bug 1423832: Make sure to handle gracefully rule notifications when the styleset has been detached already. r=heycam
MozReview-Commit-ID: xA8dYJX2P6

--HG--
extra : rebase_source : 18b4c491785367c9bd04604fcaf2d22f5fea1762
2017-12-07 18:53:13 +01:00
Brad Werth c61bdc105e Bug 1409083 Part 3: Add a GetFirstNonAnonBoxDescendant function to unpack anonymous flex items. r=dholbert
This patch is effectively just resurrecting a function that was previously removed in https://hg.mozilla.org/mozilla-central/rev/173a4f49dfe3#l1.96 .

MozReview-Commit-ID: 4PXSOu4tzzU

--HG--
extra : rebase_source : a8ada7319ea86ccb6178870510fdbb1dac6bd027
2017-11-22 16:44:19 -08:00
Brad Werth 9c08fad38e Bug 1409083 Part 1: Capture computed flex data for use by devtools. r=dholbert
MozReview-Commit-ID: 2TorIXOJZdh

--HG--
extra : rebase_source : d3463af8122702d0c80f5aaa520785b9c294a92f
2017-10-20 11:20:46 -07:00
shindli 76ee711dab Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-08 00:24:48 +02:00
Neil Deakin 33fa9df14a Bug 1415627, only calculate the offset that positions the current selection over the menulist button when the popup is first opened. After that use that cached value. r=mstange 2017-12-07 08:39:50 -05:00
Emilio Cobos Álvarez 3125691c3f Bug 1422528: Inline and make stylo take the rare path for GetClasses directly. r=bz
Servo already checks MayHaveClass. This should improve Gecko performance, too.

MozReview-Commit-ID: KpVOVsKh6pe

--HG--
extra : rebase_source : b0384546b1430915a18536b6ee8b29a936599873
2017-12-02 21:45:33 +01:00
Bogdan Tara e882c9b394 Backed out 22 changesets (bug 1399787) for failing on mozmake.EXE r=backout a=backout on a CLOSED TREE
Backed out changeset 0afbd07d8219 (bug 1399787)
Backed out changeset 80c062fd58fb (bug 1399787)
Backed out changeset b1457eabd34e (bug 1399787)
Backed out changeset d875e45f591e (bug 1399787)
Backed out changeset 8f600ac930ec (bug 1399787)
Backed out changeset c478fb75f5cb (bug 1399787)
Backed out changeset c995f4e18724 (bug 1399787)
Backed out changeset 0b75ef19e695 (bug 1399787)
Backed out changeset 2382a348a6c1 (bug 1399787)
Backed out changeset 93f9a5e253d8 (bug 1399787)
Backed out changeset 5c50bbde0950 (bug 1399787)
Backed out changeset 67e530c129c7 (bug 1399787)
Backed out changeset 682c60e52749 (bug 1399787)
Backed out changeset ff1436ae1ef7 (bug 1399787)
Backed out changeset cb3ae1dc20b2 (bug 1399787)
Backed out changeset bc52b1781641 (bug 1399787)
Backed out changeset d165846cb5e1 (bug 1399787)
Backed out changeset 185368267354 (bug 1399787)
Backed out changeset c385d0f60f8a (bug 1399787)
Backed out changeset 364b5b44932b (bug 1399787)
Backed out changeset 98758e79710d (bug 1399787)
Backed out changeset d56497aa5390 (bug 1399787)
2017-12-07 19:16:08 +02:00
cku 2f6efc5efb Bug 1399787 - Part 14. Prevent RemotePrintJobChild using ipc calls after the channel was destroyed. r=jwatt
If in the future nsDeviceContextSpecWin::BeginDocument was to return
NS_ERROR_FAILURE, then the channel between RemotePrintJobParent and
RemotePrintJobChild will be close at [1]. RemotePrintJobChild keep using ipc
calls after the channel is broken and hits assertions.

PS:
We always hits this assertion by forcing nsDeviceContextSpecWin::BeginDocument
returning NS_ERROR_FAILURE. It's not relative to the change we made in
previous patches.

[1]
https://hg.mozilla.org/mozilla-central/file/b186fddce27f/layout/printing/ipc/RemotePrintJobParent.cpp#l44
MozReview-Commit-ID: 79mZBf301nb

--HG--
extra : rebase_source : 6b84da35fdc96ae8161552fe5d0764b0c2c0f3ee
extra : intermediate-source : 88df2caad42694dd77f2a518ea8d460d6c88b8c6
extra : source : b920088860904c5d28f3dd2f6eda790dc09be003
2017-10-23 15:57:18 +08:00
cku 13a48506ea Bug 1399787 - Part 12. Delay dispatching FinalizePrint message until the last page was processed. r=jwatt
For the last page, here is the final three messages sent between the content
process, RemotePrintJobChild, and the chrome process, RemotePrintJobParent, for
printing:
1. The content process sends *ProcessPage* to the chrome process via
   SendProcessPrint to request the chrome process print the last page.
2. The content process sends *FinalizePrint* to the chrome process via
   SendFinalizePrint to notify the chrome that there are no more outstanding
   print requests, and that the chrome process can release interal resource
   now.
3. The content process receive PageProcessed message from the chrome process.

This calling sequence is fine for sync style PrintTarget (even though the
FinalizePrint message is sent out a bit ealy). Since a sync PrintTarget
completes its print task right after receiving *ProcessPage* message in #1,
sending FinalizePrint before getting PageProcessed response is harmless.

But this message dispatching sequence does cause a problem for async style
PrintTargetEMF. After getting a message sent in #2, PrintTargetEMF release all
resources before getting a EMF conversion response from the PDFium process. So
the last page can not be printed correctly. This patch reorder the #2 and #3
message, that is to send FinalizePrint after the content process received
PageProcessed message of the last page.

MozReview-Commit-ID: 9ZVSrFnuHBU

--HG--
extra : rebase_source : d12161e1c8ac6469fc1ecb9514939bd35979d573
extra : source : 70ce23becf8840408cd72e7f933a167090519c09
2017-11-06 16:28:51 +08:00
cku f07e4b883f Bug 1399787 - Part 11.c. Add assertions to make sure no page-done callback from the PrintTarget after the print job done. r=jwatt
MozReview-Commit-ID: FsDqjpy2wtR

--HG--
extra : rebase_source : 40b66df0674e5a571e647e17957032c6bfedd28e
2017-11-30 11:55:12 +08:00
cku 25c71788a4 Bug 1399787 - Part 11.b. Use PrintTargetEMF to print chrome documents. r=jwatt
MozReview-Commit-ID: 9BjQ8PIZAWL

--HG--
extra : rebase_source : e23b7fc8df2495ede00f3b6747933b4d57266a72
extra : source : 2091394a5746d40eec9bfd1acc2741b19f9a54e6
2017-11-13 15:29:32 +08:00
cku bfe3b297fb Bug 1399787 - Part 11.a. Use PrintTargetEMF to print content documents. r=jwatt
Before we introduce PrintTargetEMF, all PrintTargets finish page printing task
before the end of PrintTarget::EndPage(). Unlike others, a page printing
in PrintTargetEMF is done after receiving an async callback from the pdfium
process. So we have both async and sync page printing behavior now. This patch
is trying to make both of them work correctly while priting a content document.

MozReview-Commit-ID: 2PHJToFlvtu

--HG--
extra : rebase_source : 3531dd6a100e9518d8cb9904326250a8318cdad2
extra : source : f61eb00f83acf45511d8448922212dccb12b05aa
2017-11-05 04:36:37 +08:00
Gerald Squelart aa608c873d Bug 1407810 - Enable DDLogging from the beginning if MOZ_LOG contains DDLogger - r=jwwang
This allows logging from the command line without using a webextension.

MozReview-Commit-ID: 6pkDbLXzz3X

--HG--
extra : rebase_source : 92a840d47054e5bef4cd7adf0aadb16f093f7639
2017-12-04 10:52:51 +11:00
Dorel Luca 1208bc03a7 Merge mozilla-central to autoland r=merge on a CLOSED TREE
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Dorel Luca ed8dc2034d Merge inbound to mozilla-central r=merge a=merge 2017-12-07 00:01:19 +02:00
Jeremy Chen 548ee3ec09 Bug 1423509 - cleanup for BuildTextRunsScanner::SetupLineBreakerContext. r=jfkthame
The textBreakPoints variable and its related logic are copied from
BuildTextRunForFrames, however, they are not used in
SetupLineBreakerContext at all. Remove the variable allocation and the
unnecessary while loop.

MozReview-Commit-ID: 1AsA6V7aGMh

--HG--
extra : rebase_source : 408b1e4a44e7a7f41be9cafdb72392ed5f518f37
2017-12-06 17:18:07 +08:00
Gurzau Raul f5f1c3f294 Merge inbound to mozilla-central r=merge a=merge 2017-12-06 11:53:55 +02:00
Kevin Chen 0ef9411420 Bug 1414853 - Ensure LayerManager's backend type is LAYERS_WR in CanUseAdvancedLayer since BasicCompositor might be used for remote extension process; r=sotaro
MozReview-Commit-ID: KzAUXKWJf58

--HG--
extra : rebase_source : 155d8b910e63b0c3cb2eb524053f4d45878ebffa
2017-12-05 16:49:14 +08:00
Sam Foster 97cfe92b81 Bug 1416044 - Add telemetry probe for if userChrome.css is loaded. r=francois,jwatt
* New USER_CHROME_CSS_LOADED histogram
* Just log a boolean to reflect if the userChrome.css was successfully loaded at profile initialization, in the parent process.

MozReview-Commit-ID: 8ffSNUot43I

--HG--
extra : rebase_source : 11f43e832449952c83cdb104c61c9c33c1aaa123
2017-11-28 12:14:02 -08:00
Emilio Cobos Álvarez 74b31155f7 Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
MozReview-Commit-ID: 6WXqNiODttD
2017-12-06 16:05:59 +01:00
Jonathan Watt 5e6b9c139d Bug 1417251, part 4 - Remove skip-if(styloVsGecko) for various reftests. r=bz
MozReview-Commit-ID: AaI2hdIbn9D
2017-11-16 12:36:08 +00:00
Jonathan Watt 421d6dfd16 Bug 1417251, part 3 - Tweak the fuzz on four reftests. r=me
MozReview-Commit-ID: 1zGRbndck9G
2017-11-16 11:59:32 +00:00
Jonathan Watt 3e61847b92 Bug 1417251, part 2 - Make the reftest harness support loading of consecutive URIs differing only by hash. r=dbaron,bz
MozReview-Commit-ID: 6VVJrtX1KZa
2017-11-14 15:58:30 +00:00
Jonathan Watt 3fe7d161c4 Bug 1417251, part 1 - Fix race in layout/reftests/css-ui/caret-color-01-ref.html. r=me
MozReview-Commit-ID: FwUxjshEkWU
2017-11-13 20:13:45 +00:00
Narcis Beleuzu 7a627826a6 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-06 01:47:41 +02:00
shindli 784125e422 Backed out 4 changesets (bug 1422839) for landing stylo changes on inbound r=backout a=backout
Backed out changeset ff9d1a10cb0b (bug 1422839)
Backed out changeset fc039432e4a6 (bug 1422839)
Backed out changeset 83101ef21e45 (bug 1422839)
Backed out changeset 436d10234366 (bug 1422839)

--HG--
extra : source : 3942ce38b1f62fbc3154e42281d31cbed1e81ce0
2017-12-05 17:00:33 +02:00
Cosmin Sabou 08218515b9 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-06 00:09:01 +02:00
Kartikaya Gupta e323f51349 Bug 1422317 - Update reftest results from changes in WR PR 2150. r=jrmuizel
MozReview-Commit-ID: 7CidECWLM4R

--HG--
extra : rebase_source : 5ec0402ba57c667cf532a21e9ba8870fceddf3a9
2017-12-05 11:52:33 -05:00
Ya-Chieh Wu c3cfcede43 Bug 1405929 - reftest for border collapsed table. r=dbaron
MozReview-Commit-ID: Aq2j70scWp
2017-12-04 20:54:00 +02:00
Ya-Chieh Wu 5dffeb8db8 Bug 1405929 - Make sure that we join two BEnd borders when they are on the same rowIndex. r=dbaron
MozReview-Commit-ID: J9q8sUX2MPB
2017-11-30 19:18:00 +02:00
Mats Palmgren 2979853676 Bug 1422839 part 4 - Reftest for 'overflow-clip-box' properties. r=test-only 2017-12-04 16:28:00 +02:00
Mats Palmgren a6f45575c3 Bug 1422839 part 1 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand. r=dholbert 2017-12-04 16:25:00 +02:00
Noemi Erli 47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
shindli 2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
Bogdan Tara 28f65f2044 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-04 22:47:53 +02:00