Brian Birtles
d1acd4f706
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
7852c7f1b9
Bug 1046055 part 1 - Remove nsPresContext parameter from nsLayoutUtils::HasCurrentAnimations; r=dbaron
2014-10-02 15:14:13 +09:00
Dirk Schulze
c3c99dcc17
Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam
2014-09-28 01:56:00 +02:00
Markus Stange
a15e939a69
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
2014-09-26 13:06:08 -04:00
Kartikaya Gupta
478070128a
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
f5f9b2364a
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
c10012f9f8
Bug 1065244 - Part 1 - Add GetRectRelativeToFrame to nsLayoutUtils. f=mtseng, r=roc
2014-09-15 17:07:00 +02:00
Daniel Holbert
d4b86d121d
(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
cab702dd37
Bug 932771, part 2 - Add an inline nsLayoutUtils::PointToGfxPoint helper method. r=longsonr
2014-08-19 22:17:49 +01:00
Jonathan Kew
24f8dcfb05
bug 1046950 pt 4 - convert ComputeSizeWithIntrinsicDimensions to logical-coord parameters. r=smontagu
2014-08-24 15:34:57 +01:00
Seth Fowler
c25a32c077
Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
2014-08-22 13:12:38 -07:00
David Zbarsky
a219682afb
Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical
2014-08-22 09:40:02 -04:00
Matt Woodrow
3e4fdd6a6f
Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
2014-08-22 12:16:44 +12:00
Susanna Bowen
3c4a808a0e
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
17f80c37f2
Bug 1048246 - Fix more bad implicit constructors in layout; r=roc
2014-08-07 19:48:38 -04:00
Matt Woodrow
38a3e36018
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
094f2ddc1c
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
fff3e88ace
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
f6c74bf220
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
fe8090d7de
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
711a2298a4
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
c7e5b8d9dc
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
f651a81cb8
Bug 1031107 - Part 1: Fix DoLogTestDataForPaint when using temporary layer managers. r=kats
2014-07-24 15:10:05 +12:00
Botond Ballo
78ecf1b711
Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow
2014-07-22 18:05:13 -04:00
Matt Woodrow
840f46c628
Bug 1041894 - Make FindOpaqueBackgroundColorFor check the DisplayItemClip of items before selecting them. r=roc
2014-07-23 18:12:08 +12:00
Seth Fowler
44de1fba72
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
656b330e24
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
2014-06-23 16:21:42 +12:00
Ryan VanderMeulen
c55b45acd3
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
e50dbb3d2e
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
2014-06-23 16:21:42 +12:00
Carsten "Tomcat" Book
803075e5c7
Backed out changeset 5e8625f91b68 (bug 1022612)
2014-07-15 10:30:07 +02:00
Robert O'Callahan
5b53bea7da
Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
2014-06-23 16:21:42 +12:00
Mats Palmgren
5af8e6d9d0
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
f2402e81bb
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
8529f3f41d
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
aa6d74fac6
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Simon Montagu
614fa9614f
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
b0cd491c4e
Bug 994117, add method to check if an element has current animations, r=bbirtles
2014-06-16 14:43:04 -04:00
Morris Tseng
51f85d016a
Bug 987718 - Part 1: Add FirstAndLastRectCollector to nsLayoutUtils; r=roc
2014-06-04 22:53:00 +02:00
Markus Stange
41ca71f4d4
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
82b8c35977
Bug 1019766 - Avoid including gfxPrefs.h from nsLayoutUtils.h. r=kats
2014-06-03 14:13:05 -04:00
Phoebe Chang
9aa15509c3
Bug 924692 - Part 2: Add TransformPoint and TransformRect to nsLayoutUtils; r=roc
2014-06-03 15:08:37 +08:00
Matt Woodrow
e096ef5d0b
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
b6f7630a59
Bug 1016573 - Put logging of APZ test data behind a pref. r=kats
2014-05-29 12:51:28 -04:00
Mats Palmgren
93a6cff703
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
71b9348946
Bug 961289 - Client-side instance of APZ test data and utilities for writing to it. r=tn,kats
2014-04-21 19:48:54 -04:00
Timothy Nikkel
f345232e7f
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
d3af05e083
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
002c546e89
Backed out changeset 20b75bf44c1e (bug 997014)
2014-04-17 08:43:43 +02:00
Matt Woodrow
f14e46f488
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
de04b64b23
Bug 985303. Part 2: Add aSkipChildLists parameter to nsLayoutUtils::UnionChildOverflow. r=dbaron
2014-04-03 04:25:03 -04:00