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

65640 Коммитов

Автор SHA1 Сообщение Дата
Ting-Yu Lin 90fffcd256 Bug 1488219 - Mark nsDateTimeControlFrame as a leaf frame. r=dholbert
nsDateTimeControlFrame should be a leaf like all the other <input> frames
like nsTextControlFrame, nsCheckboxRadioFrame, etc.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 00:27:43 +00:00
Bogdan Tara 32e713bf8b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 02:43:23 +03:00
Bogdan Tara f302cbb0b3 Merge inbound to mozilla-central. a=merge 2018-09-05 02:24:27 +03:00
Miko Mynttinen 58f9cc4fc8 Bug 1483659 - Ensure that child overflow areas are included in perspective frame overflow areas r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D3515

--HG--
extra : moz-landing-system : lando
2018-09-04 16:25:54 +00:00
Gijs Kruitbosch 9d274b2d2f Bug 1337794 - remove obsolete pagehide handling hacks from browser.js r=mconley
The pagehide handler has been as dead as a doornail for a while now,
but the side-effect of forcing the creation of an about:blank document
in non-remote windows was implicitly relied upon by some tests.

This removes the dead code and fixes up some tests.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 17:55:05 +00:00
Miko Mynttinen b7eaedb6ea Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow
Depends on D3870

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

--HG--
extra : moz-landing-system : lando
2018-09-04 20:46:21 +00:00
Miko Mynttinen a5d71a93f1 Bug 1484966 - Part 2: Fix virtual/override specifiers and whitespace r=mattwoodrow
Depends on D3869

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

--HG--
extra : moz-landing-system : lando
2018-09-04 20:45:55 +00:00
Csoregi Natalia 5984db0879 Backed out 2 changesets (bug 1484966) for bustage on RefPtr.h:42. CLOSED TREE
Backed out changeset 7b246c8f9de8 (bug 1484966)
Backed out changeset 399158a0a9b3 (bug 1484966)
2018-09-04 23:42:36 +03:00
Miko Mynttinen bb2d78e17e Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow
Depends on D3870

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

--HG--
extra : moz-landing-system : lando
2018-09-04 17:21:36 +00:00
Miko Mynttinen 1e1dc727b9 Bug 1484966 - Part 2: Fix virtual/override specifiers and whitespace r=mattwoodrow
Depends on D3869

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

--HG--
extra : moz-landing-system : lando
2018-09-04 17:20:40 +00:00
Miko Mynttinen 2f3ec8cc90 Bug 1484966 - Part 1: Fix most clang-tidy warnings for layout/painting/ r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D3869

--HG--
extra : moz-landing-system : lando
2018-09-04 17:19:36 +00:00
Emilio Cobos Álvarez 46971a6492 Bug 1488403 - Make sticky legend reftest not depend on groove border antialising. r=nical
This reftest fails with my changes from
https://github.com/servo/webrender/pull/3010. I tried to debug locally but it
passes here.

The reason it fails is because WebRender does distance AA between the segments
of a ridge / groove border, and there's a subpixel difference so we get the AA
slightly different in the test.

Gecko on the other hand represents these borders as different composed solid
segments, so it can't have this problem, since it doesn't do AA across the
segments.

We may want to change that, but it's not clear to me it's wanted, since rounded
corners for these look much better on WR, for example.

Rather than fuzzing the test or something like that, make the test not rely on
that, given it's testing the position of the legend.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 15:17:04 +00:00
Miko Mynttinen 4938049810 Bug 1413546 - Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D2953

--HG--
extra : moz-landing-system : lando
2018-09-04 14:53:18 +00:00
Cosmin Sabou f368eb76e6 Merge mozilla-central to autoland. a=merge 2018-09-04 06:52:54 +03:00
Cosmin Sabou 4e9b79b294 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-04 06:50:55 +03:00
Xidorn Quan cb750b30ec Bug 1486252 - Resolve mask-image url value as an image even if it contains reference. r=heycam
The corresponding handling code in the old style system can be found in:
https://dxr.mozilla.org/mozilla-esr60/rev/dd52b41d2b775e5c7261ce52795268b7670635fc/layout/style/nsCSSDataBlock.cpp#65-106

mask-iage-url-hash.html is the test that don't pass without this change.

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

--HG--
extra : source : 6676693e3df3abe237494beed786153aeda44e79
2018-09-04 09:35:56 +10:00
Daniel Varga 3c3e9e37c6 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 65372156c004c649109b08227f8aa6a91cb22969
2018-09-04 01:05:40 +03:00
Emilio Cobos Álvarez 541e942cb1 Bug 1487649 - Don't do a name check when cloning a shadow root for print preview. r=smaug
Otherwise the ShadowRoot for <use> or other internal ones may not get cloned
properly.

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

--HG--
extra : moz-landing-system : lando
2018-09-03 14:10:58 +00:00
Emilio Cobos Álvarez 05121efc1a Bug 1487259 - Make <svg:use> in shadow tree apply the rules from the originating tree. r=xidorn,firefox-style-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D4674

--HG--
extra : moz-landing-system : lando
2018-09-03 22:52:12 +00:00
Ciure Andrei 8aa812c6cc Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-03 12:38:53 +03:00
Ciure Andrei e136281b52 Merge inbound to mozilla-central. a=merge 2018-09-03 12:35:26 +03:00
Dorel Luca 298b74c266 Backed out changeset a0621cac7491 (bug 1486252) for wpt failures on /css/css-masking/mask-image/mask-image-url-remote-mask.html 2018-09-03 07:15:08 +03:00
Xidorn Quan 5f974d420f Bug 1486252 - Resolve mask-image url value as an image even if it contains reference. r=heycam
The corresponding handling code in the old style system can be found in:
https://dxr.mozilla.org/mozilla-esr60/rev/dd52b41d2b775e5c7261ce52795268b7670635fc/layout/style/nsCSSDataBlock.cpp#65-106

mask-iage-url-hash.html is the test that don't pass without this change.

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

--HG--
extra : rebase_source : 94148470e6f242f16ce2d582cb81ec1200c4a4d5
extra : source : a80ec5b139024307cf93053a8cfd38cd26a86629
2018-09-03 13:24:16 +10:00
Dorel Luca b2e2a93ed8 Backed out changeset 991f66df3251 (bug 1486252) for eslint failure. CLOSED TREE 2018-09-03 05:12:22 +03:00
Xidorn Quan 1f1e9d35b0 Bug 1486252 - Resolve mask-image url value as an image even if it contains reference. r=heycam
The corresponding handling code in the old style system can be found in:
https://dxr.mozilla.org/mozilla-esr60/rev/dd52b41d2b775e5c7261ce52795268b7670635fc/layout/style/nsCSSDataBlock.cpp#65-106

mask-iage-url-hash.html is the test that don't pass without this change.

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

--HG--
extra : moz-landing-system : lando
2018-09-03 01:02:04 +00:00
Emilio Cobos Álvarez 51ed361ea0 Bug 1487615 - Use proper escaping for pseudo-class strings. r=xidorn
We always serialize as an atom, which is the previous behavior (though previous
code was using string escaping which I think was not totally sound either...).

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

--HG--
extra : moz-landing-system : lando
2018-09-02 22:54:57 +00:00
Miko Mynttinen 9cafe14554 Bug 1487020 - Do not reuse nsDisplayRemote if RenderFrameParent has been destroyed r=mattwoodrow
Reviewers: mattwoodrow

Tags: #secure-revision

Bug #: 1487020

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

--HG--
extra : rebase_source : 3b98453d0b273fbf858e2736e531108a8f1732ed
extra : amend_source : 1a3ebfe814a13c7e386d61cb0cf0601388439e83
extra : source : f0594eca7bd49c18c84c88da920bdf69e1a4dc11
2018-08-31 21:08:01 +02:00
Brian Birtles f65cdf6190 Bug 1487195 - Add BUG_COMPONENT metadata for new "Core :: CSS Transitions and Animations" component; r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D4742

--HG--
extra : moz-landing-system : lando
2018-09-02 23:47:52 +00:00
Cosmin Sabou c8483bebfa Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : gfx/doc/AsyncPanZoom-HighLevel.png => gfx/docs/AsyncPanZoomArchitecture.png
rename : gfx/doc/silkArchitecture.png => gfx/docs/SilkArchitecture.png
rename : gfx/doc/README.webrender => gfx/webrender_bindings/README.webrender
2018-09-01 12:27:26 +03:00
Ciure Andrei db22ef8d8a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-01 02:43:10 +03:00
Sebastian Hengst 4f39161869 Backed out 18 changesets (bug 1487647, bug 1487271, bug 1487001, bug 1487105, bug 1486845, bug 1485738, bug 1487595, bug 1347060, bug 1480900, bug 1487889) for accidential push of inbound to central. a=backout
Backed out changeset 331706d8558f (bug 1487595)
Backed out changeset d78b833293db (bug 1487595)
Backed out changeset f292ef31ef0b (bug 1487595)
Backed out changeset ef8c5c529210 (bug 1486845)
Backed out changeset 9cbc8592d649 (bug 1487889)
Backed out changeset 05a0118455e4 (bug 1487105)
Backed out changeset 78b8ff889992 (bug 1487105)
Backed out changeset 5a55e5b74107 (bug 1480900)
Backed out changeset ea2402bdef40 (bug 1347060)
Backed out changeset 3f831b709e37 (bug 1485738)
Backed out changeset d1c29bfb5ea9 (bug 1480900)
Backed out changeset 8e60483ec824 (bug 1480900)
Backed out changeset 328589a86dd1 (bug 1487647)
Backed out changeset d974ef1647f3 (bug 1480900)
Backed out changeset 0509636cc5d5 (bug 1487001)
Backed out changeset c57165730494 (bug 1487271)
Backed out changeset a55d81761fc4 (bug 1480900)
Backed out changeset eaa2d0e9b62d (bug 1480900)

--HG--
rename : gfx/docs/AsyncPanZoomArchitecture.png => gfx/doc/AsyncPanZoom-HighLevel.png
rename : gfx/webrender_bindings/README.webrender => gfx/doc/README.webrender
rename : gfx/docs/SilkArchitecture.png => gfx/doc/silkArchitecture.png
2018-09-01 02:01:23 +03:00
Ting-Yu Lin 6f4a25f896 Bug 1347048 - Remove AccessibleCaret's selection bar support. r=mats
This UI feature was used by B2G only.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 13:51:51 +00:00
Masayuki Nakano 9ab2669f86 Bug 1487659 - Make Selection treat SelectionChangeListener as a concrete class rather than nsISelectionListener r=smaug
SelectionChangeListener is an nsISelectionListener class.  This is added only
to Selection for "normal" and added by nsFrameSelection::Init() after
AccessibleCaretEventHub.  So, we can make Selection directly treat
SelectionChangeListener.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 21:22:57 +00:00
Masayuki Nakano 9c349ade9b Bug 1487591 - Make Selection treat AccessibleCaretEventHub as concrete class rather than nsISelectionListener r=smaug
AccessibleCaretEventHub is an nsISelectionListener of Selection whose type is
"normal".  This is added only when nsFrameSelection::Init() is called and
accessible caret is enabled.  Additionally, nsFrameSelection::Init() is
always called immediately after creating nsFrameSelection.

Therefore, when AccessibleCaretEventHub is installed to Selection, this is
always second selection listener and won't be installed multiple times.  So,
Selection can store pointer of AccessibleCaretEventHub directly only when
it's enabled and the Selection needs to notify it of selection change.

This patch makes Selection stores AccessibleCaretEventHub with RefPtr, then,
makes Selection::NotifySelectionListeners() call its OnSelectionChange()
immediately after AutoCopyListener.

Unfortunately, this patch includes making of MOZ_CAN_RUN_SCRIPT_BOUNDARY and
MOZ_CAN_RUN_SCRIPT a lot since some methods of AccessibleCaretEventHub are
marked as MOZ_CAN_RUN_SCRIPT and including AccessibleCaretEventHub.h into
Selection.h causes compile the compile errors.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 21:19:44 +00:00
Andreea Pavel 21676b6ed7 Backed out changeset 65b36a89443f (bug 1487649) for failing mochitest chrome at layout/base/tests/chrome/test_printpreview.xu 2018-08-31 23:52:40 +03:00
ui.manish d232d2e938 Bug 1347060 Remove marionette test for rotatable devices r=TYLin
--HG--
extra : source : ea2402bdef4006d7cb8b52cad68bcee9de438c7a
2018-08-31 00:24:52 +02:00
Nicholas Nethercote f369a978ca Bug 1487296 - Merge nsISHistoryInternal into nsISHistory. r=nika
With legacy add-ons gone, there is no benefit to keeping them separate.
2018-08-30 11:37:40 +10:00
ui.manish fe0d617191 Bug 1347060 Remove marionette test for rotatable devices r=TYLin 2018-08-31 00:24:52 +02:00
Neil Deakin 1539c35e73 Bug 1442010, check if the frame has been destroyed before calling UpdateFollowAnchor, r=tn 2018-08-31 10:12:17 -04:00
Emilio Cobos Álvarez a1c12e5dbc Bug 1485669: Upstream the tests from bug 488725. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D4076

--HG--
extra : source : f6753d3d9db1ff69ae3a0d4f053412bbbc92e1fa
2018-08-23 15:29:01 +02:00
Andreea Pavel fea5ec154a Backed out changeset f6753d3d9db1 (bug 1485669) for failing mochitest chrome at layout/base/tests/chrome/test_printpreview.xul on a CLOSED TREE 2018-08-31 23:39:58 +03:00
Emilio Cobos Álvarez 4440463c5d Bug 1485669: Upstream the tests from bug 488725. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D4076
2018-08-31 21:50:38 +02:00
Emilio Cobos Álvarez d4aeb28fd2 Bug 1487649 - Don't do a name check when cloning a shadow root for print preview. r=smaug
Otherwise the ShadowRoot for <use> or other internal ones may not get cloned
properly.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 12:08:04 +00:00
Jeff Muizelaar bddd392700 Bug 1487588. Increase fuzz on 3d transform test a bit to avoid orange. 2018-08-30 23:48:32 -04:00
Jeff Muizelaar 4976ed72ee Bug 1487429. Update tests for WebRender changes.
--HG--
extra : rebase_source : 1e64ec6054c073621876f6acffc6f40ed4cbca67
2018-08-30 21:31:07 -04:00
Alexis Beingessner ea7bc06418 Bug 1453953 - natively implement xul textboxes. r=mstange 2018-08-30 18:39:22 -04:00
Andrew Osmond c4053ead28 Bug 1486962 - Ensure frame is associated with background images with WebRender. r=mstange
The frame for a background image should be associated with the image
request. This was done on the non-WebRender path in
nsCSSRendering::PaintStyleImageLayerWithSC but otherwise missing for the
WebRender path. This is important because the association is what allows
the FRAME_UPDATE from imagelib to cause a repaint. Without it, it will
manifest as incomplete or missing background images, in particular after
the background image SourceSurface has been released to save memory.
2018-08-30 18:19:59 -04:00
Gurzau Raul 09fe34b331 Merge inbound to mozilla-central. a=merge 2018-08-31 00:49:36 +03:00
Andrew Osmond 740299988c Bug 1487120 - Invalidate nsImageBoxFrame properly for WebRender. r=jrmuizel
When the frame updates for an animated image, it will trigger
nsImageBoxFrame::OnFrameUpdate to be called. We did not change this for
WebRender, and thus it was missing similar checks added to
nsImageFrame::InvalidateSelf as originally added in bug 1382985. This
caused us to ignore the frame update, and thus the animation never
appeared to progress.
2018-08-30 14:51:27 -04:00
Narcis Beleuzu 682a2942bf Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-30 20:07:36 +03:00