Commit Graph

1873 Commits

Author SHA1 Message Date
Daniel Holbert
5f7e96d98d Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Daniel Holbert
627f47b186 Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc 2010-03-02 23:09:51 -08:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Daniel Holbert
bb1b787565 Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange. 2010-03-02 08:29:46 -08:00
Daniel Holbert
bf932485ec Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Neil Deakin
2c7d3081c7 Bug 543065, only scroll one ancestor of menus, SCROLL_FIRST_ANCESTOR_ONLY flag should stop at first scrollable container, not just first parent, r=roc 2010-03-02 06:21:23 -08:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Daniel Holbert
e84b322109 Bug 537139: Prevent SMIL animation from triggering CSS transitions. r=dbaron 2010-03-01 11:31:45 -08:00
Robert O'Callahan
11a3d788af 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
Robert O'Callahan
b69921495b Bug 534425. Part 4: Implement nsDisplayList::Paint using layers. r=mats,sr=dbaron 2010-03-01 20:56:19 +13:00
Boris Zbarsky
d4e773ce95 Bug 469861. Create a block for any block-level <math>. r=dbaron 2010-02-26 21:32:31 -05:00
L. David Baron
c3b73f1ff5 Make the 'border' shorthand reset -moz-border-image (per recent CSS WG decision) and -moz-border-*-colors. (Bug 482692) r=bzbarsky 2010-02-26 10:35:09 -08:00
Jonathan Kew
f3a8507386 Bug 547267 followup - rename nsPresContext::GetLanguage to GetLanguageFromCharset for clarity. r=dbaron 2010-02-26 06:20:35 -08:00
Henri Sivonen
efaa5176e5 Bug 546638 - Make test_bug465448.xul wait for the load event of the doc opened in another window. r=roc.
--HG--
extra : rebase_source : b9c636946cadc9331746ad2987f73b36b440a535
2010-02-24 13:39:23 +02:00
Henri Sivonen
af67bad30b Bug 546639 - Make test_bug514127.html run from onload. r=roc.
--HG--
extra : rebase_source : 8096432cb47d58c378a9a513fee58bf9632a5bd5
2010-02-23 16:04:15 +02:00
Jonathan Kew
f8c2b92a5d Test for bug 548545. 2010-02-25 15:01:58 -08:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Robert O'Callahan
2725baa79a Bug 529263. Allow content IFRAMEs in chrome IFRAMEs to not be hooked into the view manager hierarchy. r=bz
--HG--
extra : rebase_source : a7e053e408bb176fc9df068f52157e886b0554b1
2010-02-24 11:16:18 -08:00
Jonathan Kew
e9d0f828e0 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
Shawn Wilsher
27a2fcd36e Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Neil Deakin
10dc1ef135 Bug 536481, clear the mouse capture when a window is lowered or the containing docshell is hidden, r=smaug 2010-02-20 11:06:58 -05:00
Boris Zbarsky
c050f02b8b Bug 538087. Hook up reflow to refresh driver. r=dbaron 2010-02-19 12:11:40 -05:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher
56b8597aca Backed out changeset bca0b6ed92e4 2010-02-18 10:02:49 -08:00
Shawn Wilsher
40e546231a Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Olli Pettay
f4ddb15f05 Bug 545330 - Crash [@ PresShell::Destroy] on exit after failed Print Preview of XUL document, r=mats 2010-02-11 13:02:38 +02:00
Zack Weinberg
7fd5fe000b Bug 345681: Remove the vestigial nsICheckboxControlFrame and nsIRadioControlFrame interfaces. r=roc 2010-02-09 14:06:37 -08:00
Mats Palmgren
7744382398 Use GetExtremeCaretPosition() for all editable nodes, not just the doc root. b=512295 r=roc 2010-02-09 17:09:59 +01:00
Mats Palmgren
b58c775d51 Replace nsPopupFrameList with nsFrameList. b=544251 r=roc r=neil 2010-02-09 17:05:19 +01:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Henri Sivonen
d5a5b4a235 Bug 539896 - Add a single quote to test_bug533845.xul to make it not fail with the HTML5 parser. r=Olli.Pettay. 2010-02-03 15:53:23 +02:00
Boris Zbarsky
48153cc0e6 Bug 540531. Freeze the refresh driver when a page goes into bfcache. r=dbaron 2010-02-03 16:17:55 -05:00
Timothy Nikkel
c63f549245 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Timothy Nikkel
6710bd9634 Bug 491547. Add crashtests.
--HG--
extra : rebase_source : 7b30a1fa465ebdef49cb39f6f99e8d83350cc82b
2010-01-29 21:33:16 -06:00
Timothy Nikkel
f8273a996f Bug 538267. Use the correct continuation of the block frame when creating floating first-letter frames. r=bzbarsky
--HG--
extra : rebase_source : f08d0b4efcfafb791b8fbc7fd2c4065df710e572
2010-01-27 22:12:39 -06:00
Timothy Nikkel
d21ec0b02d Bug 496011. If removing the root of a native anonymous subtree, recreate the parent. r=bzbarsky
--HG--
extra : rebase_source : f231eb99f9bbf7ef599df6910dfad2a4f838e90b
2010-01-27 22:12:34 -06:00
Timothy Nikkel
9aed5c95c4 Bug 536926. Make sure event gets handled even if there is no focused node and the root content has no frame. r=enndeakin
--HG--
extra : rebase_source : a7e532c248467a0083a682f8ed0d32959595c898
2010-01-27 22:12:29 -06:00
Karl Tomlinson
1424584cc7 backout 4dc8bdb7af6d due to 355548-2 reftest failure 2010-02-02 20:29:59 +13:00
Frédéric Wang
c0e77d917e b=219873 make math elements display:inline-block so that their height includes their children r=roc 2010-02-02 19:00:06 +13:00
Robert O'Callahan
5573536916 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
--HG--
extra : rebase_source : 4cb48c2bc49926d72b00bf3baa59465c149b6d6c
2010-02-02 12:16:09 +13:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Mats Palmgren
68ea58a204 Clamp the result to the valid nscoord range. b=541869 r=roc 2010-01-27 09:35:41 +01:00
Mats Palmgren
0bac01734a mRectListHead.x needs a sentinel value (not y). Clarify the use of nscoord sentinel values and handle float nscoord too. b=541869 r=roc r=jonitis 2010-01-27 09:35:37 +01:00
L. David Baron
8b216807b8 Make scrolling work inside iframe inside transformed svg:foreignObject by using GetCrossDocParentFrame for loop in check for whether we can blit. (Bug 403443) r=roc 2010-01-26 12:39:02 -08:00
Mats Palmgren
fa91c35561 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
Jesse Ruderman
5e9951ba91 Add dump statements to help figure out random-orange bug 540980 2010-01-25 10:49:17 -08:00
Boris Zbarsky
e3646615a4 Bug 538063. Fix the assert condition to not trigger for <area>s. r=tn 2010-01-25 11:03:48 -05:00
Olli Pettay
afce7361da Bug 539060 - Crash [@ do_QueryFrame::operator<nsIPageSequenceFrame> nsIPageSequenceFrame*() ] in print preview , r=roc
--HG--
extra : rebase_source : 246c540277da95dbc670bcfc899dc9f9796f603e
2010-01-25 13:15:25 +02:00
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Jesse Ruderman
b21dff6b69 Attempt to fix orange bug 540980, based on the theory that the document.open() without document.close() was preventing the outer page's onload from ever firing, depending on a race. 2010-01-20 16:58:05 -08:00
Jesse Ruderman
8a06f29394 Change to UTF-8, because Firefox no longer accepts XML with bogus encodings. Hopefully I guessed the original or intended encoding correctly. 2010-01-19 13:11:32 -08:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Bernd
547f5ac844 bug 28800 remove support for scrollable rowgroups moa=roc r=bzbarsky 2010-01-16 17:05:46 +01:00
Robert O'Callahan
efc9d84a87 Backing out patch that wasn't meant to be checked in 2010-01-14 17:59:42 +13:00
Robert O'Callahan
faf07633e0 Backed out changeset 636a1f8ef224 2010-01-14 17:59:22 +13:00
Robert O'Callahan
9a1e1c6c5b Bug 536524. Avoid overlong paths by normalizing. r=bsmedberg 2010-01-14 15:30:05 +13:00
Robert O'Callahan
f5b9be160f Bug 538909. Correctly calculate index of top-left tile. r=dbaron 2010-01-14 15:30:05 +13:00
Robert O'Callahan
df694cae49 Bug 534433. Destroy all nsImageLoaders when the prescontext is torn down. r=mats 2010-01-14 15:30:05 +13:00
Olli Pettay
136f3f85ca Bug 533845 - Mouse events don't work in content iframe, if iframe is inside a xul panel, r=roc
--HG--
extra : rebase_source : 8270dcfedb49c555a5deb6bb7a29e4a500cd7a90
2010-01-13 11:02:11 +02:00
Robert O'Callahan
b5f5b11c36 Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats 2010-01-12 10:45:20 +13:00
Robert O'Callahan
dd085808e4 Bug 526394. Part 32: Remove code that only existed so that scrollframes could have views. r=mats 2010-01-12 10:45:19 +13:00
Robert O'Callahan
04a613495c Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats 2009-10-08 16:01:15 +13:00
Robert O'Callahan
a8cbf01d74 Bug 526394. Part 30: Change the scroll state in nsPresState to a point. r=mats 2010-01-12 10:45:18 +13:00
Robert O'Callahan
88521a102c 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
c814462e8a Bug 526394. Part 26: Rework nsSelection to use frames only. r=mats 2009-09-10 17:16:18 +12:00
Robert O'Callahan
663dca4d9b Bug 526394. Part 25: Create nsIPresShell::ScrollFrameRectIntoView. r=mats 2010-01-12 10:45:16 +13:00
Robert O'Callahan
492587f2be 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
ef60e5fbb0 Bug 526394. Part 23: Make nsRect::IntersectRect preserve height and width if possible even when the intersection of two rectangles is empty. r=mats 2010-01-12 10:45:16 +13:00
Robert O'Callahan
11acff4c6e Bug 526394. Part 22: Remove more view stuff from PresShell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
519c0fd842 Bug 526394. Part 21: Remove nsIViewManager RootScrollableView APIs, and move GetRectVisibility to nsIPresShell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
07db346518 Bug 526394. Part 20: Convert more code in caret and docshell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
7eb8b6c4d7 Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats 2009-09-03 17:23:47 +12:00
Robert O'Callahan
4adad50c20 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Robert O'Callahan
9324676397 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
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Cristian KLEIN
fc3d506af7 Bug 370436 - "Context menu from keyboard for spell checker selects the wrong line" [r=roc] 2010-01-09 09:51:00 -06:00
Bernd
f4a1800dfb bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Masayuki Nakano
864c94c4cd Bug 532422, this landing just removes unused variable r=Olli 2010-01-08 14:01:42 +09:00
L. David Baron
25d33fe57f Remove CID and layout module constructor for CSS style sheets. (Bug 239008) r=bzbarsky 2010-01-07 08:51:16 -05:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Robert O'Callahan
639decd49d Bug 527864. Test that we flush reflows before painting. 2010-01-07 14:12:21 +13:00
Robert O'Callahan
d3d23e846e Bug 532732. When rendering a background-attachment:fixed background to the screen, limit the background painting area to the viewport, since this is the only area where it will actually be visible and in many cases this means we don't need to think about tiling it. r=dbaron 2010-01-07 13:55:09 +13:00
Michael Ventnor
d1c7f0fda1 Bug 537471 - Detect empty shadow rects earlier. r=roc
--HG--
extra : rebase_source : 3d1a20314c9a771e987d9f82df0620d9d29720a6
2010-01-06 19:02:11 +01:00
Jacek Caban
e787295d9f Bug 530448 - Make TestPoisonArea.cpp compile on mingw, r=zwol 2010-01-05 18:29:08 -05:00
Simon Montagu
77681c9d20 Call AdjustOffsetsForBidi on a new continuation frame immediately after creating it. Bug 536963, r=roc 2010-01-03 00:46:19 -08:00
Timothy Nikkel
2178cc013a Bug 537562. Add crashtest. 2010-01-02 18:57:40 -06:00
Timothy Nikkel
97bc36029b Bug 499841. Fix a failed attempt at a merge. 2010-01-02 18:56:29 -06:00
Timothy Nikkel
c4d4fe1182 Bug 537059. Add crashtest.
--HG--
extra : rebase_source : 7a22e75f66a58c08d9ff25f264617ac31aea65b4
2010-01-02 02:22:22 -06:00
Timothy Nikkel
c581600f0c Bug 396367. Make the tests reset the textzoom after changing it.
--HG--
extra : rebase_source : 5afddd159099314576ad6623d11649266a7b4e77
2009-12-26 21:36:12 -06:00
Timothy Nikkel
bd15675d9d Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : c6aa412247ab70f5bf3a4688f262edcccd2d6fdd
2009-12-22 18:09:10 -06:00
Timothy Nikkel
b3a04ada9c Bug 499841. Add crashtest. 2010-01-01 20:49:24 -06:00
Timothy Nikkel
1172cc4cd0 Backed out changeset 63d4a49fbec1 (bug 396367) 2010-01-01 20:34:05 -06:00
Timothy Nikkel
6a84e052f2 Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : 67d99a197a4974684f57f23873033b85c276ef86
2009-12-22 18:09:10 -06:00
Timothy Nikkel
ad77d4e1d7 Bug 484400. When removing a positioned element use the placeholder frame to get the relevant containing block for first-letter processing. r=bzbarsky
--HG--
extra : rebase_source : 9a327e8f44541ac822bc7be52caa1ceab825ccd1
2009-12-22 17:47:25 -06:00
Timothy Nikkel
5f6a955352 Bug 499841. Pass the block frame that contains the first letter style to RemoveFirstLetterFrames so that the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit can be unset on it. Always set the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit on the first continuation only. r=bzbarsky
--HG--
extra : rebase_source : 411297490d6d18244fa7caa3194facfedc28ea86
2009-12-22 17:44:35 -06:00
Boris Zbarsky
cba4b340ad Trying to fix orange due to landing of bug 528306 by fixing assumption in test. 2009-12-31 17:12:43 -05:00
Boris Zbarsky
06b277fcc7 Bug 528306 part 3. Hook up restyle processing to nsRefreshDriver. r=dbaron 2009-12-31 14:07:57 -05:00
Boris Zbarsky
ef3cef478b Bug 528306 part 2. Make nsCSSFrameConstructor reference-counted. r=dbaron 2009-12-31 14:07:57 -05:00
Boris Zbarsky
5e1384376d Bug 528306 part 1. Don't stop the refresh driver timer on observer removal; instead just stop it if it fires when there are no observers. r=dbaron 2009-12-31 14:07:57 -05:00
Boris Zbarsky
35c346dcdf Bug 536623 and bug 537141. Don't attempt to maybe-create textframes for kids of parents that have xbl childlists on insert and append: we know we didn't skip creating any frames that didn't need skipping unconditionally in that situation, and trying to create them can put them in the wrong place. r=roc 2009-12-31 14:07:57 -05:00
Boris Zbarsky
a99f0f4f96 Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc 2009-12-31 14:07:56 -05:00
L. David Baron
61bd9cfc56 Revert bulk of changeset 67ddbe030ab6 (originally for bug 457809) now that bug 253354 is fixed. 2009-12-31 12:49:22 -05:00
Neil Deakin
989819833a Bug 536486, remove IsDestroyingFrames check now that frames are available from content nodes, fixes possible leak, r=roc 2009-12-31 12:36:56 -05:00
L. David Baron
8483573833 Add nsPresContext::EnsureSafeToHandOutCSSRules. (Bug 536379) r=bzbarsky 2009-12-31 10:56:33 -05:00
Nochum Sossonko
1aa92b8e9b merge for backout 2009-12-29 17:34:15 -05:00
Nochum Sossonko
616050ef52 Backed out changeset 58a672dcb695 due to test failures 2009-12-29 17:33:09 -05:00
Boris Zbarsky
c3626d1503 Bug 536718. Clean up NotifyDestroyingFrame. r=roc 2009-12-29 15:13:54 -05:00
Boris Zbarsky
b472db2cb1 Bug 508473 followup. Remove some more dead code. 2009-12-29 15:13:53 -05:00
Jacek Caban
a736eeeb19 Bug 530448 - Make TestPoisonArea.cpp compile on new mingw, r=zwol 2009-12-29 14:24:43 -05:00
Boris Zbarsky
e76b6c5c78 Bug 500882 followup. Restore bit that shouldn't have gone away. 2009-12-27 08:41:08 -05:00
Daniel Holbert
178307b6c0 Bug 535004: Check if we've fired an unload event before calling OnPageShow, in DocumentViewerImpl::LoadComplete. (Now without NS_ABORT_IF_FALSE, since other things can trigger it.) r=smaug 2009-12-26 15:11:04 -08:00
Boris Zbarsky
8519610b49 Bug 500882 part 7. Remove the old GetPrimaryFrameFor API. r=roc, sr=dbaron 2009-12-24 16:20:06 -05:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Boris Zbarsky
df21dcfefd Bug 500882 part 3. Switch accessibility module to using the new GetPrimaryFrame API. r=surkov, sr=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky
b2e4054198 Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
fantasai
1e880721fb Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc 2009-12-24 00:20:41 -05:00
fantasai
714c1668f7 Bug 508473 Part I: Remove nsIFrame::RemovedAsPrimary r=bz sr=roc 2009-12-24 00:20:20 -05:00
L. David Baron
683aa648c1 Backed out changeset 2752efeb2fdd (Bug 535004: Check if we've fired an unload event before calling OnPageShow, in DocumentViewerImpl::LoadComplete) because the NS_ABORT_IF_FALSE that it added is firing in reftest and crashtest, at least on Linux. 2009-12-23 23:05:15 -05:00
Daniel Holbert
43ca8b575b Bug 535004: Check if we've fired an unload event before calling OnPageShow, in DocumentViewerImpl::LoadComplete. r=smaug 2009-12-23 16:19:26 -08:00
Boris Zbarsky
976c983e86 Bug 535721. Deal with MoveChildrenTo on non-siblings. r=roc 2009-12-23 16:17:23 -05:00
Boris Zbarsky
32cfd3d5a7 Bug 535911. Silence the bogus assertion. r=roc 2009-12-23 16:17:23 -05:00
L. David Baron
b4840861ab Make nsRefreshDriver hold a reference to its observers while notifying them. (Bug 531585) r=bzbarsky 2009-12-23 14:10:31 -05:00
L. David Baron
179ee34b4d Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-23 14:10:31 -05:00
L. David Baron
8ee9665a58 Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky 2009-12-23 14:10:30 -05:00
Benjamin Smedberg
c2bbf9c677 Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron
026f0e2d0b Make nsRefreshDriver hold a reference to its observers while notifying them. (Bug 531585) r=bzbarsky 2009-12-23 06:35:45 -05:00
L. David Baron
6294ba95b7 Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-23 06:35:45 -05:00
L. David Baron
262ab8b4d1 Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky 2009-12-23 06:35:45 -05:00
L. David Baron
eae023b6a3 Backout revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382. 2009-12-22 15:46:23 -05:00
L. David Baron
dadb7490da Make nsRefreshDriver hold a reference to its observers while notifying them. (Bug 531585) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron
d0934f9f1f Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron
c4c186dd89 Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky 2009-12-21 16:46:24 -05:00
Olli Pettay
bf7962ffed Bug 535851 - noscript is rendered in print preview, r=roc 2009-12-19 12:35:54 +02:00
Masayuki Nakano
68361828eb Bug 532422 - n900: Cannot select any characters from sym map. r=enndeakin. 2009-12-17 10:42:02 -08:00
Boris Zbarsky
bdc41dba60 Bug 531148 followup. Actually return a value here! 2009-12-17 02:38:12 -05:00
Robert O'Callahan
8e327b88bf Bug 516885 / Bug 525375: Fix (harmless) assertions due to nsDisplayTransform passing non-null aVisibleRegionBeforeMove. r=dbaron 2009-12-12 13:27:15 -08:00
Robert Longson
819b6997d7 Bug 523576 - Fix compilation with disable-svg. r=dbaron 2009-12-12 19:43:34 +00:00
Robert O'Callahan
19da2f1872 Bug 530686. Only create an nsDisplayTableBorderBackground when it's going to have something to paint, since having one can disable some scrolling optimizations. r=dbaron 2009-12-12 10:50:30 -08:00
Robert O'Callahan
97c78b1258 Bug 531461. Avoid creating an nsDisplayTableBorderBackground if every part of the table is hidden. r=dbaron 2009-12-12 10:50:25 -08:00
Boris Zbarsky
4e9f77e7b1 Bug 531148. Fix appends of a block to the trailing inline of an {ib} split which has an inline parent. r=roc 2009-12-11 22:36:34 -08:00
Boris Zbarsky
af198139a9 Bug 526596. Make sure appends to an {ib} split coalesce blocks correctly if the appended frames start with a block and the trailing inline of the split is empty. r=roc 2009-12-11 22:36:33 -08:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Boris Zbarsky
129197fdc7 Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron 2009-12-10 14:36:03 -08:00
Olli Pettay
ec076a94d3 Bug 528829 - If mouse button is held down during page transition, Firefox stops responding to mouse clicks, r=roc 2009-12-10 10:58:33 -08:00
Timothy Nikkel
d16beb2417 Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc
--HG--
extra : rebase_source : 6719372b7404a598a4ce1c1f5190a4f86d0d896b
2009-12-01 02:49:53 -06:00
Zack Weinberg
e125669860 Bug 531847: Include address chosen for frame poisoning in breakpad reports. r=ted a192=roc 2009-12-01 14:48:23 -08:00
Robert O'Callahan
d866e87ce4 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
1eb1c0bb6b 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
6780628363 Bug 530686. Don't redraw box-shadows over the bounding rect of the dirty region; just redraw them over a (somewhat simplified) dirty region. r=dbaron 2009-11-30 18:14:04 -05:00
Zack Weinberg
cf67dd36c8 Bug 530598: If we can't get the preferred address for a poison page, take whatever the OS will give us, rather than giving up 2009-11-30 08:51:07 -08:00
Serge Gautherie
2a485f24e8 Bug 381467 - Switch application/x-javascript to application/javascript; (Ev1) /layout/base/crashtests/123946-1.html, EOL/whitespace fix (only).
r=dbaron.
2009-11-30 03:44:02 +01:00
Olli Pettay
2a7bca1c92 Bug 530880, r=bz, sr=roc
--HG--
extra : rebase_source : 4f1e95223fd0c167fa5ec882b46ae36f9edbb071
2009-11-26 11:12:20 +02:00
Ginn Chen
546bba6b66 Bug 529764 nsPresArena.cpp failed to compile on Solaris r=zweinberg 2009-11-20 14:11:42 +08:00
Robert O'Callahan
a3f1f75383 Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Robert O'Callahan
a3558ce3da Backed out changeset 93a0acf68dd6 2009-11-19 15:15:44 +13:00
Robert O'Callahan
5fa533b23e Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Boris Zbarsky
e38ec39351 Bug 505059 build bustage fix. 2009-11-18 08:58:44 -05:00
Boris Zbarsky
71f48241bd Bug 505059. Don't shut down the layout module while someone is holding a reference to the stylesheet service. r=dbaron 2009-11-18 08:25:02 -05:00
Boris Zbarsky
679d2edfd4 Bug 526375. Enforce always appending to the last continuation for {ib} splits. r=roc 2009-11-18 08:25:02 -05:00
Robert O'Callahan
54824bc7d1 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
2b37acc71b Bug 521542. Fix IsValidSibling to not lie when non-table-related siblings are involved. r=bernd 2009-11-17 17:50:04 -05:00
L. David Baron
e3330c4996 Null check mShell in nsPresContext::MediaFeatureValuesChanged. (Bug 528832) r=bzbarsky 2009-11-17 13:11:15 -08:00
Zack Weinberg
3c349b25a6 Bug 522088 and bug 507924: Ensure that the value used for frame poisoning is a pointer to an inaccessible page of virtual memory. 2009-11-17 11:17:20 -08:00
Boris Zbarsky
c1595ce69a 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
ffab603a47 Bug 518114 part 1. Don't force a virtual GetType call in GetFloatFromPlaceholder. r=roc 2009-11-16 16:00:07 -05:00
David Bolter
ae4129ee61 Bug 525579 - topcrash [@ nsAccessibilityService::GetAccessible(nsIDOMNode*, nsIPresShell*, nsIWeakReference*, nsIFrame**, int*, nsIAccessible**)] (thanks dbaron) r=roc,surkov 2009-11-16 09:03:53 -05:00
Mark Finkle
13b8532386 Bug 507817: BorderImage should not call ExtractCurrentFrame each time it draws [r=dbaron r=joedrew] 2009-11-13 23:23:00 -05:00
L. David Baron
0d9c6b626c Make DEBUG_TRACEMALLOC_PRESARENA compile again by spelling PRUint32 correctly. 2009-11-12 17:40:05 -08:00
Boris Zbarsky
42cd75865c Bug 526178 followup. Remove now-unused AutoEnqueueBinding. 2009-11-12 14:27:33 -05:00
Boris Zbarsky
dcde9c8929 Bug 528002. InvalidateCanvasIfNeeded can do a lot less work. r=roc 2009-11-11 18:28:16 -05:00
Simon Montagu
df69e48755 Drill down through placeholder frames to the real frames in bidi reordering. Bug 525740, r=roc 2009-11-08 09:40:46 -08:00
Boris Zbarsky
f35446936d Bug 526178. Fix constructor firing order to match Gecko 1.9.1 again. r=roc 2009-11-04 17:58:13 -05:00
Boris Zbarsky
53f028f33b Backed out changeset 2fa27d8cd3d2 (bug 526178) to fix browser-chrome orange.
--HG--
extra : rebase_source : 6be60f6e6586e924f7607f135a3589d9e425a0ec
2009-11-04 20:41:06 -05:00
Boris Zbarsky
482ee7e084 Bug 526178. Fix constructor firing order to match Gecko 1.9.1 again. r=roc 2009-11-04 17:58:13 -05:00
Robert O'Callahan
7e04a64cff 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
Robert O'Callahan
5f8b8b6cc8 Bug 523911. Content that's not moving, that's positioned over uniform content that is moving, does not need to be repainted. r=dbaron 2009-11-04 07:39:42 +13:00
Zack Weinberg
4439b4953d Bug 526075: Clamp tiny sines to zero when computing transformation matrices. 2009-11-02 21:00:46 -08:00
Robert O'Callahan
e62be286c3 bug 514732 - fix bustage for shared lib builds r=bz 2009-11-02 21:55:35 -05:00
Robert O'Callahan ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
3ad4c03640 Bug 513395: Implement revised CSS gradient notation (2/2): rendering
--HG--
rename : layout/reftests/css-gradients/radial-ref.html => layout/reftests/css-gradients/radial-1-ref.html
rename : layout/reftests/css-gradients/radial.html => layout/reftests/css-gradients/radial-1a.html
rename : layout/reftests/css-gradients/twostops-ref.html => layout/reftests/css-gradients/twostops-1-ref.html
rename : layout/reftests/css-gradients/twostops.html => layout/reftests/css-gradients/twostops-1a.html
2009-11-02 11:36:43 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dbd6355ce6 Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes 2009-11-02 11:36:43 -08:00
Boris Zbarsky
b06f4eb4a0 Bug 501847 part 6. Simplify MoveChildrenTo now that it doesn't have to deal with float reparenting. r=tn,roc 2009-09-18 14:00:23 -04:00
Boris Zbarsky
64e8dac0e8 Bug 501847 part 5. Get rid of the MoveFrames function now that there is only one caller. r=tn,roc 2009-09-18 14:00:23 -04:00
Boris Zbarsky
0e977736ec Bug 501847 part 4. Change frame construction to create {ib} splits that have blocks wrapping runs of block kids and inlines wrapping runs of inline kids instead of wrapping all kids from the first block to the last block in a single block. r=tn,dbaron,roc 2009-09-18 14:00:21 -04:00
Boris Zbarsky
a443ed8d78 Bug 501847 part 2. Make various consumers deal with more than 2 inlines in an {ib} split. r=tn, sr=roc 2009-09-18 14:00:21 -04:00
Boris Zbarsky
18898e8da4 Bug 501847 part 1. Some preparatory cleanup of GetIBSpecialSiblingForAnonymousBlock. r=roc 2009-09-18 14:00:20 -04:00
Alexander Surkov
64fdee6658 Bug 437607 - Clicking the 'Skip to main content' link once works, second time fails to initiate a V cursor jump, r=davidb, sr=roc 2009-11-02 09:02:09 +08:00
Daniel Holbert
e4ce6855cc Bug 525153: In DocumentViewerImpl::LoadComplete, don't call OnPageShow if docshell is being destroyed. r=smaug sr=bz 2009-10-31 17:06:47 -07:00