Commit Graph

61814 Commits

Author SHA1 Message Date
Daniel Holbert
2b8a3042aa Bug 1418349: Make nsFrame::BoxReflow() handle missing-BoxMetrics() more gracefully (with explicit abort or early-return). r=mats
MozReview-Commit-ID: LSxMEYpWTmV

--HG--
extra : rebase_source : 67eb5486feabc0208ecf6753b2e98a57dc55ef15
2017-12-01 11:14:26 -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
Kartikaya Gupta
db4aa2e56a Bug 1424637 - Move the conversion from app units into the display item constructor. r=jrmuizel
MozReview-Commit-ID: Bj0u9mXDclh

--HG--
extra : rebase_source : 991ec51e9eecc62366eaaaeac7523439f22687f7
2017-12-11 13:21:01 -05:00
Stone Shih
ce606aec45 Bug 1421480 - Revise pointer events test cases to verify implicit pointer capture for touch. r=smaug.
MozReview-Commit-ID: 9PaI4EwRs7O
2017-11-13 16:30:33 +08:00
Csoregi Natalia
cc9c96cfe3 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
MozReview-Commit-ID: 3aJiWXQpsFU

--HG--
extra : rebase_source : 2d07da0b40980836e6946a53c45739cc02cb60c3
2017-12-14 00:15:40 +02:00
cku
1d858e08d2 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 : 58076a18be56d7eea37ea2f5a147db0048e3493f
extra : intermediate-source : 88df2caad42694dd77f2a518ea8d460d6c88b8c6
extra : source : b920088860904c5d28f3dd2f6eda790dc09be003
2017-10-23 15:57:18 +08:00
cku
a545e475c8 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 : a54b264998abeeeb0814768e1dd3f6749de97def
extra : source : 70ce23becf8840408cd72e7f933a167090519c09
2017-11-06 16:28:51 +08:00
cku
7f167d3fc5 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 : 76a77c2f1f1ca54e3b8dec53581e1ba9a0e71b03
2017-11-30 11:55:12 +08:00
cku
1162cb1de7 Bug 1399787 - Part 11.b. Use PrintTargetEMF to print chrome documents. r=jwatt
MozReview-Commit-ID: 9BjQ8PIZAWL

--HG--
extra : rebase_source : 510632b481a066e59b1ca8bd254e76afefa3b1a7
extra : source : 2091394a5746d40eec9bfd1acc2741b19f9a54e6
2017-11-13 15:29:32 +08:00
cku
3654a24e84 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 : 9d2d7cf7330a157a0e5c6a414c75de94ca3fb5a1
extra : source : f61eb00f83acf45511d8448922212dccb12b05aa
2017-11-05 04:36:37 +08:00
Moritz Brunner
2d522890a3 Bug 1315660 - Fixed upscaling of drag and drop thumbnail. r=spohl
MozReview-Commit-ID: 9M2zIrce3Lj

--HG--
extra : rebase_source : 8f92ecd3095d71b0de03d7c43a2374f501193ea4
2017-10-18 19:16:03 +02:00
Brad Werth
d92c5394a0 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 : 88deb29578bb6851b606f5088f6f18f3a65e8e3e
2017-11-22 16:44:19 -08:00
Brad Werth
947c621008 Bug 1409083 Part 1: Capture computed flex data for use by devtools. r=dholbert
MozReview-Commit-ID: 2TorIXOJZdh

--HG--
extra : rebase_source : b75e8d1786efda9ff48bae81b06f1834648096d1
2017-10-20 11:20:46 -07:00
Emilio Cobos Álvarez
f88164725a Bug 1424094: Remove second argument for GetLastIBSplitSibling, and always append to the last continuation of an IB split. r=mats
The LastContinuation stuff behavior was what we did before the other patches, so
let's do that all the time to avoid surprises, though unfortunately I don't have
test-cases.

This effectively restores exactly the same behavior we had before all my frame
constructor patches, just with less code.

MozReview-Commit-ID: IkQ3H3rtlQM

--HG--
extra : rebase_source : 037f3564a4bb137fe7b9ed08deb248b61bf5fe8c
2017-12-08 00:24:36 +01:00
Sylvestre Ledru
4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Brian Birtles
f5dff74bc2 Bug 1423098 - Drop support for SMIL accessKey; r=dholbert
MozReview-Commit-ID: Evrl4St3QSD

--HG--
extra : rebase_source : b5fc6574efe9e48f70c2d3affa0ed782e1909031
2017-12-14 09:58:32 -06: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
Jeff Muizelaar
644c528356 Bug 1422466. Drop a copy from TextDrawTarget::FillGlyphs. r=Gankro
We try hard to ensure that the glyph buffers are of the same type.
2017-12-04 13:01:55 -05:00
Boris Chiou
570057e075 Bug 1408303 - Part 3: Move several Servo parsers into ServoCSSParser helper class. r=heycam
We have ServoCSSParser class, and I think it's better to move those
Servo FFI into this class to avoid including ServoBindings.h everywhere.

MozReview-Commit-ID: 6orXtddp9ZU

--HG--
extra : rebase_source : 6da4158c4fec606aaee49fddee3192f94d6c85a3
2017-12-01 17:35:47 +08:00
Boris Chiou
c27700de6c Bug 1408303 - Part 2: Use the Servo parser for FontFaceSet Web API. r=heycam
MozReview-Commit-ID: Os4PwogPL1

--HG--
extra : rebase_source : 058f0354bfe55b86dd05ba365e19d73c0bce4418
2017-12-05 13:51:05 +08:00
Boris Chiou
cdef5f3e01 Bug 1408303 - Part 1: Use the Servo parser for font descriptors Web API. r=heycam
MozReview-Commit-ID: J8kZUxavUGt

--HG--
extra : rebase_source : f52c567e6679d8c3ef001a891e842ffb015c0396
2017-12-05 13:48:23 +08:00
Noemi Erli
449829ebb2 Merge mozilla-central to mozilla-autoland. r=merge a=merge 2017-12-05 16:31:06 +02:00
Emilio Cobos Álvarez
360e05f6eb Bug 1422641: Inline Gecko_GetSMILOverrideDeclarationBlock. r=Manishearth,xidorn
MozReview-Commit-ID: E8cM7zRZHn1
2017-12-05 14:20:26 +01:00
Emilio Cobos Álvarez
0deac30454 Bug 1422636: Inline Gecko_Namespace. r=xidorn
MozReview-Commit-ID: FFdmaYCDxnv
2017-12-05 14:20:18 +01:00
Emilio Cobos Álvarez
08252773dc Bug 1422633: Inline the Rust bits of GetDocumentState too. r=xidorn
MozReview-Commit-ID: 9zvZF72ljS
2017-12-05 14:20:11 +01:00
Jessica Jong
bdf8958759 Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
2017-12-04 16:06:42 +08:00
Jessica Jong
306e4bafc3 Bug 1409975 - Part 2: Include slots in the flat tree. r=smaug,emilio
We should consider slot as a parent in ChildIterator: if slot's
`assignedNodes` is not empty, use `assignedNodes`, otherwise, use direct
children as fallback content.
Also, GetFlattenedTreeParentNodeInternal should be changed to use
`assignedSlot` instead of `DestInsertionPoints`.
2017-12-04 16:06:37 +08:00
Nicholas Nethercote
3da37cfebe Bug 1421541 - Overhaul the prefs phase code. r=glandium
This code is used to detect too-early accesses of prefs in content processes.

The patch makes the following changes.

- New terminology: "early" prefs are those sent via the command line; "late"
  prefs are those sent via IPC. Previously the former were "init" prefs and the
  latter didn't have a clear name.

- The phase tracking and checking is now almost completely encapsulated within
  Preferences.cpp. The only exposure to outside code is via the
  AreAllPrefsSetInContentProcess() method, which has a single use.

- The number of states tracked drops from 5 to 3. There's no need to track the
  beginning of the pref-setting operations, because we only need to know if
  they've finished. (This also avoids the weirdness where we could transition
  from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs,
  -boolPrefs and -stringPrefs were parsed separately.)

MozReview-Commit-ID: IVJWiDxdsDV

--HG--
extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1
2017-11-30 09:14:32 +11:00
Mats Palmgren
770892c224 Bug 1416350 - Part 5: Correct the expected results for grids that have leading implicit tracks. r=bwerth
MozReview-Commit-ID: EOOeZri6dbZ

--HG--
extra : rebase_source : af698787d525021de0e8b9c54006abb76c5e3e7a
extra : histedit_source : 943c0525a4f19dc52963a914093f4f4a55e73369
2017-12-01 08:58:53 -08:00
Brad Werth
0b154c2e34 Bug 1416350 - Part 4: Add a reftest of repeat:auto-fit grids with leading implicit tracks. r=mats
MozReview-Commit-ID: 1faRQExChjS

--HG--
extra : rebase_source : 5c71399fe654e8cf93720ac8ac2dd85c89aeb2d8
extra : histedit_source : 4a61a5259917b1d23f89ed175ab5b81c888f1efe
2017-11-17 11:30:08 -08:00
Morris Tseng
370148757e Bug 1418177 - Add crashtest. r=mattwoodrow
MozReview-Commit-ID: EADOkkqo6Dj
2017-12-05 16:47:27 +08:00
Morris Tseng
04ac2e0d6f Bug 1418177 - Add nsDisplayTableBlendMode and nsDisplayTableBlendContainer. r=mattwoodrow
MozReview-Commit-ID: G4dwfweH8D3
2017-12-05 16:47:26 +08:00
Brad Werth
7fd0630c3b Bug 1416350 - Part 1: Correctly account for removed 'auto-fit' tracks also when there are leading implicit tracks. r=mats
MozReview-Commit-ID: 5aJucB3BM59

--HG--
extra : rebase_source : 249eaee7ee637933e14d8884f6190afba0169dfb
extra : histedit_source : 5840d8ae82ace6b05b508b1664cad1162a1851cc
2017-11-09 17:21:23 -08:00
Andrew Osmond
cc5c98e1d3 Bug 1420648 - Ensure WebRender computes the snapped image decode size the same as the fallback path. r=tnikkel 2017-12-01 07:18:53 -05:00
Alex Gaynor
8cb6e552a8 Bug 1414834 - re-land print IPC changes from bug 1319423; r=bobowen
With this patch print IPC no longer requires the child process to create files.
Instead files are opened by the parent and a file descriptor is sent to the
child. This will allow us to sandbox child processes more aggressively.

MozReview-Commit-ID: GQWTYLV01kj

--HG--
extra : rebase_source : 9b91e9b01708d73915a49684c2cec96457650e45
2017-11-03 14:37:15 -04:00
Andreea Pavel
2157e91c44 Backed out 4 changesets (bug 1420117) for mochitest failures layout/style/test/test_counter_descriptor_storage.html r=backout on a CLOSED TREE
Backed out changeset 2560a150250d (bug 1420117)
Backed out changeset 5cceea9740eb (bug 1420117)
Backed out changeset 83b36cccea28 (bug 1420117)
Backed out changeset f7292e7fee0e (bug 1420117)
2017-12-05 02:16:59 +02:00
Cameron McCormack
6502647d1b Bug 1420117 - Part 4: Use Servo CSS parser in nsCSSCounterStyleRule::SetDescriptor. r=xidorn
MozReview-Commit-ID: GNJMe4kGQPB

--HG--
extra : rebase_source : 43d3459ecd71bc47208584c49ebb63f2ad84894d
2017-11-24 17:26:57 +08:00
Cameron McCormack
80af0291bd Bug 1420117 - Part 3: Add a ServoCSSParser::ParseCounterStyleDescriptor method. r=xidorn
MozReview-Commit-ID: LHBZ4j1Ji9R

--HG--
extra : rebase_source : 800a6271bd524403a9f4dbfb9c9a07dc4e85db8d
2017-11-24 17:26:41 +08:00
Cameron McCormack
dd506a9a7d Bug 1420117 - Part 2: Use Servo CSS parser in nsCSSCounterStyleRule::SetName. r=xidorn
MozReview-Commit-ID: aZDekSDgq4

--HG--
extra : rebase_source : b52e64eb15cc699423f2a652e07b1f54005e51df
2017-11-24 15:53:00 +08:00
Cameron McCormack
726b719558 Bug 1420117 - Part 1: Add a ServoCSSParser::ParseCounterStyleName method. r=xidorn
MozReview-Commit-ID: DAaUi5lLrFS

--HG--
extra : rebase_source : 5b53cbfc9a1286e7ece3a62fb20b536de28a73d6
2017-11-24 15:52:26 +08:00
Kartikaya Gupta
0edbe1a512 Bug 1422950 - Move the area calculation to the display item constructor to hit the ToReferenceFrame fastpath. r=mstange
MozReview-Commit-ID: 6ROpprO26JV

--HG--
extra : rebase_source : 93c024d56eb4c28ce2c5491a7b1038d335c92f1a
2017-12-04 15:47:29 -05:00
Nazım Can Altınova
0177b1a524 Bug 1421645 - Hide accidentally exposed subgrid behind prefs r=emilio,xidorn
It was exposed during stylo implementation but it should be behind
`layout.css.grid-template-subgrid-value.enabled` pref.

MozReview-Commit-ID: DqrU6zYgdES

--HG--
extra : rebase_source : 14859f5912faff9cf2daf9b10409114e853bab6d
2017-12-05 22:11:10 +03:00
Mats Palmgren
fb87f7ff8e Bug 1422839 part 4 - Reftest for 'overflow-clip-box' properties. r=mats
on a CLOSED TREE
MozReview-Commit-ID: GXqmSaB0AwI
2017-12-05 21:10:04 +01:00
Mats Palmgren
1025f3b9fe Bug 1422839 part 1 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand. r=dholbert
MozReview-Commit-ID: axoDaWnOJQ
2017-12-05 21:08:41 +01:00
Mats Palmgren
feb949d1a8 Bug 752790 - Allow <input> content to overflow into the padding area in the block-axis (but not in the inline-axis). r=dholbert
MozReview-Commit-ID: FnPW6mKxWE6
2017-12-06 12:36:50 +01:00
Narcis Beleuzu
1f7fdd5826 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-06 01:49:19 +02:00
Boris Zbarsky
887ce3941a Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot
MozReview-Commit-ID: KBwjFh3TMUg
2017-12-05 16:03:18 -05:00
Tiberius Oros
be4fc858c5 Merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-12-06 12:35:04 +02:00
Jonathan Watt
abe1a2a6c4 Bug 1180145, part 2 - Taint style sheet sub-resources of no-cors resources against resource timing reporting. r=heycam
MozReview-Commit-ID: 9B2qtp3FvjU
2017-11-08 16:59:31 +00:00
Boris Zbarsky
77d6a0dd53 Bug 1418558 part 4. Add MOZ_CAN_RUN_SCRIPT annotations to nsGenericHTMLElement methods that can call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: HxFFC85qgOD
2017-12-05 11:18:16 -05:00
shindli
210abdb358 Backed out 4 changesets (bug 1422839) for landing stylo changes on inbound r=backout on a CLOSED TREE
Backed out changeset ff9d1a10cb0b (bug 1422839)
Backed out changeset fc039432e4a6 (bug 1422839)
Backed out changeset 83101ef21e45 (bug 1422839)
Backed out changeset 436d10234366 (bug 1422839)
2017-12-05 17:00:33 +02:00
Dorel Luca
bea662dd30 Merge mozilla-central to autoland r=merge
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
extra : rebase_source : 483a0fb85738c5459165efca8ec6bc971e31b4c2
2017-12-04 12:49:40 +02:00
Emilio Cobos Álvarez
f14389a065 Bug 1422654: stylo: Avoid restyling XBL-bound element if the binding doesn't have stylesheets. r=heycam
MozReview-Commit-ID: An2McUbpCLk

--HG--
extra : rebase_source : 1c869057d032773fbfd426d6f392cc936c81029c
2017-12-04 02:47:54 +01:00
Emilio Cobos Álvarez
8e7a2e8d51 Bug 1422634: followup: fix typo in the comment. r=comment-only
DONTBUILD

MozReview-Commit-ID: FG6XfLAKGcs
2017-12-04 11:40:46 +01:00
Emilio Cobos Álvarez
b8ef336994 Bug 1422634: Avoid sheet notifications to dereference a null restyle manager. r=heycam
MozReview-Commit-ID: 2BLUCEqnRDG

--HG--
extra : rebase_source : 00c701e6842d984f1508be93f77c1f8aebd96090
2017-12-04 11:22:33 +01:00
Makoto Kato
ded9cb4ade Bug 1032671 - Part 5. Add reftest for emoji. r=jfkthame
Windows 7 doesn't have mono symbol font for emoji code mapping.  And fontconfig
doesn't have better option for this.  So I except to these platforms.

MozReview-Commit-ID: 7TB1guyzBVS

--HG--
extra : rebase_source : 4a014a26618471cf8bee635bae961321c98a162e
2017-11-18 20:15:05 +09:00
Ethan Lin
87408bd0b0 Bug 1422013 - Invalidate image items for webrender. r=mattwoodrow
MozReview-Commit-ID: 701MZhcrf4l

--HG--
extra : rebase_source : 8bed0e5f812570685cf04f5b371da885294513e0
2017-12-04 11:12:25 +08:00
Gurzau Raul
44b16ed498 Backed out 1 changesets (bug 1422466) for build bustage on a CLOSED TREE
Backed out changeset 719224b9a2dd (bug 1422466)
2017-12-04 05:34:10 +02:00
Jeff Muizelaar
a49417c5ed Bug 1422466. Drop a copy from TextDrawTarget::FillGlyphs. r=Gankro
We try hard to ensure that the glyph buffers are of the same type.

--HG--
extra : rebase_source : b785541c15ee2d715b549e0c306e5e0669d4ad71
2017-12-02 13:45:57 -05:00
Emilio Cobos Álvarez
99077adb27 No bug: Update test expectations for servo/servo#19462. r=me
MozReview-Commit-ID: F9aTxF73RmP
2017-12-03 22:55:26 +01:00
Brindusan Cristian
d339014f90 Merge mozill-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-03 12:05:49 +02:00
Ting-Yu Lin
0afec2466e Bug 1265343 Part 2 - Fix tests after adding 'shape-image-threshold' to style system. r=heycam
MozReview-Commit-ID: IJgPOfD33AB

--HG--
extra : rebase_source : be2e9aa67d2b5d41724e9ae9e57a3c5b95de183c
2017-11-28 16:06:21 +08:00
Ting-Yu Lin
b1efbfb25a Bug 1265343 Part 1 - Add shape-image-threshold to style system. r=heycam
devtools/shared/css/generated/properties-db.js is generated by running
"./mach devtools-css-db"

MozReview-Commit-ID: 1U4yoQTDwxi

--HG--
extra : rebase_source : 16049b4253ae9a3f6e24cc30896ed53f65ebaf7a
2017-11-27 15:01:25 +08:00
Ian Moody
1fe91d8a29 Bug 1391044 - Preserve newlines in textarea placeholders. r=bz
MozReview-Commit-ID: 7h1dXSd4Ci7

--HG--
extra : rebase_source : 9fe03a61f12b04dae0778d1aa0b3c95ee3fb3d8f
2017-12-02 00:11:39 +00:00
Emilio Cobos Álvarez
b564f2695b Bug 1422524: Avoid calling nsAttrValue::Type twice in the common case. r=xidorn
MozReview-Commit-ID: JCnUrlYCWv3

--HG--
extra : rebase_source : be6dbb175202e4298cfceb96be2b3ee097fd3cd6
2017-12-02 20:36:53 +01:00
Ciure Andrei
48e5c9892f Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-02 12:19:55 +02:00
Emilio Cobos Álvarez
2b97da363f Bug 1417200: Stop using -moz-border-*-colors in forms.css. r=xidorn
On a CLOSED TREE, since the servo patch got in.

This removes one px of "padding" in:

 <progress style="-moz-appearance: none"></progress>

But it'd be worse to not be able as an author to override those somehow.

MozReview-Commit-ID: EFZIBHaUskM
2017-12-01 23:25:17 +01:00
Emilio Cobos Álvarez
13a91fa9f6 Bug 1417200: Make -moz-border-colors chrome only. r=xidorn
On a CLOSED TREE, since the servo patch managed to get in.

This also makes the border longhand no longer reset them.

MozReview-Commit-ID: KNais1e5FnE
2017-12-01 23:25:01 +01:00
Emilio Cobos Álvarez
0194a97476 Bug 1422319: Upstream :any-link reftest to WPT. r=xidorn
MozReview-Commit-ID: KOYqClzV8eo

--HG--
extra : rebase_source : 36b2d0f5d36e7b06e492316fac3a754247c859fb
2017-12-01 15:57:01 +01:00
Gurzau Raul
da2beafe7e Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-01 12:59:28 +02:00
Emilio Cobos Álvarez
5604b99826 Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.

Far from the final, ideal state, but hey, progress.

MozReview-Commit-ID: 7TrifME9VZ
2017-12-01 08:46:39 +01:00
Brindusan Cristian
6a74eec204 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
Brindusan Cristian
6f5b49da3e Backed out 2 changesets (bug 1420762) for merge conflicts r=merge a=merge
Backed out changeset ba350c82d823 (bug 1420762)
Backed out changeset 00287b88254b (bug 1420762)
2017-12-01 00:20:10 +02:00
Emilio Cobos Álvarez
36470e4ff6 Bug 1420762: followup: Make nsCSSPageRule::ChangeDeclaration properly update the document. r=me
This causes an assert in nsStyleSet with my previous changes.

MozReview-Commit-ID: 4ASV0n8gOhZ
2017-11-30 15:54:01 +01:00
Emilio Cobos Álvarez
f28656c543 Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.

Far from the final, ideal state, but hey, progress.

MozReview-Commit-ID: 7TrifME9VZ
2017-11-30 15:42:45 +01:00
Olli Pettay
af3373dc1d Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
Bogdan Tara
df97c78dbf Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-30 01:10:06 +02:00
Bogdan Tara
d8635b15e4 Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
Dorel Luca
f622b80073 Merge mozilla-central to mozilla-inbound r=merge 2017-11-29 12:34:02 +02:00
Dorel Luca
be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Andrea Marchesini
b1231ac8b9 Bug 1420419 - Postpone the removing of BlobURL for 5 seconds in order to allow the loading of them in a remote process, r=smaug 2017-11-29 09:40:16 +01:00
Bob Owen
6ea1901fa9 Bug 1419739 Part 2: Clean up resulting (and some existing) unused printing code. r=jwatt 2017-11-29 07:58:49 +00:00
Bob Owen
e17357eb20 Bug 1419739 Part 1: Change selection printing to remove unselected nodes and then print as normal. r=jwatt
Prior to this change, we would print a selection by:
* reflowing the whole document into one infinitely long page
* position at the top of the selection to print the first page
* move the position down by a page length each time to print subsequent pages

This has several shortcomings, detailed in the bug.

This approach uses the original document selection to create an inverted
selection in the document cloned for printing, adding an ellipsis when ranges
start or end in text nodes, then deletes that selection from the document prior
to printing.
2017-11-29 07:58:48 +00:00
Mats Palmgren
d848b3123d Bug 1417711 - [css-grid] An abs.pos. grid container child that only covers removed 'auto-fit' tracks should not span to the end padding edge. r=dholbert
MozReview-Commit-ID: INVYIFawiuT
2017-11-29 06:51:41 +01:00
Jeremy Chen
d4489c8a64 Bug 1421197 - use 64-bit for restyle generation counters to avoid overflow issues. r=heycam
It is expected to use 64-bit for all the restyle generation counters, since the
getter methods all return uint64_t type at present. However, we're using uint32_t
for the actual counter variables, which means the potential overflow issue is not
avoided.

In this patch, we use 64-bit for the restyle generation counters, so the overflow
issue can be avoided as expected.

MozReview-Commit-ID: 2y2afIcuwvc

--HG--
extra : rebase_source : 3fe64d7d3fc00fa1031eef9f0c15b64405435dfd
2017-11-28 17:42:22 +08:00
Xidorn Quan
783034684d Bug 1412145 - Drop more backpointers of CSSOM objects in dtor and unlink. r=bz
MozReview-Commit-ID: Ftg3WMBBNlO

--HG--
extra : rebase_source : 65834280c2ae9736861096172ca3f1d4e789c7a4
extra : source : ecbc4f545e09e969b8212e77d013a6b46b983763
2017-11-28 17:06:51 -06:00
Edgar Chen
9f4324f41e Bug 1416999 - Remove document.registerElement; r=smaug
MozReview-Commit-ID: HiX07Vbljhk

--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Dorel Luca
79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Morris Tseng
786900525f Bug 1419917 - Add nsDisplayTableThemedBackground. r=mattwoodrow
MozReview-Commit-ID: D86CXjyro4

--HG--
extra : rebase_source : 24ffa2c27438218463cf01839c8cdb49326e4d9f
2017-11-24 16:19:56 +08:00
JW Wang
496d14a291 Bug 1415441 - Eagerly init gMediaDecoderLog to debug crash. r=cpearce
MozReview-Commit-ID: E7ZDdQwZ32
2017-11-08 15:34:19 +08:00
Brad Werth
3b3999ddad Bug 1421420 - Hold onto a weak reference to the grid container frame across reflow flushes triggered by devtools. r=dholbert
MozReview-Commit-ID: 2lkQr1jbnFd
2017-11-28 15:05:48 -08:00
Matt Woodrow
a9f042bcec Bug 1261175. r=bobowen
MozReview-Commit-ID: B9yAN0F01rj
2017-11-14 10:31:36 +13: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
Xidorn Quan
2e91996237 Bug 1420946 - Don't try to share style on quirks mode whenever two elements have different id. r=emilio
MozReview-Commit-ID: FcHXGUoMMbD

--HG--
extra : rebase_source : fe28186785456d9feca068d217d3b87beeb06867
2017-11-29 17:34:37 -06:00
Emilio Cobos Álvarez
c2ddfbdfa5 Bug 1035091: Sort the reftest annotations for this bug. r=xidorn
MozReview-Commit-ID: 9uQwozbJokk
2017-11-30 16:57:18 +01:00
Emilio Cobos Álvarez
ec75854b21 Bug 1035091: Disable @-moz-document on author sheets on nightly and early beta. r=xidorn
MozReview-Commit-ID: AAUs1jJifjS

--HG--
extra : rebase_source : b3334ff237e66fd75ef87aa92c4c9a56fef2119f
2017-11-29 22:16:46 +01:00
Cameron McCormack
9f9d965d52 Bug 1420379 - Move css::Rule into its own file. r=xidorn
MozReview-Commit-ID: I5SB5uEMu32

--HG--
extra : rebase_source : 224a9daa037a5e7842675a4c6712c158aba29d6f
2017-11-24 18:01:47 +08:00
Kartikaya Gupta
2cebdcb842 Bug 1389146 - Enable WR hit-testing when the pref is enabled. r=botond,mstange
This drops the code that compares the WR and Gecko hit-test results when
WR is enabled, because the "baseline" Gecko hit-test result is not
correct enough to provide a useful comparison. Instead flipping the pref
now just enables the WR hit-test code; we will rely on automated testing
to check for correctness.

MozReview-Commit-ID: 8IFtk0p2NvE

--HG--
extra : rebase_source : 6402a87f3345ca3b82220e42185c9f8776475cdd
2017-11-28 15:28:09 -05:00
Margareta Eliza Balazs
cb71a3c4fe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-30 12:55:54 +02:00
Jeremy Chen
1e25caab99 Bug 1418433 - increment RestyleGeneration for undisplayed elements when invalidating servo stylist. r=heycam
In the current implementation, we call SetStylistStyleSheetsDirty() every time
a style sheet is changed. However, the dirty bit setting may or may not always
update the style data. For example, the style data for undisplayed elements are
deliberately not updated in Stylo. However, the getComputedStyle API is supposed
to provide a way to get the up-to-date computed style data, even for undisplayed
elements.

In this patch, we increment RestyleGeneration for undisplayed elements when we
call SetStylistStyleSheetsDirty(). This could flush the cached data that
getComputedStyle API holds, and ensures the getComputedStyle API computes a new
one.

MozReview-Commit-ID: JDDhACOG3z4

--HG--
extra : rebase_source : 39f56227201d435ad416fe21f4b0e0cad7d2d16c
2017-11-26 15:24:12 +00:00
Jeremy Chen
6096d1b540 Bug 1418433 - move the implementation of SetStylistStyleSheetsDirty to .cpp file. r=heycam
This is a pre-patch for the real fix of Bug 1418433.

In the real fix, we'll add a IncrementUndisplayedRestyleGeneration() call into
SetStylistStyleSheetsDirty(). However, the IncrementUndisplayedRestyleGeneration()
call needs get through some deep structures in nsPresContext, RestyleManager,...
etc., and doing so means we need to move bunches of related include files, forward
declarations, from .cpp file to .h file, which doesn't make sense.

Instead, we move the implementation parts of SetStylistStyleSheetsDirty() to .cpp
file (since it is now a bit more complicated than it was), so we can use the existing
include files in the .cpp file to add IncrementUndisplayedRestyleGeneration() call
(this is in a following patch).

MozReview-Commit-ID: 3Vp9qyCf8NA

--HG--
extra : rebase_source : 16386256e16a2ca98bf988d66d861cbea58490a3
2017-11-29 10:56:15 +00:00
Jeremy Chen
7be1b87b41 Bug 1418433 - add tests for style data update mechanism for non-displayed elements. r=emilio,heycam
In certain situations, we might access a non-displayed (i.e., display: none;)
element's style data through getComputedStyle API. In this patch, we add some
tests to ensure that, if the inline style sheet is added/changed/removed, the
style data of a non-displayed element is always up-to-date. Some more tests
are added to verify the correctness of the style data when a style rule is
added/changed/removed via CSSOM.

MozReview-Commit-ID: Ggjd4FMqZlo

--HG--
extra : rebase_source : bac0e5a6e2c032922b57b08392f3381b68eeafa8
2017-11-26 15:24:12 +00:00
Botond Ballo
f733efea1a Bug 1300864 - Disable paint skipping for scroll frames that contain out-of-flow content inside a CSS filter. r=mstange
MozReview-Commit-ID: 5TwC75wzOsm

--HG--
extra : rebase_source : 2c38372e452cf6b78b4906b42e4b9e93a1762d26
2017-11-27 16:45:29 -05:00
Botond Ballo
49dff2257e Bug 1300864 - Define AutoCurrentActiveScrolledRootSetter::SetCurrentActiveScrolledRoot() out of line. r=mstange
MozReview-Commit-ID: FdtGza5wS6f

--HG--
extra : rebase_source : b7731b809c5c52501959355539ed34c0057f8c87
2017-11-27 15:30:06 -05:00
Emilio Cobos Álvarez
b4af4fd8f9 Bug 1417661: Use the correct parent style for inheriting from first-letter if the container is an anonymous box. r=bz
MozReview-Commit-ID: 1B7DrAVa274
2017-11-28 19:29:46 +01:00
Brindusan Cristian
9f3bd430c2 Merge inbound to mozilla-central a=merge r=merge 2017-11-28 11:50:57 +02:00
Hiroyuki Ikezoe
32c6e1fae4 Bug 1415783 - Flush pending style, layout and paint and wait for a MozAfterPaint before waiting for MozAfterPaint for OMT animation. r=birtles
With the conformant Promise handling (bug 1193394), there happen to receive
unexpected MozAfterPaint while waiting for MozAfterPaint for OMT animation.
The safest way to avoid this confusion is to start test refresh mode and
flush all pending styles (layout and paint) there so that the unexpected
MozAfterPaint is absorbed there.

MozReview-Commit-ID: 2xdKe4InYcP

--HG--
extra : rebase_source : dd6ba1dff7c449e40bb3286b5d9083eefc196de5
2017-11-28 14:57:24 +09:00
Dave Townsend
27380b996e Bug 1404420: Add custom element support to XUL. r=edgar, r=smaug
MozReview-Commit-ID: BietEX2gOoG

--HG--
extra : rebase_source : 6fd9a732a21f2c048d37c3f7139cd18503148767
2017-10-10 15:25:10 -07:00
Margareta Eliza Balazs
463d2cbb86 Merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-11-28 00:10:33 +02:00
Margareta Eliza Balazs
f0400e7e4c Merge inbound to mozilla-central r=merge a=merge 2017-11-27 23:57:42 +02: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
Kartikaya Gupta
71b95cfe9c Bug 1418397 - Add dispatch-to-content hit info to WR hit-test for inactive scrollframes. r=mstange
MozReview-Commit-ID: F6HgYPRc9Bi

--HG--
extra : rebase_source : b05af2f355118fcd340effc9e022e95f7b03fbaa
2017-11-27 12:37:30 -05:00
Sebastian Hengst
9dc9b78023 Backed out 3 changesets (bug 1419226) for frequently for frequently timing out in Web reftests in webvtt, e.g. enable_controls_reposition.html. r=backout
Backed out changeset 5a2460c34657 (bug 1419226)
Backed out changeset 8cda3fb3ce1a (bug 1419226)
Backed out changeset 21d9bedcf411 (bug 1419226)
2017-11-27 17:27:27 +02:00
Ciure Andrei
ce43f5fe52 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-11-27 11:51:40 +02:00
Matt Woodrow
b5800a6de2 Bug 1420312 - Followup to only mark frame as modified during retained building, since otherwise it won't be restored.
--HG--
extra : rebase_source : 675d7b40da6c41f2b2bc1513bee72e3361cbcd33
2017-11-27 16:47:28 +13:00
Mantaroh Yoshinaga
1256ba5b9b Bug 1419226 - Part 2. Remove notify did paint timer. r=mattwoodrow
This EnsureEventualDidPaintEvent() creates software timer. But this timer will
bring several intermittent tests fail. For example, if we want to check the
compositor animation property. If test receives MozAfterPaint of the timer,
there doesn't have animation property on compositor, as result of this, a test
will fail.

I think we don't need to create this timer each time since current painting is
happening synchronously under the refresh driver.

[1] https://searchfox.org/mozilla-central/rev/919dce54f43356c22d6ff6b81c07ef412b1bf933/layout/base/nsPresContext.cpp#189

MozReview-Commit-ID: Hb7UEITer5t

--HG--
extra : rebase_source : 7aee1eced01813907ab0c3e5dff80e90261c0815
2017-11-27 09:33:54 +09:00
Phil Ringnalda
0d1d9fec7b Backed out 2 changesets (bug 1418433) for unexpected "why should we have flushed style again?" assertion failures
Backed out changeset 761f84b8edb0 (bug 1418433)
Backed out changeset 436723f33b10 (bug 1418433)

MozReview-Commit-ID: 84FAoZcyQjU

--HG--
extra : rebase_source : 5fbba91a8b80fbb25f57f4a6d8b521c8feb7f89a
2017-11-26 23:32:41 -08:00
Matt Woodrow
7f1eacde4f Bug 1419225 - Clip transformed rectangles to the maximum allowed values for the appunit coordinates we're converting into. r=miko 2017-11-27 15:01:15 +13:00
Matt Woodrow
294b97b3df Bug 1420312 - Rebuild the entire visible area when we find preserve-3d content. r=miko 2017-11-27 15:00:19 +13:00
Robert Longson
059b5600cf Bug 584623 - fix cairo bounds calculation for zero length lines. r=jmuizelaar 2017-11-26 14:47:25 +00:00
Cameron McCormack
8839daefd6 Bug 1420383 - Move nsCSSProps::kParserVariantTable into its rightful home in nsCSSProps.cpp. r=xidorn
MozReview-Commit-ID: 7Rg3EYq5GPQ

--HG--
extra : rebase_source : a3bb2bc6fa9f04c72104dc942316f14fd83ed636
2017-11-24 18:17:36 +08:00
Kartikaya Gupta
65fe04094f Bug 1418541 - Correct an error when generating event regions. r=mstange
Turns out that there's been a bug in the event regions code since it was
first written, where touch-action:manipulation is not properly expressed
in the event region structs. It's sort of a design bug that we can't fix
without adding another region. However, in bug 1389149 I accidentally
changed the behaviour of some of these cases because I wasn't aware of
this bug. This patch repairs the code so that it behaves the same as it
used to prior to bug 1389149, and documents the buggy scenario.

MozReview-Commit-ID: 9XhkH6ypZHi

--HG--
extra : rebase_source : 970054c0cc71cdcb9b89925474e553d638c8fcc6
2017-11-25 10:53:35 -05:00
Hiroyuki Ikezoe
45e22a8032 Bug 1420791 - Drop waitForPaints() in runOMTATest(). r=boris
It's no longer used.

MozReview-Commit-ID: DO7RRZaKHxm

--HG--
extra : rebase_source : c7a963ca942d3de5c304f7f19e47ab6e77001e93
2017-11-27 12:29:48 +09:00
Hiroyuki Ikezoe
d606b7a73d Bug 1420791 - Drop explicit flushing styles before calling waitForPaintsFlushed(). r=boris
waitForPaintsFlushed() flushes styles inside it, so we don't need the explicit
flush.

MozReview-Commit-ID: KcQYRDWyhU0

--HG--
extra : rebase_source : 9adeaa107f358d9beb717a6d1fa96bbfd4c05416
2017-11-27 12:29:45 +09:00
Hiroyuki Ikezoe
126931ab2d Bug 1420791 - Use waitForPaintsFlushed() instead of waitForPaints(). r=boris
The waitForPaints() which is defined in function runOMTATest() invokes
waitForAllPaintsFlushed(), it is the same what waitForPaintsFlushed() does.

MozReview-Commit-ID: BKt2fZO3DuM

--HG--
extra : rebase_source : b0cd89ca4000cd7bfae2c169d44984e15e78f9e5
2017-11-27 12:29:41 +09:00
Gerald Squelart
91a021aeb0 Bug 1420298 'layout.display-list.retain.verify' to debug retained-dl - r=mattwoodrow
Setting the 'layout.display-list.retain.verify' gfxPrefs implies
'layout.display-list.build-twice', and then compares the retained-built tree
to the non-retained one, and outputs differences&trees to the terminal.

MozReview-Commit-ID: 3dnyIUTbtH8

--HG--
extra : rebase_source : 36a6b8f029d0bd1339557e7c630906311ecf1254
2017-11-20 17:15:08 +11:00
dluca
627438bf3c Backed out 4 changesets (bug 1418224) for build bustages r=backout on a CLOSED TREE
Backed out changeset 3ef8715cb8d7 (bug 1418224)
Backed out changeset 0d58d9fed90d (bug 1418224)
Backed out changeset faad7f275749 (bug 1418224)
Backed out changeset 1e86ff6b95ae (bug 1418224)
2017-11-27 07:42:50 +02:00
Jeremy Chen
52cf386fc1 Bug 1418433 - increment RestyleGeneration for undisplayed elements when updating servo stylist. r=heycam
In the current implementation, we call SetStylistStyleSheetsDirty() every time
a style sheet is changed. However, the dirty bit setting may or may not always
update the style data. For example, the style data for undisplayed elements are
deliberately not updated in Stylo. However, the getComputedStyle API is supposed
to provide a way to get the up-to-date computed style data, even for undisplayed
elements.

In this patch, we increment RestyleGeneration for undisplayed elements when we
decide to update style data (i.e., calling ServoStyleSet::UpdateStylist()) due
to (XBL)StyleSheet is dirty. This could flush the cached data that getComputedStyle
API holds, and ensures the getComputedStyle API computes a new one.

MozReview-Commit-ID: JDDhACOG3z4

--HG--
extra : rebase_source : 51d37757b5449d315aa7c2e0aedb4a4622e2a859
2017-11-26 11:47:27 +08:00
Jeremy Chen
b44b5ae893 Bug 1418433 - add a test for style data update mechanism for non-displayed elements. r=heycam
In certain situations, we might access a non-displayed (i.e., display: none;)
element's style data through getComputedStyle API. In this patch, we add a test
to ensure that, if the inline style sheet is changed/modified, the style data
of a non-displayed element is always up-to-date.

MozReview-Commit-ID: Ggjd4FMqZlo

--HG--
extra : rebase_source : 8e9ba5d6b7b4c26b5247b36d44ff02a391dc7ee6
2017-11-26 21:49:41 +08:00
Ethan Lin
e488c3f928 Bug 1416995 - Update annotations for related reftests. r=kats
MozReview-Commit-ID: lk4HAiYgid

--HG--
extra : rebase_source : adb5b15851860c063e8edd53ed6f94f3d72c1498
2017-11-15 16:06:13 +08:00
Xidorn Quan
d965dc4ff3 Bug 1417824 part 2 - Add reftest for this bug. r=heycam
MozReview-Commit-ID: GxQG5kqo0sM

--HG--
extra : rebase_source : bf1f1c6f647ab1752acb90ae3cbdd91a0c452c10
2017-11-24 19:30:19 -06:00
Xidorn Quan
c131c02332 Bug 1417824 part 1 - Query theme for attribute change on element with appearance. r=heycam
The change is mostly copied from GeckoRestyleManager::AttributeChanged.
It is not clear to me whether it's worth moving it to the superclass so
that we don't duplicate the code. If we are removing the Gecko code in
short term, it probably doesn't matter.

It is also not clear whether we should port other code from that method
to ServoRestyleManager.

MozReview-Commit-ID: Fd1nbwgLGa1

--HG--
extra : rebase_source : 7bba8907fa7e57695a8294cf9277804fbe23ff8f
2017-11-22 15:35:12 -06:00
Botond Ballo
edb18f7329 Bug 951793 - Export a servo binding to StyleOverscrollBehavior. r=emilio
MozReview-Commit-ID: LlAyLP2IVyp
2017-11-25 01:29:22 +01:00
Botond Ballo
a3ce4187d1 Bug 951793 - Do not reconstruct the frame when overscroll-behavior has changed. r=mstange
A repaint is sufficient to pick up the new property value.

MozReview-Commit-ID: oKFgGfquyl
2017-11-25 01:29:21 +01:00
Botond Ballo
94aad98f21 Bug 951793 - Add a test for the pref that controls overscroll-behavior. r=emilio
MozReview-Commit-ID: 9qIuF1Vdsm4
2017-11-25 01:29:19 +01:00
Botond Ballo
41aac0b97c Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
MozReview-Commit-ID: J7Vkd941QxK
2017-11-25 01:29:01 +01:00
Botond Ballo
4554e0cd08 Bug 951793 - Add overscroll-behavior attributes to ScrollbarStyles. r=mstange
MozReview-Commit-ID: 7fksMZdDSrG
2017-11-25 01:28:59 +01:00
Botond Ballo
978ae3283a Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p
2017-11-25 01:28:58 +01:00
Sebastian Hengst
6d4637aebb Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo
67a743207f Bug 951793 - Export a servo binding to StyleOverscrollBehavior. r=emilio
MozReview-Commit-ID: LlAyLP2IVyp

--HG--
extra : rebase_source : 84ef8ce56d4d4eb4ac07fec37786bf64f88f469e
2017-11-24 14:22:16 -05:00
Botond Ballo
9d1d1025ca Bug 951793 - Do not reconstruct the frame when overscroll-behavior has changed. r=mstange
A repaint is sufficient to pick up the new property value.

MozReview-Commit-ID: oKFgGfquyl

--HG--
extra : rebase_source : 4f145fb29eddcc5f83506cc6f512b123c29676ef
2017-11-22 19:06:43 -05:00
Botond Ballo
0c0ca862c0 Bug 951793 - Add a test for the pref that controls overscroll-behavior. r=emilio
MozReview-Commit-ID: 9qIuF1Vdsm4

--HG--
extra : rebase_source : 825cc20e6877c9ec5804c19540b5c4104ee4406c
2017-11-20 18:11:24 -05:00
Jeremy Chen
a3c09a51bc Bug 1420724 - remove duplicated include declaration in nsCSSFrameConstructor. r=heycam
MozReview-Commit-ID: KZz7C4gF3md

--HG--
extra : rebase_source : b101f60dedeaf4d08880f0d614966c2ca056a9e6
2017-11-26 23:37:46 +08:00
Ting-Yu Lin
6f96433350 Bug 1418224 Part 4 - Fix tests after adding shape-outside: <image> to style system. r=heycam
Run those fragment URL tests in test_transitions_per_property.html for
clip-path only because shape-outside will resolve URL fragments (i.e. #a),
so the computed value of URL fragment will have document URL as a prefix,
which won't match. Also, added absolute URL tests for both clip-path and
shape-outside.

MozReview-Commit-ID: 8SUpfTaV9cz

--HG--
extra : rebase_source : e5c180a2ef293d70fa33133012023e9360eef98e
2017-11-22 17:54:56 +08:00
Ting-Yu Lin
0a432576a1 Bug 1418224 Part 3 - Add shape-outside: <image> support to style system. r=heycam
Some Gecko style system files are modified to prevent assertions and
crashing, and to keep test failures on stylo disabled builds to minimum.

MozReview-Commit-ID: GuxAeCTz0xx

--HG--
extra : rebase_source : 97c8b3900e4492ac03158a38aa03f7c044b71e0f
2017-11-17 16:34:37 +08:00
Ting-Yu Lin
fdbb843588 Bug 1418224 Part 2 - Extract ShapeInfo::CreateBasicShape(). r=heycam
MozReview-Commit-ID: DZ1O0CzzsyT

--HG--
extra : rebase_source : 41d23db4caef61663003c8ea1453363c90cdeca7
2017-11-21 18:24:34 +08:00
Botond Ballo
69d3063396 Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
MozReview-Commit-ID: J7Vkd941QxK

--HG--
extra : rebase_source : f9d0f664f17f4efe34a21064cbbf259642fe3caf
2017-10-18 20:13:19 -04:00
Botond Ballo
8c642c4f86 Bug 951793 - Add overscroll-behavior attributes to ScrollbarStyles. r=mstange
MozReview-Commit-ID: 7fksMZdDSrG

--HG--
extra : rebase_source : 05f2abc208016ce55bbf2c20c231ab638f0fee3d
2017-10-18 19:13:02 -04:00
Botond Ballo
3ff3395934 Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p

--HG--
extra : rebase_source : d70820f9612174ffc8f17f1a2646dc65f46667df
2017-11-22 19:01:11 -05:00
Ciure Andrei
f8979ebb32 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-11-25 00:17:48 +02:00
Ciure Andrei
327405164b Merge inbound to mozilla-central r=merge a=merge 2017-11-25 00:04:02 +02:00
Kevin Jones
25bd05b91c Bug 1415918 - Allow discarding browsers that have beforeunload handlers in tabbrowser.discardBrowser. r=bz
MozReview-Commit-ID: 5KQcrOQTSpK
2017-11-24 15:14:46 +01:00
Nicolas Silva
ecd94ed690 Bug 1418347 - Use WebRender directly for common bullet items. r=mstange 2017-11-24 14:46:13 +01:00
Kartikaya Gupta
c82aeb4865 Bug 1418387 - Add CompositorHitTestInfo bits for scrollbars. r=mstange
MozReview-Commit-ID: KTfpXoESOxF

--HG--
extra : rebase_source : d1db8909b1b075f885b08c86ebca7ef51fd250e0
2017-11-24 16:23:06 -05:00
Kartikaya Gupta
0fab36e756 Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond
Most of this patch is just mechanical changes, but note that this patch
now makes the mFlags in scrollbar-container nsDisplayOwnLayer instances
have one of the direction bits set. As a result, this requires changing
the implementation of nsDisplayOwnLayer::IsScrollThumbLayer().

MozReview-Commit-ID: 2BLdbpz5Sa8

--HG--
extra : rebase_source : 27e7d90ce60c7f702fe77d8a3a0f7e3ae3e4a4ff
2017-11-24 16:23:05 -05:00
Kartikaya Gupta
45a0aff526 Bug 1418387 - Make the nsDisplayOwnLayer flags more strongly typed. r=mstange
MozReview-Commit-ID: 8s14jKhp9Lb

--HG--
extra : rebase_source : be3c14215018bb1fa46a753b0746068b8454e92e
2017-11-24 16:23:04 -05:00