Jonathan Kew
423a0e9db5
bug 1046950 pt 3 - convert ComputeAutoSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:51 +01:00
Jonathan Kew
670778f5d9
bug 1046950 pt 2 - convert ComputeSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:44 +01: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
Seth Fowler
2f65aa85f3
Bug 1024454 (Part 1) - Eagerly propagate dirty bits so absolute children of table parts get reflowed reliably. r=dbaron
2014-08-20 17:48:56 -07:00
Robert O'Callahan
2632a625e0
Bug 1048752. Part 19: Create nsCaret::GetPaintGeometry to call during painting. r=tn
...
This is the start of the changes to caret-drawing proper.
The idea is to combine GetCaretFrame and GetCaretRect into a method
GetPaintGeometry which looks like GetGeometry but returns values
needed for painting (i.e. including bidi decorations, and returning
a null frame if we're not supposed to paint due to specific caret
state, e.g. in the "off" phase of the blink cycle).
Mostly a straightforward refactoring but there are a few interesting changes:
-- nsDisplayCaret stores its bounds instead of getting them from nsCaret on
demand. Eventually those bounds will not be stored in nsCaret at all.
-- nsDisplayCaret::GetBounds returns true for aSnap. nsCaret draws snapped
rects, so why not.
-- I removed "if (caretRect.Intersects(aDirtyRect))" in EnterPresShell.
As far as I can tell, this check is incorrect because it doesn't take
transforms into account. Since there's at most one drawn caret per window,
hence we do this at most once per paint, I don't think there's any real
performance advantage to having this check.
2014-08-06 17:19:28 +12:00
Robert O'Callahan
6fb18233c7
Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
...
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
2014-08-06 17:19:27 +12:00
Robert O'Callahan
fd3142fe95
Bug 1048752. Part 10: Remove FrameLayerBuilder.h from nsDisplayList.h. r=tn
...
I was inspired by the previous patch to remove FrameLayerBuilder.h from
nsDisplayList.h too.
2014-08-06 17:19:25 +12:00
L. David Baron
1cd6daa5f2
Bug 625289 patch 6 - Store style contexts being reframed in the ReframingStyleContexts struct. r=heycam
2014-08-13 15:39:01 -07:00
Markus Stange
86ffb75a84
Backed out changeset 411a075b3624 (bug 987030) because it probably caused timeouts of browser_tabview_expander.js. CLOSED TREE
2014-08-08 18:05:40 +02:00
Markus Stange
1ca8b0f458
Bug 987030 - Fix compressed paint timer scheduling. r=roc
2014-08-08 12:46:50 +02:00
Daniel Holbert
14a5e3d758
Bug 1032922 part 2: Rename flex-basis's "auto" keyword to "main-size" (but retain "flex:auto" as shorthand for "1 1 main-size"). r=heycam
2014-08-07 22:11:48 -07:00
Timothy Nikkel
34b910ac3f
Bug 1042772. Update the reference frame and current frame offset when moving to outside a transform so that we can use the correct offset to compute the initial visible rect for wrap list display items. r=roc
...
* * *
The current reference frame is still the same as our reference frame because we set and restore it in nsFrame::BuildDisplayListForChild before this. So we need to actually compute it.
2014-08-07 11:33:18 -05:00
Timothy Nikkel
046bb31bb3
Bug 1042772. offsetToReferenceFrame is always zero when we use it. Remove it. r=mattwoodrow
2014-08-07 11:33:16 -05:00
Timothy Nikkel
545c8a75e5
Bug 1042772. Set the dirty rect relative to the current frame, not the reference frame. r=roc
...
The offsetToReferenceFrame is to the reference frame for this, since we are transformed we are the reference frame, so the offset was 0,0. So the computation still produced correct results.
2014-08-07 11:33:14 -05:00
Morris Tseng
9bfbe4bd2f
Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc
2014-08-04 00:26:00 -04:00
Masayuki Nakano
aef16cc9e8
Bug 1046101 part.18 Rename NS_TOUCH_EVENT to eTouchEventClass r=smaug
2014-08-04 14:28:53 +09:00
Masayuki Nakano
a2b2e249bb
Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug
2014-08-04 14:28:50 +09:00
Masayuki Nakano
5dac7e446a
Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug
2014-08-04 14:28:46 +09: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
Simon Montagu
659c93475e
Bug 789096 patch 10: make Reflow set nsHTMLReflowMetrics.ISize and BSize instead of Width and Height. r=jfkthame
2014-07-24 01:30:07 -07:00
Simon Montagu
0132cc9646
Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame
2014-07-24 01:28:46 -07:00
Susanna Bowen
3df1d81881
Bug 1021952 - Ensure that direct children of ruby elements are inline. r=bz
2014-07-22 19:08:13 -07:00
Susanna Bowen
2f81b02ca1
Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz
2014-07-22 19:08:01 -07:00
Daniel Holbert
92f07f8df2
Bug 984711 part 3: Add back handling for nsStylePosition::mMinWidth having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
...
This reverts changeset f8b5090d02e5 from bug 848539.
2014-07-22 08:24:34 -07:00
Kartikaya Gupta
e480e44f68
Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas
2014-07-22 09:12:14 -04:00
Robert O'Callahan
c7e0f6c823
Bug 1039454. Remove InitialOverflowProperty when it no longer applies. r=mats
2014-07-22 01:57:46 +12:00
Robert O'Callahan
e04f331b6b
Bug 1022612. Part 44: Make nsSimplePageSequence only paint the pages that are actually in the dirty rect. r=mattwoodrow
2014-07-17 15:39:39 +12:00
Robert O'Callahan
7fcc07cc51
Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
...
This hasn't been used for a while I guess.
2014-06-23 16:24:14 +12:00
Robert O'Callahan
d2cef0c3fe
Bug 1022612. Part 15: Add nsDisplayItem::GetVisibleRectForChildren(). r=mattwoodrow
2014-07-15 23:47:46 +12:00
Robert O'Callahan
98a34f7e6c
Bug 1022612. Part 4: Track current dirty rect in nsDisplayListBuilder. r=mattwoodrow
...
We need this to set the initial visible rect during display list construction.
Eventually we'll also be able to get rid of the dirty rect parameter to
nsIFrame::BuildDisplayList.
2014-05-20 15:59:14 +12:00
Robert O'Callahan
9ad84ab1c1
Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
2014-05-20 15:08:18 +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
bc089ccf6a
Bug 1022612. Part 44: Make nsSimplePageSequence only paint the pages that are actually in the dirty rect. r=mattwoodrow
2014-07-17 15:39:39 +12:00
Robert O'Callahan
81083650bc
Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
...
This hasn't been used for a while I guess.
2014-06-23 16:24:14 +12:00
Robert O'Callahan
6b6fdc241b
Bug 1022612. Part 15: Add nsDisplayItem::GetVisibleRectForChildren(). r=mattwoodrow
2014-07-15 23:47:46 +12:00
Robert O'Callahan
d261682fdc
Bug 1022612. Part 4: Track current dirty rect in nsDisplayListBuilder. r=mattwoodrow
...
We need this to set the initial visible rect during display list construction.
Eventually we'll also be able to get rid of the dirty rect parameter to
nsIFrame::BuildDisplayList.
2014-05-20 15:59:14 +12:00
Robert O'Callahan
a9c5a17f43
Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
2014-05-20 15:08:18 +12:00
Olli Pettay
cecbb7892d
backout Bug 378775 because of several regressions, r=backout
2014-07-17 13:27:27 +03:00
Carsten "Tomcat" Book
13ff0aab7c
Backed out changeset e5bacdd4594c (bug 1022612) for bustage on a CLOSED TREE
2014-07-15 10:31:12 +02:00
Carsten "Tomcat" Book
de469e03e4
Backed out changeset cdaa916f6851 (bug 1022612)
2014-07-15 10:30:47 +02:00
Carsten "Tomcat" Book
f134b4bdc4
Backed out changeset 7e9751c1302a (bug 1022612)
2014-07-15 10:30:01 +02:00
Robert O'Callahan
e229b7ed64
Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
...
This hasn't been used for a while I guess.
2014-06-23 16:24:14 +12:00
Robert O'Callahan
cfd7d519af
Bug 1022612. Part 4: Track current dirty rect in nsDisplayListBuilder. r=mattwoodrow
...
We need this to set the initial visible rect during display list construction.
Eventually we'll also be able to get rid of the dirty rect parameter to
nsIFrame::BuildDisplayList.
2014-05-20 15:59:14 +12:00
Robert O'Callahan
93ca49ba80
Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
2014-05-20 15:08:18 +12:00
Mats Palmgren
448d188154
Bug 1031726 - Implement clip:rect() correctly when fragments are involved, for both box-decoration-break:slice/clone. r=roc
2014-07-04 11:48:15 +00:00
Kestrel
313d20de56
Bug 378775 - Implement Opera's behavior for selecting text inside of a link and link drag and drop. r=Enn
2014-07-03 04:26:00 -04:00
Wes Kocher
940830c94f
Backed out changeset bcab7bc926c5 (bug 1031726) for b2g emulator reftest-6 bustage on a CLOSED TREE
2014-07-01 14:19:57 -07:00