Commit Graph

4747 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
ac28e607a7 Fix frame tree mangling when a combobox is inside a pseudo-cell. Bug 275746,
r=bernd, sr=roc
2005-02-01 21:01:31 +00:00
bzbarsky%mit.edu
90f4604981 Fix insertion of content into blocks with first-letter styles to put the frames
in the right place.  Bug 277686, r+sr=dbaron
2005-02-01 18:46:35 +00:00
bryner%brianryner.com
f575a675b2 Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
dbaron%dbaron.org
8993baf11c Convert CR-LF and CR linebreaks to LF. 2005-01-28 20:01:46 +00:00
bryner%brianryner.com
d94c0df713 Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
bzbarsky%mit.edu
471a666de1 Make sure to not allow reflow flushes to happen in the middle of scroll
position restoration.  Bug 279786, r+sr=roc
2005-01-27 21:18:30 +00:00
bzbarsky%mit.edu
ab21bfff5a Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc
2005-01-27 21:17:08 +00:00
roc+%cs.cmu.edu
86e95f1475 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky 2005-01-27 20:49:47 +00:00
roc+%cs.cmu.edu
3d142ae8e8 Bug 277421. Make absolutely-positioned frame construction use ConstructBlock; removed redundant code and enables abs-pos elements with columns. r+sr=bzbarsky 2005-01-25 22:36:32 +00:00
roc+%cs.cmu.edu
71dae651a2 Bug 277421. Make absolutely-positioned frame construction use ConstructBlock; removed redundant code and enables abs-pos elements with columns. r+sr=bzbarsky 2005-01-25 22:17:59 +00:00
bzbarsky%mit.edu
a20d9d1582 Fixing some bustage from bug 269566 -- I got the order of args to
nsINodeInfo::Equals() wrong. r=sicking
2005-01-25 21:15:21 +00:00
smontagu%smontagu.org
516f51c581 Right-to-left text is sometimes reversed when changing text size. Bug 248447, patch by Lina Kemmel <lkemmel@il.ibm.com>, r=me, sr=dbaron. 2005-01-25 13:37:28 +00:00
tor%cs.brown.edu
0ee1400807 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.
2005-01-25 03:55:03 +00:00
roc+%cs.cmu.edu
803da53c31 Bug 219444. Certain style changes to tables don't work because table-outer frames inherit style from table-inner frames but are above them in the frame tree. Hack ReResolveStyleContext to make sure table-outer frames get the right style changes. r+sr=bzbarsky 2005-01-25 02:14:31 +00:00
bzbarsky%mit.edu
edaea1cda5 Hoist pseudo-frame handling up so it happens for all frames. Fixes crashes bug
269566 and bug 275625.  r=bernd, sr=dbaron
2005-01-24 22:51:20 +00:00
roc+%cs.cmu.edu
f1635b58a4 Bug 95227. Allow serif/sansserif defaults to be set per-language. Patch by Masayuki Nakano, r=dbaron,amadare,danm,smontagu,rbs,neil sr=roc 2005-01-23 23:58:32 +00:00
mrbkap%gmail.com
59af451e8f bug 71191: Cannot apply bindings on the root element in a document. r+sr=bzbarsky 2005-01-21 04:42:30 +00:00
bzbarsky%mit.edu
382d4f4c86 Fix crash if insertion point has display:none. Bug 277523, r+sr=bryner 2005-01-20 19:54:06 +00:00
bzbarsky%mit.edu
905bf0a35a Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
tor%cs.brown.edu
850c148d4c Bug 277034 - Large SVG documents don't display scrollbars. r+sr=roc. 2005-01-19 16:11:03 +00:00
neil%parkwaycc.co.uk
a3392e7e6c Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
aaronleventhal%moonset.net
d4e3820058 Bug 249136. Focus lost when key pressed in newly loading foreground tab. r=bryner, sr=jst 2005-01-17 14:43:41 +00:00
neil%parkwaycc.co.uk
c9cb84e772 Bug 278546 Unchecked null pointer crash in nsPresShell::GetViewToScroll when pressing an arrow key while the sidebar's Tabs menubutton has focus r+sr=bz 2005-01-16 21:25:15 +00:00
mats.palmgren%bredband.net
bacfc09a21 Don't create page breaks when 'display:none'. b=277035 r+sr=dbaron 2005-01-16 15:30:37 +00:00
neil%parkwaycc.co.uk
f29d0d0920 Bug 274703 sizeToContent doesn't compute the correct size in certain cases e.g. after setting description text r=jst sr=bz 2005-01-15 18:01:22 +00:00
bzbarsky%mit.edu
1d87c3297f Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
bryner%brianryner.com
e464405de3 Add a mechansim to extend the list of agent or user stylesheets. Bug 179006, r+sr=bzbarsky. 2005-01-15 00:10:19 +00:00
bryner%brianryner.com
cf6382ba15 Less-than-ideal fix for the problem where XTF insertion points don't work if the insertion point has only inline frame ancestors (which are not in the primary frame map) in the anonymous content tree. Track the insertion point content node as we're constructing anonymous content frames and insert the explicit content when we reach the insertion point. Bug 269023, r=bzbarsky, sr=dbaron. 2005-01-14 23:12:20 +00:00
bryner%brianryner.com
a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
38e3d448d9 Make DocumentViewerImpl::CopyImageContents also put the image URI on the
clipboard in the text flavor; a big step toward having a single "copy image"
command that puts it on the clipboard in all relevant flavors in a meaningful
way.  Bug 135300, patch by O. Atsushi (Torisugari) <torisugari@gmail.com>,
r=bzbarsky, sr=jst
2005-01-12 04:11:26 +00:00
tor%cs.brown.edu
fcc6992879 Bug 277034 - large svg documents don't display scrollbars. r+sr=bzbarsky 2005-01-05 05:49:35 +00:00
bzbarsky%mit.edu
8246413d48 Remove incorrect code that unnecessarily pushes pseudo-frame state and causes
frames to be lost.  Bug 271422, r=bernd, sr=roc
2005-01-03 23:39:38 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
mats.palmgren%bredband.net
8a4a940c11 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky 2005-01-03 19:37:54 +00:00
mats.palmgren%bredband.net
6c587f43e6 Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky 2005-01-02 14:30:24 +00:00
neil%parkwaycc.co.uk
74e2aa375a Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
3d7261604c Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
fbf5e17933 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz
2004-12-28 13:48:25 +00:00
bmlk%gmx.de
ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
bmlk%gmx.de
d3197a9276 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
dbaron%dbaron.org
d1da171a4f Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc 2004-12-24 22:27:57 +00:00
bmlk%gmx.de
56da8513d7 dont take colgroup pseudoframes into account when creating row- or rowgroup pseudo frames bug 267725 p=basic@mozillanews.org r=bernd sr=bzbarsky 2004-12-24 07:35:33 +00:00
dbaron%dbaron.org
1a43dc79c0 Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv 2004-12-19 21:45:51 +00:00
tor%cs.brown.edu
9fd7c6b3b7 Bug 216568 - <svg:image> implementation. r=pavlov 2004-12-17 23:45:30 +00:00
dbaron%dbaron.org
972b29f4a1 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bryner%brianryner.com
076b2a64a6 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
cbiesinger%web.de
e21c6632f7 bug 36322 patch by Masayuki Nakano <masayuki@d-toybox.com> r+sr=roc
Japanese text justification
2004-12-12 16:14:43 +00:00
tor%cs.brown.edu
b64db91538 Bug 216559 - CSS3 currentColor. Patch by scootermorris@comcast.net.
r=bz, sr=dbaron.
2004-12-09 23:51:25 +00:00
tor%cs.brown.edu
b3e2c4245d Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
dbaron%dbaron.org
3b62b736d5 Bug 272151: reorganize files within layout, r+sr=roc: cvs removing obsolete files 2004-12-08 19:55:19 +00:00
dbaron%dbaron.org
f70d9a3c2f Bug 272151: reorganize files within layout, r+sr=roc: cvs removing files that were copied to new locations in the repository 2004-12-08 19:45:40 +00:00
dbaron%dbaron.org
9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
dbaron%dbaron.org
69a2452703 Remove long-unused nsIMutableStyleContext. b=272151 2004-12-07 06:50:11 +00:00
roc+%cs.cmu.edu
4aabdbcc0b Bug 266890. Remove nsScrollPortFrame since it's the only subclass of nsScrollBoxFrame, just merge everything up to nsScrollBoxFrame. r+sr=bryner 2004-12-07 03:42:00 +00:00
dbaron%dbaron.org
468d2b70e8 Remove unneeded include. b=272151 2004-12-07 02:28:38 +00:00
dbaron%dbaron.org
9643fc6c04 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
bmlk%gmx.de
3afdea9ca5 switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky 2004-12-01 18:47:34 +00:00
bzbarsky%mit.edu
5d84790d77 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc
2004-12-01 03:28:44 +00:00
smontagu%smontagu.org
52ff1c323f Prevent the right-to-left directional hook from overlapping the caret and make both directions thinner. Bug 264903, r=mkaply, aaronleventhal, sr=rbs. 2004-11-30 19:28:00 +00:00
smontagu%smontagu.org
5bff65e904 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc. 2004-11-29 20:28:46 +00:00
mats.palmgren%bredband.net
f98dac5a17 Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron 2004-11-26 20:39:30 +00:00
roc+%cs.cmu.edu
c59dda520c Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
roc+%cs.cmu.edu
13a6502805 Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron 2004-11-25 14:51:00 +00:00
bzbarsky%mit.edu
17ca54b983 Fixing build bustage. Bug 263374 2004-11-25 02:58:01 +00:00
bzbarsky%mit.edu
1cb3693088 Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron
2004-11-25 02:43:28 +00:00
neil%parkwaycc.co.uk
a45fb5a046 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
9e94a3b521 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc
2004-11-23 17:26:19 +00:00
tor%cs.brown.edu
53255669fd Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc. 2004-11-23 13:51:57 +00:00
bzbarsky%mit.edu
7028f44696 Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa
2004-11-22 02:59:19 +00:00
aaronleventhal%moonset.net
fa8a4835aa Bug 265940. Textfield doesn't scroll horizontally to left after backspace or left arrow. r=mats, sr=roc, a=asa 2004-11-19 03:49:20 +00:00
jshin%mailaps.org
7f32280119 get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry) 2004-11-19 03:32:28 +00:00
jshin%mailaps.org
0bce7f2fcb bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc) 2004-11-19 03:21:12 +00:00
bryner%brianryner.com
b8230b567b Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky 2004-11-16 18:07:13 +00:00
bryner%brianryner.com
40d10075b6 Testing whether this QI is responsible for the Tp increase on btek. 2004-11-16 08:28:26 +00:00
bryner%brianryner.com
4d7fcaaa94 Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally. 2004-11-16 07:27:39 +00:00
bzbarsky%mit.edu
8f7bf9d9b8 Remove effectively dead code in GetFloatContainingBlock(). Bug 267036,
r+sr=dbaron
2004-11-16 02:20:37 +00:00
roc+%cs.cmu.edu
b7dfbedd1f Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in. 2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
fbb67978a5 Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp) 2004-11-14 20:22:58 +00:00
aaronleventhal%moonset.net
add2b7a5d7 Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner 2004-11-12 21:58:12 +00:00
timeless%mozdev.org
fb483e6b15 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
scott%scott-macgregor.org
903bd845ea Try landing the fix for infamous Bug #98564 again -->
caret overlaps the last character in textfield (if positioned after the last char)

r=smontagu
sr=sfraser

We think this patch can land again because the regression it introduced was fixed by
Bug #216101 which does a better job of clearing out caret fragments.
2004-11-10 07:14:08 +00:00
bmlk%gmx.de
2eda0dd986 during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky 2004-11-06 07:07:43 +00:00
bzbarsky%mit.edu
b1ffcf0672 Fix parent frame determination for tables so that positioned tables end up with
the placeholder in the right place.  Bug 266850, r=mats.palmgren, sr=roc
2004-11-04 18:53:05 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
7fd8feb31d Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
82d2fed87b Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner 2004-11-03 02:52:16 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
fa86106a4d Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
60e2f8a8ed Assert if someone calls frame->SetNextSibling(frame), since that creates a
looped linked list.  Bug 266332, patch by timeless, r+sr=bzbarsky
2004-10-30 18:37:35 +00:00
bzbarsky%mit.edu
630c5022f7 Add loop-detection to the various methods that can change an nsFrameList. This
will assert if a loop is detected.  Bug 266332, r+sr=roc
2004-10-30 18:35:53 +00:00
bzbarsky%mit.edu
cf0cf99c31 Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
trigger an assert.  Bug 266321, r+sr=roc
2004-10-30 18:27:40 +00:00
aaronleventhal%moonset.net
0eaecc5f33 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner 2004-10-29 13:40:25 +00:00
bugzilla%arlen.demon.co.uk
e88339585d Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky
2004-10-29 12:28:19 +00:00
bzbarsky%mit.edu
4ea1df8397 Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu
f4e1dbcf2e Make sure to clear the event queue before processing restyles, in case that
tries to post reflow events. Bug 266171, r+sr=dbaron
2004-10-26 21:42:37 +00:00
aaronleventhal%moonset.net
99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
bmlk%gmx.de
d630cce6b0 prevent double caption frame creation instead of later caption frame removal bug 265181 r/sr=bzabrsky 2004-10-25 12:31:02 +00:00
bzbarsky%mit.edu
31412e926b Make sure to insert the floating items as children of their parent before
clobbering the float items in the constructor state when a table cell is
floated.  Bug 263846, r+sr=roc
2004-10-24 22:03:49 +00:00