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

62513 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia 486051b718 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 20:14:53 +02:00
Emilio Cobos Álvarez c55a15b2ef Bug 1423331: Tests. r=mats
MozReview-Commit-ID: Ay4tUwSH0Iq
2018-02-01 17:23:51 +01:00
Emilio Cobos Álvarez 5e4f6e89ec Bug 1423331: Prevent selection from leaking from blocks. r=mats
MozReview-Commit-ID: EFLXSQ8Zvze
2018-02-01 17:23:49 +01:00
Emilio Cobos Álvarez f85c8218d8 Bug 1434724: Fix computed value serialization of font-feature-settings. r=dholbert
This should make us agree with other browsers re the serialization of
`"vert" 0`, and with servo after https://github.com/servo/servo/pull/19918

Left try running, may need some test adjustments that I'll send for review if
they're non-trivial.

Differential Revision: https://phabricator.services.mozilla.com/D539

MozReview-Commit-ID: LgIPfn4lfrF
2018-02-01 15:48:46 +01:00
Daniel Holbert 3ebdbe2a5b Bug 1434658: Simplify getComputedStyle behavior for "min-{width,height}:auto" to *always* return "auto" for flex/grid items, per CSSWG resolution. r=bradwerth
This change is in response to this CSSWG resolution:
"RESOLVED: compute min-width/min-height: auto to auto"
https://github.com/w3c/csswg-drafts/issues/2230#issuecomment-362009042
...which was later clarified as only being applicable to grid/flex items (in
both axes). Other layout modes may get further min-width/min-height
clarification, but for now we'll leave that behavior the same (returning 0 from
getComputedStyle).

MozReview-Commit-ID: 2wLYDAOj9I6

--HG--
extra : rebase_source : c5f384ef5ae906e20a6e10da20c39b0a5eb226eb
2018-01-31 13:45:11 -05:00
Jet Villegas 30f3f2231b Bug 1426869 - "td.contenteditable=true focus breaks text selection" [r=masayuki]
--HG--
extra : rebase_source : d2c2091bf4eba8420951b16d2be4f5d66e9c491f
2018-01-09 08:00:00 +02:00
Emilio Cobos Álvarez 9a18395a1d Bug 1434474: There's no need to rebuild font / counter styles / font feature values off a runnable. r=bholley
Everything that needs them up-to-date will call flush appropriately, there
should be no need to do it manually.

This way we coalesce all the stylist updates until the next style flush in the
best case, or until one of the consumers actually needs them.

MozReview-Commit-ID: BVsxXxhtcKL

--HG--
extra : rebase_source : a41c14689fdcdb30935e16bdb0e757e7140e88e7
2018-01-31 11:12:36 +01:00
Tom Tromey 3b8e63c66a Bug 1255369 - fix getCSSValuesForProperty for line-style-type; r=xidorn
This fixes InspectorUtils::getCSSValuesForProperty to return the
correct values for line-style-type.

MozReview-Commit-ID: 72Tes6y15j8

--HG--
extra : rebase_source : fa893f59cafc433f554353cf42d0f9495cdd5b23
2018-01-31 08:50:27 -07:00
Mike Hommey 355ab37a8f Bug 1434765 - Properly reject invalid variables in #if{,n}def. r=froydnj
The invalid variable test for #if{,n}def was only checking that the
first character in the variable was alphanumeric or underscore, not
the other characters.

More generally, preprocessor instructions were also cut out such that
whitespaces before and after arguments were part of the arguments.

There's one place in layout/tools/reftest/manifest.jsm that was using
a broken pattern, making the test never true, which, once fixed, unveils
broken tests, so the branch that was never used is removed.

--HG--
extra : rebase_source : d1fe8a299203a29c0906ff99054c326acd135000
2018-02-01 10:40:59 +09:00
Adrian Wielgosik 639df9d521 Bug 1353329 - Remove remains of SecureElement API. r=bz
MozReview-Commit-ID: 5D1VriUJ8UP

--HG--
extra : rebase_source : 894a6e151142726e9cc9f6d417bec36831aa1129
2018-01-31 22:07:30 +01:00
Cameron McCormack 2cea1ba7c1 Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro
MozReview-Commit-ID: B9TaVJFak26

--HG--
extra : source : 820eed2682b6a6cda892d091ee037ff1eeacd69f
2018-02-01 15:04:04 +11:00
Cameron McCormack d02e54b79b Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
MozReview-Commit-ID: CIHyPdF7Exl

--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack cc7db5c40c Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
MozReview-Commit-ID: 1FZ9VzjcPzN

--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Cameron McCormack 98b3e38412 Bug 1430014 - Part 3: Skip failing/unnecessary tests when the old style system is not present. r=xidorn
MozReview-Commit-ID: 9xuJXkI4W7E

--HG--
extra : source : 82af008f38f4316357c323c9c5e2ea1fc4ee8e80
2018-02-01 15:04:04 +11:00
Cameron McCormack eab4d90b3d Bug 1430014 - Part 2: Adjust test assertion expectations. r=xidorn
We no longer assert here when stylo-chrome is enabled.

MozReview-Commit-ID: CbVItBV2Q5V

--HG--
extra : source : 62d4361658b91c2825fae256913016495a9289f6
2018-02-01 15:04:04 +11:00
Cameron McCormack 24cbcff6fa Bug 1430014 - Part 1: Add --enable-stylo=only configure option and MOZ_OLD_STYLE define. r=glandium,xidorn
MozReview-Commit-ID: FsypJFV1sxS

--HG--
extra : source : 3043d52e91a1768dddf603a8a6fd992a8fc89ebf
2018-02-01 15:04:04 +11:00
Botond Ballo 32bac742dd Bug 1434747 - Add a reftest for async-scrolling of fixed content inside a CSS filter. r=kats
The test only passes with WebRender enabled. Passing without WebRender
would require implementing CSS filters in the Gecko compositor.

MozReview-Commit-ID: HPgxxuj5iJl

--HG--
extra : rebase_source : 8afbc717d8e086f7a407eb5f0090f30d62d9638b
2018-01-29 18:23:14 -05:00
Emilio Cobos Álvarez 3935d1f0d4 Bug 1207734: followup: Temporarily avoid some tests for this bug. r=me
On a CLOSED TREE, since Android is barfing at the prefs key in the manifest:

  runByManifest mode must be enabled to set the `prefs` key

MozReview-Commit-ID: 2oK3CG69s9E
2018-02-01 04:06:45 +01:00
Brian Birtles 60a2ffc2a6 Bug 1207734 - Part 9.i. Replace tabs with spaces in bug_1112014.html. r=dholbert
MozReview-Commit-ID: 8k9qD9A3BS0

--HG--
extra : rebase_source : 9b5b22a495e111a1f9f3057deb19813ffb8dbdc1
extra : source : 7047a154549089c85acedc75cd764d110bf95776
2018-01-30 14:02:32 -05:00
cku a3c66ee73c Bug 1207734 - Part 9.f. Add specified value serialization test cases for individual transform. r=emilio
MozReview-Commit-ID: 56DTIuTXs95

--HG--
extra : rebase_source : 81d01af0ec3d2e05e24e1f583e4f539a177b9fb0
extra : source : 4b19a5c39c37863ad0682bf2efe7aaa80dc6f484
2018-01-10 15:04:00 +08:00
Brian Birtles 2de6e94551 Bug 1207734 - Part 9.e. Add transition test cases. r=emilio
Going forward we should add the more detailed tests to web-platform-tests but
for now if we don't add tests here test_transitions_for_property.html will
complain that a property that we think is not transitionable, does in fact
transition.

MozReview-Commit-ID: DJwVR50U36K

--HG--
extra : rebase_source : 39510dde2c602cfbb13bd05ccd8402fe5c3be5ec
extra : source : 2a0fbd39ee548e2023aade2da993a9c65bf784b6
2018-01-25 14:36:50 +09:00
cku 50086d389f Bug 1207734 - Part 9.b. Add basic reftests for individual transform. r=emilio
MozReview-Commit-ID: 7aFlvn4Inpb

--HG--
extra : rebase_source : ab77bb7cf55b2929e78785e7bedb222dd302bb45
extra : source : c454215cf36112a5e01618b7f118d7e0103c7d17
2017-12-12 22:57:56 +08:00
cku d1dd0fa8a5 Bug 1207734 - Part 9.a. Update gCSSProperties for the properties of individual transforms. r=emilio
MozReview-Commit-ID: GiQCo18M5da

--HG--
extra : rebase_source : c00330e1893625e2f9e3ee28c77550d76bdbeac0
extra : source : f7f5499cde9e8120cd73f60f9a274634045308f4
2018-01-25 09:32:49 +09:00
Hiroyuki Ikezoe 3382c6bc43 Bug 1430380 - Wait for the next tick after sizemodechange event to apply media feature changes. r=xidorn
On Linux, media feature changes is processed after dispatching sizemodechange
event, so we need to wait for the next tick before checking style changes that
caused by the media feature changes.

MozReview-Commit-ID: 2kb0kToXA6e

--HG--
extra : rebase_source : 640739b49c18b410e8610d801d3ea2795380254e
2018-02-01 10:20:51 +09:00
Emilio Cobos Álvarez 69ef3f633a Bug 1434314: Bring back the relevant tests. r=me
MozReview-Commit-ID: 5inY1MEp2Nl
2018-02-01 02:22:56 +01:00
Cosmin Sabou cbddf62d14 Merge inbound to mozilla-central. a=merge 2018-02-01 01:14:44 +02:00
Boris Zbarsky 65bf16222e Bug 1434399 part 19. Remove nsIXULDocument. r=mystor
MozReview-Commit-ID: 9jQu4sjOhb2
2018-01-31 14:49:29 -05:00
Boris Zbarsky 8d91b52952 Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Boris Zbarsky ee62abf47b Bug 1434399 part 5. Remove nsIDOMXULDocument's commandDispatcher attribute. r=mystor
MozReview-Commit-ID: BjRVr3ScuK5
2018-01-31 14:49:27 -05:00
Boris Zbarsky 46a787b972 Bug 1434399 part 3. Remove nsIDOMXULDocument's popupRangeParent/popupRangeOffset attributes. r=mystor
MozReview-Commit-ID: dU65u8Hx2V
2018-01-31 14:49:27 -05:00
Boris Zbarsky 99c47399c4 Bug 1434399 part 1. Switch to nsINode for the popup node on windowroot. r=mystor
MozReview-Commit-ID: HyiHElDnmSH
2018-01-31 14:49:26 -05:00
Cosmin Sabou 94617f91cf Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky 928d0d4fa7 Bug 1434318 part 13. Remove nsIDOMDocument::CreateEvent. r=mystor
MozReview-Commit-ID: EaUjTLeaQ0n
2018-01-31 15:18:11 -05:00
Boris Zbarsky d8503e650d Bug 1434318 part 11. Remove nsIDOMDocument's stylesheet set APIs. r=mystor
MozReview-Commit-ID: 9ABdbYKZI6k
2018-01-31 15:18:11 -05:00
Boris Zbarsky f0d195b828 Bug 1434318 part 10. Remove nsIDOMDocument's title attribute. r=mystor
MozReview-Commit-ID: IBToVxx4bSs
2018-01-31 15:18:10 -05:00
Boris Zbarsky c62e23596a Bug 1434318 part 2. Stop using nsIContentViewer::GetDOMDocument in C++. r=mystor
MozReview-Commit-ID: FoMoVgCngGR
2018-01-31 15:18:09 -05:00
Boris Zbarsky 45afd61f33 Bug 1434318 part 1. Make nsIContentViewer's DOMDocument readonly. r=mystor
No one ever assigns to it in JS anyway.

MozReview-Commit-ID: EAoOXSFnwtl
2018-01-31 15:18:09 -05:00
Boris Zbarsky 95e268e32f Bug 1434399 part 19. Remove nsIXULDocument. r=mystor
MozReview-Commit-ID: 9jQu4sjOhb2
2018-01-31 14:49:29 -05:00
Boris Zbarsky 467ed0721d Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Boris Zbarsky 493dd48468 Bug 1434399 part 5. Remove nsIDOMXULDocument's commandDispatcher attribute. r=mystor
MozReview-Commit-ID: BjRVr3ScuK5
2018-01-31 14:49:27 -05:00
Boris Zbarsky 645b3296c3 Bug 1434399 part 3. Remove nsIDOMXULDocument's popupRangeParent/popupRangeOffset attributes. r=mystor
MozReview-Commit-ID: dU65u8Hx2V
2018-01-31 14:49:27 -05:00
Boris Zbarsky 9fe358b3cc Bug 1434399 part 1. Switch to nsINode for the popup node on windowroot. r=mystor
MozReview-Commit-ID: HyiHElDnmSH
2018-01-31 14:49:26 -05:00
Andreea Pavel f41017f5cd Merge inbound to mozilla-central. a=merge 2018-01-31 19:38:21 +02:00
Bogdan Tara 5c052cc871 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-31 12:10:31 +02:00
Bogdan Tara 1a6614b8b5 Merge inbound to mozilla-central. a=merge 2018-01-31 12:00:14 +02:00
Miko Mynttinen eeba6c855d Bug 1431209 - Part 3: Clear mWindowOpaqueRegion before building a display list r=mattwoodrow
MozReview-Commit-ID: 2GFsg7WByGr

--HG--
extra : rebase_source : 0c36eaba904a5f5b4457d6e755181f572a04d972
2018-01-25 14:27:45 +01:00
Miko Mynttinen d3cbadaa16 Bug 1431209 - Part 2: Use WeakFrameRegion for mWindowExcludeGlassRegion r=mattwoodrow
MozReview-Commit-ID: 10ftH0PfoMe

--HG--
extra : rebase_source : 8f7a3332398a19f59832adf4dec7c2ec9b704d68
2018-01-25 14:19:10 +01:00
Miko Mynttinen 226e3d7c8c Bug 1431209 - Part 1: Add WeakFrameRegion and use it for WindowDraggingRegions r=mattwoodrow
MozReview-Commit-ID: JxwxemwY20p

--HG--
extra : rebase_source : b0703ea8ba3e411d728e3cf9086cebddb299ed17
2018-01-25 14:26:30 +01:00
Miko Mynttinen 47275f45e3 Bug 1434306 - Improve ContainerState::NewPaintedLayerData r=mattwoodrow
MozReview-Commit-ID: AZwDlz4l0k5

--HG--
extra : rebase_source : 5110f478a62a32eefc97f99f8c2d7f8ce97b977a
2018-01-30 17:06:36 +01:00
cku 9d27bbd0e6 Bug 1207734 - Part 5. Implement the getComputedStyle API for individual transform. r=birtles
MozReview-Commit-ID: 3w1kA6VCXsg
(grafted from ee81993c07a30fe5b8788d2ce6707967eb0a832a)

--HG--
extra : source : ee81993c07a30fe5b8788d2ce6707967eb0a832a
2017-12-19 14:33:09 +08:00
cku af86c724c9 Bug 1207734 - Part 4.c. Temporarily disable async-transform for individual-transform. r=birtles
Since we do not support async-transform for individual-transform yet.

MozReview-Commit-ID: gfOzHpjOnQ
(grafted from dd508458f70d5473256a4bfe5a2f6bc665bbac9d)

--HG--
extra : source : dd508458f70d5473256a4bfe5a2f6bc665bbac9d
2018-01-05 14:45:05 +08:00
cku 3e93e3d1ac Bug 1207734 - Part 4.b. Use the final combined transform in the nsDisplayTransform. r=birtles
MozReview-Commit-ID: CDlvzkcae0g
(grafted from 6f39ac3e180cdb1706e12f7a662cac3ac1c369d3)

--HG--
extra : source : 6f39ac3e180cdb1706e12f7a662cac3ac1c369d3
2017-12-13 01:21:41 +08:00
cku 6861051c1f Bug 1207734 - Part 4.a. Store the final combined transform in nsStyleDisplay::mCombinedTransform. r=birtles
MozReview-Commit-ID: FsuaMoclnL8
(grafted from 793e73f61ee1d0035b3d9d881df4eb784da3c4e9)

--HG--
extra : source : 793e73f61ee1d0035b3d9d881df4eb784da3c4e9
2018-01-24 16:22:46 +09:00
Brian Birtles f86be3459f Bug 1207734 - Part 3.b. Add rotate/translate/scale to InspectorUtils::CssPropertySupportsType; r=emilio
MozReview-Commit-ID: AURf7fY3pyu
(grafted from 7f89dd1fa3aa276bfa49b12cdc0df950f9963406)

--HG--
extra : source : 7f89dd1fa3aa276bfa49b12cdc0df950f9963406
2018-01-25 09:18:44 +09:00
Bobby Holley acaeadbd5b Bug 1418161 - Followup fix for fuzz build bustage. r=me
MozReview-Commit-ID: CSvU4I4qlsb
2018-01-30 14:47:33 -08:00
arthur.iakab c4dd80eca3 Merge mozilla-central to autoland 2018-01-31 00:41:58 +02:00
Sebastian Hengst 732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Bobby Holley 0babee3ba1 Bug 1418161 - Hoist IsInServoTraversal into ServoUtils. r=emilio
This will allow us to invoke it from nsAttrValueInlines.h, which can't
include ServoStyleSet.h due to circular dependencies.

MozReview-Commit-ID: BgC7ExyWRn7
2018-01-30 14:11:03 -08:00
Boris Zbarsky a5927e6ebd Bug 1428610 part 8. Remove unnecessary Item() method. r=emilio
MozReview-Commit-ID: 6MQXVA0toiG
2018-01-30 14:48:27 -05:00
Boris Zbarsky 4c01bdc27f Bug 1428610 part 7. Make the nsICSSDeclaration length API nicer. r=emilio
MozReview-Commit-ID: 2gs8npBJFJY
2018-01-30 14:48:27 -05:00
Boris Zbarsky c49370b74a Bug 1428610 part 6. Give nsICSSDeclaration::GetPropertyPriority a nicer signature. r=emilio
MozReview-Commit-ID: 4H2zADwdo5L
2018-01-30 14:48:27 -05:00
Boris Zbarsky 4278814e5c Bug 1428610 part 5. Make nsICSSDeclaration::Get/SetCSSText have nicer signatures. r=emilio
MozReview-Commit-ID: B25qvxKj9CW
2018-01-30 14:48:26 -05:00
Boris Zbarsky 59d4896eb6 Bug 1428610 part 4. Move the nsCSSPropertyID overload of nsICSSDeclaration::SetPropertyValue to nsDOMCSSDeclaration. r=emilio
MozReview-Commit-ID: 8BzCHahJjwv
2018-01-30 14:48:26 -05:00
Boris Zbarsky 335a24f297 Bug 1428610 part 3. Move the nsCSSPropertyID overload of nsICSSDeclaration::GetPropertyValue down to nsDOMCSSDeclaration. r=emilio
MozReview-Commit-ID: FHrkptqa2hZ
2018-01-30 14:48:26 -05:00
Boris Zbarsky eb99a6d933 Bug 1428610 part 1. Devirtualize nsICSSDeclaration::GetDocGroup. r=emilio
MozReview-Commit-ID: 7OGRkYTjTSQ
2018-01-30 14:48:26 -05:00
Boris Zbarsky 1d5c2e332a Bug 1434273. Make nsGenConImageContent's inheritance match the way it's used. r=mccr8
MozReview-Commit-ID: AYL4iZkMJiH
2018-01-30 14:48:26 -05:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Kartikaya Gupta 938ef44438 Bug 1422393 - Add reftest. r=mstange
MozReview-Commit-ID: LwNQqnP9r8j

--HG--
extra : rebase_source : 1981685a91e871e608fdb76040f790da21aa3e8d
2018-01-30 13:34:03 -05:00
Csoregi Natalia 1d557a2997 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 18:24:05 +02:00
Csoregi Natalia c56f656feb Merge inbound to mozilla-central. a=merge 2018-01-30 18:18:04 +02:00
Emilio Cobos Álvarez 1528ebee1c Backout changeset 5ca278d8c1af (Bug 1433671) for not handling all callers in all platforms. r=backout
This reverts commit 795018bb21eb9fa906128d0a15cf773643878585.
2018-01-30 12:17:04 +01:00
Emilio Cobos Álvarez b0b4e4a39a Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret. r=bz
MozReview-Commit-ID: Js0CF7WQM73
2018-01-30 11:50:35 +01:00
Emilio Cobos Álvarez 9af8f870d0 Bug 1433671: Make AccessibleCaretManager flushes a bit more sound. r=TYLin
The accessible caret manager is owned by the event hub, that is owned by the
shell.

All the callers of methods that call FlushLayout on the AccessibleCaretManager
should hold an external reference to the event hub.

Flushing pending notifications can run arbitrary script, that can call Destroy()
on the pres shell (and thus tear down the accessible caret event hub, and the
manager with him).

I don't know why before my change this wasn't crashing badly, but the code as it
was just doesn't look sound to me at all either (maybe I'm misunderstanding
something and I should just revert that patch and give up on having nice
invariants during our flushes..., but I don't think it's the case).

This also adds some sanity-checking that we don't die under our flush.

MozReview-Commit-ID: 4s0UT0fD3TI
2018-01-30 11:50:32 +01:00
Jonathan Kew 2a3cf53f91 Bug 1426146 - patch 2 - Support the paint-order property for HTML text (in addition to SVG); currently preffed-off by default. r=jwatt 2018-01-30 14:41:51 +00:00
Gurzau Raul afe10a4af5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 12:12:34 +02:00
Emilio Cobos Álvarez 75e0e25aeb Bug 1434215: Simplify some ResistFingerprinting callers in nsMediaFeatures. r=xidorn
The docshell version just redirects to the document one, so no need to
ping-pong.

MozReview-Commit-ID: AggEoLubCIF
2018-01-30 11:05:32 +01:00
Gurzau Raul c380dfe905 Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
Jonathan Kew 8ab35c14ad Bug 1280162 - patch 3 - Testcase for layout inspector API to examine font features. r=dholbert 2018-01-30 09:57:39 +00:00
Jonathan Kew 3b1dc9e5ec Bug 1280162 - patch 2 - Add a getFeatures() method to InspectorFontFace to expose the OpenType features supported by a font. r=dholbert,bz 2018-01-30 09:57:39 +00:00
Phil Ringnalda 85431794dc Backed out 7 changesets (bug 1429932) for extremely frequent QuantumRender reftest failures
Backed out changeset b0ac71407500 (bug 1429932)
Backed out changeset 469ceaefd7a4 (bug 1429932)
Backed out changeset 2f801e78f798 (bug 1429932)
Backed out changeset 72852fdf476c (bug 1429932)
Backed out changeset 09e5e25d48ee (bug 1429932)
Backed out changeset bb1394cba514 (bug 1429932)
Backed out changeset 65b8996eb50c (bug 1429932)
2018-01-29 23:43:27 -08:00
Boris Zbarsky 7c392f077e Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor
MozReview-Commit-ID: 5QUyFeAQYZQ
2018-01-30 00:25:36 -05:00
Hiroyuki Ikezoe 14c14a8057 Bug 1433019 - Dispatch scroll events before dispatching animation events. r=botond,mstange
See 7.6. in the section '8.1.4.2 Processing model';
https://html.spec.whatwg.org/multipage/webappapis.html#processing-model-8

Note that this dispatching scroll events should be done after we process
WillRefresh() for FlushType::Style observers since main-thread scroll
animations is one of the FlushType::Style observers, that means it affects
scroll events.

Also test_scroll_event_ordering.html was modified to check scroll events happen
before requestAnimationFrame callbacks.

MozReview-Commit-ID: LuV157XoRkJ

--HG--
extra : rebase_source : a22424c248dcd4a3ec0aad8e71b75306c8f7e487
2018-01-30 08:22:47 +09:00
Hiroyuki Ikezoe 4d9188d86d Bug 1433846 - Drop nsComputedDOMStyle::GetPresShellForContent(), use nsContentUtils::GetPresShellForContent(). r=xidorn
MozReview-Commit-ID: JcpEpqP32Yi

--HG--
extra : rebase_source : dc3649c882f7edd36f9dbc3463d186517b18bdc1
2018-01-29 14:19:25 +09:00
Cosmin Sabou 37bb870512 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-30 00:47:39 +02:00
Boris Zbarsky 9da3878bc9 Bug 1418076 part 11. Eliminate the nsIDOMHTMLDocument interface. r=mystor
MozReview-Commit-ID: 4lEcUeenbg3
2018-01-26 01:03:25 -05:00
Boris Zbarsky d3dc65034f Bug 1418076 part 9. Eliminate remaining uses of nsIDOMHTMLDocument. r=mystor
MozReview-Commit-ID: DqjJPKKRYOx
2018-01-26 01:01:25 -05:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Boris Zbarsky 8c61d57bca Bug 1276438 part 6. Stop using nsIDOMHTMLDocument::GetBody. r=mystor
MozReview-Commit-ID: EcDTnByuZsm
2018-01-26 00:53:35 -05:00
Boris Zbarsky e565b1fe1b Bug 1432944 part 11. Remove nsIDOMElement::GetAttribute. r=mccr8
MozReview-Commit-ID: 2f1vFvRdCPG
2018-01-29 23:28:00 -05:00
Boris Zbarsky f60fd673d6 Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8
MozReview-Commit-ID: KvKjeKIOB9K
2018-01-29 23:10:53 -05:00
Boris Zbarsky 4d88c28e4d Bug 1432186 part 17. Remove nsIDOMNode's parentNode attribute. r=mccr8
MozReview-Commit-ID: 4xzDwwEqnvE
2018-01-29 23:10:52 -05:00
Boris Zbarsky 37aaea3c1f Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05:00
Boris Zbarsky 87cd3b385a Bug 1432186 part 14. Remove nsIDOMNode's childNodes attribute. r=mccr8
MozReview-Commit-ID: JyQjEYngKAT
2018-01-29 23:10:51 -05:00
Boris Zbarsky 97302665b4 Bug 1432186 part 12. Remove nsIDOMNode's previousSibling attribute. r=mccr8
MozReview-Commit-ID: 7UJFaxEnT9Q
2018-01-29 23:10:51 -05:00
Boris Zbarsky abfab07da3 Bug 1432186 part 5. Remove nsIDOMNode's nodeType attribute. r=mccr8
MozReview-Commit-ID: LKsBgKcqtBS
2018-01-29 23:10:50 -05:00
Boris Zbarsky c646473558 Bug 1432186 part 3. Remove nsIDOMNode's nodeName attribute. r=mccr8
MozReview-Commit-ID: Jg0Tuvdi6uX
2018-01-29 23:10:50 -05:00
Boris Zbarsky 4bba913229 Bug 1432186 part 1. Remove nsIDOMNode's prefix, namespaceURI, localName attributes. r=mccr8
Removing them all together because the only non-comm-central consumer is all
the same and this way there's no intermediate state to be maintained there
where we need both the nsINode and the nsIDOMNode.

MozReview-Commit-ID: GDjrroN1jao
2018-01-29 23:10:49 -05:00
Gerald Squelart a2ff96a775 Bug 1433850 - layout.display-list.retain.verify.order to also check RDL ordering - r=mattwoodrow
MozReview-Commit-ID: 2foGnuSCwUX

--HG--
extra : rebase_source : a46779e0db3d4452561b52e047daa3716280fde4
2018-01-29 18:23:14 +11:00
Emilio Cobos Álvarez b5221fcdf8 Bug 1430817: followup: Skip some more tests in non-stylo, since it's not updated to the spec yet. r=me
on a CLOSED TREE.

MozReview-Commit-ID: LsdTNqm5BTB
2018-01-29 22:25:03 +01:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00