Commit Graph

716 Commits

Author SHA1 Message Date
Robert O'Callahan
fffc1d9a6f bug 563864. Add mozPaintCount API. r=smaug,sr=vlad 2010-05-13 12:56:08 +12:00
Boris Zbarsky
cd27fc6a1c Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Jonas Sicking
fb38b1cb38 Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
Boris Zbarsky
b799eebaa2 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
timeless
d8effcff7f Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
timeless
21cb9c6c41 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Dave Townsend
539da9e285 Bug 544277: Cannot build layout with MOZ_MEDIA disabled. r=enn, a=#developers 2010-04-25 12:52:23 -07:00
Masayuki Nakano
b2b8aa83f0 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Felipe Gomes
c8e1ff9545 Bug 489127 - nodesFromRect required for better usability on mobile devices (part 3) [r=roc] 2010-04-07 20:31:26 -04:00
Ehren Metcalfe
97778d4898 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
21c8a7d37e Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
Jim Mathies
8c8936251b Backout bug 555133 to fix bug 555950. 2010-03-31 12:55:41 -05:00
Rob Arnold
c7ca6abab2 Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad 2010-03-29 15:24:40 -04:00
Robert O'Callahan
a81de51fc9 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Rob Arnold
3b41952769 Bug 450767 - Don't necessarily apply Aero Glass to the entire window r=jimm sr=roc 2010-03-17 18:56:00 -04:00
Masayuki Nakano
9e06f05e0c Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst 2010-03-19 14:02:53 +09:00
Robert O'Callahan
59be91d188 Bug 538323. Part 2: use ImageLayers to render video. r=kinetik 2010-03-02 12:41:49 +13:00
Robert O'Callahan
317aaf89b2 Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats 2010-03-02 12:08:28 +13:00
Michael Ventnor
de43c1d4fb Bug 542361 - Fix and remove the GetUsedX assertions r=roc 2010-03-02 11:57:43 +10:00
Robert O'Callahan
cd4f7a9513 Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Jonathan Kew
6fc148747f Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Dão Gottwald
10746ba961 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
1a73409a07 Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Robert O'Callahan
6c5d58e5a6 Bug 539354. When scrolling an area that was partially outside the window into view, make sure we invalidate the destination area on Mac. r=mstange 2010-02-02 12:16:09 +13:00
Mats Palmgren
d8f4dcf17b Clamp the result to the valid nscoord range. b=541869 r=roc 2010-01-27 09:35:41 +01:00
Robert O'Callahan
1500f77fe1 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Robert O'Callahan
373a066622 Backed out changeset 636a1f8ef224 2010-01-14 17:59:22 +13:00
Robert O'Callahan
b9e1d4727c Bug 536524. Avoid overlong paths by normalizing. r=bsmedberg 2010-01-14 15:30:05 +13:00
Robert O'Callahan
9a889b6c0f Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats 2010-01-12 10:45:20 +13:00
Robert O'Callahan
9c6e7e8ede Bug 526394. Part 29: Create new nsLayoutUtils methods and remove useless code from nsListControlFrame::CaptureMouseEvents. r=mats 2010-01-12 10:45:18 +13:00
Robert O'Callahan
9a37af643c Bug 526394. Part 26: Rework nsSelection to use frames only. r=mats 2009-09-10 17:16:18 +12:00
Robert O'Callahan
633c774c13 Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats 2009-09-01 23:29:27 +12:00
fantasai
9e51dfaf9b Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc 2009-12-24 00:20:41 -05:00
Olli Pettay
2e3d0c93fe Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron 2009-12-10 20:02:13 -08:00
Robert O'Callahan
fff39da5f4 Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky 2009-12-01 12:21:00 -05:00
Robert O'Callahan
c75c23e753 Bug 530472. Make sure to check across document boundaries to see whether the clipFrame is an ancestor of the moving frame. r=dbaron 2009-11-30 18:14:04 -05:00
Robert O'Callahan
2e5cc7e62d Bug 528604. Don't add areas-to-repaint when scrolling for non-moving clip rects that aren't clipping any moving content. r=dbaron 2009-11-18 13:38:17 +13:00
Boris Zbarsky
19b4ba4ee2 Bug 518114 part 2. Use state bits to keep track of what a placeholder is a placeholder for. r=roc 2009-11-16 16:00:07 -05:00
Boris Zbarsky
434a9a769c Bug 518114 part 1. Don't force a virtual GetType call in GetFloatFromPlaceholder. r=roc 2009-11-16 16:00:07 -05:00
Robert O'Callahan
15d86cc6ff Bug 513082. Take advantage of our knowledge that nsDisplayClip, when used in a blitting scrolling frame, must snap to device pixels, to get more accurate blit regions. r=dbaron 2009-11-04 07:39:42 +13:00
Boris Zbarsky
75ebdc52ee Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
L. David Baron
5e147851b3 Make unconstrained width assertions into warnings because we can hit them when we clamp really large widths. (Bug 525100) r=roc 2009-10-28 20:22:28 -07:00
Robert O'Callahan
acd735ba81 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
Robert O'Callahan
9d5b5ae49a Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron 2009-09-07 12:35:14 +12:00
Robert O'Callahan
5463e9a47b Bug 510856. ComputeRepaintRegionForCopy should not look outside the update rect for moving and non-moving visible content. r=dbaron 2009-09-07 12:35:13 +12:00
liucougar
b591f56e39 Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02:00
Boris Zbarsky
b622be5363 Bug 515703. In some cases we can end up checking whether an element is the default submit before we've updated our default submit; in that situation wehave to do it the slow way. r=jst 2009-09-18 14:52:27 -04:00
Mats Palmgren
6f16626d51 Bug 233463, patch 2 - Introduce nsFrameList::mLastChild member for fast access to the last sibling frame. r=bzbarsky 2009-09-18 13:09:36 +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
Bobby Holley
464b4712e3 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00