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

61204 Коммитов

Автор SHA1 Сообщение Дата
Alex Gaynor abe0912713 Bug 1411984 - Use buffered IO in the content process when writing print data for IPC; r=haik
MozReview-Commit-ID: DJuOP2wtku5

--HG--
extra : rebase_source : b14c2e67adb0c4802297013ea80ec068fb7196c4
2017-10-26 15:08:39 -04:00
Kevin Chen 24e2b68f15 Bug 1409243 - Enable dotted and dashed border support for webrender; r=ethlin
MozReview-Commit-ID: 4TGeavMJY2Q

--HG--
extra : rebase_source : 1638dcf7abf66736e17b632fa2ae1f19bbe5e920
2017-10-25 10:17:41 +08:00
Mats Palmgren 931faf3e27 Bug 1411765 - Part3:Disable part of failing test grid-fragmentation-dyn1-006.html. r=mats
MozReview-Commit-ID: Id6hGHuTuTr

--HG--
extra : rebase_source : 482fba40383206a1a3654309405d42f55f399094
2017-11-07 13:16:58 -08:00
Neerja Pancholi d4e9a57503 Bug 1411765 - Part2:Remove extra border fragment from ref file to match it with new expected output of grid fragmentation tests and change assertion count for crashtests. r=mats
MozReview-Commit-ID: A6gPAuBI13X

--HG--
extra : rebase_source : fe7654bf2b88462c002188d6781470b765dd1f8c
2017-11-07 12:24:32 -08:00
fantasai 009979653b Bug 1411765 - Part1:Convert an Incomplete reflow status to OverflowIncomplete also when our size is exactly the available size, not just less. r=mats
MozReview-Commit-ID: JikD7p70pJy

--HG--
extra : rebase_source : c7803976a9b42c6076acb233b68dcdbf3e8c93e8
2017-10-25 14:21:19 -07:00
KuoE0 0943404926 Bug 1399310 - (Part 1) Make `nsTextFrame::DrawTextRunAndDecorations` draw only in the range of the text. r=jfkthame
We create a clip region with the text length to make the decoration line
would be only drawn in the area. This allows the decoration line would
not be drawn multiple times when the text is being selected.

MozReview-Commit-ID: 4gjawk71eSu

--HG--
extra : rebase_source : 627fa77a2b6e17441d134255017762ebda92eaf6
2017-09-27 16:50:15 +08:00
Ethan Lin 3e45fddd09 Bug 1362412 - Do not invalidate table cell's parent frame if it's not border collapse or there is no border. r=mattwoodrow
MozReview-Commit-ID: 5nTrJmMbm9d

--HG--
extra : rebase_source : 8ff459c52545c9a71c890f12d0cf015ce381c3bf
2017-11-07 13:47:13 +08:00
ANDREEA PAVEL 24a187da02 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-02 11:40:57 +02:00
Emilio Cobos Álvarez 0426e8e468 No bug - Remove unused variable. r=me
MozReview-Commit-ID: EuOqz9FLJyy
2017-11-02 06:36:45 +01:00
Xidorn Quan 2ddfdf43a2 Bug 1412714 - Don't clone inner of XBL stylesheet in Servo. r=bz
MozReview-Commit-ID: Kzrod3SBt1k

--HG--
extra : rebase_source : 4cf96063f372ffbeb6aabde396ef9fd9f547bcb7
2017-10-30 15:16:20 +11:00
Botond Ballo 9ceac26e5c Bug 1412272 - Have ComputePartialPrerenderArea() handle the cases where aDirtyRect is larger than aPrerenderSize. r=mstange
Rendering at least aDirtyRect is more important than staying under
aPrerenderSize, so that's what we do.

MozReview-Commit-ID: 8Ze1biaNzqX

--HG--
extra : rebase_source : b04aedafa8432004a716f0cb4b4c5dc6c418dfda
2017-11-01 15:27:16 -04:00
Botond Ballo f3f909b838 Bug 1382534 - Add an async-scrolling reftest. r=mstange
MozReview-Commit-ID: 2MuOY0tf7Jr

--HG--
extra : rebase_source : 029692c6481923f30e29f6393b925e1b5e0a8811
2017-10-04 16:39:47 -04:00
Botond Ballo 826e7774d6 Bug 1382534 - Add a crashtest for the ASR-related assertion failure. r=mstange
MozReview-Commit-ID: J8hm3FmQpaE

--HG--
extra : rebase_source : d44fa219e728da4a10bf41fa542db3b962c10385
2017-10-04 16:27:15 -04:00
Botond Ballo e084a3a187 Bug 1382534 - Try to give nsDisplayMask items proper scroll metadata. r=mstange
MozReview-Commit-ID: L6kYkzC1F8S

--HG--
extra : rebase_source : 0d90b1c859d98e2aef254d0e528be27c130a78f8
2017-10-20 18:16:50 -04:00
Botond Ballo 864f4f712b Bug 1382534 - Use GetBounds() in nsDisplayMask::ComputeVisibility(). r=mstange
The code previously used GetClippedBoundsWithRespectToASR() (changed
in bug 1298218), but this violated the requirements of nsDisplayList::
ComputeVisibilityForSublist().

MozReview-Commit-ID: F9UVMvVKLAp

--HG--
extra : rebase_source : ec188650070d4e8de1b19395c3ed6f31e7d0e04f
2017-10-16 17:18:03 -04:00
Botond Ballo 6a7049b903 Bug 1382534 - Relax the requirement of having a clip with respect to an ASR for nsDisplayMask items. r=mstange
We allow an nsDisplayMask item to satisfy the requirement even it does not
itself have a clip, as long as its children have finite bounds with respect
to the ASR.

MozReview-Commit-ID: 8zKE0bguY38

--HG--
extra : rebase_source : 74baaea2647708d1cd024f9e6afd82508e95c74a
2017-09-25 19:15:23 -04:00
Botond Ballo 9c407a7103 Bug 1382534 - Add nsCSSClipPathInstance::GetBoundingRectForBasicShapeClip(). r=mstange
MozReview-Commit-ID: 85mhNcj5V2J

--HG--
extra : rebase_source : b4e868a89408e31aef1f26c3f701e1fb2daa2477
2017-10-04 16:46:44 -04:00
Botond Ballo 0d16ea4ebf Bug 1382534 - Use clip-rule instead of fill-rule when calculating the bounding box contribution of an SVG geometry frame inside a clip-path. r=longsonr
MozReview-Commit-ID: 1rAKmp2ET6A

--HG--
extra : rebase_source : 68690f54ea5129863dc5cfb3f4095c22e41409ad
2017-09-25 16:57:39 -04:00
Botond Ballo 6939e320f7 Bug 1382534 - Make layout/reftests/svg/clipPath-polygon-elementFromPoint-01.svg a bit more permissive. r=mstange
The test was asserting that a point on the boundary of an SVG path is inside
the path, but for a point that's right on the boundary, either answer
(inside or outside) is reasonable.

MozReview-Commit-ID: 8srcoPFmDq

--HG--
extra : rebase_source : 8870b0d92cc7c7ff0e52148197c46de99d597773
2017-09-25 16:19:03 -04:00
Botond Ballo af440ad9a2 Bug 1382534 - Account for the local transform in nsSVGClipPathFrame::GetBBoxForClipPathFrame(). r=longsonr
MozReview-Commit-ID: HbZzPkAZy7q

--HG--
extra : rebase_source : 86099814a5fcd7b391c86a471f23337bc345fcdf
2017-09-20 12:39:59 -04:00
Ethan Lin 056378aa50 Bug 1413082 - Check both STATUS_LOAD_COMPLETE and STATUS_ERROR before getting the image container in nsImageFrame. r=mattwoodrow
MozReview-Commit-ID: H5pTpJVG33p

--HG--
extra : rebase_source : dca566b51d5e4f4cb4a18e612c1ed13cefb18f9b
2017-11-01 14:54:17 +08:00
Hiroyuki Ikezoe 0f51960be1 Bug 1414690 - Remove nsIFrame::IsPseudoStackingContextFromStyle. r=dholbert
The last places that call this function have been removed in
https://hg.mozilla.org/mozilla-central/rev/0f7e0529ee3f,
and never been used since then.

MozReview-Commit-ID: FQtnwRHQ8cH

--HG--
extra : rebase_source : 3c40d0077c4b38771deed7055fbc5e22be8a071f
2017-11-06 09:18:27 +09:00
Botond Ballo ce03fa59d0 Bug 1382534 - Move ComputeOffsetToUserSpace() from nsDisplayList.cpp to nsLayoutUtils. r=mstange
MozReview-Commit-ID: 8w9lDViJuAj

--HG--
extra : rebase_source : 4d9c47dd4f217471e743973d2f641a67dae509fe
2017-08-23 17:26:25 -04:00
Botond Ballo 4a2d5338c5 Bug 1382534 - Layerize active masks even with HWA disabled. r=mstange
MozReview-Commit-ID: 6lvOE3fGFAy

--HG--
extra : rebase_source : 86e4c07873890e14d57708f202d7c611635bf070
2017-08-09 16:25:19 -04:00
Miko Mynttinen ef37c668b8 Bug 1413526 - Only create retained display list builder for content processes r=mattwoodrow
MozReview-Commit-ID: 3ipMgKgnhjH

--HG--
extra : rebase_source : 9e29bd3254c495289a1afdfc76df848a65c2b1fc
2017-11-01 16:46:04 +01:00
Kartikaya Gupta 48f2490228 Bug 1413666 - Fix off-by-one error in sticky positioning code. r=botond
MozReview-Commit-ID: J33lrH03HyA

--HG--
extra : rebase_source : 4d9074d1db8a48a3f18961da413b2ec719efbd0e
2017-11-01 16:13:18 -04:00
Sebastian Hengst ca88e3c4c5 Merge mozilla-central to autoland. r=merge a=merge 2017-11-01 22:58:44 +01:00
Sebastian Hengst 4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Ryan VanderMeulen a090aa11cd Backed out changeset ee243422ed36 (bug 1413619) for test failures. 2017-11-01 17:29:10 -04:00
Kartikaya Gupta 3c38110bd3 Bug 1406217 - Fix computation of scrollframe's offset to the reference frame. r=mstange
We need to get the offset across documents boundaries, since the scrollframe
might be inside a subdocument. In such cases we were previously computing
a (incorrect) zero offset for the scrollframe, which was throwing off the
margin for the sticky items inside the scrollframe.

MozReview-Commit-ID: AWeQ9ay2cmp

--HG--
extra : rebase_source : 7dd8eda26c482cc359042d79073740524efa792a
2017-10-31 09:04:04 -04:00
Jeff Muizelaar 4250e26d21 Bug 1413629. Don't require a PresContext to apply a clip. r=mstange
The only thing we use the PresContext for is the app units. I'd rather not
worry about keeping around a PresContext for the webrender display item
grouping.
2017-11-01 14:37:59 -04:00
Emilio Cobos Álvarez 7c34b5a8f2 Bug 979782: Enable lazy frame construction for display: contents direct descendants. r=mats
There's no reason I can think of this wouldn't work, and try is totally green
without it.

MozReview-Commit-ID: K9QXbAOFu3A

--HG--
extra : rebase_source : 13eb1928d2b31f451610ca633d12cf912670e4e4
2017-10-31 09:21:59 +01:00
Emilio Cobos Álvarez 50a5c229d6 Bug 979782: Fixup FindFrameForContentSibling to don't duplicate work and trigger assertions for display: contents. r=mats
MozReview-Commit-ID: HAZh0RYY76x

--HG--
extra : rebase_source : 54a4be6aef7db2c32a560eb66e2ebf18cd16a377
2017-11-01 16:40:09 +01:00
Emilio Cobos Álvarez 9bd202a77c Bug 1413288: The owner of a bullet frame is the first continuation of the parent. r=xidorn
MozReview-Commit-ID: FUsdsETkV2Q

--HG--
extra : rebase_source : 9c6183e567321c9ee541a04d001dc00fbcc7e94b
2017-11-01 12:20:55 +01:00
Cameron McCormack 61b2f4f211 Bug 1390694 - Part 4: Restyle the document when document state dependencies change. r=emilio
MozReview-Commit-ID: WEWCvSUjxo

--HG--
extra : rebase_source : a229f8414b6c1285499c869da44ae88bf250ea1d
extra : source : 920129b56f67152792297e43f0c6ff5710e6b6d3
2017-11-01 21:20:39 +11:00
Cameron McCormack 1e2c9293c6 Bug 1390694 - Part 1: Add ServoStyleSet function for checking document state dependencies. r=emilio
MozReview-Commit-ID: G8Ju8yHtYx6

--HG--
extra : rebase_source : 11f25c9b9b9a45144170ff9e563e52577ca8cea2
extra : source : 38302acda5cdb8a808ee80430488d83527a415ff
2017-11-01 21:20:39 +11:00
Csoregi Natalia 423b2522c4 Merge inbound to mozilla-central r=merge a=merge 2017-11-01 12:14:00 +02:00
Matt Woodrow 95d77539ea Bug 1413073 - Don't check the dirty rect when deciding if we need to store OutOfFlowDisplayData for a frame. r=mstange 2017-11-01 16:58:53 +13:00
Phil Ringnalda 4700232b13 Backed out changeset 83a7ad25941e (bug 1412437) for robocop testAccessibleCarets bustage
CLOSED TREE

MozReview-Commit-ID: Lg1GSdLDyin
2017-10-31 20:07:15 -07:00
Sebastian Hengst 2181970726 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-01 00:39:58 +01:00
David Anderson 997c7019bc Don't cache DrawTargetCaptures in nsCanvasFrame. (bug 1395478 part 10, r=mattwoodrow)
--HG--
extra : rebase_source : fc0746099e910f1e46842f292f60b2f00ee25f38
2017-10-31 12:02:32 -07:00
Kartikaya Gupta f188ded860 Bug 1412280 - Update reftest annotations for WR PR 1954. r=jrmuizel
MozReview-Commit-ID: JWt34PZQgtB

--HG--
extra : rebase_source : e8ee1f95ea0ec69a333015ca45a190cc5246f69e
2017-10-31 09:17:37 -04:00
Kartikaya Gupta 3a399cf5e5 Bug 1412280 - Update sticky code for API change in WR PR 1940. r=jrmuizel
MozReview-Commit-ID: 2I8wpe3Bt1y

--HG--
extra : rebase_source : 5056aee8978c9bd5c51724ec909125de318f04ad
2017-10-31 09:17:22 -04:00
Mike Hommey 04fe451c07 Bug 1413111 - Use nsTSubstring::Split in nsCSSRuleProcessor::LangPseudoMatches instead of manually go through with FindChar. r=dbaron,njn
--HG--
extra : rebase_source : ff5fc57a3ec6ce6878789bf59524c7180d85c716
2017-11-01 10:19:56 +09:00
Kyle Machulis 41f2111481 Bug 1412437 - Remove nsIDOMHTMLTextAreaElement r=bz
MozReview-Commit-ID: JAON7Rd7IAo

--HG--
extra : rebase_source : 7bdc51676a4a834f1736b0c5f269bc26ca94e610
2017-10-30 16:14:51 -07:00
Margareta Eliza Balazs a63fdbeabb Merge inbound to mozilla-central r=merge a=merge 2017-10-31 12:46:19 +02:00
Chris Peterson 73037a0f6a Bug 1412048 - Replace NS_RUNTIMEABORT(var) with MOZ_CRASH_UNSAFE_OOL(var). r=froydnj data-review=francois
And remove unreachable code after MOZ_CRASH_UNSAFE_OOL().

MOZ_CRASH_UNSAFE_OOL causes data collection because crash strings are annotated to crash-stats and are publicly visible. Firefox data stewards must do data review on usages of this macro. However, all the crash strings this patch collects with MOZ_CRASH_UNSAFE_OOL are already collected with NS_RUNTIMEABORT.

MozReview-Commit-ID: IHmJfuxXSqw

--HG--
extra : rebase_source : 031f30934b58a7b87f960e57179641d44aefe5c5
extra : source : fe9f638a56a53c8721eecc4273dcc074c988546e
2017-10-24 23:38:38 -07:00
Chris Peterson 1df202b177 Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj
And remove unreachable code after MOZ_CRASH().

MozReview-Commit-ID: 6ShBtPRKYlF

--HG--
extra : rebase_source : 0fe45a59411bda663828336e2686707b550144ae
extra : source : 8473fd7333d2abe1ea1cc176510c292a5b34df45
2017-10-24 23:30:31 -07:00
Ethan Lin f4e9c0dd96 Bug 1405089 - Add nsDisplayTableCellSelection and do not use webrender fallback if there is no selection mode. r=mattwoodrow
MozReview-Commit-ID: KZWW7dHc8gF

--HG--
extra : rebase_source : 702aa1924839a97a362d9ce674a51d71cf27ed13
2017-10-26 14:36:58 +08:00
Hiroyuki Ikezoe dba3425d42 Bug 1190721 - Throttle animations that produce any transform change hint if the target element is out-of-view. r=birtles
And unthrottle them on every 200ms just like we do for transform animations on
the compositor.  To unthrottle the transform animations properly, we need to
update UpdateLastTransformSyncTime each time we compose the style for the
animations instead of updating it when we send the transform animation to the
compositor.  That's because display item for transform is built even while we
are throttling the transform animations for some reasons, so if we updated the
last transform sync time there, the time will not match what it should be.

MozReview-Commit-ID: GwMzJqUlzd2

--HG--
extra : rebase_source : 09e379191970687a9f35aead871acf450c63813e
2017-10-31 09:45:41 +09:00
Attila Craciun 2ae920762e Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-31 12:53:23 +02:00
Emilio Cobos Álvarez 7d2beacd9e Bug 1412743: Test this. r=jfkthame
MozReview-Commit-ID: 8bTVRFk3FVe

--HG--
extra : rebase_source : c5eb995f5cd97e2739282204b6d5d52e25b3022c
2017-10-31 14:36:42 +01:00
Ethan Lin 72aaacd371 Bug 1407938 - Part3. Update reftest annotations after the fix. r=jrmuizel
MozReview-Commit-ID: E6JI7XFAOqf

--HG--
extra : rebase_source : 2f9d00827c8b579f2be08eb5e0f964264fd69c30
2017-10-18 14:37:56 +08:00
Jonathan Kew 0aa24e331c Bug 1412355 - Replace the mXOffset/mYOffset fields in DetailedGlyph records with a gfx::Point that stores glyph offsets in line-orientation-relative coordinates. r=jrmuizel 2017-10-30 14:55:42 +00:00
Chris H-C 75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Ethan Lin 1da48a5cc4 Bug 1407938 - Part1. Add nsDisplaySVGWrapper for webrender as a fallback display item. r=jrmuizel
MozReview-Commit-ID: LBjrqvPziCJ

--HG--
extra : rebase_source : 4f48e0c57a7170bd1d6e97cc6b426aa0cf81be4b
2017-10-16 15:47:46 +08:00
Emilio Cobos Álvarez 93dd48995f Bug 1412486: Update bindgen. r=xidorn
Constified enums are default now. I think I want to introduce an option to
bindgen to allow setting the default enum behavior, but it doesn't need to block
this.

The ServoBindings.toml changes are somewhat hacky, but that's because of
https://github.com/rust-lang-nursery/rust-bindgen/issues/1125.

Also, the fixups now need to account for whitespace, since quote generates stuff
like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt
installed.

MozReview-Commit-ID: FZOvZnfYXj5

--HG--
extra : rebase_source : 6cda8e65315d97f394ed2441dd882b6ff955efae
2017-10-30 11:54:03 +01:00
Emilio Cobos Álvarez 62b555ba78 Bug 1412486: Make the replacement for UniquePtr not have a deleter parameter. r=xidorn
Bindgen now assumes for replaced types that all the template parameters are
used, which makes sense.

We don't use the Deleter, so let's get rid of it.

MozReview-Commit-ID: AXxRgyLorD7

--HG--
extra : rebase_source : 844691924cbe692deceeda79d031d9f95bd4f33f
2017-10-30 12:01:01 +01:00
Kartikaya Gupta 05fdcd08b7 Bug 1407749 - Stop doing fallback on box-shadow display items with varying radii. r=jrmuizel
Bug 1393383 already added support for these kinds of display items (where the
border radii are not all the same) to the BuildWebRenderCommands function, but
for some reason CanBuildWebRenderCommands was left untouched and so we do
a fallback for these items when we can support them just fine.

MozReview-Commit-ID: GOAaQMfF2YQ

--HG--
extra : rebase_source : f5f7a87483347e97b5b95dd535c5497d355aebf3
2017-10-31 15:53:26 -04:00
Kartikaya Gupta bb085f1a25 Bug 1407749 - Follow-up for 1393383 to remove useless code. r=jrmuizel
MozReview-Commit-ID: Dq7J8OurIcl

--HG--
extra : rebase_source : 9df07d0597c3503168c2c2f493392d7b71548886
2017-10-31 15:52:36 -04:00
Kartikaya Gupta f392c7eba8 Bug 1407752 - Avoid taking the webrender fallback path for empty borders. r=jrmuizel
MozReview-Commit-ID: BTSljrUuKcH

--HG--
extra : rebase_source : f5370968de71c9b46dee32b743908f971c1ed3df
2017-10-31 13:18:14 -04:00
Markus Stange e691e26bec Bug 1386162 - Implement nsDisplayClearBackground using push_clear_rect. r=kats
MozReview-Commit-ID: DlGA7KuZzm0

--HG--
extra : rebase_source : 2c2b402c7f9f2df8cc7cc5e80aa591f3aae946ef
extra : source : 4003a8f5c3c8bf0146183eca287c7ee162bd3d57
2017-10-31 11:31:00 -04:00
Emilio Cobos Álvarez 0a74c282e1 Bug 1415013: Devirtualize PresShell::IsSafeToFlush. r=bz
MozReview-Commit-ID: BL5qcSFE6Hc
2017-11-08 11:14:59 +01:00
sotaro ceb60c8001 Bug 1412755 - Fix display list update of AsyncImagePipelineManager r=nical 2017-10-30 22:15:35 +09:00
Joel Maher 39f35674f2 Bug 1369411 - Disable layout/base/tests/test_bug394057.html on linux for frequent failures. r=me, a=testonly 2017-10-30 07:56:23 -04:00
Matt Woodrow c53662b395 Bug 1411132 - Always recurse into merging for sub-lists, even when there isn't a matching new item, so that we find all items that need invalidating. r=ethanlin
--HG--
extra : rebase_source : 2f6066ca53b4ee456e2f33b13dd54ba79e63f8b6
2017-10-30 15:29:08 +13:00
Phil Ringnalda a9875ab37a Backed out changeset f26525123e6a (bug 1411132) for build bustage
CLOSED TREE

MozReview-Commit-ID: AcF8eNmKntl
2017-10-29 21:23:43 -07:00
Matt Woodrow 65d2972514 Bug 1411132 - Always recurse into merging for sub-lists, even when there isn't a matching new item, so that we find all items that need invalidating. r=ethanlin 2017-10-30 15:29:08 +13:00
Matt Woodrow b47b79466f Bug 1411881 - Use separate lists for MarkFrameForDisplay and MarkFrameForDisplayIfVisible to avoid them clobbering each other when we leave a PresShell. r=ethanlin 2017-10-30 15:28:45 +13:00
Kartikaya Gupta b475e3a4da Bug 1410463 - Mark a frequent intermittent as random-if(webrender). r=me
MozReview-Commit-ID: 3jwx2OKL29n
2017-10-29 21:25:47 -04:00
Emilio Cobos Álvarez 2a6ba34bad Bug 1412252 - Only fetch mPresShell after flushing the relevant content pres shell. r=bz
MozReview-Commit-ID: BkcYtu2MsNs
2017-10-29 17:39:20 -04:00
Sebastian Hengst 7abe8d7079 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-29 00:23:03 +02:00
Sebastian Hengst aa280593d3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2ZpDkstVKjg
2017-10-28 23:58:53 +02:00
Nathan Froyd 2aeb0307ea Bug 1163171 - part 7 - mark counter tests as passing now that we use clang; r=dholbert
These tests were failing because of some misoptimizations that GCC did.
clang is generating correct code here, and the tests correctly pass, so
we can mark them as such.
2017-10-28 17:38:58 -04:00
Sebastian Hengst 8968724f1a Backed out changeset 4905048de8d1 (bug 1412355) for frequently failing reftest layout/reftests/writing-mode/1248248-1-orientation-break-glyphrun.html on Linux x64 debug and asan. r=backout
--HG--
extra : amend_source : 61e56c97354c788bfd03aa551e911a1aff14006e
2017-10-28 16:39:59 +02:00
Jonathan Kew 8397a853b8 Bug 1412355 - Replace the mXOffset/mYOffset fields in DetailedGlyph records with a gfx::Point that stores glyph offsets in line-orientation-relative coordinates. r=jrmuizel 2017-10-28 11:37:35 +01:00
sotaro 23069babc9 Bug 1401609 - Add UpdateWebRenderCanvasData() to handle CanvasRenderer re-creation r=jrmuizel,mstange 2017-10-28 19:07:27 +09:00
Sebastian Hengst 3792a177e6 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IZImXBBcbVQ
2017-10-28 10:25:57 +02:00
Phil Ringnalda 4bc2b1615d Backed out 4 changesets (bug 1408433, bug 1406391, bug 1408512) for crashing tests by touching the network contacting incoming.telemetry.mozilla.org on nightly builds
Backed out changeset 9bfd4b0927dc (bug 1408433)
Backed out changeset 555850d5107e (bug 1408512)
Backed out changeset 15d959b9123e (bug 1406391)
Backed out changeset e1f34ba9cecc (bug 1406391)

MozReview-Commit-ID: BVoGRsD73Hf
2017-10-27 21:08:27 -07:00
Sebastian Hengst 28b1c813ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DasxLYlgq0N
2017-10-27 23:30:52 +02:00
Jonathan Kew 824ae50de4 Bug 1395926 - Fix up handling of glyph offsets for text shaped in vertical mode. r=jrmuizel 2017-10-27 18:57:45 +01:00
Jonathan Kew b7659a220a Bug 1395926 - Reftest for GPOS glyph positioning adjustments in vertical-upright mode. r=jrmuizel 2017-10-27 18:57:17 +01:00
Kartikaya Gupta e7b42ecace Bug 1411249 - Handle yet more clipping cases. r=mstange
This extends the fix in bug 1373802 to account for extra levels of
display item nesting. If those extra intermediate display items don't
push any clips we still want to pick up the ClipAndScroll from the
enclosing ancestor that has it.

MozReview-Commit-ID: AmxRz4fBKnX

--HG--
extra : rebase_source : ae12a9f797ab201169ff199d0d42a29df51ee1cb
2017-10-27 13:22:16 -04:00
Kartikaya Gupta 3d6ab7288b Bug 1373802 - Handle more clipping cases. r=mstange
We already support cases where we have scrolling clips applied to fixed
items. However if we had to build nested clips inside those items, then
those nested clips would not properly inherit from the scrolling clips.
This patch addresses that case.

MozReview-Commit-ID: CWp1x0EsyaP

--HG--
extra : rebase_source : f8c80ace2da39edebaabd5339670a68038a18489
2017-10-27 11:41:37 -04:00
Chris H-C 8e6dd31d55 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-27 10:59:43 -04:00
Xidorn Quan b24625e376 Bug 1411532 part 1 - Add a pref for enabling stylo on chrome documents. r=bz
MozReview-Commit-ID: 7Zbh4Mf43xC

--HG--
extra : rebase_source : f9e4d0b6d1234cb8efcfbaaab2a349d2a082dd6e
2017-10-27 15:07:51 +11:00
Ray Lin 1959be8b2a Bug 1385788 - Move the ownership of preview value from PresState to HTMLSelectElement. r=bz
MozReview-Commit-ID: 9NC8h6SyWdh

--HG--
extra : rebase_source : 4facdc9cc36c779a2f87d9b3e3f6a3f51b3e9812
2017-10-25 11:57:57 +08:00
Emilio Cobos Álvarez 0555fa0126 Bug 1412251: Make style sharing look at XBL / Shadow DOM rules. r=bz
MozReview-Commit-ID: II6lk6OmSZU
2017-10-28 14:20:21 +02:00
Sebastian Hengst ae82a0f6ff Backed out changeset 13dfed0f47dc (bug 1412251) for failing reftest layout/reftests/bugs/272646-1.xul on OS X. r=backout
--HG--
extra : amend_source : 2f0e04224a6af7848f081fa99fcb706153934747
2017-10-28 10:06:25 +02:00
Phil Ringnalda a6b525b33e Merge m-c to autoland
MozReview-Commit-ID: K1ZFkTVIF5B
2017-10-27 21:42:38 -07:00
Emilio Cobos Álvarez e907c7a1da Bug 1412251: Make style sharing look at XBL / Shadow DOM rules. r=bz
MozReview-Commit-ID: II6lk6OmSZU

--HG--
extra : rebase_source : 44af7047387b26f63b3960d9e1f4996f6677ad18
2017-10-28 01:48:08 +02:00
Boris Chiou f3c859eaaa Bug 1340005 - Part 8: Remove tolerance for omta tests. r=hiro
Just notice these precision errors are fixed by our other patches (i.e.
not by this patch series). Anyway, it's time to remove the tolerance.

MozReview-Commit-ID: 2ZDoRhuVOL8

--HG--
extra : rebase_source : 585ddcc4640ef9c8f5875d586e371b101626505d
2017-10-06 17:59:02 +08:00
Boris Chiou 3788926119 Bug 1340005 - Part 6: Move AppendTransformFunction into AnimationValue struct. r=birtles
MozReview-Commit-ID: KhjKXxkllEF

--HG--
extra : rebase_source : 6f22a5f0a90f3f3d160f64c67e6fd6d04a2c1441
2017-10-17 13:11:19 +08:00
Boris Chiou 387cd4d8a1 Bug 1340005 - Part 5: Implement SampleValue for Servo backend. r=birtles
Use the new added FFI, Servo_ComposeAnimationSegment, to compose an
animation segment from Servo backend on the compositor.

MozReview-Commit-ID: LNgpCSIlDl9

--HG--
extra : rebase_source : 5b5c145fae877b4f4b01ea54259737dc9dad2951
2017-10-27 21:09:11 +02:00
Boris Chiou 0129bb4f52 Bug 1340005 - Part 4: Retrieve transform list from AnimationValue. r=birtles
MozReview-Commit-ID: 82NAOBV2rEl

--HG--
extra : rebase_source : 073ff742dcea4573febeec3b57c60b0f1f5736e2
2017-09-25 14:25:43 +08:00
Boris Chiou 743614effe Bug 1340005 - Part 3: Use AnimationValue on the compositor thread. r=birtles
MozReview-Commit-ID: CtnDLsdcr9x

--HG--
extra : rebase_source : 3d4a0f40e2f522471555c04c88474cb08e082851
2017-09-21 17:01:48 +08:00
Boris Chiou 7086921688 Bug 1340005 - Part 2: Implement AnimationValue::Transform. r=birtles
MozReview-Commit-ID: BDKcpDIM9nb

--HG--
extra : rebase_source : 43a5e7f053d746198f422487f7e19f535ccd9dc5
2017-10-27 21:06:30 +02:00
Boris Chiou 701609334e Bug 1340005 - Part 1: Implement AnimationValue::Opacity. r=birtles
We will use Servo backend on the compositor, so implement this for opacity.

MozReview-Commit-ID: BeWR2nBSbjb

--HG--
extra : rebase_source : eb5db3cf04640a83f13857984e792a949f26bcc7
2017-10-27 21:04:52 +02:00
Sebastian Hengst 841ee307e6 merge mozilla-central to autoland. r=merge a=merge 2017-10-27 23:32:15 +02:00
Daniel Holbert 680815cd6e Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: EuRsDue63tK

--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07:00
Daniel Holbert a7f82bed77 Bug 1412346 part 4: Update stale MPL license boilerplate on a few files in layout. r=jfkthame
We have a fair number of files that have a particular stale version of the MPL
boilerplate.  (It was probably originally correct, and then the official
boilerplate changed, and the stale MPL boilerplate continued to propagate via
copypasting from neighboring files into newly-added files.)

This patch updates this stale MPL text (and *only* the MPL text) to the latest
version, which can be found at https://www.mozilla.org/en-US/MPL/headers/ and
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

MozReview-Commit-ID: 8WeBb8b0uRo

--HG--
extra : rebase_source : 2c3aa8d07ba23714501c9e26ad03625aeab36a7a
2017-10-27 10:09:35 -07:00
Daniel Holbert 0c951f3583 Bug 1412346 part 3: Move a misplaced "IWYU pragma" comment down a few lines to match our convention and so mode line can be first. r=jfkthame
MozReview-Commit-ID: IEp7T0D1VUh

--HG--
extra : rebase_source : 913702636de3b379351dc13c8aab14222498c969
2017-10-27 10:08:27 -07:00
Daniel Holbert 600885496e Bug 1412346 part 2: Split mode line into its own C++ comment & own line, in a few files within layout. r=jfkthame
(This brings these lines into conformance with our standard style for mode
lines, and it's required in order for the modeline.py script to be able to
process these files.)

MozReview-Commit-ID: KqppMKF1jHv

--HG--
extra : rebase_source : 831b29574d66b66b8104f29b5b5c538241e95eba
2017-10-27 10:08:24 -07:00
Daniel Holbert 5581e7e5de Bug 1412346 part 1: Add standard mode line & MPL boilerplate to a few layout C++ files that are missing it entirely. r=jfkthame
Note that I'm intentionally *not* leaving a blank line between the license
block and the "IWYU pragma" line, in nsDisplayItemTypesList.h. This matches the
prevailing style that I found in other files that have "IWYU pragma" lines.

I copied the boilerplate comment directly from the Coding Style MDN page:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

MozReview-Commit-ID: ACoHkDFe8Z3

--HG--
extra : rebase_source : 374d28fea72cfb76043bde724120877b15092d01
2017-10-27 10:07:35 -07:00
Kartikaya Gupta 76b01cdf7e Bug 1410893 - Update reftest results for WR PR 1920. r=jrmuizel
MozReview-Commit-ID: IsKKwLlhvl7

--HG--
extra : rebase_source : c5eab13161f1c93fecb6ec110680131e24ac6ab7
2017-10-27 08:56:40 -04:00
Kartikaya Gupta d448b27cd9 Bug 1410893 - Update reftest results for changes in WR PR 1910. r=jrmuizel
The reftest box-decoration-break-with-inset-box-shadow-1.html was affected
by both PR 1910 and PR 1918.
The reftest backface-visibility-2.html was affected by PR 1914.

MozReview-Commit-ID: JFwhmttGJjQ

--HG--
extra : rebase_source : 7e716a64aa0de2f862b9bea7c0d30131e92ba319
2017-10-27 08:56:28 -04:00
Nicholas Nethercote 8ad99dd7fa Bug 1411893 - Introduce nsStaticAtom. r=emilio,froydnj.
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)

MozReview-Commit-ID: 4Q6QHX5h44V

--HG--
extra : rebase_source : e4237f85b4821b684db0ef84d1f9c5e17cdee428
2017-10-27 10:31:13 +11:00
Makoto Kato 73336f8958 Bug 1411522 - Skip layout/style/crashtests/439184-1.html on debug build of Android/stylo. r=emilio
layout/style/crashtests/439184-1.html is too slow (over 12min) on debug build of
android/stylo.

MozReview-Commit-ID: JHD6mZW7M4E

--HG--
extra : rebase_source : d6c1e4d6b9ee65ffe3e4e2a9931047d28d7d463d
2017-10-27 16:16:23 +09:00
Sebastian Hengst 5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Ethan Lin fd8e5325dd Bug 1411886 - Rebuild the dependent frame's display items in retained display list mode. r=mattwoodrow
MozReview-Commit-ID: F7239qCoKuI
2017-10-27 14:00:52 +08:00
Markus Stange 015854956a Bug 1406715 - Use the RenderFrameParent's content rect as the bounds of the webrender iframe display item. r=kats
It was using the visible rect of the display item before, which can be larger
than the frame for various reasons. But the bounds we pass for the webrender
iframe item determines the iframe's position, so it needs to be informed by the
layout position of the frame, not by circumstances of the paint.

MozReview-Commit-ID: JSmFGLmAm0h

--HG--
extra : rebase_source : ba85778fe1fe509dd593afaac9bf7a4ff9952b49
2017-10-22 00:48:01 -04:00
Morris Tseng 3e38db8b6b Bug 1411813 - Don't fallback nsDisplayFilter if opacity is present. r=kats
MozReview-Commit-ID: 4I8W5JZ2fyx

--HG--
extra : rebase_source : 7da6f3552abd3a93c6ab21740027e4ab907f4ca2
2017-10-26 11:39:00 +08:00
Sebastian Hengst d10e26c913 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-27 00:00:25 +02:00
Sebastian Hengst b181c484ad merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LcCWQzgwIBi
2017-10-26 23:57:40 +02:00
Boris Zbarsky 0015c73286 Bug 1411138. Be consistent (and follow the spec) in terms of how we determine the element that propagates styles to the viewport. r=dholbert
MozReview-Commit-ID: 8tH3nCDQJID
2017-10-26 00:35:22 -04:00
Henrik Skupin e3c38148be Bug 1411913 - Enable Marionette trace log for mochitest/reftest by default. r=jmaher
MozReview-Commit-ID: 1cGy3YlJml1

--HG--
extra : rebase_source : 23106578640a64848c164121a96cdddebd13cad8
2017-10-26 13:05:17 +02:00
Emilio Cobos Álvarez 5abc6282f0 Bug 1410808. r=xidorn
MozReview-Commit-ID: 5uufVVEIw20
2017-10-25 23:48:26 +02:00
Emilio Cobos Álvarez ffbd50af40 Bug 1410028: Add reftest. r=me
Not in WPT because https://github.com/w3c/csswg-drafts/issues/1898 is not
resolved yet.

MozReview-Commit-ID: HRM7AcMcJVd
2017-10-25 22:16:31 +02:00
Jonathan Kew 793b63713b Bug 1408612 - patch 1 - Use single-precision floats more consistently for glyph position computations when drawing text. r=jrmuizel 2017-10-24 09:59:09 +01:00
Jesse Ruderman a0ad2c1e46 Bug 481557 - Add crashtest. r=me 2017-10-25 14:58:33 -04:00
Jesse Ruderman b65304b81c Bug 1234701 - Add crashtests. r=me 2017-10-25 14:58:32 -04:00
Ryan VanderMeulen 4891a79ade Bug 1217984 - Remove assertion annotations for 366203-1.xul. r=me 2017-10-25 14:58:32 -04:00
Sebastian Hengst 06e215c2ce merge mozilla-central to autoland. r=merge a=merge 2017-10-26 23:59:14 +02:00
Emilio Cobos Álvarez 4deb3bee3b Bug 1411754: Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle. r=mats
I'm drive-by removing the comment about the frame tree state because I looked
into it, and the answer is: we properly restore it.

The gotcha is that we retain it too much, indeed, we retain it enough that it
can leak. See bug 1397239.

MozReview-Commit-ID: LP6bXkduEZ4

--HG--
extra : rebase_source : f7e18fc35e48b75c07fcc84b939614d379926828
2017-10-25 23:12:25 +02:00
Emilio Cobos Álvarez d454491418 Bug 1410074: Load input.css from a chrome uri, so windows reftests can use system metric media queries. r=bz,xidorn
This requires exposing the reftest chrome package to content, but that should be
OK, and this seems to work...

MozReview-Commit-ID: EWkwqTHW3dg

--HG--
extra : rebase_source : 12cabe4389375ac4c3abd0a9327baf268aab7c1a
2017-10-06 20:16:43 +02:00
Emilio Cobos Álvarez 18c8d123c0 Bug 1410074: Restrict system metric stuff in content pages. r=xidorn
MozReview-Commit-ID: 6rmMQfr8fzf

--HG--
extra : rebase_source : a6d133fa757cb1f6eade9fa7b215c5e404e39855
2017-10-19 16:23:45 +02:00
Matt Woodrow e588868217 Bug 1411856 - Make sure we add to the display list building area when marking a caret frame as invalid. r=ethlin
MozReview-Commit-ID: GA3pObvoPz3

--HG--
extra : rebase_source : a39c19bd653ece832436900b14468c21dd423600
2017-10-26 22:02:05 +13:00
Attila Craciun 252daa8e0a Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-26 12:32:58 +03:00
Attila Craciun 0cab95ab0f Merge inbound to mozilla-central r=merge a=merge 2017-10-26 12:20:45 +03:00
Hiroyuki Ikezoe abef3a3a96 Bug 1409166 - Check whether the target animating frame is scrolled out of each scrollable ancestor. r=birtles,mattwoodrow
Before this patch, we had been checking each scrollable ancestor is scrolled
out of its scrollable ancestor.  So if the target animating frame is at the
bottom of its scrollable parent and if half of the scrollable parent is
scrolled out of its ancestor, the animating frame was considered as 'in-view'.

MozReview-Commit-ID: BDueuF3cT4I

--HG--
extra : rebase_source : de1dead6e67a44691887c8364be23734c3b1adef
2017-10-26 18:09:32 +09:00
Xidorn Quan 5beed314a8 Bug 1408293 - Eagerly style new children inserted in XUL listbox. r=bz
MozReview-Commit-ID: HLATTkLd1X8

--HG--
extra : rebase_source : 4d90878c5a357a033620cfca2d4c69f56f8cfc32
2017-10-25 18:00:54 +11:00
Sebastian Hengst 443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Alex Gaynor bf64667f76 Bug 1409768 - Don't call fsync repeatedly when printing; r=bobowen
Usage of sync was a mistake when porting from the previous std::ostream code.

MozReview-Commit-ID: HwbFVlZMu6t

--HG--
extra : rebase_source : 86d251a9b73013356e4cc9323d35121839fafba9
2017-10-25 14:16:12 -04:00
Kartikaya Gupta 8e9c8a8efc Bug 1409508 - Handle another clip edge case. r=mstange
This edge case happens when:
- we have a display item A nested inside another display item B
- B has pushed an out-of-band clip, and
- A's clip chain doesn't connect directly to the end of B's clip chain
  but instead connects somewhere farther up the clip chain
See comments in the patch for more details.

MozReview-Commit-ID: 4mCCaVUQuvH

--HG--
extra : rebase_source : 1601a8f0c586d618d395b4e20086b9ecd318945b
2017-10-25 15:05:20 -04:00
Kartikaya Gupta cf3b87c06e Bug 1410527 - Update how we tell WR about position:sticky elements. r=mstange
My original understanding of the API was flawed, and so while I had
position:sticky working in some cases it didn't work properly in a lot
of other cases. This patch corrects the usage of the API to match what
WR is expecting and fixes a lot of test cases.

MozReview-Commit-ID: AdMux19Fk9U

--HG--
extra : rebase_source : e7f970a710b2079501a91eeeac8c292b603210dc
2017-10-25 15:21:32 -04:00
Emilio Cobos Álvarez 3a29f9d2ce Bug 1410074: Fixup tests by relanding a test change which should've been part of the second patch. r=me
MozReview-Commit-ID: LPCljOboHkx
2017-10-25 20:46:22 +02:00
Kartikaya Gupta bec5f23434 Bug 1411238 - Make APZ test logging work in layers-free WR mode. r=botond
Most of this change is just fiddling with function signatures so that they take
a LayerManager* instead of a Layer* (or in some cases, both). This allows
the WebRender codepaths to pass a WebRenderLayerManager* instead of having to
produce a Layer* which it doesn't have.

MozReview-Commit-ID: Fb0C8OUVDin

--HG--
extra : rebase_source : e4c3324cfa20c295db85d5c09df8d8d77865bb6a
2017-10-25 13:22:04 -04:00
Ryan VanderMeulen 46fda21b1a Backed out 3 changesets (bug 1410074) for Windows reftest failures.
Backed out changeset 5d54875788e3 (bug 1410074)
Backed out changeset 4d771e18c365 (bug 1410074)
Backed out changeset d045057cdf68 (bug 1410074)
2017-10-25 13:31:15 -04:00
Emilio Cobos Álvarez dd634e3981 Bug 1411612: Kill nsINode::eCONTENT. r=bz
MozReview-Commit-ID: ESlOqlwhcHI

--HG--
extra : rebase_source : fe6a02469dca1e50c24ba166e15e39160ab4551b
2017-10-25 17:19:11 +02:00
Emilio Cobos Álvarez 6468a50bc7 Bug 1406750: Use GetStyleContextNoFlush in UpdateCurrentStyleSources, and avoid flushing mPresShell twice. r=bz
MozReview-Commit-ID: Nfu9FZcIzQ
2017-10-25 19:03:14 +02:00
Emilio Cobos Álvarez f3053729c9 Bug 1406750: Fix detection of animations to avoid flushing. r=hiro,birtles
This fixes multiple things:

 * EffectCompositor was using the light tree instead of the flat tree.

 * When we insert an element inside the document, we may not style it right away
   (we mark it for lazy frame construction with the NODE_NEEDS_FRAME). Since we
   trigger animations and transitions from the traversal, we can't skip flushing
   if we call getComputedStyle on any of those.

MozReview-Commit-ID: DpAhmLH3uJ2
2017-10-25 19:02:01 +02:00
Brad Werth aefd6655a8 Bug 1411050 Part 1: Change nsDisplayListBuilder to mark hitests either for visibility or for pointer events. r=mattwoodrow
MozReview-Commit-ID: AbYcm2gwEES

--HG--
extra : rebase_source : 589ca29f84df183df86572a3f24476d6a9b7a4ad
2017-10-24 15:03:56 -07:00
Alexis Beingessner 168deb7b2b Bug 1401653 - fixup webrender text-decoration bindings. r=jrmuizel
This does 3 things that were all a bit too intermixed to split out cleanly:

1. Teaches TextDrawTarget to handle rectangular clips (while also completely
forbidding other ones). This is necessary to handle how gecko "overdraws"
decorations with clips to create the illusion of continuous lines when they're
actually made out of multiple lines, possibly from different display items
with different lines. Previously gecko *was* handing these clips to
TextDrawTarget to use these clips, but we were just ignoring them.

This is also necessary work to support partial glyphs natively (which apply
rectangular clips to glyphs). Also note that this currently causes a bug
in webrender if combined with zero-blur shadows, but it's not a regression
since we already mishandle clipped decorations. I will work on fixing this
upstream.

2. Changes the intermediate representation of lines from the old webrender
format to a rect-based one. This is in preperation for webrender adopting
that format in a future update.

3. Changes the way wavy lines are processed, correcting some errors in the
old wavy line bindings that lead to them being positioned incorrectly. Also
introduces a wavyLineThickness property that the will be required in a
future webrender update. Wavy lines are unlike any other line, so it's
ultimately desirable to distinguish them.

The net result of these changes is that a companion upstream change (webrender#1923)
will make decoration rendering nearly identical to gecko, and much nicer.
However the clipped shadows issue will need to be seperately resolved before
actually closing this issue.

MozReview-Commit-ID: 6O2wLA6bU3C

--HG--
extra : rebase_source : 17254c45145229b75f77f87f85874e66e6edd05e
2017-10-24 12:44:38 -04:00
Emilio Cobos Álvarez 7ff0e04616 Bug 1410074: Fix windows-specific resistFingerprinting tests. r=me
MozReview-Commit-ID: 605ZX4si9hD
2017-10-25 17:33:10 +02:00
Emilio Cobos Álvarez 3f918ff3a0 Bug 1410895: Multiple cleanups on top. r=bz
MozReview-Commit-ID: GX3dfmWL083

--HG--
extra : rebase_source : 5ed1b625356d7f561559747fae30f2342459538a
2017-10-23 16:06:50 +02:00
Emilio Cobos Álvarez 33e5c7314c Bug 1411478: Crashtest. r=xidorn
MozReview-Commit-ID: 3fO3Wn1M609

--HG--
extra : rebase_source : bbb2698717efe22c6a9e14454fbab31f5b65b749
2017-10-25 10:37:38 +02:00
Emilio Cobos Álvarez 30066ab880 Bug 1411478: Use GetNextSibling instead of GetChildAt in nsHTMLFrameSetFrame::Init. r=xidorn
MozReview-Commit-ID: 7MeMlwsNJVY

--HG--
extra : rebase_source : 5a5878dc5cde11c8afd08c1b4c8e5e935a3712e4
2017-10-25 10:20:58 +02:00
Emilio Cobos Álvarez 69265f95e6 Bug 1411478: Deindent some code in nsHTMLFrameSetFrame::Init. r=xidorn
MozReview-Commit-ID: 4QJu81w4Vlz

--HG--
extra : rebase_source : 9a283ab1e43ca4549e613b8c3c5bd66fbb4d0fc7
2017-10-25 10:18:41 +02:00
Emilio Cobos Álvarez 93d40bb9bb Bug 1410074: Restrict system metric stuff in content pages. r=xidorn
MozReview-Commit-ID: 6rmMQfr8fzf
2017-10-25 16:05:03 +02:00
Emilio Cobos Álvarez e1d5b96032 Bug 1410074: Honor CallerType for media query parsing. r=xidorn
We don't support setText (though it wouldn't be hard).

It doesn't really matter anyway.

MozReview-Commit-ID: 6M4HHqVJ1dp
2017-10-25 16:04:55 +02:00