Commit Graph

12023 Commits

Author SHA1 Message Date
CJKu
7b577b9c98 Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron 2016-01-28 06:39:00 +01:00
CJKu
577578571f Bug 686281 - Implement CSS mask style; r=dbaron. 2016-01-28 06:28:00 +01:00
CJKu
538b854ad1 Bug 686281 - Rename *background* to *imagelayer*; r=dbaron. 2016-01-28 06:27:00 +01:00
CJKu
2d363d1b79 Bug 686281 - Implement nsStyleImageLayers; r=dbaron 2016-01-28 06:24:00 +01:00
Xidorn Quan
00b4af1798 Bug 1230034 part 10 - Convert remaining frame properties to by typed and remove the unsafe declaring macro. r=dbaron
--HG--
extra : source : 19140dd4f1640c4600a0f9e0ff790b44f0cd83ca
2016-01-28 14:23:59 +11:00
Xidorn Quan
d0bf371cc8 Bug 1230034 part 9 - Convert FrameLayerBuilder::LayerManagerDataProperty to be typed. r=dbaron
--HG--
extra : source : 3f863ed01beb63fa8bd5d09e9d3e4afa98ad4924
2016-01-28 14:23:59 +11:00
Xidorn Quan
55a9f1daba Bug 1230034 part 8 - Convert frame properties which assert on destructor to be typed. r=dbaron
--HG--
extra : source : a650ac35ed4ef4c247369b4dc54b741d92e3c779
2016-01-28 14:23:59 +11:00
Xidorn Quan
a6ceca05bd Bug 1230034 part 7 - Convert nsIFrame::GenConProperty to be typed. r=dbaron
--HG--
extra : source : 5c803eae9303a390034dea7878beb48e6ffafbe2
2016-01-28 14:23:59 +11:00
Xidorn Quan
072dccd81f Bug 1230034 part 6 - Convert all frame properties which do not hold pointer to be typed. r=dbaron
--HG--
extra : source : f95f143e0e521ad2f8726097a484de402c834620
2016-01-28 14:23:59 +11:00
Xidorn Quan
e397870be2 Bug 1230034 part 5 - Convert all frame properties which use DeleteValue and ReleaseValue as destructor to be typesafe. r=dbaron
By changing signature of those two functions, we make compiler complain about
all their existing uses, so we can find all of them and convert them.

Some of the callsites of Get() with those properties are also converted, but not
all of them. It is fine because if there is any incorrect conversion, compilers
is able to find out now. So they are completely typesafe.

--HG--
extra : source : 808415985d3d446f18941eb007a9be9d69d180ce
2016-01-28 14:23:59 +11:00
Xidorn Quan
6ad1442a53 Bug 1230034 part 4 - Make FramePropertyDescriptor to be a template. r=froydnj,dbaron
This patch makes methods of FramePropertyTable and FrameProperties to be
simple template wrapper functions. Then it converts all references to
FramePropertyDescriptor to use "void" parameter to simulate the current
unsafe behavior.

SmallValueHolder is used for storing small values like int32_t, float,
which can fit in the size of a pointer directly, and thus no lifetime
management is needed.

--HG--
extra : source : 88b2723cddf119d73d8a442d8238b50406e9d604
2016-01-28 14:23:59 +11:00
Xidorn Quan
0b71314608 Bug 1230034 part 3 - Move some frame property declaration around. r=dbaron
--HG--
extra : source : d67dd26db9f0349d2e8ef71f8def9fad7856fe1e
2016-01-28 14:23:59 +11:00
Xidorn Quan
5832852fe0 Bug 1230034 part 1 - Remove NS_PROPERTY_DESCRIPTOR_CONST macro. r=dbaron
--HG--
extra : source : c5315005ec8f37968befb72cade91c1fe9f9a1da
2016-01-28 14:23:59 +11:00
Xidorn Quan
3006d3929b Bug 1064843 part 10 - Create and render backdrop frame for top layer frames. r=dbaron
--HG--
extra : source : 744e89b823a925df685d4d5e94b5e2bec4bedd6f
2016-01-28 10:11:00 +11:00
Xidorn Quan
3d1329f21c Bug 1064843 part 8 - Add frame class for backdrop frame. r=dbaron
--HG--
extra : source : 2418fec124dddb2268e7118e36d002904a1ede34
2016-01-28 10:11:00 +11:00
Xidorn Quan
3b95c44999 Bug 1064843 part 6 - Add backdrop frame list. r=dholbert
--HG--
extra : source : 695a16ba1cbb4e0e4f0a7e6b8ebf5c55ec62dab5
2016-01-28 10:11:00 +11:00
Xidorn Quan
ab931a1326 Bug 1064843 part 5 - Ensure frames behave properly for unknown child list id passed into SetInitialChildList. r=dholbert
Note that nsMathMLContainerFrame and its subclasses are unchanged since
they are not target of fullscreen (and thus no backdrop frame), and they
have an assertion to ensure we really don't pass any unexpected list in.

--HG--
extra : source : a1f7ff18a69cc116120de33f14ae62f576a4b55a
2016-01-28 10:11:00 +11:00
Xidorn Quan
0dfd29d523 Bug 1064843 part 4 - Add a placeholder type for top layer. r=roc
--HG--
extra : source : 6a8aceee1829e243331cdf375163ae2696824a94
2016-01-28 10:11:00 +11:00
Xidorn Quan
51ff9057c4 Bug 1064843 part 3 - Make nsFormControlFrame inherit nsContainerFrame. r=dholbert
--HG--
extra : source : 21dc6240648819dedd5f78e22fd4b637e539eb62
2016-01-28 10:11:00 +11:00
Xidorn Quan
3d7937e499 Bug 1064843 part 2 - Make nsSubDocumentFrame inherit nsContainerFrame. r=dholbert
--HG--
extra : source : a1a7b2971d7099fa8dc3589f5b690399a624f0ff
2016-01-28 10:11:00 +11:00
Xidorn Quan
2a1e3dccc8 Bug 1064843 part 1 - Make nsImageFrame inherit nsContainerFrame. r=dholbert
--HG--
extra : source : 59f102831fceb2857c2209207abbf750ed90fdd2
2016-01-28 10:11:00 +11:00
Nicholas Nethercote
26360d6c45 Bug 1239864 (part 9) - Use the new rect iterators in layout/ and ipc/. r=dholbert.
--HG--
extra : rebase_source : d5558c39bd3cfe85ee6f247eea8bab33f2f5027f
2016-01-18 17:20:59 -08:00
Mats Palmgren
4256cf9ea7 Bug 1240795 - [css-grid] Refactor GetComputedTemplateColumns/Rows to return a self-contained value. r=dholbert 2016-01-27 17:02:13 +01:00
Mats Palmgren
54139b9f0f Bug 1237754 part 1 - [css-grid][css-align] Make 'align/justify-content:normal' behave as 'stretch' for Grid containers. r=dholbert
Change due to CSSWG decision:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0031.html

Later clarified that the decision also applies to justify-content here:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0130.html
2016-01-17 19:44:05 +01:00
Xidorn Quan
c732ee5f50 Bug 1229437 followup 3 - Fix a mistake in RubyColumn::Iterator::SkipUntilExistingFrame(). a=me
--HG--
extra : amend_source : 759bee0572fdc77bb6f78fe91d14c68e6c7eb2eb
2016-01-27 19:04:57 +11:00
Xidorn Quan
0d376bab67 Bug 1229437 followup 2 - Fix another sign-compare error in RubyColumn::Iterator on CLOSED TREE. 2016-01-27 17:30:04 +11:00
Xidorn Quan
0934e79450 Bug 1229437 followup - Fix sign-compare error in RubyColumn::Iterator on CLOSED TREE. 2016-01-27 17:15:49 +11:00
Xidorn Quan
143f0ddb35 Bug 1229437 part 5 - Add crashtests for this bug. r=dbaron
--HG--
extra : source : 80fa14d8cafb39c0709777e3a733c9831f96c906
2016-01-27 16:58:53 +11:00
Xidorn Quan
050d22afea Bug 1229437 part 4 - Reparent floats inside pulled ruby column. r=dbaron
--HG--
extra : source : 3ae85c4b74e6791ac8d30dbc2376455d32745e1c
2016-01-27 16:58:53 +11:00
Xidorn Quan
488c3f7ca2 Bug 1229437 part 3 - Support iterating frames of RubyColumn. r=dholbert
--HG--
extra : source : 33d18b0760b2b4e6ae8c1357226f7bace1a75519
2016-01-27 16:58:53 +11:00
Xidorn Quan
dd663b590f Bug 1229437 part 2 - Reparent floats inside pulled ruby segment. r=dbaron
--HG--
extra : source : c30d0f07b5597005de4d18838479e621b6d2f44e
2016-01-27 16:58:53 +11:00
Xidorn Quan
3d2d63b674 Bug 1229437 part 1 - Add a helper function to get the float containing block of a given frame. r=dbaron
--HG--
extra : source : 68184623d2b2f1eeaa17fd6d2a5114fb7caa65f8
2016-01-27 16:58:53 +11:00
Nigel Babu
89cf5102fe Backed out changeset 04c819d845d5 (bug 1229437)
--HG--
extra : commitid : 7mKaiGMvXOG
2016-01-27 11:19:50 +05:30
Nigel Babu
d22ea976a4 Backed out changeset 4dd7ad84ece9 (bug 1229437)
--HG--
extra : commitid : 7gm0YdzUKwN
2016-01-27 11:19:47 +05:30
Xidorn Quan
de4dcb970c Bug 1229437 part 5 - Add crashtests for this bug. r=dbaron
--HG--
extra : rebase_source : 3da8d3bec5ba7c0c0f0307706ebaba706c4c8711
2015-12-21 14:10:49 +11:00
Xidorn Quan
4c680388ca Bug 1229437 part 4 - Reparent floats inside pulled ruby column. r=dbaron
--HG--
extra : rebase_source : 8685d4aabbc0e0569cf453916d9cfb28bbe37ec9
2015-12-21 14:02:46 +11:00
Xidorn Quan
4879d85cc1 Bug 1233135 - Do not touch display value of anonymous box for ruby. r=dbaron
--HG--
extra : source : 87f3c64200ab990efe341da44b70e0fc8f1c09f0
2016-01-26 20:31:45 +11:00
Matt Woodrow
10dde3e3a8 Bug 1231538 - Build a ContainerLayer for position:fixed and background-attachment:fixed content. r=roc 2016-01-26 13:36:48 +13:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Timothy Nikkel
6a8edbd624 Bug 1241371. Don't schedule an image visibility update every time display port margins change. r=kats
Displayport margins change by small amounts on almost every single scroll. We do not want to update image visibility nearly that often.

As the comment, and the original bug (bug 1169881) suggest this is only meant to catch rather large changes in display ports as we already have means to trigger an image visibility update via a scroll position change and via any style or layout flush.
2016-01-22 00:29:17 -06:00
Timothy Nikkel
aefbcd85cf Bug 1241371. Properly update mLastUpdateImagesPos on scrollframes when the image visibility pass encounters them. r=mats
This is a regression from bug 1002992 where we switch from the display list builder to the frame tree walker and didn't update mLastUpdateImagesPos in the frame walker.
2016-01-21 19:09:04 -06:00
David Rajchenbach-Teller
42b6a4145f Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
f5531f5260 Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Carsten "Tomcat" Book
4a40c9ed19 Backed out changeset d935c88d79d6 (bug 1237754) for OS X refrest failures 2016-01-18 08:54:13 +01:00
Mats Palmgren
36a12be95a Bug 1237754 part 1 - [css-grid][css-align] Make 'align-content:normal' behave as 'stretch' for Grid containers. r=dholbert
Change due to CSSWG decision:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0031.html
2016-01-17 19:44:05 +01:00
Mats Palmgren
d3b7eef2a0 Bug 1238294 part 2 - [css-grid] Treat any gaps at the grid edges as "line thickness" so they behave the same as gaps between tracks for positioning areas. r=dholbert 2016-01-14 23:11:44 +01:00
Mats Palmgren
eef633de78 Bug 1238294 part 1 - [css-grid] Make GridLineEdge() a method on the Tracks class rather than a static function (idempotent change). r=dholbert 2016-01-14 23:11:44 +01:00
Mats Palmgren
0ca3bec964 Bug 1239036 - [css-grid] Deal with implicit tracks when computing grid-template-{columns,rows}. r=dholbert 2016-01-14 23:11:44 +01:00
Bogdan Postelnicu
83ca10cf0a Bug 1239251 - Initialize mCommonAncestorWithLastFrame with nullptr in constructor BuildTextRunsScanner. r=roc 2016-01-14 10:49:15 +02:00