Ethan Lin
596418d7bd
Bug 1372118 - Part2. Use new interface of CreateWebRenderCommands for non-image display items. r=jrmuizel, r=kats
...
MozReview-Commit-ID: BcmRjQhDEyf
2017-06-30 17:23:20 -07:00
sotaro
966edad229
Bug 1357734 - Change argument of DisplayListBuilder::PushBorder() to bypass compiler bug r=jrmuizel
...
Visual Studio 2015 Update 3 has a bug that PGO build generates movaps to unaligned address. The patch just bypasses the compiler bu
2017-06-30 16:22:25 -07:00
Emilio Cobos Álvarez
3adff9373d
Bug 1375674: Don't use the table change hints for the table wrapper frame. r=heycam
...
MozReview-Commit-ID: 7Qe07N6zvIt
2017-06-23 19:30:16 +02:00
Carsten "Tomcat" Book
372571d466
merge mozilla-inbound to mozilla-central a=merge
2017-06-27 10:56:41 +02:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Kartikaya Gupta
c4fd192cd9
Bug 1376215 - Stop exposing the WrClipRegionToken in WebRenderAPI.h APIs. r=jrmuizel
...
No functional changes intended in this patch. It merely simplifies the
additional patch that we'll need to update gecko past WR cset 0bf6655,
and saves some potential manual rebasing work.
MozReview-Commit-ID: Km8dBotP3NQ
2017-06-26 07:49:52 -04:00
Carsten "Tomcat" Book
050bc3b644
Backed out changeset 504e5b1de987 (bug 1376215) for bustage
2017-06-26 13:07:09 +02:00
Kartikaya Gupta
44a6c1a913
Bug 1376215 - Stop exposing the WrClipRegionToken in WebRenderAPI.h APIs. r=jrmuizel
...
No functional changes intended in this patch. It merely simplifies the
additional patch that we'll need to update gecko past WR cset 0bf6655,
and saves some potential manual rebasing work.
MozReview-Commit-ID: AgMyNapY2Og
2017-06-25 14:45:54 -04:00
Emilio Cobos Álvarez
fc8b78f775
Bug 1374752: Pack together the StyleSet, ChangeList and handled change hints, and use the latter with anonymous boxes while we're at it. r=heycam
...
MozReview-Commit-ID: DiWcUwD9po5
2017-06-20 23:21:27 +02:00
Mats Palmgren
b145bfa804
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
2017-06-19 00:07:36 +02:00
Wes Kocher
774f2dae1f
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Mats Palmgren
9d5b90333e
Bug 1373095 - Devirtualize GetRowSpan/GetColSpan. r=bz
...
MozReview-Commit-ID: 7EUqrFMMe9c
2017-06-17 02:49:09 +02:00
Cameron McCormack
d5752992c6
Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz
...
MozReview-Commit-ID: 3InVAUw8djN
* * *
Bug 1364361 - Followup to address review comment. r=me
MozReview-Commit-ID: IpdoSon9MAj
2017-06-16 17:22:33 +08:00
Sebastian Hengst
93e7f53982
Backed out changeset e7ec499159f7 (bug 1364361) for bustage at nsIFrame.h:3348: bad implicit conversion constructor for 'OwnedAnonBox'. r=backout
2017-06-16 11:19:03 +02:00
Cameron McCormack
df3c33576a
Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz
...
MozReview-Commit-ID: 3InVAUw8djN
* * *
Bug 1364361 - Followup to address review comment. r=me
MozReview-Commit-ID: IpdoSon9MAj
2017-06-16 15:32:40 +08:00
Sebastian Hengst
2e4ae50c3e
Backed out changeset 12db2d364b64 (bug 1364361) for heap write hazard. r=backout
2017-06-16 09:27:42 +02:00
Cameron McCormack
4e8ef7f9fb
Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz
...
MozReview-Commit-ID: 3InVAUw8djN
2017-05-22 13:14:32 +08:00
Manish Goregaokar
533734efc7
Bug 1373018 - Part 10: stylo: Remove StyleSource; r=bholley
...
MozReview-Commit-ID: 4IcROeDNoBA
2017-06-10 22:27:45 -07:00
Manish Goregaokar
e8a3c268a8
Bug 1373018 - Part 8: stylo: Move nsStyleContext::SetStyle to GeckoStyleContext; r=bholley
...
MozReview-Commit-ID: ycXu95whnG
2017-06-10 22:27:45 -07:00
Ya-Chieh Wu
2e43bdd700
Bug 1370833 Part 1 - make less table invalidations for non-border-collapse tables. r=mattwoodrow
...
For the most part, I tried to make less *manual* table invalidations
for non-border-collapse tables and relied the table invalidations on
the comparison of the display items. By doing so, we can avoid the
over-painting issue.
MozReview-Commit-ID: 4w1DUKHXIFO
2017-06-09 10:46:34 +08:00
Alexis Beingessner
3117218f13
Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
...
MozReview-Commit-ID: K1WUIOnvazF
2017-06-13 11:00:10 -04:00
Sebastian Hengst
1b1d14e565
Backed out changeset 3d1ce85e6348 (bug 1088760) for bustage, at least on Android at layout/generic/nsPluginFrame.cpp:1612. r=backout
2017-06-13 00:30:03 +02:00
Alexis Beingessner
c6fbc5e17e
Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
...
MozReview-Commit-ID: K1WUIOnvazF
2017-06-12 17:32:48 -04:00
Morris Tseng
fd2f178876
Bug 1367747 - Create nsDisplayTableBorderCollapse when there is collapse border to draw. r=mstange
...
MozReview-Commit-ID: 29g6HqAn0ej
2017-06-06 14:11:41 +08:00
Morris Tseng
76f8dff088
Bug 1367747 - Create nsDisplayBorder when there are borders to draw. r=mstange
...
MozReview-Commit-ID: H5PYj8ErRto
2017-06-06 14:11:41 +08:00
Morris Tseng
273e4157e7
Bug 1369141 - Add dirty rect intersection checks so that we don't build unnecessary table part display items. r=mstange
...
MozReview-Commit-ID: DoPptE60BD4
2017-06-04 14:42:11 +08:00
Jonathan Kew
4dcf0fe444
Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats
2017-05-27 12:36:00 +01:00
Mats Palmgren
6a8fbc8c30
Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame
...
MozReview-Commit-ID: 1RSDoc3pQXf
2017-05-26 12:11:11 +02:00
Mats Palmgren
450c7ae245
Bug 1364805 part 2 - Add a nsIFrame::mClass field and propagate the concrete class' value up the ctor chain. r=jfkthame
...
nsIFrame::mClass is of type enum class nsQueryFrame::ClassID which is
a strict subset of the nsQueryFrame::FrameIID values. For a concrete
frame class, its FrameIID is the same numeric value as its ClassID.
MozReview-Commit-ID: 1N0AkCGo1ol
2017-05-26 12:11:11 +02:00
Mats Palmgren
69cf8c00c7
Bug 1364805 part 1 - Make every concrete frame class be a NS_DECL_QUERYFRAME_TARGET. r=jfkthame
...
MozReview-Commit-ID: Gy9gcEYupeY
2017-05-26 12:11:11 +02:00
L. David Baron
ebf5db26b4
Bug 1367190 patch 1 - Convert the 4 objects that use nsPresArena::AllocateBySize to use AllocateByObjectID. r=mats
...
MozReview-Commit-ID: 3LaG8Daon6V
2017-05-24 09:35:26 -04:00
Mats Palmgren
bd90393cc1
Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
...
MozReview-Commit-ID: IbwWM0FL6HF
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book
1aa86b3e0e
Backed out changeset bbb688fe1ba3 (bug 1365614)
2017-05-22 15:45:31 +02:00
Mats Palmgren
473a358067
Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
2017-05-21 17:15:00 +08:00
Hiroyuki Ikezoe
0d83b552e3
Bug 1341102 - Update test expecrations. r=me
...
https://github.com/servo/app_units/pull/26#issuecomment-301931183
2017-05-20 15:26:55 +09:00
Kartikaya Gupta
42068702d6
Merge m-c to graphics
...
MozReview-Commit-ID: LHvR5izGDcT
2017-05-12 10:20:09 -04:00
Morris Tseng
456e3fe0e5
Bug 1344082 - Create webrender commands for nsDisplayTableBorderCollapse. r=mstange
...
Gecko only draw one line for each collapsed border. In order to draw
only one line border in webrender, I create normal border webrender
command but only show top side of border for inline direction and left
side for block direction.
MozReview-Commit-ID: 7QChXuzVbg7
2017-05-12 09:39:01 +08:00
Cameron McCormack
560210f96f
Bug 1361235 - Part 2: Re-enable some tests. r=emilio
...
MozReview-Commit-ID: 76FaOwHjIMB
2017-05-11 19:19:52 +08:00
Ehsan Akhgari
0cb49c1a87
Bug 1362880 follow-up: Bump up the reserved size to 32
2017-05-08 21:17:21 -04:00
Ehsan Akhgari
87193cc40f
Bug 1362880 - Reserve storage for 10 RowInfo objects in nsTableRowGroupFrame::CalculateRowBSizes(); r=dbaron
2017-05-08 20:54:22 -04:00
Neerja Pancholi
b440518e62
Bug 1361229 - Add explanatory comments and assertion to nsTableFrame to ensure that the value of both smallerIter and aDeletedRowStoredIndex remains valid. r=dbaron
...
MozReview-Commit-ID: A0dqwpqB2Q0
2017-05-01 18:46:05 -07:00
Morris Tseng
d33628664e
Bug 929484 - Create nsDisplayTableFixedPosition to avoid display list collision when processing background image of table. r=mattwoodrow
...
MozReview-Commit-ID: 2DKdqk5kbHt
2017-05-05 14:30:16 +08:00
Morris Tseng
72752d3cba
Bug 929484 - Remove nsTableBorderBackground displayitem and nsTablePainter. r=mstange
...
MozReview-Commit-ID: 1HmfGyBqWnf
2017-05-05 14:30:15 +08:00
Morris Tseng
6476db5de7
Bug 929484 - Draw each table's background on their own display item. r=mstange
...
This patch do following things:
1. Create nsDisplayTableBorderCollapse that draws all collapse border of
table.
2. Don't use nsDisplayTableBorderBackground.
3. Let column and column group frame generate display items.
4. When traversing the table, also traverse the column and column group
frames.
5. For each type of table frame (col group, col, row group, row and
cell), draw their own background.
MozReview-Commit-ID: 1s2VLv6G8xi
2017-05-05 14:30:15 +08:00
Carsten "Tomcat" Book
075b27fbe3
Backed out changeset 93acd240b578 (bug 929484) for reftest failures in border-separate-opacity-table-column-group.html
2017-05-04 17:00:20 +02:00
Carsten "Tomcat" Book
4f8774de65
Backed out changeset 3dc8c2aea9bf (bug 929484)
2017-05-04 16:59:59 +02:00
Carsten "Tomcat" Book
e9262ed642
Backed out changeset e41fa1543360 (bug 929484)
2017-05-04 16:59:57 +02:00
Morris Tseng
4f5d0a34cc
Bug 929484 - Create nsDisplayTableFixedPosition to avoid display list collision when processing background image of table. r=mattwoodrow
...
MozReview-Commit-ID: 2DKdqk5kbHt
2017-05-04 17:32:08 +08:00
Morris Tseng
e6760ea6c7
Bug 929484 - Remove nsTableBorderBackground displayitem and nsTablePainter. r=mstange
...
MozReview-Commit-ID: 1HmfGyBqWnf
2017-05-04 17:32:08 +08:00
Morris Tseng
c7ae09f56f
Bug 929484 - Draw each table's background on their own display item. r=mstange
...
This patch do following things:
1. Create nsDisplayTableBorderCollapse that draws all collapse border of
table.
2. Don't use nsDisplayTableBorderBackground.
3. Let column and column group frame generate display items.
4. When traversing the table, also traverse the column and column group
frames.
5. For each type of table frame (col group, col, row group, row and
cell), draw their own background.
MozReview-Commit-ID: 1s2VLv6G8xi
2017-05-04 17:32:08 +08:00