Commit Graph

16027 Commits

Author SHA1 Message Date
Wes Kocher
1c8f6396c3 Merge m-c to autoland, a=merge 2016-09-02 13:34:45 -07:00
Wes Kocher
ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Cameron McCormack
524cf8e41b Bug 1297963 - Part 3: Use OMT-safe function for -moz-binding comparisons in CalcDifference. r=emilio
MozReview-Commit-ID: 6n7j2DrAVFv
2016-09-03 00:22:48 +10:00
Kan-Ru Chen
df92d6815f Bug 1297664 - Null check docShell before use. r=mstange
MozReview-Commit-ID: 1jA5K8is11X

--HG--
extra : rebase_source : 3320dc3ef2be9c79cebe433fc5d81a9de38d0674
2016-09-02 18:58:59 +08:00
cku
2b475f7d03 Bug 1295094 - Part 13. nsDisplayFilter painting. r=mstange
MozReview-Commit-ID: LyCUb4NacaO

--HG--
extra : rebase_source : d3f86358e41e45e6b2d12bc87fdea5b927b1c92c
2016-09-01 11:14:00 +08:00
cku
a16d0ca68b Bug 1295094 - Part 11. Implement nsDisplayFilter. r=mstange
MozReview-Commit-ID: 1V6dxJsejsi

--HG--
extra : rebase_source : 713cf1375c950644cda8dafa96b7227d9ebf2c89
2016-08-16 15:23:33 +08:00
cku
78ca020a31 Bug 1295094 - Part 10. nsDisplayMask creation flow. r=mstange
MozReview-Commit-ID: Jk9B54WtThK

--HG--
extra : rebase_source : 199b71fef0cce209b048dc362f89ecd700fda3e9
2016-08-16 13:56:11 +08:00
cku
40235c5c47 Bug 1295094 - Part 9. Implement nsDisplayMask. r=mstange
MozReview-Commit-ID: CBszApBehRE

--HG--
extra : rebase_source : 94a1aee20a569e0e061d20cae81b1112275cd1a6
2016-08-10 03:02:45 +08:00
cku
40076dcfa1 Bug 1295094 - Part 8. Implement nsSVGIntegrationUtils::PaintMaskAndClipPath r=mstange
MozReview-Commit-ID: EbIUVDXuHa0

--HG--
extra : rebase_source : f9c76291cfc78352268f9cf3a32376fcac96d018
2016-08-16 01:07:57 +08:00
Emilio Cobos Álvarez
72d8d2b877 Bug 1296556: Recreate style contexts inside generated content. r=heycam
MozReview-Commit-ID: JvVyml8yCrO

--HG--
extra : rebase_source : fbfcca50d332155efb693e2130c7da4d241aa2b9
2016-08-20 00:17:04 -07:00
Ryan VanderMeulen
23932b1a58 Backed out 5 changesets (bug 1298768, bug 1297963) for causing widespread mochitest-bc failures.
Backed out changeset dedd56fa5c54 (bug 1297963)
Backed out changeset bc1ac59cfe8f (bug 1297963)
Backed out changeset a2e337d5aa02 (bug 1297963)
Backed out changeset e73da71408a3 (bug 1297963)
Backed out changeset 56f8bca8f8e8 (bug 1298768)

CLOSED TREE
2016-09-01 08:05:43 -04:00
Cameron McCormack
04fb0dfd24 Bug 1297963 - Part 3: Use OMT-safe function for -moz-binding comparisons in CalcDifference. r=emilio
MozReview-Commit-ID: 2PkR5tUMMy0
2016-08-29 18:17:26 +08:00
Stone Shih
c9ead475fc Bug 1292070 - Part 1: Fire pointermove when no button state changes. f=bevistseng, r=smaug
--HG--
extra : rebase_source : 674319fb1a142c5236f8d7c71ac43f2bbe088a5d
extra : histedit_source : ace84d35fadb69a6c4dfd60c6e5f8df42c39d8c4
2016-08-18 13:18:48 +08:00
Stone Shih
b6697d07aa Bug 1294335 - [Pointer Event] Refine setPointerCapture / releasePointerCapture to follow the algorithm defined in the spec. f=bevistseng, r=smaug 2016-08-12 09:49:31 +08:00
Ryan VanderMeulen
3611a7607d Merge inbound to m-c. a=merge 2016-08-31 22:33:17 -04:00
Bobby Holley
eef73cf01e Bug 1299629 - Tweak stylo path for nsPresContext::HasCachedStyleData to avoid triggering operations too early during bootstrapping. r=emilio 2016-08-31 15:09:45 -07:00
Aryeh Gregor
76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Bobby Holley
ff780d017f Bug 1299348 - Remove StylingStarted(). r=emilio
StylingStarted is a kind of nebulous and not-very-useful concept. The concept
that _is_ useful is whether the presshell has been initialized or not, but the
root element may not exist at that point.

So we need to make sure we that we can trigger the initial document style in both
presshell initialized _and_ ContentInserted, which has the nice effect of handling
root element reinsertions.

We also take the opportunity to make StyleDocument assert the existence of a root
element, and align the responsibility for clearing the dirty descendant bits between
document and non-document nodes.
2016-08-31 10:32:42 -07:00
Kartikaya Gupta
5b0b9d1324 Bug 1298130 - Fix a potential null pointer dereference. r=smaug
MozReview-Commit-ID: LjmxTdfbJU5
2016-08-31 10:36:13 -04:00
Julian Seward
3da72db450 Bug 1298377 - Uninitialised value use in nsLayoutUtils::TransformToAncestorAndCombineRegions. r=kats.
--HG--
extra : rebase_source : 528580004935ddf980c1cd1b28d097909057d070
2016-08-30 15:10:49 +02:00
Ting-Yu Lin
3b594c3216 Bug 1298704 - Use flag to avoid calling AccessibleCaretEventHub::Reflow() recursively. r=mats
MozReview-Commit-ID: Jkf7sSqxG2d

--HG--
extra : rebase_source : f606f09e9fe88bde39f73690771cdde091f1b8c8
2016-08-29 15:36:45 +08:00
Ryan VanderMeulen
8880c22504 Merge m-c to autoland. a=merge 2016-08-31 09:55:10 -04:00
Henrik Skupin
1aa1a59ead Bug 1283919 - Move packaging of Marionette from make to the test archiver r=gps
MozReview-Commit-ID: AOQHcA46bCh

--HG--
extra : rebase_source : e313c669ad0ae999ecba954538572d22ae28b120
2016-08-17 13:43:51 +02:00
Wes Kocher
08fbeaaf2e Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Ryan VanderMeulen
2df9e8fe53 Backed out changeset 254e306bc62c (bug 277178) for likely causing test_sessionhistory.html to permafail.
CLOSED TREE

--HG--
extra : rebase_source : b3511d478945d6c055b8f0f6608e8f574ee7552a
2016-08-29 17:06:53 -04:00
Matteo Ferretti
c0ce371e10 Bug 1241867 - override the DPR without affecting the rendering; r=dbaron
- added overrideDPPX to nsIContentViewer
- made CSSStyleSheet and GlobalWindow using the overrideDPPX value
- added unit test with frame check

MozReview-Commit-ID: AOWpGs4vb9H

--HG--
extra : rebase_source : 45d9ae2c9b7aad835b5602e805ec7260c69c05b8
2016-08-25 13:15:19 +02:00
Ryan VanderMeulen
416afe2f23 Merge inbound to m-c. a=merge 2016-08-29 12:48:10 -04:00
Yuri Kazuna
3a366477e0 Bug 1291481 - Represent direction enum as uint8_t in LayersMessages.ipdlh; r=birtles
MozReview-Commit-ID: 9RcyYqsdsaB
2016-08-27 16:50:29 +09:00
Wes Kocher
cbdf3625fa Merge m-c to inbound, a=merge 2016-08-26 16:32:56 -07:00
Wes Kocher
f09e8fef1a Merge inbound to central, a=merge 2016-08-26 16:20:50 -07:00
Timothy Nikkel
d4bf99143c Bug 1298100. Remove nsDisplayListBuilder::mHadToIgnoreSuppression because it is unused. r=cjku 2016-08-26 18:02:51 -05:00
Timothy Nikkel
ca29dc5318 Bug 1297934. Enforce the invariant that every display item class has a different display item type for nsDisplayFocusRing. r=mattwoodrow 2016-08-26 18:02:49 -05:00
Boris Zbarsky
f795d19994 Bug 1258911. Correctly reframe an absolutely positioned frame that goes from having a transform to not having one and has an abs pos kid with a fixed-pos descendant. r=dbaron
Instead of skipping the absolute and fixed child lists, we walk all kids of the
frame.  But before recursing down into things that are absolute containing
blocks we ensure that we're only looking for fixed-pos placeholders, so we don't
reframe if we have a relatively positioned descendant with absolutely positioned
kids, for example.  Note that this part is pure optimization attempt, and it
might be cheaper to not do it: IsAbsoluteContainingBlock is not that cheap and
the situations where we avoid reframing due to this optimization are likely
fairly rare.
2016-08-26 15:38:16 -04:00
Milan Sreckovic
5459132cb1 Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
MozReview-Commit-ID: 5Ptm0bxwKdG

--HG--
extra : rebase_source : 535f2fa2447a1401b76acc0b82ce210b3c4d6dfc
2016-08-25 13:57:39 -04:00
Ryan VanderMeulen
628ab3deff Merge m-c to inbound. a=merge 2016-08-26 09:39:29 -04:00
Ryan VanderMeulen
e1fdfb3b73 Merge inbound to m-c. a=merge 2016-08-26 09:37:03 -04:00
Emilio Cobos Álvarez
ab791a332e Bug 1292281: Devirtualize nsPresContext::HasAuthorSpecifiedRules. r=bholley
MozReview-Commit-ID: 4UF4vNaOCHz
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-26 04:20:01 -07:00
Emilio Cobos Álvarez
9d37bfeecc Bug 1292281: Convert the error from nsPresContext::HasAuthorSpecifiedRules in a warning in nsRuleNode. r=bholley
MozReview-Commit-ID: 7ue0MYP3Jdb
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-26 04:19:58 -07:00
tlin@mozilla.com
6ac132dfe9 Bug 1295084 Part 4 - Rename Position::PositionCoord to Position::Coord. r=dholbert
--HG--
extra : rebase_source : 1b8b7019640f2db91167880899438cac7a2c49cd
2016-08-25 09:59:51 +00:00
tlin@mozilla.com
54d89b5a5c Bug 1295084 Part 3 - Move nsStyleImageLayers::Position to mozilla::Position. r=dholbert
--HG--
extra : rebase_source : 6684d08700f9d7fed9fc1572871a0250d43b74cf
2016-08-25 09:59:51 +00:00
Ryan VanderMeulen
4a76c08262 Merge m-c to autoland. a=merge 2016-08-26 09:38:49 -04:00
hironari
11d2b6bc5d Bug 1296123 - SetPerformanceWarning should be called against eCSSProperty_opacity! r=hiro
MozReview-Commit-ID: BCcXiRUui7Z

--HG--
extra : rebase_source : 2d11ce5720fd95a7c4f20ebb8b32f520bd49586a
2016-08-27 12:55:36 +09:00
Takeshi Kurosawa
76c800fd89 Bug 277178 - Move focus to a fragment identifier (#fragment) if it's focusable. r=smaug
This change improves HTML Standard compliance and browser compatibility.
https://html.spec.whatwg.org/multipage/browsers.html#scroll-to-the-fragment-identifier

MozReview-Commit-ID: BgOq9dPwdGF

--HG--
extra : transplant_source : %26%7D%7Fm%EES%C4%91%1F%CEI%25%8F%EDc%28%3C%DE%0F%CF
2016-08-23 11:06:32 +09:00
L. David Baron
611f172de6 Bug 1251075 - Optimize away nsChangeHint_UpdateContainingBlock in nsStyleContext::CalcStyleDifference when possible. r=bz
MozReview-Commit-ID: 4Owobm1vZLn
2016-08-29 11:43:29 -07:00
Ryan VanderMeulen
1c0c6ec5d4 Merge m-c to inbound. a=merge 2016-08-29 12:56:19 -04:00
Markus Stange
46d8f7daf1 Bug 1298844 - Add PrintDisplayItemToStdout and PrintDisplayListToStdout helper functions for debugging. r=jrmuizel
MozReview-Commit-ID: 3Uv0H9z2aLk

--HG--
extra : rebase_source : c15b2cce683fe5166588233aad7c7bb767e76412
2016-08-22 15:49:09 -04:00
Markus Stange
780f4f012a Bug 1298214 - Don't treat container items as forced-empty items if they have contents. r=tnikkel
MozReview-Commit-ID: LbZt3qBfoV8

--HG--
extra : rebase_source : 0cfdb45c2d2f65bda87ffadd72a4c8f30db1f294
2016-08-22 13:41:59 -04:00
Markus Stange
aa2a5d9598 Bug 1298209 - Remove unused mIsPerspectiveItem. r=mattwoodrow
MozReview-Commit-ID: 7KPw4wnihFZ

--HG--
extra : rebase_source : 6f80ba26b4bb40316e2f2f3612c8d93a7a3d3710
2016-08-23 01:17:22 -04:00
Markus Stange
98f9030a27 Bug 1298209 - Remove unused mIsCaret. r=mattwoodrow
MozReview-Commit-ID: 1AyqgYyGJX4

--HG--
extra : rebase_source : efd45b0d66b85b2a6e4eb99592356a78c6d8d18e
2016-08-23 01:17:03 -04:00
Markus Stange
a9e9533549 Bug 1298209 - Fix indent. r=mattwoodrow
MozReview-Commit-ID: LGmP20aD0Et

--HG--
extra : rebase_source : 0de3badfef08be3880e5b0896dad17b2092f917a
2016-08-22 13:34:41 -04:00