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

18282 Коммитов

Автор SHA1 Сообщение Дата
Jessica Jong 4bee56a645 Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug
Most of the Shadow DOM related code are behind "dom.webcomponents.enabled" and
this pref is only used by Shadow DOM right now, so we should rename it to
"dom.webcomponents.shadowdom.enabled"

MozReview-Commit-ID: er1c7AsSSW
2018-01-16 17:16:30 +01:00
Cameron McCormack c4663ea0f0 Bug 1427419 - Part 22: Move inIDOMUtils.getUsedFontFaces to InspectorUtils. r=bz
This also changes the function to return a sequence (JS Array) instead of
an nsFontFaceList object, and converts nsFontFace/nsIDOMFontFace into a
Web IDL implemented object too.

MozReview-Commit-ID: 1iAW3DYe5kO

--HG--
rename : layout/inspector/nsFontFace.cpp => layout/inspector/InspectorFontFace.cpp
2018-01-11 12:38:01 +08:00
Cameron McCormack abddba8b81 Bug 1427419 - Part 3: Move inIDOMUtils.getCSSStyleRules to InspectorUtils. r=bz
MozReview-Commit-ID: 3pcxsYhguOk
2018-01-11 12:37:59 +08:00
Emilio Cobos Álvarez c35e2eca7d Bug 1429088, Bug 1429125: Add a comment about why we can't remove the XUL check, at least yet. r=me
MozReview-Commit-ID: wzzzGQpXVV
2018-01-10 05:50:31 +01:00
Emilio Cobos Álvarez 659200a710 Bug 1429125: Enable lazy frame construction in the browser chrome, but not XUL yet. r=heycam,tnikkel
This is on top of the patch to re-enable them in shadow trees for bug 1429088.

MozReview-Commit-ID: 3dwQ9J5nFcS
2018-01-10 05:47:13 +01:00
Emilio Cobos Álvarez 078f548313 Bug 1429088: Enable lazy frame construction for shadow trees. r=bz
There's no reason it wouldn't work after bug 1404789.

MozReview-Commit-ID: 28X5x2rDqYn
2018-01-10 05:47:05 +01:00
Daniel Holbert e2cb60d64a Bug 1429215: Null-check pointer before using it in assertion in GetFloatFromPlaceholder() (to avoid crashing during assertion). r=mats
MozReview-Commit-ID: 7pWq8nr1mqQ

--HG--
extra : rebase_source : c4cb90d7f865a3ab52889b53695f94f3e4157298
2018-01-09 12:54:21 -08:00
Kartikaya Gupta 44c882edb5 Bug 1426653 - Stop calling SchedulePaint uselessly when bumping the APZ focus sequence number. r=rhunt
MozReview-Commit-ID: Hq8QXLjDWL

--HG--
extra : rebase_source : aaa9e7479eace007b2b81ac210fe3d5f66ed439e
2018-01-09 14:02:42 -05:00
Emilio Cobos Álvarez 339814eda4 Bug 1427677: Get rid of nsContentUtils::HasDistributedChildren. r=bz
The whole function doesn't have much sense.

I killed its only DOM use in bug 1427511.

Now it only has two callers in nsCSSFrameConstructor, which basically only want
to know whether the children of the same node can have different flattened tree
parents.

So let's check that directly instead (checking whether the element has a binding
or a shadow root), and simplify a bit other surrounding code while at it.

Leave the XUL popup / menubar code doing the broken thing they were doing
beforehand, because it doesn't look to me like it's trivial to fix... They're
effectively assuming that the children of the menupopup end up in a single
insertion point, which is true, but doesn't need to be. Maybe they should walk
the DOM tree? Don't want to dig into that right now, since XUL insertion points
can be filtered and all that... Not fun.

Also, this removes the broken optimization that used to check
mParentFrame->GetContent()->HasChildren(), because it's pretty broken. It used
to be relevant before bug 653881, because <children> element used to not exist,
but now the insertion point at least needs to contain the <children> element all
the time.

There even used to be a XXX comment saying that the optimization didn't work,
which was removed in:

  https://hg.mozilla.org/mozilla-central/rev/2d8585ec74b3

We could still check for "no insertion points", and optimize that, but it
doesn't seem worth it.

MozReview-Commit-ID: L4lspkxKENr
2018-01-09 20:50:17 +01:00
Margareta Eliza Balazs 5a9938931a Backed out changeset b047f4782ae2 (bug 1423331) for 4 failures in layout/base/tests/test_reftests_with_caret.html r=backout on a CLOSED TREE 2018-01-09 17:48:14 +02:00
Emilio Cobos Álvarez 70064701e8 Bug 1423331: Tests. r=mats
MozReview-Commit-ID: Ay4tUwSH0Iq

--HG--
extra : rebase_source : 7105701c7117b7b0826591187bf4b8879a805945
2017-12-17 02:48:49 +01:00
Margareta Eliza Balazs fe2caaa266 Merge inbound to mozilla-central r=merge a=merge 2018-01-09 11:52:55 +02:00
KuoE0 e3413cd8d2 Bug 1425088 - (Part 3) Put the dropdown frame's placeholder into the principal child list of the combobox frame when content-select is enabled. r=mats
MozReview-Commit-ID: HJrltVmJCOj

--HG--
extra : rebase_source : 0ae4eefc39d43b1e8b08dfaa71aac264ab2d55bd
2018-01-05 17:50:38 +08:00
KuoE0 0bcba466df Bug 1425088 - (Part 2) Change the dropdown frame to a top-level absolute frame when content-select is enabled. r=mats
MozReview-Commit-ID: E77XdiELqhm

--HG--
extra : rebase_source : 19cc0bccf5dc4160e2b8dff9a710961d0cc38adc
2017-12-13 17:59:29 -06:00
Matt Woodrow 71de2763a6 Bug 1427476 - Don't try to retain display lists for popups since their display root isn't the root frame of a document. r=miko
--HG--
extra : rebase_source : a924322e5cae1ba25526bc258ab18af50d37d66a
2018-01-03 18:31:31 +13:00
Kartikaya Gupta c6e614c39a Bug 1413618 - Avoid possible division by zero. r=xidorn
MozReview-Commit-ID: JSTvMb3mM4P

--HG--
extra : rebase_source : 646429f399c47efef56ee9ae4e3b3bed410a9864
2018-01-08 05:59:08 -05:00
KuoE0 1de9a1005f Bug 1428276 - Make ExpectedOwnerForChild deal with abs.pos. anon boxes. r=heycam
For an OOF frame, the parent frame that's associated with our parent
style context is the *placeholder's* parent -- not the OOF frame's
parent.

MozReview-Commit-ID: CUSBkWDqxWz

--HG--
extra : rebase_source : 96dfef60ed87b94fe7ec1ea5c3104658e283b3ea
2018-01-05 16:26:01 +08:00
Emilio Cobos Álvarez 91be560d9c Bug 1427292: [css-display] Update display: contents on Unusual Elements to the spec. r=mats
This will pass[1] whenever the next WPT sync happens.

See: https://drafts.csswg.org/css-display/#unbox-html

[1]: https://github.com/w3c/web-platform-tests/blob/master/css/css-display/display-contents-unusual-html-elements-none.html

MozReview-Commit-ID: 19dqDSxVm7A
2018-01-06 21:52:51 +01:00
Emilio Cobos Álvarez a68efc4059 Backout two changesets (Bug 1427677) until I prove they have no negative performance implication. r=backout
MozReview-Commit-ID: 3xuUAXVfEHd
2018-01-06 19:01:48 +01:00
Emilio Cobos Álvarez 872ec24ce1 Bug 1428353: Allow undisplayed maps to be queried for elements out of the document. r=mats
MozReview-Commit-ID: 69lQNFk5vhG

--HG--
extra : rebase_source : 693f2537039045f765f8a40da84792bc1b60327f
2018-01-06 00:50:58 +01:00
Emilio Cobos Álvarez 7f7f3991e3 Bug 1427677: Get rid of nsContentUtils::HasDistributedChildren. r=bz
The whole function doesn't have much sense.

I killed its only DOM use in bug 1427511.

Now it only has two callers in nsCSSFrameConstructor, which basically only want
to know whether the children of the same node can have different flattened tree
parents.

So let's check that directly instead (checking whether the element has a binding
or a shadow root), and simplify a bit other surrounding code while at it.

Leave the XUL popup / menubar code doing the broken thing they were doing
beforehand, because it doesn't look to me like it's trivial to fix... They're
effectively assuming that the children of the menupopup end up in a single
insertion point, which is true, but doesn't need to be.

Maybe they should walk the DOM tree? Don't want to dig into that right now,
since XUL insertion points can be reordered and all that... Not fun.

MozReview-Commit-ID: L4lspkxKENr
2018-01-06 11:39:16 +01:00
Emilio Cobos Álvarez 6b2dceda02 Bug 1427908: Never reenter synchronously into frame construction. r=bz
We remove async from the DOM all the time now since bug 1389743.

We could, before this patch, recurse into frame construction in a sync way, due
to the way we handle the weird insertion cases for <fieldset>, <details>, and
<mathml>.

This patch makes those also async, making the IssueSingleInsertNotifications
condition unnecessary.

MozReview-Commit-ID: LujPaYPwA4G

--HG--
extra : rebase_source : 3fc9dc9589a0c43f9f211e22873bf6b960d416f7
2018-01-03 05:51:12 +01:00
Sebastian Hengst d52c7b3231 merge inbound to central. r=merge a=merge 2018-01-06 00:27:10 +02:00
Emilio Cobos Álvarez bab6ad290a Bug 1427824: Remove invalid assertion in presence of display: contents. r=bz
MozReview-Commit-ID: 4jFGHcD5wds

--HG--
extra : rebase_source : 23afb26dd3a93d4693def423a7ee3f3f95ed91a7
2018-01-05 19:12:42 +01:00
Emilio Cobos Álvarez 9cd802936b Bug 1428164: Restyle owned anon boxes after processing children. r=bz
MozReview-Commit-ID: 4QcJPY9hkSm
2018-01-05 11:57:47 +01:00
Jonathan Watt 04cbca1e20 Bug 1425641, part 3 - Remove nsIWebBrowserPrint.GetCurrentChildDOMWindow. r=bobowen
MozReview-Commit-ID: EZHNKvyUT42
2017-12-06 16:02:34 +00:00
Andrea Marchesini e771eaea7c Bug 1425440 - Get rid of GetChildAt_Deprecated in nsPresContext, r=catalinb 2018-01-05 14:36:47 +01:00
Jonathan Kew 489e9ad994 Bug 1426042 - Ensure we don't forget to set bidi data when required on a zero-length trailing frame. r=dholbert 2018-01-05 13:58:51 +00:00
Botond Ballo 54882430dc Bug 1425686 - Remove scroll input methods telemetry code. r=kats
MozReview-Commit-ID: 1PC4826SMvh

--HG--
extra : rebase_source : de145e653f553a41763ae1ba461478709cb7d905
2017-12-20 15:16:18 -05:00
Margareta Eliza Balazs c06fd8b9d6 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-04 10:07:11 +02:00
Stone Shih 653167e88f Bug 1426728 - Don't cache the event target of pointer events when they are generated from touch. r=smaug.
The event targets of touch events are not necessarily to be the same as their corresponding pointer events. So we don't have to cache the event target of pointer events when they are generated from touch.

MozReview-Commit-ID: 9Gd6ion7NXf
2017-12-22 12:27:05 +08:00
Cosmin Sabou 81a8319b46 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
2018-01-03 23:59:59 +02:00
Cosmin Sabou eff09826f7 Backed out changeset 9a95b205f3e8 (bug 1427635) for cl failures at dom/browser-element/mochitest/test_browserElement_oop_CopyPaste.html r=backout a=backout 2018-01-03 23:48:48 +02:00
Olli Pettay 811a9c30ca backout Bug 1414204 because of regressions, r=backout
--HG--
extra : rebase_source : 97927ab24b0f24e4cfce8ce9199dda24857cfd3b
2018-01-03 18:42:50 +02:00
Andrea Marchesini 06cf5a6213 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsCSSFrameConstructor, r=catalinb 2018-01-03 16:30:15 +01:00
Andrea Marchesini 00e79ef07b Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Gijs Kruitbosch 613d9c6f17 Bug 1425356 - remove some tests that only make sense when XUL templates are supported, r=mrbkap
MozReview-Commit-ID: 6mhHJ6bBkHz

--HG--
extra : rebase_source : d44d7c801d61c53448ff535ed2a3c3221c8f5ddb
2017-12-20 14:28:28 +00:00
Emilio Cobos Álvarez e43d539775 Bug 1427635: Fix DoCompareTreePosition frame tree version with null aCommonAncestor. r=xidorn
It doesn't fill the ancestors of the first frame if aCommonAncestor is null,
which means that we get garbage afterwards.

MozReview-Commit-ID: G85dv7KM1Xd

--HG--
extra : rebase_source : 80168515b122c60461bf1cde1695fb7b98aaaa99
2017-12-22 11:01:19 +01:00
Emilio Cobos Álvarez 1cda1ad876 Bug 1427511: Make GetFlattenedTreeParent more straight-forward. r=smaug
Now that accessing nsIContent slots is not a blob of virtual function calls, we
should be able to unify logic here, and speed up the not-so-rare case for
chrome, while keeping the usual case fast.

MozReview-Commit-ID: 87iY5Cbhx4T
2018-01-02 18:00:25 +01:00
Botond Ballo 7e42a77d38 Bug 1425686 - Remove scroll input methods telemetry code. r=kats
MozReview-Commit-ID: 1PC4826SMvh

--HG--
extra : rebase_source : 0123b921159864518e92077dd81d5185816e063a
2017-12-20 15:16:18 -05:00
Noemi Erli 652fbd6270 Merge autoland to mozilla-central r=merge a=merge 2018-01-04 11:44:30 +02:00
Kartikaya Gupta c167fe8ab4 No bug - Convert some tabs to spaces. r=me and DONTBUILD
MozReview-Commit-ID: B6rvSKOXEGG
2017-12-29 10:09:26 -05:00
Emilio Cobos Álvarez c8eb630ebe Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez ffdf5d2cb5 Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me 2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez c0959b2955 Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W

--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Andreea Pavel 78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Emilio Cobos Álvarez 77165a9dc1 Bug 1420533: Add crashtest. r=me
MozReview-Commit-ID: EemfowpZSqp
2017-12-22 00:51:09 +01:00
Emilio Cobos Álvarez 033d6b32fc Bug 975644: Enable position sticky in table parts. r=bz
MozReview-Commit-ID: 85nCuChHdTa
2017-12-21 20:29:20 +01:00
Kartikaya Gupta 764fec3892 Bug 1426200 - Disable crashtests failing on windows QR builds. r=jrmuizel
MozReview-Commit-ID: AFZFoq1P3dI

--HG--
extra : rebase_source : dbd2cf616e856bbbd3827eb6ce39e41842159b57
2017-12-21 14:13:32 -05:00
Csoregi Natalia 12c47a01be Merge inbound to mozilla-central r=merge a=merge 2017-12-21 12:01:59 +02:00
Emilio Cobos Álvarez bae0ffb7be Bug 1420547: Fix removal of <area> elements from an image map. r=bz
This code was relying on nsImageFrame::ContentRemoved running before it.

MozReview-Commit-ID: Imjhd9exjQS

--HG--
extra : rebase_source : 7c6367f515dc140176e50d959c07250057e28354
2017-12-13 01:58:48 +01:00
Emilio Cobos Álvarez 6abaf32af5 Bug 1420547: Notify the pres shell specially, instead of via mutation observers. r=bz
This makes the pres shell be notified as the last observer unconditionally.

In practice this doesn't matter, and it may already be the case if an iframe
goes display: none and back. In practice, the only dependency that requires this
order is that the pres shell needs to be notified _after_ the content sink, so
we don't try to enter frame construction before beginning the shell update.

That may be worth looking into, but definitely not in the scope of this bug... :)

MozReview-Commit-ID: 9WeJ5kaUtBq

--HG--
extra : rebase_source : 6589df0aa8a875dc270894fabb6b4bc170d6b6fe
2017-12-06 05:26:32 +01:00
Emilio Cobos Álvarez 27c288f0e2 Bug 1426536: Remove nsContentUtils::IsContentInsertionPoint. r=smaug
We're not going to need it in Shadow DOM v1.

MozReview-Commit-ID: HOokTPlm2Wt

--HG--
extra : rebase_source : 2f746eafb9fa2b14cfe05233d67bf34b80105a44
2017-12-20 22:45:19 +01:00
Stone Shih a7f32d5317 Bug 1426388 - Crash in mozilla::TouchManager::SuppressInvalidPointsAndGetTargetedFrame. r=smaug. 2017-12-20 23:32:52 +08:00
Stone Shih 4b47b52afe Bug 1414204 Part1: Suppress input events when there is a dnd session. r=smaug.
There may be some pending input events in the queue of thread when content starts a dnd operation. Spec says that input events should be suppressed when there is a dnd operation. Add a flag in ESM and turn on/off when start/finish a dnd operation. Checking the flag in PresShell::HandleEvent because we may start a dnd operation with pointermove and we want to suppress the mousemove as well.

MozReview-Commit-ID: 43NZrA7SW4c
2017-11-03 18:25:49 +08:00
Stone Shih a4f6e53467 Bug 1420589 Part9: Dispatch pointer events to the capturing target even it's frame is destroyed. r=smaug.
MozReview-Commit-ID: DxNx3ByTdCW
2017-11-30 16:10:03 +08:00
Stone Shih 4e51f8e1c5 Bug 1420589 Part7: Using mouse or touch event to do hit test and then generate pointer events with the same target. r=smaug.
MozReview-Commit-ID: 1uM3MxurI9I
2017-11-26 21:54:07 +08:00
Stone Shih cd8b01e32a Bug 1420589 Part6: Keep those touch points that are not in the same document so that we can use them to dispatch pointer events.
MozReview-Commit-ID: JlXHDwpbcEO
2017-12-09 10:06:18 +08:00
Stone Shih cfd5f075ba Bug 1420589 Part5: Separate the logic to get shell for touch events into a function. r=smaug.
MozReview-Commit-ID: LbYKBZAqeJM
2017-12-09 09:11:10 +08:00
Stone Shih 777509d199 Bug 1420589 Part4: Revise PointerEventHandler utilities. r=smaug.
MozReview-Commit-ID: DpGrbbYJbzh
2017-12-09 08:56:11 +08:00
Stone Shih edf50a6c24 Bug 1420589 Part3: Merge PresShell::HandlePositionedEvent to PresShell::HandleEvent. r=smaug.
MozReview-Commit-ID: 9w1DSb5uXME
2017-12-02 22:25:25 +08:00
Stone Shih e169d04d5d Bug 1420589 Part2: Define a helper class to store the target of pointer events. r=smaug.
MozReview-Commit-ID: IS5MM3gXpC4
2017-11-26 21:38:55 +08:00
Stone Shih e0e01af2e8 Bug 1420589 Part1: Separate the logic of finding the event target for touch events into a function. r=smaug.
MozReview-Commit-ID: 5IWpVBdiQ3o
2017-11-22 11:36:35 +08:00
Mats Palmgren bb0f44962b Bug 1425959 - Only allow ::first-letter/line children when the parent frame is a block frame. r=emilio
MozReview-Commit-ID: 4ARPMUCQKKV
2017-12-20 01:08:53 +01:00
Emilio Cobos Álvarez 252a32cb3c Bug 1425893: Add crashtest. r=me
MozReview-Commit-ID: HEGay8D5gzR
2017-12-19 11:07:15 +01:00
Daniel Holbert b328472fc2 Bug 1398963 part 7: Add an about:config flag to optionally emulate -moz-box with flexbox. r=mats
This feature is intended to help Firefox frontend developers experiment with
replacing XUL content with modern flexbox.  We might also eventually use
this emulation to *actually* render most or all of our legacy XUL UI.

MozReview-Commit-ID: 3g2W9o3t23H

--HG--
extra : rebase_source : a3e8b443d9b58e5af3287a23de6edc276ed5e847
2017-10-26 11:12:17 -07:00
Daniel Holbert 65058982ca Bug 1398963 part 5: Treat XUL Popups like other OOF boxes when generating anon flex items, since they spawn placeholders. r=mats
XUL popups (i.e. FrameConstructionItem instances with mIsPopup==true) behave
like out-of-flow content -- in particular, they generate nsPlaceholderFrame
instances.  So, they need the same placeholder-wrapping behavior that we have
for other out-of-flow frames inside of an emulated legacy box, in order to
satisfy our existing invariants.

MozReview-Commit-ID: KnspN4kTPnx

--HG--
extra : rebase_source : 8487f4ee50b21dc0389514fe34a17a73375a58ab
2017-12-18 12:17:10 -06:00
Daniel Holbert 779ba64d4a Bug 1398963 part 4: Refactor logic in nsCSSFrameConstructor's IsXULDisplayType() function (idempotent patch). r=mats
This patch does not change behavior. This patch just refactors the logic in
IsXULDisplayType so that -moz-box and -moz-inline-box are handled via a
dedicated early-return.  This lets a later patch in this series make a more
understandable targeted tweak to add pref-controlled behavior for these display
values.

MozReview-Commit-ID: 6keGrxJcA5l

--HG--
extra : rebase_source : a4c7a6dd205da7d7c39c172ebb6d0c3bb7cd5458
2017-12-18 12:17:10 -06:00
Daniel Holbert 91270c255f Bug 1398963 part 3: Generalize "webkit-box" variable names and code-comments in nsCSSFrameConstructor.cpp (idempotent patch). r=mats
Now that (per previous patch) NS_STATE_FLEX_IS_EMULATING_LEGACY_BOX isn't just
a webkit-box-specific tag: this patch here generalizes the variable-names and
comments associated with that flag in nsCSSFrameConstructor.cpp.

This patch does not make any changes to behavior; it's simply renaming &
comment tweaks.

MozReview-Commit-ID: DcF5GirAQwD

--HG--
extra : rebase_source : d847c5579399a4cc31dc14a52a93b03ed917034e
2017-12-18 12:17:10 -06:00
Daniel Holbert 458c3ac132 Bug 1398963 part 1: Rename frame-state bit from NS_STATE_FLEX_IS_LEGACY_WEBKIT_BOX to NS_STATE_FLEX_IS_EMULATING_LEGACY_BOX (idempotent patch). r=mats
This patch isn't changing semantics of this bit at all - it just renames it to
a more general name. In other words, this patch does not change behavior.

MozReview-Commit-ID: 4wb13X4YinJ

--HG--
extra : rebase_source : 9a89ce8782f735d7f4a8ad471606a2af5201ac83
2017-12-18 12:17:10 -06:00
Kartikaya Gupta 4f18e92ffb Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
MozReview-Commit-ID: nbcWhDq5de

--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -05:00
Emilio Cobos Álvarez dbb3111ff1 Bug 1398492: Remove the grid pref. r=mats
MozReview-Commit-ID: 6Qez8NE8oze
2017-12-17 00:04:35 +01:00
Csoregi Natalia 3ec05888ca Merge inbound to mozilla-central r=merge a=merge 2017-12-16 11:37:48 +02: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
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
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
Narcis Beleuzu eda8e08e68 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-15 03:46:15 +02: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
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
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
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
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
Csoregi Natalia be90f4e875 Merge inbound to mozilla-central r=merge a=merge 2017-12-14 00:01:37 +02:00
Stone Shih 39bc975ceb Bug 1421482 Part2: Replace test utility synthesizePointer with synthesizeMouse. r=smaug.
We should follow the real use cases to synthesize mouse or touch events to generate pointer events so that the related logic is covered by these test cases.

MozReview-Commit-ID: 9xSgjSL0Azt
2017-11-24 07:50:12 +08:00
Stone Shih 7971ae4b7d Bug 1421482 Part1: Revise test_bug968148.html to synthesize pointer events with touch events. r=smaug.
MozReview-Commit-ID: I3dNqmYJnQN
2017-11-24 08:32:46 +08:00
Sebastian Hengst 9d920555ec Backed out 2 changesets (bug 1421482) for failing modified mochitest layout/base/tests/test_bug1078327.html. r=backout a=backout
Backed out changeset a8701e1bd012 (bug 1421482)
Backed out changeset d774f5fe6e94 (bug 1421482)
2017-12-12 19:03:49 +02:00
Ciure Andrei b02ac90ced Merge inbound to mozilla-central r=merge a=merge 2017-12-12 11:45:04 +02:00
Emilio Cobos Álvarez 0c9206e7f7 Bug 1424680: Fix appending in some situations to display: contents stuff. r=bz
I've verified that this asserts without the patch.

MozReview-Commit-ID: 8j6x4xswrCe

--HG--
extra : rebase_source : 37ec24fc08b1f492e5d48e1323602b315c319fb4
2017-12-11 06:44:44 +01:00
Stone Shih 9c7868765a Bug 1421483 - Using correct frame to do hit test for touchstart with multiple touches. r=smaug.
MozReview-Commit-ID: 8qsvgOfRZ3f
2017-11-27 11:25:26 +08:00
Stone Shih 841f50b537 Bug 1421482 Part2: Replace test utility synthesizePointer with synthesizeMouse. r=smaug.
We should follow the real use cases to synthesize mouse or touch events to generate pointer events so that the related logic is covered by these test cases.

MozReview-Commit-ID: 9xSgjSL0Azt
2017-11-24 07:50:12 +08:00
Stone Shih fd4bca04b2 Bug 1421482 Part1: Revise test_bug968148.html to synthesize pointer events with touch events. r=smaug.
MozReview-Commit-ID: I3dNqmYJnQN
2017-11-24 08:32:46 +08: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