Ehsan Akhgari
5df21bd1f7
Bug 699353 - Don't attempt to paint the caret if the offset for the frame is invalid; r=roc; r=roc
2012-01-26 16:40:25 -05:00
L. David Baron
c6e45feee7
Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
...
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
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
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
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
b061a3b392
Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc
2011-08-20 22:41:39 +02:00
Mats Palmgren
c12d6a33ea
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Masayuki Nakano
ccc2f5b479
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Craig Topper
2d3a050e8b
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Ms2ger
f640c3ab8a
Bug 657160 - Remove NS_NewCaret; r=ehsan,roc
2011-05-15 12:17:09 +02:00
Zack Weinberg
145a79dd39
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
2011-04-16 18:22:41 -07:00
Robert O'Callahan
bb51b2359c
Bug 641426. Part 6: Rename Empty to SetEmpty. r=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
2da91ac5cb
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
e93c385aef
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -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
ba9f6aab19
Bug 577914 mark DEBUG only variables as ifdef DEBUG in layout
...
r=dbaron
2010-07-11 15:47:45 +03:00
Ehsan Akhgari
6476a19b9a
Bug 632215 - Make the caret ignore -moz-user-modify if we ask it to immediately, instead of waiting for the next caret paint timer; r=roc a=blocking-final+
2011-02-10 16:12:53 -05:00
ae5662c17e
Bug 615256 warning: 'PRBool FramesOnSameLineHaveZeroHeight(nsIFrame*)' defined but not used; r=mats a=ehsan landing on a CLOSED TREE instead of a white-space change to get a Windows debug X test run
2010-11-30 00:00:38 -05:00
Timothy Nikkel
dc59fe3a05
Bug 607857. If caret is in a frame that needs reflow we can wrongly position the caret rect. r=roc a=blocking-final
2010-11-24 19:35:01 -06:00
Timothy Nikkel
a413af58d3
Bug 606432. Check caret content for wrong document. r=roc a=roc
2010-11-24 19:35:01 -06:00
Ehsan Akhgari
7c4aad57b4
Bug 613433 - Invalid caret position on facebook's status textbox (styled with min-height and overflow-x or overflow-y); r=roc a=blocking-final+
2010-11-22 03:13:37 -05:00
Ehsan Akhgari
01ed93b1a6
Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+
2010-08-31 14:54:44 -04:00
L. David Baron
77b20c65b1
Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:47 -07:00
Ehsan Akhgari
46b3144105
Bug 593211 - Part 2: Back out bug 581585 r,a=roc
2010-09-08 20:15:24 -04:00
Ehsan Akhgari
5a119f8cf2
Bug 593211 - Part 1: Back out the code parts of bug 585922 r,a=roc
2010-09-08 20:15:24 -04:00
Ehsan Akhgari
9c5c8d4169
Bug 585922 - Text cursor doesn't follow character input for passwords (encrypted phrases) r=roc a=blocking-fennec2.0b1+
2010-08-23 20:49:15 -07:00
Ehsan Akhgari
2097ee8d96
Bug 581585 - Cache the frame for caret; r=roc approval2.0=dbaron
2010-07-26 20:05:14 -04:00
Masayuki Nakano
af51af1a23
Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc
2010-04-01 11:35:48 +09:00
Masayuki Nakano
088a5ea83d
Bug 554822 backout the previous patch
2010-04-01 02:31:06 +09:00
Masayuki Nakano
8efd003cb0
Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc
2010-04-01 02:12:43 +09:00
Craig Topper
3b09030026
Bug 253889: DeCOMtaminate nsIPresShell - IsPaintingSuppressed(). r=roc
2010-03-31 08:43:49 -04:00
Kyle Huey
597c98dfbe
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
4976501bfc
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Mats Palmgren
05fd5110eb
Bug 544852, part 4: Add nsCaret::GetGeometryForFrame. r=roc
2010-03-14 23:56:26 +01:00
Mats Palmgren
3e4490c16a
Bug 544852, part 3: Merge UpdateHookRect into UpdateCaretRects. r=roc
2010-03-14 23:54:11 +01:00
Mats Palmgren
93d54c91d5
Bug 544852, part 2: Use nsCaret::GetGeometry. r=roc
2010-03-14 23:52:45 +01:00
Mats Palmgren
1bcfba098e
Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc
2010-03-14 23:52:07 +01:00
Robert O'Callahan
952d56b5a4
Bug 539323. Position the caret at the content-edge of its container frame, not the border-edge. r=mats
2010-03-05 11:52:59 +13:00
Mats Palmgren
1daab4a3d5
Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc
2010-01-26 14:10:12 +01:00
Robert O'Callahan
f09c34aa56
Bug 526394. Part 24: Create sane nsCaret::GetGeometry API to obsolete nsCaret::GetCaretCoordinates. r=mats
2010-01-12 10:45:16 +13:00
Robert O'Callahan
57e60bb36c
Bug 526394. Part 20: Convert more code in caret and docshell. r=mats
2009-09-09 17:40:02 +12:00
Mats Palmgren
33a7f012d0
Flag nsCaret::mPendingDraw if the on-cycle draw was suppressed; update the caret when the pres shell tells us that painting is unsuppressed. b=520720 r=roc
2009-10-16 12:55:32 +02:00
Mats Palmgren
eebbcb2a28
Adjust the caret y-position for zero-height inlines. b=503531 r=roc
2009-09-29 23:07:05 +02:00
Mats Palmgren
f82eedba5a
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Robert O'Callahan
93cfd1a6bb
Bug 352093. Part 8: Fix view returned for eToplevelWindowCoordinates. r=bzbarsky
2009-07-22 12:45:07 +12:00
Peter Van der Beken
cc89b6b97b
Fix for bug 308736 (Caret is invisible when entering an empty designmode field.). r/sr=roc.
2009-06-19 18:31:49 +02:00
Robert O'Callahan
56179088c4
Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
2009-02-24 21:25:25 +13:00