Commit Graph

62774 Commits

Author SHA1 Message Date
Botond Ballo
513f03b0b3 Bug 1425573 - Require target confirmation for events that hit unlayerized scroll frames with non-default overscroll-behavior. r=kats
MozReview-Commit-ID: K88tXahKg8H

--HG--
extra : rebase_source : 5edc6d20150feac46ce1dd70030c677520b41ace
2018-02-16 20:16:41 -05:00
Geoff Brown
c86636e65f Bug 1433485 - Update test prefs for telemetry; r=mythmon,dexter
Set pref datareporting.healthreport.uploadEnabled=false during mochitests
and set pref toolkit.telemetry.server to a dummy server during reftests
(uploadEnabled was already false for reftest and the telemetry server was
already set for mochitests - now these prefs are consistent).

Some mochitests failed with this change; they are updated to
set datareporting.healthreport.uploadEnabled where required.
2018-02-21 10:57:04 -07:00
Gurzau Raul
67898ab5c2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-21 19:32:45 +02:00
Gurzau Raul
9a8d3f8191 Merge inbound to mozilla-central. a=merge 2018-02-21 18:46:07 +02:00
Joel Maher
1fa5c74e78 Bug 1439637 - skew-1.svg fails to pass on new windows 10 hardware. r=dholbert 2018-02-21 09:38:33 -05:00
Emilio Cobos Álvarez
914f744eb1 No bug - Remove always-false argument from a binding function. r=me
MozReview-Commit-ID: EyRtQ92HjsV
2018-02-21 13:04:24 +01:00
Emilio Cobos Álvarez
432d45b460 Bug 1439027: Simplify PresShell::Initialize. r=bz
Most of the callers pass the already-existing pres-context visible area. The few
that don't can set it themselves.

MozReview-Commit-ID: KRi4ShrgOrE
2018-02-21 12:42:17 +01:00
Emilio Cobos Álvarez
e6a341ed3b Bug 1439793: Remove unneeded nullcheck, and ifdef a debug-only loop. r=xidorn
We assert the same in nsCSSFrameConstructor::RecreateFramesForContent, which
asserts aContent.

MozReview-Commit-ID: 5r0ZjfTJ4zZ

--HG--
extra : rebase_source : dcf3ecaa2f7bd6fc8887f84d1f85018ebcae5cd3
2018-02-21 09:52:02 +01:00
Raymond Forbes
99faa7ac37 Bug 1439793: Crashtest. r=xidorn
MozReview-Commit-ID: 9szcIWSRxDX

--HG--
extra : rebase_source : 43565f5b15da5c0c30f40f11a804bea15bbe77ea
2018-02-21 09:42:54 +01:00
Emilio Cobos Álvarez
e17b06c739 Bug 1439793: Handle correctly a reconstruct generated from additional style contexts. r=xidorn
Much like we do in nsIFrame::UpdateStyleOfOwnedChildFrame.

There's also the fact that ::-moz-math-anonymous shouldn't probably be
content-exposed... Oh well.

MozReview-Commit-ID: 8mthwW7Nivy

--HG--
extra : rebase_source : b772ca036ac3817d8e5f54b029892e9ece957d40
2018-02-21 09:32:53 +01:00
Emilio Cobos Álvarez
8b48a6c367 Bug 1439793: Simplify nsStyleChangeList::PopChangesForContent. r=xidorn
MozReview-Commit-ID: Hnd06USHP3N

--HG--
extra : rebase_source : 4cec54742007ccaa2fc4efb3ae0461321acc5899
2018-02-21 09:32:28 +01:00
Gurzau Raul
082f8e6d89 Merge inbound to mozilla-central. a=merge 2018-02-21 12:01:33 +02:00
Geoff Brown
da3fbf11ae Bug 1439115 - (follow-up) Annotate more css-disabled/select reftests so they pass reliably on Android; r=me,a=test-only 2018-02-20 16:24:09 -07:00
Hiroyuki Ikezoe
1b0cba9367 Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
It would be convenient to get nsPresContext from nsIDocument.

MozReview-Commit-ID: Ei6V3UE8XGr

--HG--
extra : rebase_source : 8d2a917eb62cf341e4e1810451fd01c01dbc3bad
2018-02-21 07:00:10 +09:00
shindli
f1c5255ad4 Merge inbound to mozilla-central. a=merge 2018-02-20 21:09:49 +02:00
Joel Maher
a8569999bf Bug 1438944 - 3 tests from layout/reftests/w3c-css/submitted/shapes1 fail to pass on new windows 10 hardware. r=dholbert 2018-02-20 10:45:21 -05:00
Ciure Andrei
50b2c43e29 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-20 12:20:31 +02:00
Jonathan Watt
176a890dbf Bug 1432409 part 2 - Make RemotePrintJobChild::OnStatusChange no-op if initialization failed. r=dholbert
After the part 1 fix, we can still (asynchronously) call some generic cleanup
code that tries to let the parent process's RemotePrintJobParent know that
printing failed under the stack:

  RemotePrintJobChild::OnStatusChange
  nsPrintData::DoOnStatusChange
  nsPrintJob::FirePrintingErrorEvent
  nsPrintJob::CleanupOnFailure

We crash on trying to use the RemotePrintJobChild to message the parent process
since the delete message from the parent has been processed.  This change makes
RemotePrintJobChild::OnStatusChange check that it's initialized before trying
to send any messages.

Pushing to CLOSED TREE since this passed a full Try build and is a topcrash
we want to land for beta ASAP.

MozReview-Commit-ID: FfizRMj2s2m
2018-02-19 23:25:30 +00:00
Miko Mynttinen
1eaf901efb Bug 1439375 - Always create a new nsDisplayCompositorHitTestInfo for stacking contexts r=mattwoodrow
MozReview-Commit-ID: 4yq6naptE0H

--HG--
extra : rebase_source : 214c2094df941e877195f01f13e6f9b72b344dc5
2018-02-19 19:17:01 +01:00
Gurzau Raul
13030d55c1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-21 12:06:01 +02:00
Matt Woodrow
dd015cb66e Bug 1436904 - Part 2: Lookup DisplayItemData during display list building when the frame is already in cache. r=Bas,mstange
* * *
[mq]: fix

MozReview-Commit-ID: Fs64qPl0JQb
* * *
[mq]: fix2

MozReview-Commit-ID: HkDGYMfcNA4
2018-02-13 13:43:36 +13:00
Matt Woodrow
e485bba27f Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
Matt Woodrow
df0359273e Bug 1435648 - Part 2: Preallocate the mAssignedDisplayItems array to the size it was last time. r=mstange 2018-02-13 13:40:21 +13:00
Matt Woodrow
c415ea1075 Bug 1435648 - Part 1: Share storage between mClippedDisplayItems and mAssignedDisplayItems. r=mstange 2018-02-13 13:39:49 +13:00
Andreea Pavel
4f8782dc6e Backed out changeset 3ab4e934cd7f (bug 1439395) for crashtest failures at tests/layout/style/crashtests/1400936-2.html on a CLOSED TREE 2018-02-20 17:43:31 +02:00
Kartikaya Gupta
c7fdd8480d Bug 1438892 - Update reftest results for changes from WR PR 2423. r=jrmuizel
MozReview-Commit-ID: LAqklCRsg8Y

--HG--
extra : rebase_source : f3fdba25f6735d2f045a98828223edeafd609a81
2018-02-20 09:06:41 -05:00
Kartikaya Gupta
db2d71434a Bug 1438892 - Update annotations from WR PR 2426. r=jrmuizel
MozReview-Commit-ID: 5o3YCJKxlje

--HG--
extra : rebase_source : 33112ce4cc0ab11abb7413058f13ae320cba98ad
2018-02-20 09:06:32 -05:00
Kartikaya Gupta
22df9f1405 Bug 1438892 - Update reftest fuzziness for WR PR 2405. r=jrmuizel
MozReview-Commit-ID: HcOke96a4Z2

--HG--
extra : rebase_source : fbd375d3607764500465fbfd694bf525037130e6
2018-02-20 09:05:54 -05:00
Emilio Cobos Álvarez
eb044841b5 Bug 1439395: Clear Servo data only when the DOM is in a consistent state. r=bholley
We used to do it this way effectively until I fixed it in bug 1400936.

Per the list of fuzz bugs that bug has in the "Depends on" field, some of those
without a super-clear fix, and others that aren't listed in there, and all the
complexity we had to deal with while receiving restyle requests mid-unbind, etc,
I think this is the right call.

This clears data on RestyleManager::ContentRemoved for non-anonymous nodes, and
on UnbindFromTree for subtrees rooted at anonymous nodes.

This will hopefully yield enforceable invariants.

MozReview-Commit-ID: IMwX5Uh1apv
2018-02-20 15:19:03 +01:00
Emilio Cobos Álvarez
1300727b08 Bug 1438911: Avoid doing changeset changes off a runnable for stylo. r=bz
MozReview-Commit-ID: Kgu9OxjtY5v

--HG--
extra : rebase_source : ae14355731b10c026f526b564d7eee23a57d2da5
2018-02-16 18:55:27 +01:00
Emilio Cobos Álvarez
a5c61458d0 Bug 1439016: Crashtest. r=bholley
The crashtest will crash whenever the shell is destroyed, which is annoying,
but...

MozReview-Commit-ID: 1JkLy5K98bS

--HG--
extra : rebase_source : 063ca56df3db72940dbb3537a36da561528a5949
2018-02-19 18:08:06 +01:00
Xidorn Quan
b378bc1325 Bug 1417138 part 2 - Enable stylo-chrome by default. r=bholley
MozReview-Commit-ID: D19QBD4nqWf

--HG--
extra : rebase_source : 614ee44f14447ad6719b5c1c55073a736da88533
extra : source : 8e0394db471fdc75cdee12013944ed9a2873cd62
2018-02-13 16:30:43 +11:00
Geoff Brown
e0ef6649b8 Bug 1439115 - Annotate css-disabled/select reftests so they pass reliably on Android; r=me,a=test-only 2018-02-20 14:02:41 -07:00
Jonathan Kew
9f0ef942b4 Bug 1439629 - Add testcase to check that element with visibility:hidden is skipped when reporting used font faces. r=dholbert 2018-02-20 20:46:51 +00:00
Jonathan Kew
cb40096278 Bug 1439629 - When collecting used-fontFace information, skip textframes where IsVisible() is currently false. r=dholbert 2018-02-20 20:46:51 +00:00
Jonathan Kew
8343c79b56 Bug 1439524 - Add testcase for getUsedFontFaces that exercises multiple DOM nodes and whitespace collapsing. r=dholbert 2018-02-20 20:46:51 +00:00
Jonathan Kew
84f4d3dc1d Bug 1439524 - Clamp glyph-run offsets appropriately for the current frame's content to avoid potential failure to create the Range. r=dholbert 2018-02-20 20:46:51 +00:00
Emilio Cobos Álvarez
7ceaea0673 Bug 1438297: Unship the legacy syntax for -moz-transform. r=xidorn
Intent to unship link:

  https://groups.google.com/d/msg/mozilla.dev.platform/T3PGm97MPNU/59XUavMlCgAJ

MozReview-Commit-ID: 6ybGBasPAWU
2018-02-19 13:06:20 +01:00
Emilio Cobos Álvarez
cc5a1b6c85 Bug 1439224: Make shadow root style changes not restyle the whole document. r=xidorn
Also, make them not rebuild the CascadeData synchronously, via the
FlushSkinSheets call, since that's broken. That fixes bug 1413119.

This is a little step in getting rid of XBL usage for Shadow DOM.

MozReview-Commit-ID: HJ7FeUZlRTW

--HG--
extra : rebase_source : 0fcd0ed461856c1e87e45ef63c9e1d2e81281469
2018-02-18 14:35:57 +01:00
Xidorn Quan
a23cb7d912 Bug 1438497 - Add bindings into memory report. r=bholley,njn
MozReview-Commit-ID: FrFEUlrqcs8

--HG--
extra : rebase_source : 4ead07cb6854ef816a1d6b31aa9028220a14ec89
2018-02-16 23:02:28 +11:00
Hiroyuki Ikezoe
9721d084da Bug 1439279 - Drop needless requestAnimationFrame in reftest for web-animation. r=birtles
Refrests without specifing reftest-no-flush flush all pending styles so that
we don't need to wait for a requestAnimationFrame to apply the final style
changes.

MozReview-Commit-ID: lAFsFG8CrE

--HG--
extra : rebase_source : 46ba219da0ccbb1bee0d8243b7e2ee5f8d81a13f
2018-02-19 10:57:53 +09:00
Hiroyuki Ikezoe
5342ead8c3 Bug 1439279 - Append animating element after animation gets ready. r=birtles
This test is supposed to append *animating* element to the document.

MozReview-Commit-ID: 39kvw6IYRF9

--HG--
extra : rebase_source : 510e99190fb60067b0bf404c37d7250e2d994ff0
2018-02-19 10:57:53 +09:00
Hiroyuki Ikezoe
b08072ea30 Bug 1439279 - Drop needless requestAnimationFrame that waits for applying new transition. r=birtles
getComputedStyle() ensures triggering new transitions, so we don't need to wait
for a requestAnimationFrame callback.

MozReview-Commit-ID: Bes1vQeHohI

--HG--
extra : rebase_source : fdb8face312a471be5f93229a9fbbfd4fc59418f
2018-02-19 10:57:53 +09:00
Cosmin Sabou
6e3859bfa5 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-19 00:00:43 +02:00
Cosmin Sabou
0548f006a3 Merge inbound to mozilla-central. a=merge 2018-02-18 23:54:56 +02:00
Margareta Eliza Balazs
5536f71c38 Merge inbound to mozilla-central. a=merge 2018-02-18 18:41:41 +02:00
Robert Longson
728a3f36fc Bug 1435477 - Make the SVG dom code use the WebIDL constants from the bindings r=jwatt 2018-02-18 15:53:13 +00:00
Miko Mynttinen
b33fd91dae Bug 1438527 - Use non-empty bounds for nsDisplayCompositorHitTestInfo to ensure proper layer assignment r=mattwoodrow
MozReview-Commit-ID: 5CCN8t7ytP5

--HG--
extra : rebase_source : 64bebe22a166a3b26d6b42d9ef9f4a8178afd910
2018-02-16 02:01:18 +01:00
shindli
6afe060566 Merge inbound to mozilla-central. a=merge 2018-02-18 11:35:16 +02:00
Daniel Holbert
dca25b1820 Bug 1433339: Apply single-item fallback behavior for 'space-between' more directly, in flexbox code. r=mats
MozReview-Commit-ID: BRx4xGaJS6y

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-001-ref.xhtml => layout/reftests/flexbox/flexbox-align-content-horizrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-001a.xhtml => layout/reftests/flexbox/flexbox-align-content-horizrev-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-001-ref.xhtml => layout/reftests/flexbox/flexbox-align-content-vertrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-001a.xhtml => layout/reftests/flexbox/flexbox-align-content-vertrev-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-001-ref.xhtml => layout/reftests/flexbox/flexbox-justify-content-horizrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-001a.xhtml => layout/reftests/flexbox/flexbox-justify-content-horizrev-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001-ref.xhtml => layout/reftests/flexbox/flexbox-justify-content-vertrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001a.xhtml => layout/reftests/flexbox/flexbox-justify-content-vertrev-001.xhtml
extra : rebase_source : 61fbefa6758677dd90872b02deb636a3d6c6887b
2018-02-17 16:59:01 -08:00