L. David Baron
9c95c3d00a
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
Jonathan Watt
276bdfa251
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Robert O'Callahan
c3fc64265d
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Robert O'Callahan
5371090a4f
Bug 681867. text-overflow only needs to affect the scrolling behavior of the block container with text-overflow. r=mats
2011-10-21 14:41:36 +13:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Ehsan Akhgari
d406d037ea
Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky
2011-05-11 19:53:34 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Masayuki Nakano
249d3a0682
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Mats Palmgren
4e2a044a66
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
1bfd788e19
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Matheus Kerschbaum
ed58778bc4
Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz
2011-08-18 12:07:43 +02:00
L. David Baron
174de8408b
Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
...
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Robert O'Callahan
fba24be349
Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
2011-08-12 10:44:29 +12:00
Michael Wu
36ddc64428
Bug 675561 - Calls to GetMetric should pass a pointer to PRInt32, not PRBool, r=roc
2011-08-01 18:20:52 -07:00
Neil Deakin
c0b96a4881
Bug 670148, remove nsIScrollbarFrame, r=roc
2011-07-11 10:05:09 -04:00
Craig Topper
712ccf8d76
Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
2011-04-28 22:02:16 -07:00
Ed Morley
e02f78569a
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Robert O'Callahan
b200901df5
Bug 637852. Part 20: Allow fast scrolling within transformed content. r=tnikkel
...
This lets us easily test scrolling with non-identity resolution.
2011-06-23 00:11:28 +12:00
Benjamin Stover
2b9c76ae49
Bug 656041 Some parts of page scroll at different rates in Fennec r=roc
2011-06-14 09:20:29 -07:00
Jonas Sicking
572a8d4beb
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Masayuki Nakano
7d44d9ec0e
Bug 663041 layout should use mozilla::Preferences r=roc
2011-06-12 11:30:16 +09:00
Robert O'Callahan
cc1bd0fc81
Bug 646757. Don't construct useless nsDisplayOwnLayers. r=tnikkel
2011-05-31 11:12:06 +12:00
Ed Morley
6e443492c7
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Boris Zbarsky
68f710c38c
Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc
2011-05-06 16:04:44 -04:00
Benjamin Stover
ce7e8e00ab
Bug 640048 Crash fix: build nsDisplayScrollLayer with a non-null frame r=roc
2011-05-01 18:53:58 -07:00
Benjamin Stover
b99501404f
Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc
2011-05-01 18:53:01 -07:00
Mark Finkle
f71817d719
Backed out changeset c7f62d818af2. Causes content crashes Bug 653889
2011-04-30 00:01:29 -04:00
Benjamin Stover
9745be065b
Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc
2011-04-29 10:15:44 -07:00
Zack Weinberg
c4b8c90e93
Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
2011-04-16 18:22:44 -07:00
Robert O'Callahan
3bb8bad7c2
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Zack Weinberg
12c96408b6
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
63aa6196ff
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
2da91ac5cb
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Benjamin Stover
1afceffdba
Bug 649666 Do not create container layers for scrollboxes with (0, 0) scrollRange r=roc
2011-04-13 10:45:00 -07:00
Benjamin Stover
391b29603a
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
L. David Baron
65f8b0ff82
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
07e82cce99
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
c7266b6d40
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
2011-04-06 21:59:25 -07:00
Simon Montagu
9f1e09e3bf
Make mRestorePos a logical position and convert to physical position when scrolling. Bug 638753, r=dbaron
2011-03-28 08:37:57 +02:00
Markus Stange
2acc132027
Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc
2011-03-26 00:30:19 -04:00
Benjamin Stover
b4dce29dab
Bug 643164 Fire MozScrollAreaChanged before "load", not after r=roc
2011-03-24 10:41:23 -07:00
L. David Baron
7a3dbc1145
Merge layout work from projects/birch, part 1. a=bsmedberg
2011-03-23 12:36:08 -07:00
L. David Baron
f5eecf1ee5
Fix nsXULScrollFrame parameter names that are named incorrectly and fix inconsistencies between .h and .cpp. (Bug 636307) r=ehsan
2011-03-03 13:18:42 -08:00
Benjamin Stover
85580500c5
Bug 642205 Followup: workaround for Android compiler bug r=tnikkel a=blocking-fennec CLOSED TREE
2011-03-17 15:48:47 -07:00
Benjamin Stover
53b1ec1805
Bug 642205 Followup: Remove bogus assertion r=roc a=followup-for-blocking-fennec
2011-03-16 14:17:25 -07:00
Benjamin Stover
1e182c323a
Bug 642205 Do not build layers for asynchronous scrolling if element shouldn't be scrollable r=tn a=blocking-fennec
2011-03-16 13:18:35 -07:00
Benjamin Stover
c0342ad015
Bug 618975 Follow-up: Fix for non-IPC builds and remove warning r=blassey a=fix-comm-builds
2011-03-15 18:58:28 -07:00
Benjamin Stover
04d277e98e
Bug 618975 Followup: bitrot and remove mDisplayport from nsDisplayScrollLayer r=cjones r=tn a=blocking-fennec
2011-03-09 13:35:27 -08:00
Benjamin Stover
b5ddf84f48
Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec
2011-03-15 16:20:19 -07:00