Граф коммитов

3734 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu b0e8529dd5 Bug 257612. Fix dynamic margin changes by 1) Propagate IsPreviousMarginDirty through empty lines 2) Reflow any line whose previous margin is dirty. 3) If a reflowed line could have been tested in a subsequent line's ShouldApplyTopMargin both before and after reflow, and might have been empty before or after reflow, then make the next line's previous margin dirty. 4) If reflowing a block changes its carried-out margin, then mark the next line's previous margin dirty. r+sr=dbaron 2004-09-18 14:39:07 +00:00
roc+%cs.cmu.edu 1c6d567101 Bug 248825. Correctly push overflowing float placeholders to the start of the overflow lines in the case where the first overflow line is a block. r+sr=dbaron 2004-09-17 00:02:56 +00:00
roc+%cs.cmu.edu 6146e49d29 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu dd9d911312 Fixing bustage 2004-09-13 15:24:11 +00:00
roc+%cs.cmu.edu ffe92c5115 Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron 2004-09-13 13:35:46 +00:00
dbaron%dbaron.org cd7b1f831b The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc 2004-09-13 05:39:27 +00:00
roc+%cs.cmu.edu acbe94ccd6 Bug 258118. Ensure that float breaks are eventually honoured even if the line with the break is not reflowed and the following line is empty. r+sr=dbaron(rubber-stamp) 2004-09-13 02:21:35 +00:00
roc+%cs.cmu.edu cdaf90f7e4 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
jst%mozilla.jstenback.com 8e2ce60a2d Landing fix for bug 258487, patch by Wladimir Palant <trev@gtchat.de>. Add code to check a pref for how to treat popups opened by a plugin. r+sr=jst@mozilla.org 2004-09-09 18:53:21 +00:00
roc+%cs.cmu.edu da54d83f54 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron%dbaron.org 2e93a67964 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org 1bfadac359 Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc 2004-09-04 23:03:04 +00:00
jst%mozilla.jstenback.com 63c881aeb2 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00
dbaron%dbaron.org e4e0192e47 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org 58b70d35d1 Land bug 72747 in pieces: Add default constructor for ScrollbarStyles. b=72747 r+sr=roc 2004-09-04 07:35:12 +00:00
dbaron%dbaron.org d12362e0ef Land bug 72747 in pieces: Change types on ScrollbarStyles from PRInt32 to PRUint8. b=72747 r+sr=roc 2004-09-04 07:02:46 +00:00
dbaron%dbaron.org 46a0c16189 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org 757800ab54 Back out text input changes from bug 72747. 2004-09-04 03:49:25 +00:00
dbaron%dbaron.org 4db1f75805 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org 8f051ffe83 Land bug 72747 in pieces: A little cleanup. b=72747 r+sr=roc 2004-09-03 23:57:42 +00:00
dbaron%dbaron.org 9d42af129c Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc 2004-09-03 23:29:38 +00:00
dbaron%dbaron.org 2260749166 Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc 2004-09-03 23:28:26 +00:00
dbaron%dbaron.org 462cb0cabd Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:22:15 +00:00
dbaron%dbaron.org addb69cbb7 Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:17:18 +00:00
dbaron%dbaron.org 7325984b89 Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc 2004-09-03 22:28:34 +00:00
dbaron%dbaron.org 58b2482f65 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
timeless%mozdev.org f214b8a95f Bug 257877 replacement content isn't rendered if gkplugin.dll isn't present
r=jst sr=bz
2004-09-03 21:49:13 +00:00
dbaron%dbaron.org 13d0d98e6c Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc 2004-09-03 00:46:43 +00:00
dbaron%dbaron.org 0777d4a522 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:27:23 +00:00
kyle.yuan%sun.com c3a9746bda Bug 254997 Caret tracking by line (down arrow) skips over huge portions of the document. r=aaronl, sr=roc, patch=ginn.chen@sun.com 2004-09-02 05:02:53 +00:00
bryner%brianryner.com 4de1e631ea deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
bryner%brianryner.com 6395cedb06 Restoring previous failure code, follow-up to bug 257596 2004-09-01 18:02:04 +00:00
jst%mozilla.jstenback.com f1d17b9743 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
aaronleventhal%moonset.net ee255c951a Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
roc+%cs.cmu.edu 86223813ee Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron 2004-09-01 13:33:17 +00:00
bryner%brianryner.com f7a0694a86 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bmlk%gmx.de 2f6b11f655 bustage fix 2004-08-31 19:26:37 +00:00
bmlk%gmx.de 1134a9f349 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc 2004-08-31 18:50:40 +00:00
bryner%brianryner.com a8153addf4 More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
bryner%brianryner.com 694e5e4fef Extend invalidated region by one source row in each direction so that we fully cover the rows in a scaled image which may be drawn using a given source row. This fixes the "white lines" problem with scaled images (bug 222901). r=pavlov, sr=tor. 2004-08-28 23:59:15 +00:00
dbaron%dbaron.org 67e0ee1634 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 399f49c365 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org 0430fe1b67 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu 61a3b308a7 Relanding fix for bug 253977, now that state bits prevent GetOverflowLines from being expensive. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron 2004-08-26 12:38:50 +00:00
roc+%cs.cmu.edu 26b7c53bd7 Bug 256937. Use state bits to avoid expensive property lookups in GetOverflowLines/OutOfFlows/Placeholders. r+sr=dbaron 2004-08-26 03:07:05 +00:00
roc+%cs.cmu.edu 7494eafa7b Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
bryner%brianryner.com dfc3256186 This change didn't seem to help, backing out. 2004-08-25 18:19:01 +00:00
bryner%brianryner.com 71a9f7c833 Testing whether inlining the Get/SetProperty calls in Get/SetView helps the Tp regression from bug 253888. 2004-08-25 16:29:47 +00:00
roc+%cs.cmu.edu 7e7410e03f Bug 252920. Compute the block overflow area using nsRects instead of some hokey homegrown calculations. Don't advancy mY for empty lines. r+sr=dbaron 2004-08-25 13:10:06 +00:00
roc+%cs.cmu.edu a179d11a59 Bug 252771. Recompute an inline frame's overflow area nearly from scratch in RelativePositionFrames, so we don't try to maintain it (and fail) during inline frame alignment. r+sr=dbaron 2004-08-25 13:03:28 +00:00
bryner%brianryner.com 298e40d66b slight optimization to previous checkin, bug 253888 2004-08-24 21:47:04 +00:00
bryner%brianryner.com 6f61ffd0d2 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
kjh-5727%comcast.net bdf32c66bf Bug 256436 - Backing out the patch from bug 255584 due to a regression.
Requested by roc.
2004-08-22 20:24:16 +00:00
bryner%brianryner.com 014fbde518 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com 87894dfad3 Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
roc+%cs.cmu.edu c930dd179f Bug 253977 backout because of possible Tp regression on btek. 2004-08-22 03:50:59 +00:00
roc+%cs.cmu.edu 451af652a5 Bug 253977. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron 2004-08-22 03:00:46 +00:00
bryner%brianryner.com 0509dcce92 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com fd39847c12 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
roc+%cs.cmu.edu cf6404a4f3 Bug 255584. Don't include areas above and to the left of the origin when we're trying to figure out the scrollable width and height --- we can't scroll to them! r+sr=dbaron 2004-08-21 03:04:26 +00:00
bryner%brianryner.com efcc221ee4 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
blizzard%redhat.com 5d70acc212 Bug #255405. BinarySearchForPosition can generate invalid unicode for text measurement. Make sure to not send half of a surrogate pair down to the font layer. r+sr=roc 2004-08-19 15:31:30 +00:00
bzbarsky%mit.edu be89fc5379 Addendum to bug 253572 patch per dbaron's comment in the bug. 2004-08-11 00:17:54 +00:00
bzbarsky%mit.edu fbd3f708f2 Make sure that GetFrameForPoint checks all layers of each float before moving
on to the next one.  Bug 253572, r+sr=roc
2004-08-10 22:24:00 +00:00
bzbarsky%mit.edu f92a3fdd9d Trying to fix Tp regression. More of bug 254378, r+sr=roc 2004-08-10 21:25:48 +00:00
bzbarsky%mit.edu f6fc737a5c Cache the IsEmpty() state in the framestate so we don't have to do quite as
much style-getting and QIing.  Bug 254378, r+sr=roc
2004-08-10 19:09:49 +00:00
dbaron%dbaron.org 10b65694e8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
mats.palmgren%bredband.net 8e3ace6324 Added more log messages for incorrect "coords" attribute values. b=233353 r+sr=bzbarsky 2004-08-08 14:05:35 +00:00
mats.palmgren%bredband.net 7ec3e86276 Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00
bzbarsky%mit.edu 9d4e998972 Check for updated bullet image in DidSetStyleContext, not reflow. Bug 180142,
r+sr=dbaron
2004-08-04 21:18:20 +00:00
cbiesinger%web.de 813c0230ba Bug 254278 remove some *WithConversion in layout/content
r+sr=bz
2004-08-04 17:33:30 +00:00
dbaron%dbaron.org 37e456513f Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
bryner%brianryner.com 18fa617572 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org 489b31f9cf Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00
bzbarsky%mit.edu 7910be6729 This wasn't supposed to go in... 2004-07-30 06:21:04 +00:00
bzbarsky%mit.edu ff3b8770ed Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
dbaron%dbaron.org dac91adbc7 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-29 20:07:25 +00:00
bryner%brianryner.com 88f80381e3 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net fc2886ae69 Bug 252984. Remove focus and tab navigation code that's no longer necessary which is actually breaking some form controls. r=bryner, sr=bz 2004-07-29 18:06:55 +00:00
roc+%cs.cmu.edu 45c94413a9 Bug 253195. Fix a really nasty data corruption bug in nsBlockFrame::DoRemoveFrame, that only shows up when you need to delete inline continuations that are in a continuation of the current block --- probably doesn't happen today, but will happen with columns and page-layout editing. r+sr=dbaron 2004-07-27 18:22:14 +00:00
bzbarsky%mit.edu 4f6dfefbdd Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
cbiesinger%web.de d0d6547e1e Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
aaronleventhal%moonset.net 0319b80e0e Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst 2004-07-24 21:12:43 +00:00
roc+%cs.cmu.edu c848b4cd4a Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron 2004-07-23 21:39:47 +00:00
roc+%cs.cmu.edu 57a86f6acb Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron 2004-07-20 00:02:43 +00:00
bzbarsky%mit.edu 211bc9b439 Fix bug 251844 -- <onject> blocked by content policy doesn't show alternate
content.  r=mvl, sr=jst
2004-07-18 18:00:58 +00:00
roc+%cs.cmu.edu 91db4db112 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron 2004-07-18 12:02:53 +00:00
dbaron%dbaron.org 90c025ee9c Backing out half of 236889. 2004-07-16 21:23:27 +00:00
dbaron%dbaron.org 76455a7d6c Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload. 2004-07-16 20:26:39 +00:00
aaronleventhal%moonset.net 1ebd6baf37 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net ccbc55e0d0 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
jim_nance%yahoo.com e436bc48dd Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc 2004-07-15 17:50:34 +00:00
bzbarsky%mit.edu 20502984b4 Use the direction of the abs pos box, not its containing block, when deciding
which offset to use the static position for.  Bug 247287, r+sr=dbaron
2004-07-15 06:10:53 +00:00
bzbarsky%mit.edu 89f5da9306 Testing backout of bug 236889 to see effect on performance. a=#mozilla 2004-07-15 02:54:01 +00:00
dbaron%dbaron.org dc4982f861 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-14 22:10:55 +00:00
aaronleventhal%moonset.net 78fcf72fc2 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
aaronleventhal%moonset.net 9aeb55ff97 Bug 171366. Support tabindex for all elements. r=bryner, sr=jst 2004-07-07 00:58:57 +00:00
dbaron%dbaron.org c890efeb0e Fix scaling of images in response to {min,max}-{width,height}. b=234686 r+sr=bzbarsky 2004-07-05 00:17:11 +00:00
roc+%cs.cmu.edu 172918edbf Bug 244017. Hack invalidation of block children of blocks to avoid answering the question of whether we're supposed to invalidate the difference in frame bounds or the difference in overflow areas. r+sr=dbaron 2004-06-29 12:46:46 +00:00