Morris Tseng
8733cb18e1
Bug 1094056 - Use nsCaret::GetGeometryForFrame to determine position of selection carets. r=roc
2014-11-11 22:54:00 +01:00
Kartikaya Gupta
7644286079
Bug 1078029 - Add code to reposition input event coordinates into the target frame. r=roc
...
The PositionedEventTargeting code allows input events to be dispatched to a
target not directly under the input event point. However, the coordinates of the
input event can then end up outside the bounding rect of the event target. This
state is generally unexpected by web content and may cause compatibility issues.
Fennec's front-end code used to deal with this by repositioning the input event
coordinates to be inside the bounding rect; now that Fennec is using the shared
C++ code we need to have that code here. This behaviour is guarded by a pref and
disabled by default (but enabled on Fennec).
2014-11-04 09:52:16 -05:00
Jonathan Watt
f6f8d40041
Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow
2014-11-01 10:45:10 +00:00
Jonathan Watt
53f338200b
Bug 1091323 - Convert the nsLayoutUtils helpers that paint images and take an nsRenderingContext to take a gfxContext instead. r=seth
2014-11-01 10:45:09 +00:00
Jonathan Watt
1d2c31c63d
Bug 1088781 - Rename nsLayoutUtils::GetStringWidth to nsLayoutUtils::AppUnitWidthOfStringBidi. r=dholbert
2014-10-26 17:57:49 +00:00
Botond Ballo
eea9473d65
Bug 1085569 - When calculating the composition bounds based on the frame size, use the cumulative resolution rather than the parent resolution everywhere. r=tn
...
--HG--
extra : amend_source : c72888ce19795e203e5dafa7d0b68065d6b668eb
2014-10-20 15:53:29 -04:00
Jonathan Watt
1c3326bede
Bug 1088625, part 2 - Pass nsFontMetrics objects through to code that needs it instead of storing it on the nsRenderingContext. r=mstange
2014-10-24 16:28:14 +01:00
Jonathan Watt
35505a8b96
Bug 1088599 - Move nsRenderingContext::GetBoundingMetrics to nsLayoutUtils. r=mstange
2014-10-24 16:28:14 +01:00
Jonathan Watt
08ae0a017c
Bug 1088550 - Move nsRenderingContext's remaining GetWidth methods to nsLayoutUtils. r=mstange
2014-10-24 16:28:13 +01:00
Jonathan Watt
2994c1b237
Bug 1088071, part 2 - Move the nsRenderingContext::DrawString code to nsLayoutUtils::DrawUniDirString. r=jfkthame
2014-10-24 11:00:23 +01:00
Jonathan Watt
0e920978be
Bug 1088071, part 1 - Wrap the callers of the final nsRenderingContext::DrawString method up in a new nsLayoutUtils::DrawUniDirString method. r=jfkthame
2014-10-24 11:00:23 +01:00
Matt Woodrow
93f050183f
Bug 1078337 - Correctly respect the source rect in DrawSingleImage. r=seth
...
--HG--
extra : rebase_source : c00951d46388585731340cf41c15520fc0592800
2014-10-23 11:41:14 +13:00
Jonathan Watt
09f54bbbb9
Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow
2014-10-22 12:29:06 +01:00
Benoit Girard
4f2c7cdb80
Bug 961871 - Part 2: Refactor will-change scroll, pass through a nsDisplayListBuilder. r=mattwoodrow
2014-10-21 21:54:06 -04:00
Jonathan Watt
c972886b3e
Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow
...
--HG--
extra : rebase_source : 70553292850517d695994c0a3422fab8ea0b760a
2014-10-20 10:55:48 +01:00
Jonathan Watt
9e43325322
Bug 1083597, part 2 - Add a variant of NSRectToRect that snaps to device pixels, and have nsTableCellFrame::DecorateForSelection use it to restore its snapping behavior.
2014-10-19 11:47:22 +01:00
Jonathan Watt
e20775a0d6
Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow
2014-10-17 15:06:34 +01:00
Jonathan Watt
4c7c510aca
Bug 1083761 - Use Color::FromABGR in more places that to the conversion by hand and remove nsLayoutUtils::NSColorToColor(). r=mstange
2014-10-17 12:53:16 +01:00
Jonathan Watt
3a8b0e745a
Bug 1083215, part 2 - Convert drawing of HTML image map area focus to Moz2D. r=mattwoodrow
2014-10-16 10:51:14 +01:00
Michael Wu
71bba5063f
Bug 1083393 - Remove unused thebes things in nsLayoutUtils, r=mattwoodrow
2014-10-15 17:13:14 -04:00
Brian Birtles
d77b5db74f
Bug 1046055 part 4 - Add HasCurrentAnimationsForProperty to nsLayoutUtils; r=dbaron
...
This patch adds a method to nsLayoutUtils, alongside the existing
HasCurrentAnimations, that returns true if there exists an unfinished animation
on the element for the specified property.
2014-10-02 15:14:14 +09:00
Brian Birtles
2bfde3e79a
Bug 1046055 part 1 - Remove nsPresContext parameter from nsLayoutUtils::HasCurrentAnimations; r=dbaron
2014-10-02 15:14:13 +09:00
Dirk Schulze
a028173cff
Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam
2014-09-28 01:56:00 +02:00
Markus Stange
7d5a3be591
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Kartikaya Gupta
c34ad0fe01
Bug 1071367 - Fix the composition bounds for the root content document on OS X. r=tn
...
According to roc the content viewer position doesn't mean much; only the size is
set to anything meaningful. Therefore using the position from the content viewer
bounds is not a good idea, and we should use the position from the frame bounds
instead. This patch also changes GetContentViewerBounds to GetContentViewerSize
so that it's harder to accidentally use the position in other places.
2014-09-23 12:17:36 -04:00
Ting-Yu Lin
e3debbffab
Bug 1065244 - Part 2 - Refactor event point on frame logic for SelectionCarets. f=mtseng, r=roc
2014-09-15 02:57:00 +02:00
Ting-Yu Lin
fc63f147e7
Bug 1065244 - Part 1 - Add GetRectRelativeToFrame to nsLayoutUtils. f=mtseng, r=roc
2014-09-15 17:07:00 +02:00
Daniel Holbert
23f4653cb5
(no bug) Some comment-only cleanup in nsLayoutUtils.h. (no review, comment-only)
...
DONTBUILD
In particular:
- Rewrapped a few lines to 80 characters.
- Fixed a few typos.
- Added a terminal period character at the end of @param/@return lines, in cases where the rest of the function's documentation follows that convention.
2014-09-09 16:12:13 -07:00
Jonathan Watt
7b475bb2b2
Bug 932771, part 2 - Add an inline nsLayoutUtils::PointToGfxPoint helper method. r=longsonr
2014-08-19 22:17:49 +01:00
Jonathan Kew
50cb6e6264
bug 1046950 pt 4 - convert ComputeSizeWithIntrinsicDimensions to logical-coord parameters. r=smontagu
2014-08-24 15:34:57 +01:00
Seth Fowler
4cd9e3e8e6
Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
...
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
David Zbarsky
1b247e50b6
Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical
2014-08-22 09:40:02 -04:00
Matt Woodrow
c2d79a26ff
Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
...
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Susanna Bowen
779f8cef59
Bug 1030993 - Basic reflow implementation for ruby frame classes. r=dbaron
...
To account for spacing between bases or text boxes during reflow, the line
layout which manages the bases updates its inline direction coordinate based on
the preferred inline size for the corresponding text boxes. Next, the base is
reflowed at the correct inline coordinate. Each paired text box is then also
reflowed at the proper inline position determined by (1) the current position of
its corresponding base and (2) its own preferred width.
In computing intrinsic widths, accounting for spacing is less complicated. The
minimum intrinsic width is the width of the widest ruby column, and the
preferred intrinsic width is the sum of all the ruby column widths. Each ruby
column width is the maximum width of its base box and text boxes. These
individual widths are determined using GetPrefISize on the base and text boxes.
Ruby base container frames store a list of pointers to the ruby text container
frames in the segment they denote. This list of pointers is created in the ruby
frame reflow method before calling the reflow method for the ruby base
container. The list exists and is used only during reflow of the main ruby frame
and is cleared before returning from reflow.
2014-08-15 10:34:20 -07:00
Ehsan Akhgari
2b84010cb8
Bug 1048246
- Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
Matt Woodrow
cfce6663f6
Bug 1045864 - Disable layerized background-attachment:fixed when we're using a software compositor. r=roc
2014-08-05 15:25:00 +12:00
Kartikaya Gupta
917e8cd729
Bug 1043644 - Use the content viewer bounds instead of the view bounds if available. r=tn
2014-07-29 14:50:48 -04:00
Matt Woodrow
bf15ddaf06
Bug 1039020
- Layerize background-attachment:fixed for all elements, not just the root one. r=roc
2014-07-25 20:37:50 +12:00
Jonathan Kew
76bdb9472c
bug 1031241 pt 4 - Rename the {MIN,PREF}_WIDTH constants used to identify the type of intrinsic inline-size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
55170c430a
bug 1031241 pt 3 - Also rename Intrinsic{Width,Height} to Intrinsic{I,B}Size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
8b67cdf704
bug 1031241 pt 2 - More renaming, e.g. where {Min,Pref}Width occurs within longer type and function names. r=smontagu
2014-07-24 18:03:25 +01:00
Jonathan Kew
ce9cbe4216
bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu
2014-07-24 18:03:25 +01:00
Matt Woodrow
90607a09dc
Bug 1031107 - Part 1: Fix DoLogTestDataForPaint when using temporary layer managers. r=kats
2014-07-24 15:10:05 +12:00
Botond Ballo
be603754de
Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow
2014-07-22 18:05:13 -04:00
Matt Woodrow
4aae0aad74
Bug 1041894 - Make FindOpaqueBackgroundColorFor check the DisplayItemClip of items before selecting them. r=roc
...
--HG--
extra : rebase_source : 32dfac0c8050c06d40341c74d36a0f7e72aeabf9
2014-07-23 18:12:08 +12:00
Seth Fowler
da5cd5f510
Bug 1031576 (Part 3) - Remove nsLayoutUtils::DrawPixelSnapped, since it's dead code now. r=dbaron
2014-07-21 17:59:23 -07:00
Robert O'Callahan
aaeac2837d
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : bca7885147f0328d9700770052500e856d131bd9
2014-06-23 16:21:42 +12:00
Ryan VanderMeulen
df23fd9dde
Backed out 46 changesets (bug 1022612) for B2G mochitest permafails on a CLOSED TREE.
...
Backed out changeset 34b3014a3112 (bug 1022612)
Backed out changeset 6ae9316fd909 (bug 1022612)
Backed out changeset b8f3749c95eb (bug 1022612)
Backed out changeset caab10bf6ca3 (bug 1022612)
Backed out changeset 0c57c620c898 (bug 1022612)
Backed out changeset fac64141a00a (bug 1022612)
Backed out changeset bf0df1c9d68b (bug 1022612)
Backed out changeset b42054800020 (bug 1022612)
Backed out changeset 667793b21194 (bug 1022612)
Backed out changeset f14ada64fe1b (bug 1022612)
Backed out changeset 75b837686bdf (bug 1022612)
Backed out changeset 66de53183a22 (bug 1022612)
Backed out changeset 0ff86ced4d46 (bug 1022612)
Backed out changeset 18eecc5b1ef7 (bug 1022612)
Backed out changeset 2763c4878de5 (bug 1022612)
Backed out changeset b72413ecc385 (bug 1022612)
Backed out changeset b23f1081afb8 (bug 1022612)
Backed out changeset f7e2c6a72043 (bug 1022612)
Backed out changeset 959917c9027d (bug 1022612)
Backed out changeset 0268a46f4880 (bug 1022612)
Backed out changeset 3388856a80ad (bug 1022612)
Backed out changeset e4b17cf0f806 (bug 1022612)
Backed out changeset 2f4e9da0e4b6 (bug 1022612)
Backed out changeset 489f6a7c0c03 (bug 1022612)
Backed out changeset 8369d9ad7ad3 (bug 1022612)
Backed out changeset 0758d2a06002 (bug 1022612)
Backed out changeset f2ae9cb22edb (bug 1022612)
Backed out changeset 9c48c6ee5dc2 (bug 1022612)
Backed out changeset fe7134400f08 (bug 1022612)
Backed out changeset cc2c5397ca8b (bug 1022612)
Backed out changeset a3d1a3e8b39d (bug 1022612)
Backed out changeset 8974b74b0eb0 (bug 1022612)
Backed out changeset 75f7dbb5a2a6 (bug 1022612)
Backed out changeset 2aa04a071e60 (bug 1022612)
Backed out changeset f2ab1bcd4c39 (bug 1022612)
Backed out changeset da9152b6ea29 (bug 1022612)
Backed out changeset 58abf5b0e148 (bug 1022612)
Backed out changeset 797058a09ad2 (bug 1022612)
Backed out changeset ea3e99a92ff0 (bug 1022612)
Backed out changeset adc4a4a7aa73 (bug 1022612)
Backed out changeset 7b18dedd1505 (bug 1022612)
Backed out changeset 055dd1921e8e (bug 1022612)
Backed out changeset 42fa2c97e989 (bug 1022612)
Backed out changeset cd594236388f (bug 1022612)
Backed out changeset 9eadc5fee43d (bug 1022612)
Backed out changeset 5cc8d30ff7c9 (bug 1022612)
2014-07-17 11:24:47 -04:00
Robert O'Callahan
368aa0fe62
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : c7c0b06b7c0facf664657de33bf4931979ced7db
2014-06-23 16:21:42 +12:00
Carsten "Tomcat" Book
ed82fa5a80
Backed out changeset 5e8625f91b68 (bug 1022612)
2014-07-15 10:30:07 +02:00
Robert O'Callahan
4f27c04989
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : ece245a6910b1be205adbfb4e684ff1ccc85f635
2014-06-23 16:21:42 +12:00
Mats Palmgren
8f40519109
Bug 1026641 - Put outline-style:auto rendering behind a pref and disable it by default. r=roc
2014-06-26 12:48:05 +00:00
Jonathan Watt
ef224664db
Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc
2014-06-20 07:42:30 +01:00
Brian Birtles
f4c56d0897
Bug 1025709 part 7 - Move HasAnimationOfProperty from ElementAnimations/ElementTransitions to base class; r=heycam
...
This patch moves HasAnimationOfProperty to CommonElementAnimationData. It also
takes the chance to start removing some redundancy from nsLayoutUtils
/ ActiveLayerTracker. Some of this should never have been added in the first
place and some could have been removed earlier on but while we're fixing up
HasAnimationOfProperty it seems like an appropriate time to fix up its call
sites too.
Also, since HasAnimationOrTransition actually returns an object, not a bool, we
this patch renames it to GetAnimationsOrTransitions.
2014-06-20 12:39:25 +09:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Simon Montagu
aaa4878ee5
Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame
2014-06-17 05:19:38 -07:00
Neil Deakin
5504409f46
Bug 994117, add method to check if an element has current animations, r=bbirtles
2014-06-16 14:43:04 -04:00
Morris Tseng
288b4d9f41
Bug 987718 - Part 1: Add FirstAndLastRectCollector to nsLayoutUtils; r=roc
2014-06-04 22:53:00 +02:00
Markus Stange
77db589b6c
Bug 1019737 - Only layerize the scrollbar thumb if the target scroll frame has active scrolling. r=roc
2014-06-04 14:44:26 +02:00
Botond Ballo
328066636f
Bug 1019766 - Avoid including gfxPrefs.h from nsLayoutUtils.h. r=kats
...
--HG--
extra : rebase_source : de931f7f1fae64e8f59ae923aaf07c2742f372e0
2014-06-03 14:13:05 -04:00
Phoebe Chang
0d6163380e
Bug 924692 - Part 2: Add TransformPoint and TransformRect to nsLayoutUtils; r=roc
2014-06-03 15:08:37 +08:00
Matt Woodrow
d78f4156e4
Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc
2014-05-29 09:43:39 +12:00
Botond Ballo
1897fda700
Bug 1016573 - Put logging of APZ test data behind a pref. r=kats
2014-05-29 12:51:28 -04:00
Mats Palmgren
273ad272f1
Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc
2014-05-24 22:20:39 +00:00
Botond Ballo
23c2012d1e
Bug 961289 - Client-side instance of APZ test data and utilities for writing to it. r=tn,kats
...
--HG--
extra : source : 1462852a44bee091ebf42d48d87e9c0e4acfac0b
2014-04-21 19:48:54 -04:00
Timothy Nikkel
e6fdc0c9f4
Bug 1000350. Don't overwrite a layout set display port base with an APZC-guessed one. r=kats
...
APZC set ones are only meant to fill in the gaps, use them only if we have nothing else.
2014-04-26 00:13:36 -05:00
Matt Woodrow
86b6375508
Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc
2014-04-17 17:29:52 +12:00
Carsten "Tomcat" Book
ba19928c26
Backed out changeset 20b75bf44c1e (bug 997014)
2014-04-17 08:43:43 +02:00
Matt Woodrow
09beb252fa
Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc
2014-04-17 17:29:52 +12:00
Robert O'Callahan
e7a73b2eb1
Bug 985303. Part 2: Add aSkipChildLists parameter to nsLayoutUtils::UnionChildOverflow. r=dbaron
...
--HG--
extra : rebase_source : 4ce840181d43b62d4488e6d4a3169ac1315e1dc7
2014-04-03 04:25:03 -04:00
Robert O'Callahan
d34ff747ee
Bug 972713. Part 1: Make all callers of GetAnimatedGeometryRootFor pass a display item so we can stop searching when we reach the item's reference frame. r=mattwoodrow
...
This guarantees that the animated geometry root for an item is always in the
same display list coordinate system as the frame.
--HG--
extra : rebase_source : 974434342459b76d62d89fdc04c22c518bf0c58b
2014-02-18 14:26:57 +13:00
Botond Ballo
ce19e926e0
Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
...
--HG--
extra : rebase_source : 6ceb20abb14f3e829ea06c3b3b911455cff9db23
2014-03-19 13:29:24 -04:00
Botond Ballo
567dc92376
Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
...
--HG--
extra : rebase_source : 95d6fb6992221c86800bc6322730729c083d75a3
2014-04-04 10:13:50 -04:00
Botond Ballo
c9be32eaee
Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
...
--HG--
extra : rebase_source : c23e9d3253991523f39d7437ab5f36172768813a
2014-04-04 10:13:30 -04:00
Botond Ballo
43b071d67b
Bug 982141 - Move CalculateRootCompositionSize to nsLayoutUtils and clean it up a bit. r=tn
...
--HG--
extra : rebase_source : e5b29f38d38f88d6a214bdd1e2e31354018ccadd
2014-04-04 10:13:09 -04:00
Ryan VanderMeulen
5dd9653c16
Backed out 6 changesets (bug 982141) for Windows and OSX bustage. CLOSED TREE
...
Backed out changeset 16540ab2d2cb (bug 982141)
Backed out changeset 2ad9ce9d904e (bug 982141)
Backed out changeset af219bb49c06 (bug 982141)
Backed out changeset ffe51d96e86e (bug 982141)
Backed out changeset 6642718ad3bb (bug 982141)
Backed out changeset 95b341d26f7b (bug 982141)
2014-04-10 15:27:42 -04:00
Botond Ballo
b3150ff987
Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
...
--HG--
extra : rebase_source : cecfe35b5407d6bbe1709eb0a2abf55ab8503c2d
2014-03-19 13:29:24 -04:00
Botond Ballo
6a92bc7987
Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
...
--HG--
extra : rebase_source : 7d8245831828d60df4fb6e20d98fd2b08d4e3857
2014-04-04 10:13:50 -04:00
Botond Ballo
8221d63904
Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
...
--HG--
extra : rebase_source : d651c8b224c31518816a29afc003ef5ac6ed7cc7
2014-04-04 10:13:30 -04:00
Botond Ballo
a6b09e199e
Bug 982141 - Move CalculateRootCompositionSize to nsLayoutUtils and clean it up a bit. r=tn
...
--HG--
extra : rebase_source : 8ffa71055b05836ce166b6b2c8c9896b6d08fdd5
2014-04-04 10:13:09 -04:00
L. David Baron
79c1dfbc4f
Bug 992324 patch 1 - Add a pref to disable interruptible reflow. r=bzbarsky
2014-04-09 21:47:58 -07:00
John Daggett
8174f98f22
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-04-08 14:13:28 +09:00
Chris Lord
6fbca10a4b
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Jonathan Watt
87ad440e7c
Bug 988818 - Stop creating a Thebes (gfxASurface) backed gfxContext in nsSVGImageFrame (Moz2D migration). r=longsonr
2014-03-31 12:53:54 +01:00
Timothy Nikkel
e7a6ca803f
Bug 957668. Set the display port base rect in several places. r=roc
2014-03-26 21:46:24 -04:00
Timothy Nikkel
7768128908
Bug 957668. Add and implement plumbing for a display port margins api. r=kats
2014-03-26 21:46:23 -04:00
Timothy Nikkel
fe24f84835
Bug 957668. Factor out a few helper functions. r=roc
2014-03-26 21:46:23 -04:00
Robert O'Callahan
0c395be75f
Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
...
--HG--
extra : rebase_source : 06e2c83a984d12fce29cd23b93dde54a2e05cf43
2013-09-20 22:21:03 +12:00
Ryan VanderMeulen
069bec6611
Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
...
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Robert O'Callahan
337e06fd00
Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
2013-09-20 22:21:03 +12:00
Carsten "Tomcat" Book
894f58f359
Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE
2014-03-20 10:00:24 +01:00
John Daggett
e0eba55dd1
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-03-20 14:43:29 +08:00
Markus Stange
da8c6a19ca
Bug 926292 - Put overlay scrollbars on top of the topmost positioned descendant of the scrolled frame. r=mats
2014-03-20 10:12:46 +08:00
Carsten "Tomcat" Book
b6ea0644a4
Backed out changeset 094decae8ff3 (bug 917755) for mochitest-1 bustage on a CLOSED TREE
2014-03-19 09:47:43 +01:00
Robert O'Callahan
0230d86ef2
Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
2013-09-20 22:21:03 +12:00
Robert O'Callahan
426b8737e5
Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
...
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
L. David Baron
1c6ed806fe
Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
69150cf2a4
Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow
2014-03-04 20:13:21 -08:00
Jerry Shih
cbf26b902d
Bug 972310 - Set a suitable layer size for css scale animation/transition. r=roc
2014-02-18 09:58:01 -05:00
Robert O'Callahan
648ec3e0c8
Backing out patches for bug 972713 (changesets b5486b9ed88c and 7829e535cdd7) due to Windows 8 test failure.
2014-02-18 22:48:18 +13:00
Robert O'Callahan
7b54370bdc
Bug 972713. Part 1: Make all callers of GetAnimatedGeometryRootFor pass a display item so we can stop searching when we reach the item's reference frame. r=mattwoodrow
...
This guarantees that the animated geometry root for an item is always in the
same display list coordinate system as the frame.
--HG--
extra : rebase_source : 249fd847a2c08f8d0846d698cce9dd4681e38a98
2014-02-18 14:26:57 +13:00
Robert O'Callahan
e7b62f6784
Bug 947588. Part 3: Map nsStyleText::mControlCharacterVisibility to TEXT_HIDE_CONTROL_CHARACTERS flag in nsTextFrame. r=jfkthame
...
Note that this is set up so any use of gfxTextRun outside of nsTextFrame
shows hexboxes for control characters.
--HG--
extra : rebase_source : 83335c85c4db4a6391f18924aad566b00fd6a66c
2014-02-05 23:16:23 +13:00
L. David Baron
d31701cad1
Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats
2014-02-06 17:45:33 -08:00
L. David Baron
82503f4eca
Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:31 -08:00
Alex Henrie
5b028ed455
Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron
2014-02-06 12:32:05 -07:00
Matt Woodrow
5ead3a7c0c
Bug 952011 - Remove some nsLayoutUtils transform functions that are no longer needed. r=roc
2014-02-04 12:25:22 +13:00
Robert O'Callahan
2a1134e322
Bug 946502. Part 3: Extend FrameLayerBuilder to set fixed-pos metadata on layers created for background-attachment:fixed content. r=mattwoodrow
...
--HG--
extra : rebase_source : dbaab718d7a358bfaa40124913bcd5acf0255aa1
2013-12-18 00:30:21 +13:00
Matt Woodrow
a3449e66b6
Bug 946952 - Run a 'compressed' paint up to 1 second after skipping the ColorLayer optimization. r=roc
2014-01-30 18:41:17 +13:00
James Kolb
6921e1c6c5
Bug 603488 part 1: Refactor nsLayoutUtils to expose imgIContainer. r=roc
...
--HG--
extra : rebase_source : bc0aacb752edcb28051f8dee78fc503c561dfadb
2014-01-13 13:29:48 +13:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Robert O'Callahan
2f559956a1
Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
...
--HG--
extra : rebase_source : 59ce23c3ab81afc624921e4543fe48dd7ae47ce2
2013-12-18 18:37:24 +13:00
Phil Ringnalda
d12a89d025
Back out f55504b0184f (bug 950427) for mochitest-4 and mochitest-oth bustage (at least)
...
CLOSED TREE
2013-12-17 23:22:20 -08:00
Robert O'Callahan
4e5e1fbf10
Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
2013-12-18 18:37:24 +13:00
Robert O'Callahan
182a8c2ebe
Bug 945634. The fixed-pos anchor point should be in the layer's coordinate system, whose 0,0 is the top-left of the fixed-pos frame. r=mattwoodrow
2013-12-13 01:33:02 +13:00
Emmanuele Bassi
5f3aef17a0
Bug 773296 - Part 1: Add a preference for CSS variables. r=dbaron
2013-12-12 13:09:40 +11:00
Benoit Girard
54c319677f
Bug 948531 - Layerize elements with transition or animation immediately. r=mattwoodrow
2013-12-11 15:48:06 -05:00
Ryan VanderMeulen
4b3380c3ec
Backed out changeset d8fb025ca7d2 (bug 948531) for suspicion of causing OSX 10.6 debug mochitest-5 orange.
...
CLOSED TREE
2013-12-11 18:47:03 -05:00
Benoit Girard
cb5a23fdc9
Bug 948531 - Layerize elements with transition or animation immediately. r=mattwoodrow
...
--HG--
extra : rebase_source : 06725514680d5041c547149f6ecd758061936a4e
2013-12-11 15:48:06 -05:00
Matt Woodrow
478e3354a1
Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob
2013-12-12 10:05:27 +13:00
Matt Woodrow
4bd8a376ba
Bug 948221 - Part 2: Remove SFE_WANT_NEW_SURFACE since it's never used. r=roc
2013-11-27 14:05:02 +13:00
Corey Ford
e7f4d9aa00
Bug 916302 - Part 1: Generalize nsLayoutUtils::GetAllInFlowRects to support other types of frame rects beyond border rects. r=dholbert
...
This adds extra bits for the aFlags parameter to GetAllInFlowRects and GetAllInFlowRectsUnion, removes BoxToRect::GetRectFromFrameFun, and also adds a few more rect-getting methods to nsIFrame.
2013-12-03 11:13:16 -08:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Simon Montagu
342f8fc7a7
Add support for unicode-bidi: -moz-plaintext in XUL. Bug 869833, r=roc
2013-11-18 17:24:16 +02:00
Robert O'Callahan
01aedc2359
Bug 919144. Part 10: Fold nsDisplayFixedPosition into nsDisplayStickyPosition. r=mattwoodrow
...
--HG--
extra : rebase_source : 597e2a178762509421a32d53be6242cd588c7995
2013-09-27 18:02:03 +12:00
Robert O'Callahan
94d3e5ce37
Bug 919144. Part 8: Delete lots of code that's no longer needed. r=mattwoodrow
...
I never liked nsDisplayListBuilder::IsFixedItem anyway, its behavior and
naming was confusing. Also, it assumed there's only one viewport displayport,
on the rootmost document, and that's a bad assumption in general.
We're able to remove calls to ForceVisiblityForFixedItem because FrameLayerBuilder
is now responsible for inflating the visible region of the fixed-pos layers.
--HG--
extra : rebase_source : e93d8e25d2f5c7f3e167e47203d961e6b4293b81
2013-09-27 18:01:16 +12:00
Robert O'Callahan
62bb8eb602
Bug 919144. Part 4: Create nsLayoutUtils::IsFixedPosFrameInDisplayPort. r=mats
...
--HG--
extra : rebase_source : a7b7179efd91838ec7205f7109182c78814d33c5
2013-09-27 18:01:11 +12:00
Robert O'Callahan
83346922bc
Bug 919144. part 3: The displayport out parameters to GetDisplayPort and GetCriticalDisplayPort are optional, so make them optional. r=mattwoodrow
...
--HG--
extra : rebase_source : 487f895279982c4b74fcd720c5c97381e46036d8
2013-09-27 17:57:20 +12:00
Robert O'Callahan
fd9ce678dc
Bug 919144. Part 1: Rename identifiers from 'active scroll(ed) root' to 'animated geometry root'. r=mattwoodrow
...
Also sneaks in a couple of other refactorings:
--HG--
extra : rebase_source : 8b0e0729f26231d98ed069b54dd4f7c1e51b10b5
2013-09-26 09:07:26 +12:00
Kartikaya Gupta
5a524e26f6
Bug 937843 - Make an argument to nsLayoutUtils::FindIDFor const. r=tn
2013-11-13 13:22:24 -05:00
Robert O'Callahan
50a8ed91e8
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
2013-09-04 23:30:57 +12:00
Phil Ringnalda
fb73812f4a
Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
...
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Robert O'Callahan
94564fbd20
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
...
--HG--
extra : rebase_source : b3ffe185686e38226e0979060a74669271e1c2d5
2013-09-04 23:30:57 +12:00
Mats Palmgren
4d866337f3
Bug 929991 - Put 'text-align: true X' support behind a preference (disabled by default). r=heycam
2013-10-27 20:56:32 +00:00
Robert O'Callahan
662b96cf0e
Bug 261037. Support scrolled fieldsets. r=mats
...
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Ed Morley
7e0379a38e
Backed out changeset ce20f4b16d56 (bug 261037) for reftest failures in 478811-1.html on a CLOSED TREE
2013-10-24 10:28:44 +01:00
Robert O'Callahan
71c26b9e54
Bug 261037. Support scrolled fieldsets. r=mats
...
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.
--HG--
extra : rebase_source : d737eebdc25b3b748a84de676d5e8e066505e00b
2013-10-23 00:46:40 +02:00
Ed Morley
45a4b4555f
Backed out changeset ffd9c7bbd2fe (bug 261037) for compilation failures in nsCSSFrameConstructor on a CLOSED TREE
2013-10-23 15:44:19 +01:00
Robert O'Callahan
c911ce58ef
Bug 261037. Support scrolled fieldsets. r=mats
...
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.
--HG--
extra : rebase_source : 6ca585f685965d3a538bde64ad4057c5fd7b538f
2013-10-23 00:46:40 +02:00
Olli Pettay
038e71d9f6
Bug 928403 - optimize nsFrameConstructorState::ProcessFrameInsertions, r=roc
...
--HG--
rename : testing/mochitest/b2g-debug.json => testing/mochitest/b2g.json
extra : rebase_source : c45d39f4b50f248b28a6ebfb50128084bb59ebe4
2013-10-22 15:06:01 +03:00
Birunthan Mohanathas
e3709383ec
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Cameron McCormack
b95c636898
Bug 921731 - Part 0: Add "layout.css.unset-value.enabled" pref. r=bzbarsky
2013-10-04 04:48:41 +10:00
Masayuki Nakano
5dbc2a60e4
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
a4221a463f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Robert O'Callahan
20613a55bc
Bug 916520. Rename nsClientRect(List) to mozilla::dom::DOMRect(List). r=khuey
...
--HG--
rename : content/html/content/src/nsClientRect.cpp => content/base/src/DOMRect.cpp
rename : content/html/content/src/nsClientRect.h => content/base/src/DOMRect.h
rename : dom/webidl/ClientRect.webidl => dom/webidl/DOMRect.webidl
rename : dom/webidl/ClientRectList.webidl => dom/webidl/DOMRectList.webidl
extra : rebase_source : ebe27ef21b38f7df5065f37b971508b740c8cf3c
2013-09-20 22:21:03 +12:00
Ehsan Akhgari
b155782d0a
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
77b5078c36
Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Ehsan Akhgari
290feb1ade
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
L. David Baron
d0255c650f
Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
...
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .
It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").
The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
Mats Palmgren
4974add798
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
Timothy Nikkel
84c603d990
Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats
2013-09-14 19:05:05 -05:00
Seth Fowler
7e052ef315
Bug 825771 (Part 3) - Add support for image-orientation to nsImageFrame. r=dholbert
2013-08-28 15:39:07 -07:00
Ehsan Akhgari
3b51534dbb
Bug 908746 - Move some macros from nsHTMLReflowState.h to nsIFrame.h so that we can stop #including nsHTMLReflowState.h in nsLayoutUtils.h; r=mats
2013-08-23 18:20:19 -04:00
David Zbarsky
4c5f4ab84f
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir
2013-08-23 13:56:20 -04:00
David Zbarsky
0135827acf
Backout c619171e0070 for windows assertion failure on a CLOSED TREE
2013-08-23 14:58:41 -04:00
David Zbarsky
fa0754f81a
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir
2013-08-23 13:56:20 -04:00
Ehsan Akhgari
2621b190f1
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Botond Ballo
4110c30f98
Bug 895905 - Eliminate some of the special handling of ROOT_SCROLL_ID. r=kats, r=tn
2013-08-08 15:56:08 -04:00
Botond Ballo
f3c2ea43d5
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Markus Stange
1213991850
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Corey Ford
479716c930
Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron
2013-07-30 21:01:06 -07:00
Ryan VanderMeulen
fd758076bd
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Kartikaya Gupta
b0a221b29b
Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow
2013-07-30 14:03:42 -04:00
Robert O'Callahan
f6a740f7f2
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
2013-07-26 14:31:41 +12:00
Carsten "Tomcat" Book
769cb44b6f
Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE
2013-07-26 09:25:03 +02:00
Robert O'Callahan
669a28a75c
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
...
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Max Vujovic
0bd2b965c3
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00
Timothy Nikkel
6abae243e0
Bug 837242. Part 3. Keep track of what area is exposed to events so that covered frames don't get events. r=roc
2013-07-30 11:22:46 -05:00
Ed Morley
ef5715c092
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
0117d6e2f8
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-23 10:47:16 -04:00
L. David Baron
d4d4c1d79b
Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc
2013-06-24 22:32:10 -07:00
Phil Ringnalda
3d0fc66442
Back out 2332bb3fe186:10f70b8b04fe (bug 858937) for warnings-as-errors bustage
...
CLOSED TREE
2013-06-24 23:42:05 -07:00
L. David Baron
4c0fbc2e27
Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc
2013-06-24 22:32:10 -07:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
David Zbarsky
68e5aca4a0
Bug 881121: Remove the 3d-transforms-enabled pref because it is always enabled and has been for a while r=dbaron
2013-06-22 13:35:09 -07:00
Joe Drew
61c33db353
Bug 881459 - Don't include nsView.h from nsLayoutUtils.h r=jrmuizel
2013-06-10 17:00:00 -04:00
Joe Drew
46f4aef1d0
Bug 867770 - Add a pref as to whether we layerize animated images, disabled by default. r=mattwoodrow
2013-05-30 21:33:17 -04:00
Matt Woodrow
4fdd054ad4
Bug 877516 - Add MOZ_DUMP_INVALIDATION to enable invalidation logging. r=roc
2013-05-30 14:43:43 +12:00
Markus Stange
08702570d3
Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow
2013-05-23 16:49:18 +02:00
David Zbarsky
c2366b46a1
[Bug 875204] Merge OMTA prefs r=nrc
2013-05-23 15:09:26 +08:00
David Zbarsky
a113dee00c
Bug 874770 - Always enable OMTA throttling r=nrc
2013-05-22 18:31:03 +08:00
David Zbarsky
2dbc8290e2
Bug 873309 - Remove unused GetAllInFlowPaddingRects(Union) function r=roc
2013-05-16 17:46:10 -07:00
Jonathan Watt
ab3b6bcd32
Bug 870816 - Replace DEBUG_INVALIDATIONS with a pref called nglayout.debug.invalidation. r=mattwoodrow
2013-05-14 00:47:02 +01:00
Daniel Holbert
60802c6412
Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats
2013-04-11 07:49:53 -07:00
Robert O'Callahan
8efacba3aa
Bug 841192. Part 12: Move RoundedRectIntersectsRect from nsDisplayList.cpp to nsLayoutUtils. r=mattwoodrow
...
--HG--
extra : rebase_source : aa0ad96c363b70895b068a6d4805f9164cc03b27
2013-03-07 00:08:15 +13:00
Andrea Marchesini
a7e3b326ad
Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
...
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Ms2ger
371e929457
Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz
2013-03-17 08:55:16 +01:00
Seth Fowler
c9f0633db1
Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz
2013-02-28 12:22:43 -08:00
Cameron McCormack
56be0350f9
Bug 655877 - Part 41b: Make SVG text selectable with the mouse. r=roc,jwatt
2013-02-11 17:22:18 +11:00
Robert O'Callahan
880b2eeee8
Bug 833542. Make scrollWidth/scrollHeight for overflow:visible match what they would be for overflow:hidden on the same element. r=mats
...
--HG--
extra : rebase_source : 42d1018cf48caf1eec4bc9251ec1cb3eee30001b
2013-01-29 14:38:22 +13:00
Matt Woodrow
c4cfe33e02
Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc
2013-01-17 11:59:23 +13:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Ehsan Akhgari
100ae41c83
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari
4222259458
Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
...
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
c0e76d61c8
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Robert O'Callahan
943cb99eff
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Ehsan Akhgari
4f58470032
Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky
...
--HG--
rename : content/html/content/src/nsHTMLImageElement.cpp => content/html/content/src/HTMLImageElement.cpp
rename : content/html/content/src/nsHTMLImageElement.h => content/html/content/src/HTMLImageElement.h
2012-12-31 12:25:46 -05:00
Nicholas Cameron
97c1204501
Bug 822231; use the maximum scale for animated scaling. r=roc
2012-12-21 16:58:17 -05:00
Matt Woodrow
b8c6a8736d
Bug 820131 - Compute a more accurate bounds for nsDisplayBoxShadowOuter. r=roc
2012-12-12 09:36:54 +13:00
Daniel Holbert
ac2408469f
Bug 813358 part 5: Add a post-condition to SortFrameList() to assert that it's actually sorted. r=dbaron
2012-11-30 15:25:33 -08:00
Daniel Holbert
d4f453adde
Bug 813358 part 4: Move frame-sorting logic from nsBoxFrame to nsLayoutUtils. r=dbaron
2012-11-30 15:25:33 -08:00