Commit Graph

1915 Commits

Author SHA1 Message Date
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
Timothy Nikkel
05c0a8ab52 Bug 429865, bug 436982, and bug 477731. Add tests.
--HG--
extra : rebase_source : 355473f66d85ce9bf1a1be6fc3677f2af7ae2019
2009-10-31 17:33:15 -05:00
Timothy Nikkel
8c0ff81c27 Bug 491547. Special case creating a bidi continuation inside a floating first letter frame. r=roc,smontagu
--HG--
extra : rebase_source : 20d1d90542c7b78583e1ceff35669f25383e2380
2009-10-27 21:00:57 -05:00
Timothy Nikkel
e6aafbdaa9 Bug 503936. Add test.
--HG--
extra : rebase_source : 9885ac8a59ade08ef02fc86b8a3c65169b72c92c
2009-10-31 17:14:17 -05:00
Oleg Romashin
9472920cda Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc. 2009-10-31 15:44:57 -04:00
Jeff Walden
9e35e4594c Bug 509329 - Various issues with invalidation of backgrounds propagated from body to the canvas, and with sized backgrounds. r=dbaron
--HG--
extra : rebase_source : ade87923afbccfb4c4b5016d8421aae57c4b0e4e
2009-10-22 16:46:08 -07:00
Boris Zbarsky
5215a681c7 Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Olli Pettay
c806e56c0e Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
L. David Baron
1e581250d4 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
f3c75a5163 Bug 449324. Apply opaque-border optimization to all opaque border types, not just 'solid'. r=dbaron 2009-10-27 14:43:56 +13:00
Robert O'Callahan
56aad34bd4 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
e324cf9671 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Timothy Nikkel
5321e14840 Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Timothy Nikkel
bfb3787c95 Bug 457514. If an out of flow first letter frame is the insertion parent, then use the placeholder frame to get the parent, not the out of flow frame. r=bz
--HG--
extra : rebase_source : 8913cd4c0484baecba53d239263a761b9c9dcf8b
2009-10-15 21:48:44 -05:00
Timothy Nikkel
c7f094cc6a Bug 522374. Ignore <area> elements in looking for a next/prev siblings for frame construction due to their misuse of the primary frame map. r=bz
--HG--
extra : rebase_source : 1b996eb1c5c6a130197e84ad11998afae4b20eb9
2009-10-16 20:51:05 -05:00
Jaakko Kiviluoto
53ba8a7707 Bug 523333. nsContentUtils::HidePopupsInDocument() does not check for null nsIDocument argument properly. r=enndeakin 2009-10-23 16:24:47 -04:00
L. David Baron
af787b4ab1 Backed out changeset 1aea70ef6f63 (temporary debugging code for bug 523934). 2009-10-23 10:47:25 -04:00
L. David Baron
779dcfee41 Add temporary debugging code to debug bug 523934 2009-10-23 10:21:00 -04:00
Daniel Holbert
6a6d66990d Bug 522320: Put auto/none/normal keywords in CSS keyword tables for properties that take enum values. Patch 2 (handle remaining properties). r=dbaron 2009-10-21 14:57:57 -07:00
Nochum Sossonko
14e32bd632 Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
L. David Baron
653c9c5c2f Make ReResolveStyleContext no longer rerun selector matching on next-continuations by making both ReResolveStyleContext and ReParentStyleContext enforce the invariant that all continuations have the same style context. (Bug 522563) r=bzbarsky 2009-10-17 10:31:47 -04:00
Daniel Holbert
ad1651cc8b bug 522779: use nsTArray::Contains() instead of checking nsTArray::IndexOf() against various sentinel values, in three places in layout. r=dbaron 2009-10-16 15:49:30 -07:00
Mats Palmgren
00302efc79 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
L. David Baron
30ac481d4d Add media queries for all of our system metrics exposed in :-moz-system-metric(). (Bug 522149) r=bzbarsky 2009-10-15 17:23:19 -07:00
Robert O'Callahan
754070307a Add logging code to help diagnose random failure 2009-10-16 12:10:27 +13:00
Jesse Ruderman
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Jesse Ruderman
28f2ece525 Add some crashtests 2009-10-15 13:26:59 -07:00
Neil Deakin
c7fb80186c Bug 519693, <select> click and drag scrolling not working, change to get scrollable frame when capturing, r=roc 2009-10-09 09:35:20 -04:00
Simon Montagu
c9f2957365 Ensure that continuation frames after the end of a directional run are non-fluid. Bug 490559, r+sr=roc 2009-10-07 21:53:50 -07:00
L. David Baron
125bd1103e Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
Boris Zbarsky
e168ed8802 Bug 502567. Get rid of the silly ShouldBuildChildFrames check. r=neil 2009-10-07 21:00:38 -04:00
Robert O'Callahan
9758ecee67 Bug 520462. Let NS_PLUGIN_ACTIVATE events look up the view hierarchy to find a frame. r=karlt
--HG--
extra : rebase_source : 1368db2f5ebe70b43cdaa5040265f54728ab32b4
2009-10-07 17:19:59 +13:00
Neil Deakin
19b8634b1c Bug 517916, crash if the capturing element has no view, r=roc 2009-10-05 10:00:05 -04:00
L. David Baron
7e2aee0cc5 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Boris Zbarsky
82ca879d78 Bug 519590. Don't interrupt reflow until some time has passed. r=roc 2009-10-02 14:05:32 -04:00
Sylvain Pasche
7c7c7a40b3 Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky 2009-10-02 14:05:31 -04:00
Boris Zbarsky
4fc405cefa Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
Robert O'Callahan
20bb54d1d3 Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron
--HG--
extra : rebase_source : 1acfac3d3613d332586fade393f2911552bd03e0
2009-09-30 08:18:20 +10:00
Robert O'Callahan
d56dfa741e 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
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Robert O'Callahan
2e6f2bd071 Bug 513082. Round out 'region of moving visible content' to device pixels to reduce incidence of stray subpixel rectangles causing unnecessary painting. r=dbaron
--HG--
extra : rebase_source : a976be084de5b610089cebe1da9a9c5a2e580cb2
2009-09-07 12:35:14 +12:00
Robert O'Callahan
3574bf3fd3 Bug 510856. Additional scrolling tests.
--HG--
extra : rebase_source : 053c6aae0cc3b458647b296ffb6ce885af2ef7a4
2009-09-07 12:35:13 +12:00
Robert O'Callahan
3f31ace6a0 Bug 510856. ComputeRepaintRegionForCopy should not look outside the update rect for moving and non-moving visible content. r=dbaron
--HG--
extra : rebase_source : 4b2bb7ca8ca883c4d2ba6e14f5a43c82c831fc32
2009-09-07 12:35:13 +12:00
Robert O'Callahan
e4bc55769e Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
Neil Deakin
492e487e7d Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
31d408bca4 Adjust the caret y-position for zero-height inlines. b=503531 r=roc 2009-09-29 23:07:05 +02:00
David Zbarsky
bb6a0e81f4 Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Timothy Nikkel
73a27c9267 Bug 518777. When drawing the canvas background color for drawWindow, adjust CanvasArea because it is relative to the frame itself. r=roc
--HG--
rename : layout/base/tests/test_bug514127.html => layout/base/tests/test_bug518777.html
extra : rebase_source : 252a78c5444513eac82b6ebc6ae202aef91bc5ce
2009-09-28 20:40:24 -05:00
Neil Deakin
a11c6e6243 Bug 516615, when capturing, check if the target frame's content is a descendant of the capturing content, rather than using the frame tree, r=roc,sr=smaug 2009-09-28 10:17:01 -04:00
Kyle Huey
c815c08e8d Bug 513684. Stop :hover from bleeding through certain elements. r=roc Test fixes from Markus Stange <mstange@themasta.com>. 2009-09-26 16:35:05 -07:00
Geoff Lankow
bd900ff5fd Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron 2009-09-26 13:23:47 -07:00
Dão Gottwald
b15d2e3fde Backed out changeset a2d46929bcbd 2009-09-26 22:21:22 +02:00
Kyle Huey
dbd51bf4f0 Bug 513684 - Stop :hover from bleeding through certain elements. r=roc 2009-09-13 22:54:44 -04:00
liucougar
5104b445c7 Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02:00
Michael Ventnor
b1ac8d20b5 Bug 514670 - -moz-box-shadow should follow radius only on corners with radius. r=roc 2009-09-24 08:46:39 +02:00
Timothy Nikkel
cf4ff4828a Bug 334460. Turn warning on re-entry into frame construction into an assertion. r=bzbarsky
--HG--
extra : rebase_source : a9c5cf5446a04322956b951c09154a6ebb82cf2a
2009-09-22 23:52:08 -05:00
Zelgadis
18ad8d6e45 Bug 517949 - Null pointer in PresShell::UnsuppressAndInvalidate() leads to crash
r+a1.9.2=roc
2009-09-23 16:38:57 +02:00
Timothy Nikkel
ca4682bf22 Bug 435441 patch 4 followup fix. One instance of mPendingRestyles -> aRestyles was missed in patch 4. r=dbaron 2009-09-22 14:01:55 -05:00
Robert O'Callahan
b45fe9a213 Bug 516740. Never simplify the visible region by increasing its area when we're subtracting opaque areas from the visible region. Instead, just don't subtract the opaque area if it would make the visible region too complex. r=bzbarsky
--HG--
extra : rebase_source : 388dd9229d6d1a50efd409f508aded95f1ec226a
2009-09-20 00:12:48 +12:00
Robert O'Callahan
bab2afc1ec Bug 435441. Fix signed/unsigned warning. r=dbaron
--HG--
extra : rebase_source : 2aac24423b822a5737714115ff9bc3c53677ddd2
2009-09-20 00:12:48 +12:00
Robert O'Callahan
8383498b71 Bug 510856. Create tests for which areas of the page are repainted or blitted by scrolling. r=dbaron
--HG--
extra : rebase_source : ab2ce1c1a77c42b0ea319cfe4aa0da89395cd632
2009-09-07 12:35:13 +12:00
Robert O'Callahan
12b82f1f1d Bug 510856. Round out 'visible area of moving content' to device pixel edges to avoid stray subpixel rectangles needing to be repainted. r=dbaron
--HG--
extra : rebase_source : 83e0e490c4b145fb774ad149c7f7a9e6ff8998c7
2009-09-07 12:35:12 +12:00
Robert O'Callahan
6de615de1b Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Timothy Nikkel
5f8ff6cfdc Bug 514127. Draw the canvas background color on the whole canvas area instead of just the viewport when RenderDocument is called with ignore scrolling flag. r=roc 2009-09-19 12:20:42 +02:00
Boris Zbarsky
82c38f6a01 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
Michael Ventnor
7b53709720 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-18 20:18:35 +02:00
Mats Palmgren
4e06ef038e Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
7ca7fe2f91 Bug 233463, patch 3 - Make Destroy/RemoveFrame() methods void and assert that the frame to remove is present. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
377056c269 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
8279fd683e Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky 2009-09-18 13:09:35 +02:00
Neil Deakin
6d83cdc84a Bug 516880, use the right presshell when getting frames during mouse capture, r=roc 2009-09-17 12:59:42 -04:00
Jonathan Kew
5d195abe72 Bug 507970, part 3: add @font-face format hint for woff fonts, r=jdaggett
--HG--
extra : rebase_source : 44bbd8455cffbd21d77fafdec21e1a80792cd6d7
2009-09-17 12:03:12 +01:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Zack Weinberg
1bbb6caf46 Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron 2009-09-16 10:00:04 +12:00
Justin Dolske
f221ae86bd Backed out changeset a3f33def2dca (bug 497495 part 4) 2009-09-14 17:26:08 -07:00
Boris Zbarsky
efc26f0c70 Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron 2009-09-14 17:29:56 -04:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Bobby Holley
0b02012ed8 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Zack Weinberg
17eb5a6efc Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
L. David Baron
cf9a633c3c Use nsRefPtr for new context in ReResolveStyleContext. (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
0b77a89d40 Make style changes know whether they are for transitions or not. (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Olli Pettay
8ba7e855e6 Bug 511883 - window.print() doesn't work from inside a frame, r=roc
--HG--
extra : rebase_source : 1e82eedf7b3c49f249800aa919b06c43270091f0
2009-09-09 16:53:06 +03:00
Alexander Surkov
f50096a8aa Bug 514595 - it's not necessary to keep two events type for show and two ones for hide, r=marocz, davidb, ginn, sr=roc
--HG--
rename : accessible/tests/mochitest/test_events_mutation_coalesce.html => accessible/tests/mochitest/test_events_coalescence.html
2009-09-09 17:03:14 +08:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Dão Gottwald
09fc562917 Backed out changeset 1e6d52401dd2 2009-09-04 15:32:17 +02:00
Michael Ventnor
6b82353959 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-04 14:24:26 +02:00
Christian Biesinger
c39efe899d bug 513451 remove nsPresShell::EnumeratePlugins, it's been unused since bug 480819
r+sr=roc
2009-09-03 12:37:56 +02:00
Karl Tomlinson
aaa7227840 b=513807 comparison of unsigned expression >= 0 is always true when constructing nsGenConNodes r=dbaron
--HG--
extra : rebase_source : b4d995793272279136753949181b6c2793b111bf
2009-09-03 08:45:43 +12:00
Daniel Holbert
12ac4739b6 Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz 2009-09-02 17:28:37 -07:00
Timothy Nikkel
3ee08e2969 Bug 445765. In getting the device context from a docshell don't go through nsIBaseWindow::GetMainWidget because that always returns the device context for the primary screen when called on toplevel docshell. r=dbaron 2009-09-01 12:40:49 -04:00
fantasai
d5c48032c3 Bug 492627 - Remove Placeholder Continuations [Part V: Reimplement float splitting without placeholder continuations] r=roc 2009-08-31 11:25:36 -07:00
Jeff Walden
75a36235ad Bug 508325 - Fix a second instance of the core problem fixed in the first push; also change NSCoordSaturatingMultiply into two separate functions, one of which requires the scale to be non-negative and one which doesn't. r=roc
--HG--
extra : rebase_source : e4dc7f9f8e5647512524dcaa0e48dd5f68fe64a0
2009-08-06 00:36:54 -07:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Jonathan Watt
ed42a30cb8 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Robert O'Callahan
75dc1beb9c Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5 Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Robert O'Callahan
02bbe8dd79 Bug 507926. Make sure CreateWindowEx doesn't fail when we're creating an invisible window. r=jmathies 2009-08-25 12:00:46 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
Boris Zbarsky
04e56ca248 Backed out changeset 59ae87416f96 (bug 488249 followup) to fix test orange.
--HG--
extra : rebase_source : 0108b501163d0114ef96a9059023fad69accd9e1
2009-08-24 20:50:52 -04:00
Boris Zbarsky
f17e0c5b7c Bug 488249 build bustage fix. 2009-08-24 16:28:21 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
a58a91a479 Bug 510465 - Initial zoom level of print preview depends on the zoom level of galley presentation, r=roc 2009-08-24 12:55:28 +03:00
L. David Baron
b2e8bbda9d Backed out changeset 6b686281f9ac (Bug 445765) for causing a 3% Txul (Twinopen) regression on Linux. 2009-08-23 08:06:58 -07:00
Timothy Nikkel
b6e9e162b8 Bug 445765. In getting the device context from a docshell don't go through nsIBaseWindow::GetMainWidget because that always returns the device context for the primary screen when called on toplevel docshell. r=dbaron 2009-08-23 08:16:52 +02:00
Michael Ventnor
959e56fd9a Use the correct area for computing the gradient image for 'background-position: fixed' gradients. (Bug 509681) r=roc 2009-08-22 10:10:12 -07:00
Mats Palmgren
96372404b6 Don't call CalculateContentBottom inside PR_MAX(), which evaluates its arguments twice. (Bug 511482) r=dbaron 2009-08-22 10:10:11 -07:00
Ryo Kawaguchi
54bb0a0d80 Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
Zack Weinberg
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
219a2fe88e Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky 2009-08-20 14:52:47 -07:00
Mats Palmgren
ad55d4621d Backout bug 506349 since it caused a test failure. 2009-08-19 04:24:29 +02:00
Mats Palmgren
5619fdf1b7 Flush the sink before zooming (restyle processing). b=506349 r=bzbarsky 2009-08-19 03:10:07 +02:00
Timothy Nikkel
68367486ce Bug 503791. Make sure that the device context has a widget so that it can determine what screen it is on. r=dbaron 2009-08-17 20:21:07 -07:00
Zack Weinberg
cc794998ac Bug 497495 (frame poisoning) part 2: Introduce nsIPresShell::AllocateMisc/FreeMisc functions; add an as-yet-unused "code" parameter to AllocateFrame/FreeFrame; fix up nsFrame to match; use AllocateMisc/FreeMisc for all non-frame pres arena objects; move clearing of frame objects from nsFrame::operator new to AllocateFrame. r=roc sr=dbaron 2009-08-17 20:21:06 -07:00
Zack Weinberg
f1502249fc Bug 497495 (frame poisoning) part 1: Move the frame arena code to its own file and rename the class to nsPresArena. r=roc 2009-08-17 20:21:06 -07:00
Olli Pettay
7748742e49 Bug 473805 - Prevent resize event loops, r=dbaron
--HG--
extra : rebase_source : e0476c7c1b390ebe194e508c3c728d517483989b
2009-08-15 11:49:20 +03:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Robert O'Callahan
9f2ae1a715 Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron 2009-08-13 19:09:51 -07:00
Robert O'Callahan
14c9b93519 Bug 507334, part 1: Remove nsDisplaySummary optimization, since it introduces extra display items that would disable the optimizations in part 2. r=dbaron 2009-08-13 19:09:50 -07:00
Markus Stange
04d8aa170a Bug 510149 - Changes to nsLayoutUtils::GetFrameTransparency. r=roc
--HG--
extra : rebase_source : 024d18340b423827524eb725d961d0907b90338d
2009-08-14 10:08:13 +12:00
Felipe Gomes
972bf3dc41 Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug 2009-08-13 13:54:09 -07:00
Olli Pettay
40ba45524e Bug 508373 - Generated content may cause reference loops, r=roc 2009-08-13 22:29:42 +03:00
Timothy Nikkel
42e3d17d27 Bug 508927. Assuming that the binding parent of the listboxbody content is the listbox content (and hence parent of listitems) is just wrong. Use ChildIterator instead to access the XBL nodes of the listboxbody content and get the frame constructor to pass the listboxbody frame the right container. r=bzbarsky, a=beltzner for CLOSED TREE 2009-08-13 11:38:22 -04:00
Olli Pettay
0dbb7cf7b8 Bug 503639 - [Mac OS X] Right-click on menu from folder from bookmark bar triggers context menu, r=enn
--HG--
extra : rebase_source : 8d7d4a2ae4a5cf9fca6f7b4961b9ebd5ba79255f
2009-08-13 12:11:42 +03:00
Timothy Nikkel
6cc6cdf024 Bug 500063. "ASSERTION: Already have an undisplayed context entry for aContent" while running leak tests. r=bzbarsky 2009-08-12 18:35:28 -04:00
Markus Stange
86545547c8 Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc
--HG--
extra : rebase_source : fdf898d51147231f33df507d28d927924dc465b8
2009-08-13 08:48:30 +12:00
Frédéric Wang
95d98aa305 b=297467 menclose r=karlt rs=roc 2009-05-29 13:08:35 +02:00
Boris Zbarsky
0dfb4b8059 Bug 508900. Fix assertion due to us not unsetting all the bits we should unset. r=dbaron 2009-08-10 10:54:21 -04:00
Timothy Nikkel
312cc0762c Bug 497519 part 2. Only do special handling for legends whose content parnt is an HTML fieldset. bzbarsky 2009-08-07 15:51:25 -04:00
Timothy Nikkel
bb8491a3fd Bug 497519 part 1. Clear the undisplayed map correctly in the presence of XBL. r=dbaron,bzbarsky 2009-08-07 15:51:25 -04:00
Masayuki Nakano
f9802cc670 Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc 2009-08-08 00:11:17 +09:00
Robert O'Callahan
cba39f15c7 Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Boris Zbarsky
e2f39a9eac Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 21:22:13 -04:00
Boris Zbarsky
bc219716a8 Backed out changeset 25462849adcc (bug 502288) to get some talos cycles for the tracemonkey merge without this patch in.
--HG--
extra : rebase_source : bff86f8ab792af6109b1862d601e2ba560dc4ba1
2009-08-03 15:10:09 -04:00
Boris Zbarsky
ff75d6817f Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 13:38:42 -04:00
liucougar@gmail.com
db643902e8 Bug 438840. Page-up/page-down in editable content should scroll the innermost scrollable region containing the caret, not the root. r=roc
--HG--
extra : rebase_source : 096868b13160a3c197387cf5e44fb7892b3b23ca
2009-08-03 14:18:57 +12:00
Timothy Nikkel
cfb5f9002b Bug 494546. Make all containing block reconstruction async. r=dbaron
--HG--
extra : rebase_source : 4b28a43808c1ab6b64bff848f03ac5a0354bff51
2009-08-03 14:18:31 +12:00
Robert O'Callahan
942fad5d31 Bug 504311. Test.
--HG--
extra : rebase_source : 3df96915b133a9926310757ed0415beaefd635a3
2009-08-03 13:59:18 +12:00
Michael Ventnor
8ae6cd75f4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
Dão Gottwald
bf4108370b Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
61ed5fe1e2 Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Boris Zbarsky
f2936464e5 Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Alexander Surkov
bfc59d9a35 Bug 452564 - can't create accessibles for table children when visibility style of table is changed, r=ginn.chen, sr=roc 2009-07-30 15:55:51 +08:00
Jeff Walden
a24a25ba2e Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Timothy Nikkel
24844a2db3 Bug 504269. background color of iframe not drawn on print. r+sr=roc 2009-07-29 18:10:50 -04:00
Timothy Nikkel
6788e65ce3 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Boris Zbarsky
209e31bf48 Relanding bug 496823 in the hopes that it's not causing the XP Txul issue.
--HG--
extra : rebase_source : 593d43b5c229e077e4454d848dba59265dee6b58
2009-07-29 08:53:27 -04:00
Boris Zbarsky
b4eb9b7084 Backed out changeset 622a29736f33 to see whether bug 496823 causes the WinXP Txul regression.
--HG--
extra : rebase_source : 450a2a83442a2326e303f97ad82d8213fbe11490
2009-07-28 14:35:28 -04:00
Boris Zbarsky
5fefb45a48 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
9d47a166af Bug 504221 part 11. Switch the {ib}-split list munging to nsFrameList. r=fantasai,roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
cddaf1831c Bug 504221 part 10. Switch the first-line frame list munging to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
dca83c78dc Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
c749fe8981 Bug 504221 part 8. Make CreateAnonymousColFrames saner. r=bernd, sr=roc 2009-07-28 08:53:18 -04:00