Nicholas Nethercote
56767a7167
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Robert O'Callahan
fb6541792a
Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats
2011-12-20 14:31:20 +13:00
Markus Stange
105bef8583
Bug 636564 - Make scroll frames deal correctly with scrollbars that overlay content. r=roc
2011-12-20 13:30:14 +01:00
Robert O'Callahan
f0e8959d30
Backed out changeset 4a81c89bb466 for bug 697215
2011-12-20 16:03:45 +13:00
Robert O'Callahan
4cc46e0f9f
Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats
2011-12-20 14:31:20 +13:00
Robert O'Callahan
ad1cf4eefc
Backed out changeset 026ec6345ae3 for bug 697215
2011-12-18 23:01:43 +13:00
Robert O'Callahan
41261d0f5e
Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats
2011-12-18 21:47:00 +13:00
Robert O'Callahan
854ef91454
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-12-06 01:38:46 +13:00
Brad Lassey
8d2f605b6d
Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange
2011-11-30 22:59:00 -05:00
Robert O'Callahan
a86c192475
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-11-30 21:14:26 -05:00
L. David Baron
abb8d1c39a
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
8a0b72332d
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
e285f8195b
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Robert O'Callahan
ac9ee51054
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
2a602a5685
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
82c43f09d4
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
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Masayuki Nakano
d9869bfccf
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Mats Palmgren
6894179e71
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
f06792a6ef
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
e7cc82ef30
Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz
2011-08-18 12:07:43 +02:00
L. David Baron
2c717f398d
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
2c93649c0e
Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
...
--HG--
extra : rebase_source : f0f11de318a050a1121669daaa5056089a5258b7
2011-08-12 10:44:29 +12:00
Michael Wu
2bee25de63
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
f6bd0911ea
Bug 670148, remove nsIScrollbarFrame, r=roc
2011-07-11 10:05:09 -04:00
Craig Topper
43c8429d0c
Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
...
--HG--
extra : rebase_source : b828e73151ceb8cb59e1d8f7c0671dc88397057c
2011-04-28 22:02:16 -07:00
Ed Morley
af1d9c6c2b
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
a0cb0b9295
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
608b301129
Bug 656041 Some parts of page scroll at different rates in Fennec r=roc
2011-06-14 09:20:29 -07:00
Jonas Sicking
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Masayuki Nakano
f96e0ef619
Bug 663041 layout should use mozilla::Preferences r=roc
2011-06-12 11:30:16 +09:00
Robert O'Callahan
e59d6c5b6a
Bug 646757. Don't construct useless nsDisplayOwnLayers. r=tnikkel
2011-05-31 11:12:06 +12:00
Ed Morley
9e71e5b9ac
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Boris Zbarsky
447ee74d8c
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
1c80f2b928
Bug 640048 Crash fix: build nsDisplayScrollLayer with a non-null frame r=roc
2011-05-01 18:53:58 -07:00
Benjamin Stover
5eedd38c01
Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc
2011-05-01 18:53:01 -07:00
Mark Finkle
03e5a556ee
Backed out changeset c7f62d818af2. Causes content crashes Bug 653889
2011-04-30 00:01:29 -04:00
Benjamin Stover
95028ef26c
Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc
2011-04-29 10:15:44 -07:00
Zack Weinberg
668fa81e1d
Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Robert O'Callahan
c957ae039e
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
52c99aabb7
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Jan Küchler
5ef6bf26cf
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Benjamin Stover
0b354a3d72
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
3dc5b1f7a2
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
L. David Baron
ad4318958b
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
...
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Simon Montagu
092b78d138
Make mRestorePos a logical position and convert to physical position when scrolling. Bug 638753, r=dbaron
2011-03-28 08:37:57 +02:00