Commit Graph

62140 Commits

Author SHA1 Message Date
Kartikaya Gupta
6395848b28 Bug 1428766 - Update for changes in WR PR 2243. r=jrmuizel
MozReview-Commit-ID: 3CG67NcAiRk

--HG--
extra : rebase_source : 53b1f34eacf48d47382b7f6d744a5d9cb01f738d
2018-01-11 10:53:40 -05:00
Jamie Nicol
faa4cff770 Bug 1429467 - Take ancestors' scales in to account when choosing scale for animations. r=mattwoodrow
Currently ChooseScaleAndSetTransform calls
ComputeDesiredDisplaySizeForAnimation to ensure that the scale chosen
for an individual transform's animation does not result in a layer too
large. However, it does not take in to account the scale chosen for
ancestors. This means that when lots of containers with reasonable
scales are nested we end up with too large a value. This change takes
the incoming scale in to account, meaning the resulting layer size is
capped appropriately.

MozReview-Commit-ID: MTzlMnOARQ

--HG--
extra : rebase_source : 3637ac0a36d5a583826e5f82c443f06275cc1b51
2018-01-10 13:32:46 +00:00
Alexis Beingessner
ee2b22f00a Bug 1429577 - properly feed in AA setting instead of a random pointer. r=jrmuizel
MozReview-Commit-ID: BVux2XcIbwo

--HG--
extra : rebase_source : d04a9953d5d140e4345327d2887866d6df1d0d05
2018-01-10 17:04:50 -05:00
Sylvestre Ledru
424664ff30 Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
MozReview-Commit-ID: 3v8D600g8St

--HG--
extra : rebase_source : 34ea6f9868c1b322076c24daa75dc33e27b6704e
2018-01-10 08:52:04 +01:00
Sylvestre Ledru
4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Bob Owen
0521695fbd Bug 1426087: Decrement nsDocumentViewer::mDestroyRefCount in a separate function. r=jwatt 2018-01-12 10:17:36 +00:00
Ciure Andrei
23575f7023 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-11 12:06:29 +02:00
Ciure Andrei
f7400ad72e Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
Cameron McCormack
3ddc9f5f5f Bug 1427519 - Remove unused inCSSValueSearch and related interfaces. r=jryans
MozReview-Commit-ID: 1FR5tsi1Ll6
2018-01-11 12:59:40 +08:00
Cameron McCormack
3c49d82e69 Bug 1427419 - Part 27: Remove inIDOMUtils. r=bz
And rename inDOMUtils.cpp to InspectorUtils.cpp.

MozReview-Commit-ID: IIqo25MHsQE

--HG--
rename : layout/inspector/inDOMUtils.cpp => layout/inspector/InspectorUtils.cpp
2018-01-11 12:38:01 +08:00
Cameron McCormack
3ef428b913 Bug 1427419 - Part 26: Move inIDOMUtils.scrollElementIntoView to InspectorUtils. r=bz
This is unused in mozilla-central but still used in comm-central.

MozReview-Commit-ID: HlJT7dthI41
2018-01-11 12:38:01 +08:00
Cameron McCormack
ce7231c196 Bug 1427419 - Part 25: Move inIDOMUtils.parseStyleSheet to InspectorUtils. r=bz
MozReview-Commit-ID: FQlNRP8ycY3
2018-01-11 12:38:01 +08:00
Cameron McCormack
afa1299635 Bug 1427419 - Part 24: Move pseudo-class lock methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: ItruGMmf5Ih
2018-01-11 12:38:01 +08:00
Cameron McCormack
3f17a89ba7 Bug 1427419 - Part 23: Move inIDOMUtils.getCSSPseudoElementNames to InspectorUtils. r=bz
MozReview-Commit-ID: A6FhXc2mJm1
2018-01-11 12:38:01 +08: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
25abd91980 Bug 1427419 - Part 21: Move content state methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: KfrUdNU4as3
2018-01-11 12:38:01 +08:00
Cameron McCormack
075f0e5256 Bug 1427419 - Part 20: Move inIDOMUtils.getBindingURLs to InspectorUtils. r=bz
This is unused in mozilla-central but still used by comm-central.

The only consumer of this API really just wants the URL strings, so
we return a sequence<DOMString> instead of an array of nsIURI objects.

MozReview-Commit-ID: ITcEe42shHw
2018-01-11 12:38:01 +08:00
Cameron McCormack
45c9e50a65 Bug 1427419 - Part 19: Move inIDOMUtils.getChildrenForNode to InspectorUtils. r=bz
MozReview-Commit-ID: 5AznAfpZIuN
2018-01-11 12:38:00 +08:00
Cameron McCormack
41ac7e60e0 Bug 1427419 - Part 18: Move inIDOMUtils.getParentForNode to InspectorUtils. r=bz
MozReview-Commit-ID: 5GxNmyVHf8u
2018-01-11 12:38:00 +08:00
Cameron McCormack
5a4d54c425 Bug 1427419 - Part 17: Move inIDOMUtils.isIgnorableWhitespace to InspectorUtils. r=bz
This is still being used by the old DOM Inspector in comm-central.

MozReview-Commit-ID: B8fJzjUUewj
2018-01-11 12:38:00 +08:00
Cameron McCormack
0c66b23322 Bug 1427419 - Part 16: Move inIDOMUtils.cssPropertySupportsType to InspectorUtils. r=bz
MozReview-Commit-ID: AfNA6g5lTec
2018-01-11 12:38:00 +08:00
Cameron McCormack
060b4a5e4f Bug 1427419 - Part 15: Move inIDOMUtils.cssPropertyIsShorthand to InspectorUtils. r=bz
MozReview-Commit-ID: LphGIXzOlDB
2018-01-11 12:38:00 +08:00
Cameron McCormack
2212f2845a Bug 1427419 - Part 14: Move inIDOMUtils.getSubpropertiesForCSSProperty to InspectorUtils. r=bz
MozReview-Commit-ID: 8Nyt0V2NUmq
2018-01-11 12:38:00 +08:00
Cameron McCormack
0ef012043a Bug 1427419 - Part 13: Move inIDOMUtils.isValidCSSColor to InspectorUtils. r=bz
MozReview-Commit-ID: DNRfmbDucdT
2018-01-11 12:38:00 +08:00
Cameron McCormack
664c1757c0 Bug 1427419 - Part 12: Move inIDOMUtils.colorToRGBA to InspectorUtils. r=bz
MozReview-Commit-ID: 9EAdNibvZ4
2018-01-11 12:38:00 +08:00
Cameron McCormack
2eef6d3612 Bug 1427419 - Part 11: Move inIDOMUtils.rgbToColorName to InspectorUtils. r=bz
MozReview-Commit-ID: LZcGUEO4Ois
2018-01-11 12:38:00 +08:00
Cameron McCormack
6e85270511 Bug 1427419 - Part 10: Remove unused nsIDOMUtils.colorNameToRGB. r=bz
MozReview-Commit-ID: 962UjCZqX6I
2018-01-11 12:38:00 +08:00
Cameron McCormack
f5ef2d0a72 Bug 1427419 - Part 9: Move inIDOMUtils.getCSSValuesForProperty to InspectorUtils. r=bz
MozReview-Commit-ID: D3jf42KI7kO
2018-01-11 12:38:00 +08:00
Cameron McCormack
1a8d3bfd54 Bug 1427419 - Part 8: Move inIDOMUtils.getCSSPropertyNames to InspectorUtils. r=bz
While we're at it, move to a more friendly API. EXCLUDE_SHORTHANDS is
currently unused so we drop that.

MozReview-Commit-ID: H64ou63We4a
2018-01-11 12:37:59 +08:00
Cameron McCormack
c81f633513 Bug 1427419 - Part 7: Move inIDOMUtils.isInheritedProperty to InspectorUtils. r=bz
MozReview-Commit-ID: AwILrjGiJ3L
2018-01-11 12:37:59 +08:00
Cameron McCormack
710da9d3e3 Bug 1427419 - Part 6: Move selector methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: 8FKRPeIijkC
2018-01-11 12:37:59 +08:00
Cameron McCormack
fc4a76fb7f Bug 1427419 - Part 5: Move nsIDOMUtils.getCSSLexer to InspectorUtils. r=bz
MozReview-Commit-ID: 4UGiS3I2V6B
2018-01-11 12:37:59 +08:00
Cameron McCormack
7371ec9f08 Bug 1427419 - Part 4: Move rule line number methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: HUxWcMPzrSq
2018-01-11 12:37:59 +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
Cameron McCormack
04c11b322d Bug 1427419 - Part 2: Move nsIDOMUtils.getAllStyleSheets to InspectorUtils. r=bz
MozReview-Commit-ID: J6lIx4uvMlS
2018-01-11 12:37:59 +08:00
Cameron McCormack
563e7a0e4a Bug 1427419 - Part 1: Add an InspectorUtils chrome-only IDL namespace. r=bz,tromey
Also add a way to access it from SpecialPowers for tests and from
importGlobalProperties for system JS scopes.

MozReview-Commit-ID: IewEs0Gf2M9
2018-01-11 12:37:59 +08:00
Ryan VanderMeulen
e876c969d0 Bug 1428087 - Annotate 366583-1.xul to allow for up to 1 assertion on Windows. a=test-only
--HG--
extra : rebase_source : e5f6885b319bbb9819e4325cac11b35901f94c10
2018-01-10 20:46:36 -05:00
Ryan VanderMeulen
32c01229f9 Bug 1426797 - Mark image-size.xul as random on Windows. a=test-only
--HG--
extra : rebase_source : 6a247228bc12ebfb112cb92845f6c2073de6a5fa
2018-01-10 20:46:36 -05:00
Ethan Lin
7ab691c827 Bug 1424673 - Fix the clip region for text draw target. r=kats
For draw target, the initial clip region should be the draw target's size.

MozReview-Commit-ID: 2z2EobkYFs2

--HG--
extra : rebase_source : 9631cf189330b089992b8458113800ea9a3fd4a0
2018-01-08 10:59:01 +08:00
Edgar Chen
fd3cbab671 Bug 1417829 - Remove unresolved pseudoclass; r=heycam,smaug
MozReview-Commit-ID: JHfYVnh1SET

--HG--
extra : rebase_source : 287a967f4f354999ab8af93eb696e81727289b12
2017-12-04 17:49:41 +08:00
Noemi Erli
188184d4dc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-12 00:04:40 +02:00
Kartikaya Gupta
d0c7964c6a Bug 1429813 - Remove random-if annotation that is unnecessary now. r=jrmuizel
MozReview-Commit-ID: 7JiPc6dhgFI

--HG--
extra : rebase_source : 8e72a7877ca8035556a26e0360cca77a0669f72b
2018-01-11 11:17:56 -05:00
Emilio Cobos Álvarez
526d5c1370 No bug: Remove some unused functions. r=me
MozReview-Commit-ID: 3sUI1K0dIeA
2018-01-12 13:08:44 +01:00
Miko Mynttinen
64bd4309b2 Bug 1428906 - Implement Clone() and copy-constructors for nsDisplayTableBlendMode, nsDisplayTableBlendContainer, and nsDisplayTableFixedPosition r=mattwoodrow
MozReview-Commit-ID: Fr34xFp4n8

--HG--
extra : rebase_source : b9052c71ffadfb94207bc0aa37ce371c4e7ea497
2018-01-09 13:55:35 +01:00
Brindusan Cristian
b102ef421c Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2018-01-12 13:32:23 +02:00
Ting-Yu Lin
dc444e7320 Bug 1429979 Part 3 - Use nsClassHashtable::Get() which directly returns the value. r=heycam
MozReview-Commit-ID: 7yVbVxMqEde

--HG--
extra : rebase_source : 6e5b61dc4be01323778b1fd7f4127a5491465888
2018-01-11 18:08:51 +08:00
Ting-Yu Lin
0786c61283 Bug 1429979 Part 2 - Use ranged-based for loop to iterate FrameSet. r=heycam
MozReview-Commit-ID: I1aP3Kpqebf

--HG--
extra : rebase_source : f26ecbd1f97751a0c33d7d5b3b007a898c07bfe8
2018-01-11 18:03:23 +08:00
Ting-Yu Lin
f29fa8d0e5 Bug 1429979 Part 1 - Use LookupForAdd() to avoid explicit new nsAutoPtr. r=heycam
MozReview-Commit-ID: 2LaQVRhPGPB

--HG--
extra : rebase_source : 910223170dc0bc2420db0da7e03f93f874d74b1e
2018-01-11 17:53:08 +08:00
Xidorn Quan
19526f6c09 Bug 1429990 - Set display mode back to browser at the end of test_display_mode.html. r=heycam
MozReview-Commit-ID: LmerI4h1Hld

--HG--
extra : rebase_source : f56fc94492de4ec1b5e9030012875106392d9df0
2018-01-12 16:02:28 +11:00
Xidorn Quan
dd155c0445 Bug 1415781 part 2 - Make test_display_mode tests wait for the next tick before synthesizing F11 key press. r=heycam
MozReview-Commit-ID: 12k7zRHw77F

--HG--
extra : rebase_source : c01ec64a9a819cad8fcf721eb6c6b882d616e872
2017-12-21 11:53:18 +11:00
Xidorn Quan
153c970007 Bug 1415781 part 1 - Fix test_display_mode tests for local run. r=heycam
MozReview-Commit-ID: DXysVpV6Lk1

--HG--
rename : layout/style/test/display_mode_reflow_iframe.html => layout/style/test/chrome/display_mode_reflow_iframe.html
extra : rebase_source : f6c2a9f4453b9b07e75d9d10575b14aa1a6d124d
2017-12-21 11:51:37 +11:00
Dorel Luca
ccebfc1873 Merge mozilla-central to autoland r=merge 2018-01-11 00:03:38 +02:00
Dorel Luca
8beedd4f8d Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-11 00:01:16 +02:00
Ya-Chieh Wu
86b7a0d853 Bug 1429313 - Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls. r=tylin
MozReview-Commit-ID: 9gbVQNSKl7l

--HG--
extra : rebase_source : c01b724c2ab209526c600b65413a267aca465655
2018-01-10 01:11:00 -05:00
Kartikaya Gupta
c3c24da1c1 Bug 1429469 - Replace fails-if(webrender) annotations with fuzzy checks. r=jrmuizel
In these cases there is no human-visible difference in the WR renderings
of the test and reference images, so we can replace the failing
annotations with fuzzy ones instead.

MozReview-Commit-ID: Ioiem4ZwwI2

--HG--
extra : rebase_source : d2204d9674b4aba6eb78bc0d0007a40121564ac5
2018-01-10 13:34:15 -05:00
Kartikaya Gupta
2554bc3dd5 Bug 1429469 - Remove a bunch of fails-if(webrender) annotations. r=jrmuizel
All of these tests have existing fuzzy annotations which cover the
differences in the WR renderings. Therefore we can remove the
fails-if(webrender) annotations and use the existing fuzzy annotations
to treat the tests as passing.

MozReview-Commit-ID: LFWha6gAP2r

--HG--
extra : rebase_source : b26a0d0cd66b6bab273251e6a2de9210417ba798
2018-01-10 13:34:14 -05:00
Gurzau Raul
2d062bac22 Merge inbound to mozilla-central r=merge a=merge 2018-01-10 11:58:20 +02:00
Andrea Marchesini
51cbe0791e Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing a broken depending test - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing WPTs - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing tests - CLOSED TREE, r=me
2018-01-09 17:00:49 +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
Narcis Beleuzu
0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
Andrea Marchesini
174498ca29 Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
Alex Gaynor
9054c73f6f Bug 1427012 - make the stream class used in printing more resilient to runtime errors, instead of crashing; r=bobowen
MozReview-Commit-ID: 6ExIvOAWfQX

--HG--
extra : rebase_source : fcf88ea80bb0f202c1d28396f554b612fe73fcf1
2018-01-05 14:52:54 -05:00
Margareta Eliza Balazs
fe2caaa266 Merge inbound to mozilla-central r=merge a=merge 2018-01-09 11:52:55 +02:00
KuoE0
4c91f63774 Bug 1428960 - Use universal selector for -moz-dropdown-list r=heycam
-moz-dropdown-list is only allowed to use universal selector, so change
it back to universal selector.

MozReview-Commit-ID: 5E9Z98xIadh

--HG--
extra : rebase_source : fa6406cbe1b6bab582a1ee8dd2c7e89a4c66591e
2018-01-09 11:48:29 +08: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
Bogdan Tara
cd1c3cc5dd Merge mozilla-central to autoland, r=merge a=merge on a CLOSED TREE 2018-01-09 00:16:46 +02:00
Bogdan Tara
73b4d6b26a Merge inbound to mozilla-central r=merge a=merge 2018-01-09 00:05:31 +02:00
Andrea Marchesini
e10464a465 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 22 - DOMPrefs initialized at startup, r=asuth 2018-01-08 14:05:07 +01:00
Andrea Marchesini
1b4b3007e5 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth 2018-01-08 14:05:05 +01:00
Dorel Luca
04e91897cf Backed out 11 changesets (bug 1252998) for faling browser-chrome on browser/base/content/test/sanitize/browser_sanitize-offlineData.js
Backed out changeset a9ec63c01c50 (bug 1252998)
Backed out changeset a3e5299b882a (bug 1252998)
Backed out changeset aa511b206e21 (bug 1252998)
Backed out changeset 5875848a48ab (bug 1252998)
Backed out changeset 7fd2523680d1 (bug 1252998)
Backed out changeset a45e28e573a4 (bug 1252998)
Backed out changeset 92e8cc81b417 (bug 1252998)
Backed out changeset da38d133549e (bug 1252998)
Backed out changeset 5be23a98b47c (bug 1252998)
Backed out changeset 609093736110 (bug 1252998)
Backed out changeset f4955cf6447f (bug 1252998)

--HG--
rename : browser/base/content/test/sanitize/browser_purgehistory_clears_sh.js => browser/base/content/test/general/browser_purgehistory_clears_sh.js
rename : browser/base/content/test/sanitize/browser_sanitize-passwordDisabledHosts.js => browser/base/content/test/general/browser_sanitize-passwordDisabledHosts.js
rename : browser/base/content/test/sanitize/browser_sanitize-sitepermissions.js => browser/base/content/test/general/browser_sanitize-sitepermissions.js
rename : browser/base/content/test/sanitize/browser_sanitize-timespans.js => browser/base/content/test/general/browser_sanitize-timespans.js
rename : browser/base/content/test/sanitize/browser_sanitizeDialog.js => browser/base/content/test/general/browser_sanitizeDialog.js
2018-01-08 11:00:39 +02:00
Andrea Marchesini
1ac04372e5 Bug 1252998 - StorageActivityService - part 1 - Introduce StorageActivityService to monitor origin activities, r=asuth 2018-01-08 08:31:34 +01:00
Geoffrey Sneddon
8483ba3dd6 Bug 1427114 - Add missing ">" to unclosed meta element so WPT finds the test r=emilio
MozReview-Commit-ID: GOmRqqvgKsc

--HG--
extra : rebase_source : 6f147d518fcd103596a66e9e020c9f08d1c953d8
2018-01-06 22:30:42 +00:00
shindli
efed7156cc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-06 23:58:33 +02:00
shindli
ee57c0cd8a Merge inbound to mozilla-central r=merge a=merge 2018-01-06 23:46:15 +02: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
Kartikaya Gupta
5a377242ca Bug 1422057 - Remove now-unnecessary ::Equals checks. r=mstange
Part of this is a backout of bug 1421054 which is no longer needed now
that we can assume equivalent clip items have identical pointer values.

MozReview-Commit-ID: BhnLVmVr4TX

--HG--
extra : rebase_source : b9bbb733fc69a0f15cd35d0265589aea257a5285
2018-01-06 09:52:59 -05:00
Kartikaya Gupta
bf9bed72dc Bug 1422057 - Deduplicate DisplayItemClipChain instances on creation. r=mstange
MozReview-Commit-ID: Fdr0m0uKxKR

--HG--
extra : rebase_source : 2c38e851ed261d67abffb8f1864fc9acd116da3e
2018-01-06 09:52:58 -05:00
Kartikaya Gupta
12596acf72 Bug 1422057 - Add hash function and boilerplate for deduplicating DisplayItemClipChain via std::set. r=mstange
MozReview-Commit-ID: I2eos3vwFF0

--HG--
extra : rebase_source : 79f99ef1d7fdc9a8f65703e880c66beea9b81de0
2018-01-06 09:52:58 -05:00
Kartikaya Gupta
25d94ecc40 Bug 1422057 - Adjust some logging-related things to be more useful. r=mstange
MozReview-Commit-ID: Idheevum5Fd

--HG--
extra : rebase_source : a441cc0b65c763763a4a417cc1d713cd771e467d
2018-01-06 09:52:57 -05: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
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
Andreea Pavel
51d4c2d9ce Merge inbound to mozilla-central r=merge a=merge 2018-01-06 11:50:13 +02:00
Sebastian Hengst
6c6df154cd merge mozilla-central to mozilla-inbound. r=merge a=merge 2018-01-06 01:56:19 +02: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
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
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
Boris Zbarsky
8a91a899cc Bug 1426525 part 4. Remove uses of 'ref' in XUL trees. r=gijs
MozReview-Commit-ID: He9RTzZMmSr
2018-01-05 13:48:39 -05:00
Coroiu Cristina
cf8d0654b4 Backed out 5 changesets (bug 1426525) for bustage at build/src/layout/xul/tree/nsTreeContentView.cpp r=backout on a CLOSED TREE
Backed out changeset 96efa1b6f4d5 (bug 1426525)
Backed out changeset 37fdd4a04f4e (bug 1426525)
Backed out changeset cee585723368 (bug 1426525)
Backed out changeset 85e218bf000c (bug 1426525)
Backed out changeset 501c70abf837 (bug 1426525)
2018-01-05 21:40:44 +02:00
Boris Zbarsky
d8f202f957 Bug 1426525 part 4. Remove uses of 'ref' in XUL trees. r=gijs
MozReview-Commit-ID: He9RTzZMmSr
2018-01-05 13:48:39 -05:00
Csoregi Natalia
bbfcdcd760 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed_with_pkcs7.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_signed_with_pkcs7.zip
rename : third_party/rust/cose/src/cbor/mod.rs => third_party/rust/moz_cbor/src/lib.rs
extra : rebase_source : 5f16e3d25e86d41e201b8c28ead361fd6ac25c42
2018-01-10 12:07:47 +02:00
Brad Werth
b61d32f5ef Bug 1423378 Part 1: Specially treat the explicit line names following a repeat auto-fit or auto-fill declaration to ensure they are always applied to the following line. r=mats
MozReview-Commit-ID: iFM5J6wRL6
2017-12-05 14:51:06 -08: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
Kartikaya Gupta
9881d74db7 Bug 1428765 - Fix scenario where display item clip chains hash to different values even though they are equal. r=mstange
MozReview-Commit-ID: KOBNjcuMUn

--HG--
extra : rebase_source : e9eff4dfe7b15bd46a9f02ae2555a96d76af4c37
2018-01-09 12:31:58 -05:00
Emilio Cobos Álvarez
7f790cf77a Bug 1428339: followup: Add missing include that busts some builds on a CLOSED TREE. r=me
MozReview-Commit-ID: AFaC5R2AZ8L
2018-01-09 17:50:39 +01:00
Emilio Cobos Álvarez
92b7f3d80f Bug 1425755: Add HTMLSlotElement to the bindgen-generated files on a CLOSED TREE. r=heycam
This allows to selector-match ::slotted.

MozReview-Commit-ID: ItELHkf2PMl
2018-01-09 17:33:08 +01:00
Henri Sivonen
381880a0e0 Bug 1428771 - Make UCS2_CHAR_IS_BIDI check for lead surrogates corresponding to U+1E800...U+1EFFF and rename to UTF16_CODE_UNIT_IS_BIDI. r=jfkthame
MozReview-Commit-ID: 9ZKF6SaN79n

--HG--
extra : rebase_source : 406f2647e65e2bdb97190b12564bafa6df39e6a8
2018-01-08 16:18:32 +02:00