Markus Stange
284a74c2dc
Bug 1370034 - Call SetWindowTransform with the right values from -moz-window-transform(-origin). r=dbaron
...
MozReview-Commit-ID: 3IVl3kdbpTd
--HG--
extra : rebase_source : 969b912c1be199844575c8b9e196f07d59638043
2017-06-19 00:49:52 -04:00
Markus Stange
579f0e24a9
Bug 1370034 - Add CSS properties -moz-window-transform and -moz-window-transform-origin, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: BlLMswF0bKO
--HG--
extra : rebase_source : c064a2774f352ca2a3b0139e8a8f657c3a4ea1d8
extra : source : 6bd03efee80afb048db2e51777a8e5ff6db80dc4
2017-06-19 01:44:22 -04:00
Markus Stange
24f428aed3
Bug 1370034 - Implement UpdateWidgetProperties for top level windows and for popups, and call nsIWidget::SetWindowShadow. r=dbaron
...
MozReview-Commit-ID: 9ooCdDRLOSq
--HG--
extra : rebase_source : 9394de7379c628cd5cd3d993b1902f59876801c2
2017-06-16 15:08:30 -04:00
Markus Stange
ccaf464b9e
Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: J2SPMzh0I9C
--HG--
extra : rebase_source : b8c5f267f99fb7bab560af82a386cd3f3a9af5f3
2017-06-18 21:04:40 -04:00
Carsten "Tomcat" Book
d14a5a593a
merge mozilla-inbound to mozilla-central a=merge
2017-06-19 13:37:20 +02:00
Mats Palmgren
06d9d2ec37
Bug 1373884 - s/FramePropertyTable/FrameProperties/ in a couple of places. r=me
...
MozReview-Commit-ID: ID1bBk6hbOR
2017-06-19 00:07:36 +02:00
Mats Palmgren
18cc369911
Bug 1373999 part 2 - Create layout/generic/nsFrameSelection.cpp and move nsFrameSelection code from dom/base/Selection.cpp to it. r=smaug
...
MozReview-Commit-ID: 2uTrJ9SO63s
--HG--
rename : dom/base/Selection.cpp => layout/generic/nsFrameSelection.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren
d582beef4f
Bug 1373999 part 1 - Move layout/generic/nsSelection.cpp verbatim to dom/base/Selection.cpp, and layout/generic/Selection*.h to dom/base/. Also export a few table header files that it needs. r=smaug
...
MozReview-Commit-ID: 9YUmEOIHUdc
--HG--
rename : layout/generic/nsSelection.cpp => dom/base/Selection.cpp
rename : layout/generic/Selection.h => dom/base/Selection.h
rename : layout/generic/SelectionChangeListener.h => dom/base/SelectionChangeListener.h
2017-06-19 00:07:36 +02:00
Sebastian Hengst
1f7d31312c
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-06-18 20:50:40 +02:00
Sebastian Hengst
593e520c55
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Oi3PA6ZpRz
2017-06-18 20:35:11 +02:00
Mats Palmgren
5b7c81e34b
Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
...
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Sebastian Hengst
968a22a73d
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-06-18 00:25:47 +02:00
Ehsan Akhgari
47d81ff540
Bug 1373788 - Reset the cached blink rate when the caret stops blinking; r=mats
...
Otherwise the next time in ResetBlinking() we mistakenly think
we already have the blinking timer set.
2017-06-17 16:19:03 -04:00
Sebastian Hengst
3654d560d6
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: DPQl41S3ZkU
2017-06-17 22:26:03 +02:00
Sebastian Hengst
3caa17a4be
Backed out changeset bb6b79e53e82 (bug 1352306) as requested by emilio. r=backout
2017-06-17 14:16:54 +02:00
Sebastian Hengst
e9ca697708
Backed out changeset 46d7719ee8ae (bug 1352306)
2017-06-17 14:16:20 +02:00
Wes Kocher
b0560565d7
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Wes Kocher
39066d6984
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2k4filK9zyX
2017-06-16 17:58:58 -07:00
Mats Palmgren
e96c22d711
Bug 1373095 - Devirtualize GetRowSpan/GetColSpan. r=bz
...
MozReview-Commit-ID: 7EUqrFMMe9c
2017-06-17 02:49:09 +02:00
Mats Palmgren
9d353fa50b
Bug 966240 - Remove support for <meta http-equiv="msthemecompatible" content="no">. r=dbaron
...
It appears that neither Chrome, Safari or Edge support this feature,
and it's causing web-compat issues for us, e.g. bug 1373417.
MozReview-Commit-ID: AP5LMgL6QmR
2017-06-16 17:17:22 +02:00
Mats Palmgren
5ef66d5e7d
Bug 1371958 part 2 - Move a mPaintedLayerItems.GetEntry() call into the else-branch where its result is actually used to avoid an unnecessary hashtable lookup when we don't take the else-branch. r=froydnj
...
MozReview-Commit-ID: sOwNzB8mxj
2017-06-17 00:06:04 +02:00
Mats Palmgren
f8f1a23dc1
Bug 1371958 part 1 - Use EnsureRemoved instead of Contains+RemoveEntry to avoid an unnecessary hashtable lookup. r=froydnj
...
MozReview-Commit-ID: 6SPQrQCLBjF
2017-06-17 00:06:04 +02:00
Mats Palmgren
7648c5aafb
Bug 1371956 - Use mApproximatelyVisibleFrames.EnsureInserted/EnsureRemoved to avoid doing unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 87A0v0APtFs
2017-06-17 00:06:04 +02:00
Mats Palmgren
a8cf987309
Bug 1371960 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: IJdUEc9XezU
2017-06-17 00:06:04 +02:00
Kirk Steuber
a55c46f192
Bug 1371073 - Add reftests to ensure rows and cols are properly added and removed from framesets r=bz
...
MozReview-Commit-ID: A6uLt8oSn6F
--HG--
extra : rebase_source : 09e64dc66a0718b8ab0e4e27ddb9dacf1afbe9ea
2017-06-14 16:05:20 -07:00
Sebastian Hengst
efd723cdad
merge mozilla-central to autoland. r=merge
2017-06-18 00:21:41 +02:00
Masatoshi Kimura
838ccc4108
Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
...
MozReview-Commit-ID: 5O5WtxbmATQ
--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Masatoshi Kimura
9865b2fdeb
Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
...
MozReview-Commit-ID: E0w8BsP1Rof
--HG--
extra : rebase_source : db95e1e7fc60c9b9c8e6d7fcc5329421ec97e811
2017-06-16 21:11:03 +09:00
Cameron McCormack
1849ea4995
Backout bug 1291457 and bug 1370034 for bustage.
2017-06-19 13:55:15 +08:00
Xidorn Quan
e33c064a52
Bug 1359217 part 7 - Add test for getCSSStyleRules. r=heycam
...
MozReview-Commit-ID: 85gaOcW7opN
--HG--
extra : source : 2b1258106aa01cabb8821a31c3bcee0e000b857d
2017-06-19 15:45:43 +10:00
Xidorn Quan
e3c82192cb
Bug 1359217 part 6 - Add ServoStyleRuleMap to handle style rule mapping. r=heycam
...
This commit adds class ServoStyleRuleMap which caches the mapping from
raw Servo style rule to Gecko's wrapper object.
It is a per-document object, and is added as an observer of document
when constructed, so that it updates data inside when possible.
For safety consideration, this change also makes ServoStyleRule support
weak pointer, and use weak pointer inside ServoStyleRuleMap.
MozReview-Commit-ID: YxBnZ88tjf
--HG--
extra : source : 0f2bc306d27b8ab22f1aa08aa9d44af0dba4694d
2017-06-19 15:45:43 +10:00
Xidorn Quan
7db62f5a16
Bug 1359217 part 5 - Fix reversed condition for inserting import rule. r=heycam
...
MozReview-Commit-ID: 7LU4l83lQ0t
--HG--
extra : source : d6d6c57ccdb0d0851e98f1ed79b4449b2ab7f6e9
2017-06-19 15:45:43 +10:00
Xidorn Quan
933bac9a04
Bug 1359217 part 4 - Make ServoStyleSheet::GetCssRulesInternal return ServoCSSRuleList. r=heycam
...
MozReview-Commit-ID: DjDDoDgo4ty
--HG--
extra : source : 76dc9330e9dabaa6db159128f28b9ba29733cf1c
2017-06-19 15:45:43 +10:00
Xidorn Quan
df79764788
Bug 1359217 part 3 - Remove unused ErrorResult param from GetCssRulesInternal. r=heycam
...
MozReview-Commit-ID: KxUN9cCkoZG
--HG--
extra : source : 38f2eb34293e7781f662b02efe1248816d9b7be0
2017-06-19 15:45:43 +10:00
Xidorn Quan
d1ab8aff39
Bug 1359217 part 2 - Include the import rule of child sheet when notifying StyleRuleAdded. r=heycam
...
MozReview-Commit-ID: 1jDrwrUdyOa
--HG--
extra : source : 93641dbf74d05faf9043419aa9485bbd1c63b850
2017-06-19 15:45:43 +10:00
Xidorn Quan
88857216a9
Bug 1359217 part 1 - Make document nsIDocumentObserver::StyleRule* methods include the rule as parameter. r=bz
...
MozReview-Commit-ID: H8FgiwCv0Gr
--HG--
extra : source : 64481d27547196d9e3794eeea562492af67d900f
2017-06-19 15:45:43 +10:00
Xidorn Quan
227dc5cb6b
Bug 1359217 part 0 - Some fixup for later patches. r=heycam
...
MozReview-Commit-ID: CHCDf3z2MQ3
--HG--
extra : source : 72c4f2a7e0a5750241d347a09b5b8035404ea2f7
2017-06-19 15:45:43 +10:00
Ben Tian
71ff52def2
Bug 1351072 - [e10s] Clear active document when closing popup of <select>. r=smaug
...
MozReview-Commit-ID: IaRG67FwIPL
--HG--
extra : amend_source : 3a2a548499fa73b9e9f8533777ebcf5fcbb626ae
2017-06-14 13:42:03 +08:00
Manish Goregaokar
3125497283
Bug 1373018 - Part 11: stylo: Move cached style structs to GeckoStyleContext; r=bholley
...
MozReview-Commit-ID: 1LA8AJ3oNwF
--HG--
extra : rebase_source : e318c7c92973eb6daf9b9fb9b1dcd776e6788a95
2017-06-10 22:27:45 -07:00
Manish Goregaokar
3188b9bfd6
Bug 1373018 - Part 10: stylo: Remove StyleSource; r=bholley
...
MozReview-Commit-ID: 4IcROeDNoBA
--HG--
extra : rebase_source : e2f65c316be2c5640150eb5ff5628505ce446535
2017-06-10 22:27:45 -07:00
Manish Goregaokar
abdbfa30c6
Bug 1373018 - Part 9: stylo: Make more things on nsStyleContext inlined; r=bholley
...
MozReview-Commit-ID: FYiOtmSK2oC
--HG--
extra : rebase_source : a543fc05b6a5b5bd3c143d87730c66a1f8743f16
2017-06-10 22:27:45 -07:00
Manish Goregaokar
02ab46c24d
Bug 1373018 - Part 8: stylo: Move nsStyleContext::SetStyle to GeckoStyleContext; r=bholley
...
MozReview-Commit-ID: ycXu95whnG
--HG--
extra : rebase_source : 852051aa074cc8ed8f11f0d68c26fe4f0a6962b6
2017-06-10 22:27:45 -07:00
Manish Goregaokar
828745da04
Bug 1373018 - Part 7: stylo: Move nsStyleContext::mSource into subclasses; r=bholley
...
MozReview-Commit-ID: AspYUJ7lGqD
--HG--
extra : rebase_source : 1f8d368312bd8149f32efc31130f4bf6659064ed
2017-06-10 22:27:45 -07:00
Manish Goregaokar
092c404741
Bug 1373018 - Part 6: stylo: Move most Gecko-specific methods into GeckoStyleContext; r=bholley
...
MozReview-Commit-ID: KzMAbuY8nll
--HG--
extra : rebase_source : 7d96f19a4bfcc2e97b7df513df881fa88f27cd85
2017-06-10 22:27:45 -07:00
Manish Goregaokar
70773cfc42
Bug 1373018 - Part 5: stylo: Move child/sibling pointers to GeckoStyleContext; r=bholley
...
MozReview-Commit-ID: Gay6RwpkNcu
--HG--
extra : rebase_source : 57a7f22b3d830e2fdc47faa15ceafbe5020a5964
2017-06-10 22:27:45 -07:00
Manish Goregaokar
2991af8d79
Bug 1373018 - Part 4: stylo: Rename eArenaObjectID_nsStyleContext to eArenaObjectID_GeckoStyleContext; r=bholley
...
MozReview-Commit-ID: 5oZwxG8r9Ty
--HG--
extra : rebase_source : 32fdfe60a20b2d90f531df1999b3aee0e4c8a5c2
2017-06-10 22:27:45 -07:00
Manish Goregaokar
719eec238a
Bug 1373018 - Part 3: stylo: Move mPresContext to ServoStyleContext; r=bholley
...
MozReview-Commit-ID: 2BmRpIjxEO8
--HG--
extra : rebase_source : 51b9d1cd0963d0d243a6e575eff3a7407ee27485
2017-06-10 22:27:45 -07:00
Manish Goregaokar
7fceedfbae
Bug 1373018 - Part 2: stylo: Add stylo conversion methods for nsStyleContext; stop using arena; r=bholley
...
MozReview-Commit-ID: CeIDP7idlmC
--HG--
extra : rebase_source : 8e7ec95fd068e562d947fbc39e84cd8e60daa910
2017-06-10 22:27:45 -07:00
Manish Goregaokar
01dc13b311
Bug 1373018 - Part 1: stylo: Introduce ServoStyleContext and GeckoStyleContext subclasses; r=bholley
...
MozReview-Commit-ID: GY1GfkWMK0n
--HG--
extra : rebase_source : a631b068cf0d54f5105e3dfe411365157490cac5
2017-06-10 22:27:45 -07:00
Cameron McCormack
bace240be2
Bug 1354879 - Re-enable some tests. r=emilio
...
MozReview-Commit-ID: GMGkTOrNu7c
--HG--
extra : rebase_source : 14b504bd8ba1e3f7df010164c7c190668335aa5e
2017-06-16 09:06:26 +08:00