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

1041 Коммитов

Автор SHA1 Сообщение Дата
roc+@cs.cmu.edu 0a70ba3e53 Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon 2008-04-09 21:39:41 -07:00
dbaron@dbaron.org 878a6caed2 Disable a small part of the fix for bug 416168 to fix a regression with outlines of certain empty inlines. b=424236 r+sr=roc a=blocking1.9+ 2008-04-05 20:55:15 -07:00
roc+@cs.cmu.edu 78a0743f5b Bug 424873. Make GetWidgetOverflow take the new frame size as input instead of using the possibly-stale old frame size. r+sr=dbaron 2008-04-01 16:34:20 -07:00
reed@reedloden.com 48d36e4da6 Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner] 2008-03-25 16:19:46 -07:00
reed@reedloden.com 732fa02cb6 Back out Robert O'Callahan's patch from bug 423385 due to mochitest failure. 2008-03-24 23:26:53 -07:00
reed@reedloden.com ed83140178 Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner] 2008-03-24 21:50:12 -07:00
roc+@cs.cmu.edu 8f3ecb543c Backing out 413027 again. 2008-03-13 02:14:16 -07:00
roc+@cs.cmu.edu be731bdd00 Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with additional XUL box layout fix to increase the frame size to the minimum size required by children even if they don't change size during layout, and a fix to scrollframes so they don't depend on being able to set a size for scrollbars less than their minimum size. r+sr=dbaron 2008-03-13 01:40:43 -07:00
roc+@cs.cmu.edu 1618ccd90c Bug 413027 backed out again 2008-03-11 19:01:17 -07:00
roc+@cs.cmu.edu e6adaba276 Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with extra instrumentation in the strangely-failing mochitest test_bug199692.xul 2008-03-11 18:05:26 -07:00
roc+@cs.cmu.edu 76cd12b42d Backing out bug 413027 2008-03-11 01:36:01 -07:00
roc+@cs.cmu.edu e5147ba795 Bug 413027. The XUL min-size and pref-size for a CSS block should just be its height when reflowed at its preferred width --- NOT the height of the tallest line, that is insane. r+sr=dbaron 2008-03-11 00:38:26 -07:00
bzbarsky@mit.edu 21dee34a41 Make sure to do saturating adds on possibly-unconstrained nscoords. Bug 421404, r=dholbert, sr=roc, a=beltzner 2008-03-07 13:20:03 -08:00
dbaron@dbaron.org 0d8b560733 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
roc+@cs.cmu.edu f270904496 Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner 2008-03-03 00:37:34 -08:00
roc+@cs.cmu.edu 015af08fd4 Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron 2008-02-27 01:46:22 -08:00
uriber@gmail.com e97bd96b3a Add a comment and assertion to the fix for bug 370174. r+sr=roc on the original patch. blocking1.9=dbaron 2008-02-23 02:54:29 -08:00
uriber@gmail.com 54822b762c Don't crash on triple-clicking when there's an orphan content somewhere. bug=370174 r+sr=roc blocking1.9=dbaron 2008-02-22 13:21:15 -08:00
fantasai.cvs@inkedblade.net 2f230818c7 switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc 2008-02-19 23:08:55 -08:00
bzbarsky@mit.edu 3a6834eaac Fix bug 416073: invalidate more things as needed during table reflow to prevent glitches. r+sr=roc 2008-02-08 01:36:32 -08:00
jonas@sicking.cc c104841a09 Bug 399352: Get rid of known-but-harmless assertions for GetUsedMargin/Border/Padding. r/sr=dbaron 2008-01-29 20:53:46 -08:00
fantasai.cvs@inkedblade.net 3cf5f1aeed handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc 2008-01-27 00:13:19 -08:00
dwitte@stanford.edu 7e454eebf6 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 12:56:49 -08:00
vladimir@pobox.com 2e94f56ef2 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
roc+@cs.cmu.edu 3327ae5ee9 Bug 405380. Bidi reordering moves frames around so we can't trust pfd->mBounds in nsLineLayout::RelativePositionFrames. r+sr=dbaron 2007-12-11 16:42:20 -08:00
roc+@cs.cmu.edu 350892fb62 Bug 407155. Backing out 392809 to fix regressions. a=schrep 2007-12-07 01:35:44 -08:00
roc+@cs.cmu.edu fed73e9f6a Bug 392809. Break between whitespace and following punctuation even when stop_at_punctuation is false. Don't stop between punctuation and following non-punctuatino if the preceding punctuation follows white-space. r=smontagu 2007-12-04 18:11:17 -08:00
roc+@cs.cmu.edu efa3189859 Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron 2007-12-01 01:24:24 -08:00
Olli.Pettay@helsinki.fi a0a74f16e7 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
jwatt@jwatt.org d308285bb4 Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 04:09:03 -08:00
dholbert@cs.stanford.edu e1c9f57e6d Bug 398181: Use NSCoordSaturatingAdd/Subtract in 3 places where we might have unconstrained heights. r+sr+a=roc 2007-11-09 09:16:36 -08:00
reed@reedloden.com e09a2143a3 Bug 391584 - Pass around a context string so we can detect word breaks at the beginning or end of frames [p=roc r=smontagu a=blocking1.9+] 2007-11-07 20:33:28 -08:00
dholbert@cs.stanford.edu a885817005 Bug 398215 - Add RTL case for handling overflow width in BoxReflow. r+sr=roc, a=blocking1.9+ 2007-11-07 03:18:30 -08:00
dholbert@cs.stanford.edu 211998d47c Bug 385823 - Let us call NotifyPercentHeight even when computed height is already set, because it'll be set on imageFrames. r+sr=dbaron, a=beltzner 2007-11-06 14:47:29 -08:00
dholbert@cs.stanford.edu f90fee0b0b Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's. r=bzbarsky, r+a=roc 2007-10-19 10:41:29 -07:00
roc+@cs.cmu.edu 036806699a Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
tglek@mozilla.com 8cf3fb1c90 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
fantasai.cvs@inkedblade.net 404e205908 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
joshmoz@gmail.com f219b51c26 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc 2007-10-01 16:20:37 -07:00
reed@reedloden.com a89df363f1 Bug 393979 - "Remove orphaned comment in nsFrame::BoxReflow" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr+a1.9=roc] 2007-09-27 09:44:24 -07:00
roc+@cs.cmu.edu 73dee2aef5 Bug 368445. Make ApplyOverflowClipping compute the right padding-rect when native themes override the border. r+sr+a=dbaron 2007-09-24 17:47:05 -07:00
dholbert@cs.stanford.edu 5e31bd00b0 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
bzbarsky@mit.edu 12a3228bb7 Fix content leak due to double-init of oveflow placeholders. Bug 397011, r+sr+a=roc 2007-09-21 18:24:40 -07:00
Olli.Pettay@helsinki.fi f7b3910d1f Bug 395725, Crash [@ nsIFrame::GetFrameSelection], r+sr+a=roc 2007-09-15 12:48:20 -07:00
enndeakin@sympatico.ca 7ea5401dba Bug 387486, editor in grid overflows, r+sr+a=roc 2007-09-15 08:14:27 -07:00
martijn.martijn@gmail.com f6ccf14d51 Bug 257938 - Should css scrollable areas without scrollbars be tabbable?, patch by Aaron Leventhal, r+sr+a=roc 2007-09-04 05:14:52 -07:00
roc+@cs.cmu.edu bbc848d48f Bug 389421. Rework word selection, in particular so that layout.word_select.stop_at_punctuation is applied to boundaries between punctuation and non-punctuation, and all Unicode punctuation is treated as punctuation. 2007-08-29 20:10:19 -07:00
smontagu@smontagu.org 7a4ce65d7f Null check after CheckLineOrder. Bug 388175, patch by Uri Bernstein <uriber@gmail.com>, r=me, sr+a=roc 2007-08-29 00:22:42 -07:00
mozilla@weilbacher.org 672757f230 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron 2007-08-23 17:13:43 -07:00
philringnalda@gmail.com 42675246db Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
bzbarsky@mit.edu 9c59e9e4cc Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
roc+@cs.cmu.edu a28eeaaafd Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
jwalden@mit.edu 804f30a419 Rename one of the bits on frames with a meaningful name, rs/r+sr=dbaron 2007-07-20 17:34:36 -07:00
roc+@cs.cmu.edu 6e7d8b2db2 Bug 328296. Make outlines appeare below positioned elements instead of above them. r+sr=Mats Palmgren 2007-07-18 20:50:24 -07:00
bzbarsky@mit.edu 2350a1dc4e When reparenting placeholders to live under a first-line, don't change their
style context parent.  Bug 380012, r+sr=dbaron
2007-07-17 19:01:32 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
jruderman@hmc.edu 1df32e680d Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky. 2007-07-07 16:52:59 -07:00
mats.palmgren@bredband.net 42a227c78a Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
roc+@cs.cmu.edu f0d093fb48 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
peterv@propagandism.org 6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org 90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org 7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
dbaron@dbaron.org 3897543ff9 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 15:32:47 -07:00
dbaron@dbaron.org c8e15fecde Back out patch to make mousethrough attribute apply to all elements. b=380094 a=roc 2007-06-18 16:22:46 -07:00
dbaron@dbaron.org 0235059d11 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky 2007-06-12 11:27:09 -07:00
sharparrow1@yahoo.com 77d239e001 Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc 2007-05-21 03:06:08 -07:00
asqueella@gmail.com 9c28a8c384 Bug 380094 - make mousethrough more generally usefulp=toshok@hungry.comr+sr=roc 2007-05-13 09:00:00 -07:00
dbaron@dbaron.org f4e95ca927 Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky 2007-05-10 23:01:31 -07:00
bzbarsky@mit.edu bc29535f04 Fix determination of the style context parent for the inner table frame of aroot table. Bug 379386, r+sr=roc 2007-05-07 20:59:12 -07:00
bzbarsky@mit.edu 1b5f6b30b6 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu 073d7a78a6 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
dbaron@dbaron.org ace3611ec9 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
bzbarsky@mit.edu 968fb02e3d Resolve the right (parentless) style context for a table as a document root,and fix the assertion when adjusting parent style context frames to not triggerin non-scrollable documents. Bug 378693, r+sr=roc 2007-04-25 19:26:25 -07:00
bzbarsky@mit.edu 47dbe616f7 The parent style context frame determination for an inner table should use theinner table's pseudo, not the outer table's. Bug 377603, r+sr=dbaron 2007-04-15 22:55:42 -07:00
bzbarsky@mit.edu b82e527dc9 Change the way we determine the style context parent frame to skip css anonboxes unless we're determining the style context parent for something that isitself a css anon box (and is not a non-element frame). Fixes bug 323656(which is where the patch is), bug 85872, bug 280610. As far as I can tell,also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron 2007-04-15 16:14:26 -07:00
uriber@gmail.com 6953c2f40a Test for null parent content, rather than null parent frame, to avoid possible crash in FindBlockFrameOrBR(). bug=370174 r=sharparrow1 sr=roc 2007-04-14 09:34:12 -07:00
roc+@cs.cmu.edu 50d471f89f Bug 370439 (sort of). GetAbsPosClipRect needs to take the new frame size as a parameter, because the current frame size may be invalid when we are called by FinishAndStoreOverflow. r+sr=dbaron 2007-04-10 22:04:09 -07:00
bzbarsky@mit.edu 6937f798d5 Make non-blockframe kids of xul not have to end up with a zero height. Bug374038, r+sr=dbaron 2007-04-01 08:15:17 -07:00
bzbarsky@mit.edu eeaa1a101b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com 648180a221 Bug 372062: Auto values for right and bottom in CSS clip rect broken. r+sr=roc. 2007-03-28 18:31:26 -07:00
sharparrow1@yahoo.com 15eac4df7c Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc. 2007-03-26 20:58:17 -07:00
asqueella@gmail.com cf9f0977a5 Bug 374486 - "WARNING: Nonempty list left over?" in visual debugging mode
p=Sylvain Pasche <sylvain.pasche@gmail.com>r+sr=roc
2007-03-24 22:30:59 -07:00
mats.palmgren@bredband.net d24c99d63f Fix "selection colors are sometimes wrong". b=374765 r+sr=pavlov 2007-03-24 02:21:35 -07:00
roc+%cs.cmu.edu 4659d810e7 Bug 178513. Add nsDisplayList API that Neil's going to need --- a way to force all frames to be painted regardless of the setup of dirty rects. r+sr=dbaron 2007-03-19 03:25:05 +00:00
dbaron%dbaron.org 92ed79102f Remove warning about using nsFrame implementation of GetMinWidth and GetPrefWidth. b=357544 r+sr=roc 2007-03-16 16:18:06 +00:00
roc+%cs.cmu.edu 96bcb5c271 Bug 362435. Try using Samba's ntlm_auth to perform NTLM authentication on our behalf, when available. If the user has logged in by authenticating to Active Directory, then this may avoid having the user enter their password again. (single sign on) r+sr=biesi 2007-03-08 01:48:25 +00:00
dbaron%dbaron.org 9d7f938b99 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc 2007-02-24 18:33:33 +00:00
bzbarsky%mit.edu 997dd25704 deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
GetVAlign(), GetHAlign().  Remove GetInset().  Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
2007-02-22 18:05:14 +00:00
roc+%cs.cmu.edu debe2c46c4 Bug 354491. Fix the display of the event target frame in layout debugging to not use views and not crash. r=mats,sr=rbs 2007-02-20 20:22:19 +00:00
asqueella%gmail.com 284a5ea424 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
Olli.Pettay%helsinki.fi b3361bf8f9 Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc 2007-01-31 16:02:42 +00:00
cvshook%sicking.cc a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron%dbaron.org 0da0c9650d Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc 2007-01-28 17:20:01 +00:00
dbaron%dbaron.org 7fde96362d Revert previous change. 2007-01-27 19:35:29 +00:00
dbaron%dbaron.org a74c1106d1 Address review comment on bug 9458 that depends on bug 367247 by making nsFrame::IsContainingBlock not check display type, but making it purely frame-class-based. 2007-01-27 18:45:35 +00:00
dbaron%dbaron.org 5cb78b8e99 Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
bzbarsky%mit.edu baec9bd166 Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org f6245f0ed9 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc 2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu fa1e88771c Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron 2007-01-23 02:58:55 +00:00
dbaron%dbaron.org 73570b69c5 Make non-box frames use nsITheme methods concerning size, border, and padding, so that non-boxes with appearance set will obey the platform-specific theme. b=366722 r+sr=roc 2007-01-17 22:31:07 +00:00
dbaron%dbaron.org 8ffa9cc3c9 Handle padding and border correctly for reflow states constructed without a parent (reflow roots, things inside nsIBoxes). b=366952 r+sr=roc, r=bzbarsky 2007-01-17 05:19:35 +00:00
bzbarsky%mit.edu 5bb5b8f623 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc
2007-01-08 02:57:59 +00:00
uriber%gmail.com 9133558e7b Bug 200098: Double click near beginning of word selects two words (fix for Windows). r+sr=roc 2007-01-04 16:47:04 +00:00
timeless%mozdev.org 4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
mats.palmgren%bredband.net 79090c0f4b Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
dbaron%dbaron.org 2084e073f8 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
mats.palmgren%bredband.net 3dedd0465d Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron 2006-12-18 13:20:18 +00:00
mats.palmgren%bredband.net 6ee857d0b7 Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron 2006-12-17 14:06:42 +00:00
gavin%gavinsharp.com a6c6f230c8 Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron 2006-12-16 14:40:44 +00:00
dbaron%dbaron.org d5af630c22 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
dbaron%dbaron.org 31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
Olli.Pettay%helsinki.fi e1cb40cc52 Bug 360928, Un-inline nsWeakFrame a bit, r+sr=roc 2006-11-18 06:38:15 +00:00
Olli.Pettay%helsinki.fi 8b6f4c022e Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu 8a32ae7e9f Add asserts and documentation to enfoce correct behavior. Bug 316267 followup,
r+sr=roc.
2006-11-06 01:17:32 +00:00
aaronleventhal%moonset.net e7cd6c578f Bug 354832. Support nsIAccessibleText for html buttons and list options. r=ginn.chen, sr=roc 2006-10-02 19:33:49 +00:00
roc+%cs.cmu.edu 1710fb769b Bug 350148. Improve scrolling of large documents generally by only searching descendants of the moving frame for position-varying graphics when we know we've actually painted position-varying graphics in this prescontext. r+sr=dbaron 2006-09-19 22:05:33 +00:00
roc+%cs.cmu.edu cef42d026c Bug 350148. Fix gmail scrolling speed by not creating nsDisplayBorder items for zero-width borders. r+sr=dbaron 2006-09-19 21:46:01 +00:00
roc+%cs.cmu.edu 383028dfd0 Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs 2006-09-19 21:04:06 +00:00
roc+%cs.cmu.edu b625dcc429 Bug 349477. Generalize handling of non-inline frames in inline contexts so they all make pseudo-stacking-contexts. r+sr=dbaron 2006-09-19 20:58:36 +00:00
Olli.Pettay%helsinki.fi 4b1c4393e9 Bug 349931, crashes during drag-and-drop, r+sr=roc 2006-09-18 08:47:06 +00:00
uriber%gmail.com 38c1e056e9 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc 2006-09-11 20:43:01 +00:00
uriber%gmail.com 0fa608ce5e Backing out bug 300131 until I figure out how to deal with the bustage. 2006-09-11 08:03:28 +00:00
uriber%gmail.com d869620f7f Change nsIFrame::PeekOffset back to NS_IMETHOD to fix bustage from bug 300131 2006-09-11 07:44:59 +00:00
uriber%gmail.com 95b377fc13 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc 2006-09-11 06:39:56 +00:00
uriber%gmail.com ca5218736c Allow users of nsFrameTraversal to specify what features they want the iterator to have, and make nsFrame::GetFrameFromDirection() specify "following OOFs". bug=334626 r+sr=roc 2006-08-30 13:38:16 +00:00
timeless%mozdev.org 97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
bzbarsky%mit.edu ce0ea52255 Pseudo-elements are not the root. Bug 334602, r+sr=dbaron 2006-08-12 02:14:39 +00:00
uriber%gmail.com 1424fdd54a Attempt to fix bustage from bug 333883. 2006-08-07 11:24:57 +00:00
uriber%gmail.com 97d95c3f78 Refactored nsSelection::GetPrevNextBidiLevels to use GetFrameFromDirection; moved GetFrameFromDirection from nsFrame to nsIFrame and made it nonvirtual. bug=333883 r=smontagu sr=roc 2006-08-07 10:54:56 +00:00
Olli.Pettay%helsinki.fi 2c20730cd7 Bug 336592, Fixing mistake in previous patch, PRUint32->PRInt32, r+sr=roc 2006-08-04 07:35:35 +00:00
uriber%gmail.com 8c0e3dd5b7 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc 2006-08-04 05:40:57 +00:00
roc+%cs.cmu.edu d37535bf42 Bug 346035. Force <stack> children to be full-fledged stacking contexts and put their display items in the Content display list. r+sr=dbaron 2006-08-03 21:39:39 +00:00
uriber%gmail.com cee7609648 Enable PeekOffset to find the visual beginning/end of a line, and use use it for bidi caret positioning. bug=302051 r=smontagu sr=roc 2006-08-03 06:24:11 +00:00
uriber%gmail.com 2322fdcee9 Simplify handling of the eSelectNoAmount case in nsFrame::PeekOffset. bug=344514 r+sr=roc 2006-07-18 07:32:58 +00:00
uriber%gmail.com e121423cb8 Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
uriber%gmail.com 6f21109f82 Always use the visual iterator when moving visually in a bidi page, even if the current line or adjacent lines are LTR. bug=309432 r=smontagu sr=roc 2006-07-12 11:22:18 +00:00
uriber%gmail.com 791743405c Bug 16203: double-click drag should do selection in "word-by-word" mode. r+sr=roc 2006-07-12 07:07:36 +00:00
mark%moxienet.com a66ed53902 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron 2006-06-17 01:05:26 +00:00
mrbkap%gmail.com 75ca976432 Avoid a crash in nsAutoScrollTimer by keeping a reference to the content instead of the view. bug 322084, patch by jpl24 <jlurz24@gmail.com>, r+sr=roc 2006-06-16 01:54:31 +00:00
roc+%cs.cmu.edu 8306f1b819 Bug 341141. Position abs-pos clip rects correctly. r+sr=bzbarsky 2006-06-15 03:25:33 +00:00
dbaron%dbaron.org 406dcbe44e Fix regression by re-retrieving style struct after changing the frame we're dealing with. b=340798 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron 2006-06-09 21:04:21 +00:00
roc+%cs.cmu.edu 82e7436876 Bug 331590. Treat inline-box/grid/stack XUL elements like inline blocks, making them pseudo-stacking-contexts. r+sr=dbaron 2006-06-08 03:35:29 +00:00
roc+%cs.cmu.edu e7e6b5ae2a Bug 336121. Treat table outer frames as psuedostacking contexts. r+sr=dbaron 2006-06-08 03:32:06 +00:00
roc+%cs.cmu.edu 597d8bc582 Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky 2006-06-08 01:11:43 +00:00
uriber%gmail.com 0ba372b7aa Fix triple-click paragraph selection near block generated content. bug=339430, r+sr=roc 2006-05-29 08:32:46 +00:00
Olli.Pettay%helsinki.fi 71cc3ffc30 Bug 336592, Crash when window gets destroyed during selection event, r+sr=roc 2006-05-12 06:40:49 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
timeless%mozdev.org c3d5345371 Bug 334897 Useless null check of shell in nsFrame::Destroy
r=dbaron sr=dbaron
2006-05-06 21:42:49 +00:00
cvshook%sicking.cc d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
aaronleventhal%moonset.net e4210b85b2 Bug 336162. Don't fire DOM events from layout. r+sr=bz 2006-05-03 17:02:37 +00:00
roc+%cs.cmu.edu d9cf8d8bf8 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap 2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu aac1b0d44f Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu 2c105676af Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron 2006-04-25 19:56:45 +00:00
mrbkap%gmail.com e27b36efcc Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
roc+%cs.cmu.edu a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
uriber%gmail.com 22b463bc6d Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc 2006-04-08 14:45:48 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
uriber%gmail.com a93a7ba7f6 For left/right arrows, don't flip the hint in PeekOffset(); instead figure it afterwards in MoveCaret(). bug=331444 r=smontagu sr=roc 2006-03-28 18:33:37 +00:00
roc+%cs.cmu.edu 0a10a79f62 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
uriber%gmail.com 2ca4a24853 Bug 331440: Remove eSelectDir from nsSelectionAmount enum, and all references to it. r+sr=roc 2006-03-23 18:36:44 +00:00
uriber%gmail.com 4faccc8fe3 Simplified bidi code in GetFrameFromDirection; changed bidi semantics of eDirPrevious, eDirNext. bug=330815 r=smontagu sr=roc 2006-03-23 08:30:30 +00:00
uriber%gmail.com a52c79e7ad Bug 330881: Crash when double-clicking in empty area inside isindex with position:absolute;direction:rtl;. r+sr=roc 2006-03-20 09:20:49 +00:00
pavlov%pavlov.net 336a97d6bb forgot to remove Save/Restore before checking in. bug 328390. r=vlad sr=roc 2006-03-16 22:46:10 +00:00
pavlov%pavlov.net 5f68395a20 draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc 2006-03-16 21:42:50 +00:00
pavlov%pavlov.net 131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu 557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu 6fd863f2dd Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
sharparrow1%yahoo.com 96bf85b6ac Bug 329031 - home/end/ctrl+home/ctrl+end offset calculation cleanup. r=uriber, sr=roc. 2006-03-13 01:13:25 +00:00
roc+%cs.cmu.edu c2801ebbd7 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
uriber%gmail.com adac4c20d3 Bug 328876: Avoid compiler warning in nsFrame::GetSelectionClosestFrame(). r+sr=roc 2006-03-01 21:18:30 +00:00
uriber%gmail.com 92fe5cb863 Bug 326932: Triple-click paragraph selection doesn't work correctly in paragraphs containing form controls. r+sr=roc 2006-03-01 19:28:42 +00:00
sharparrow1%yahoo.com 35f936ecec Bug 320326: deCOMtaminate GetContentAndOffsetsFromPoint, plus some slight behavior changes. r+sr=roc. 2006-02-27 05:57:37 +00:00
roc+%cs.cmu.edu f132edee94 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron 2006-02-27 04:15:05 +00:00
roc+%cs.cmu.edu bde356f1f5 Backing out changes for bug 326944. 2006-02-27 03:22:03 +00:00
roc+%cs.cmu.edu e344f390f8 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron 2006-02-27 02:51:57 +00:00
uriber%gmail.com c7032d59bb Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu 8da62e8e0d Bug 327670. Fix memory leak from bug 317375. r+sr=dbaron 2006-02-21 21:06:17 +00:00
sharparrow1%yahoo.com eb67fd0b3d Bug 327868: nsIFrameSelection cleanup. r+sr=roc 2006-02-21 00:49:04 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu 56a4c9f4c4 Bug 324836. Listboxes must be treated as pseudostackingcontexts. r+sr=dbaron 2006-01-26 21:03:49 +00:00
roc+%cs.cmu.edu 77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cvshook%sicking.cc 7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +00:00
uriber%gmail.com b240a28f70 Bug 310589: Clicking off of the lower-right edge of a zoomed image can cause a crash [@FindBlockFrameOrBR()] [@ nsIFrame::GetExtremeCaretPosition()]. r+sr=roc 2006-01-08 21:44:44 +00:00
timeless%mozdev.org 079a6325e0 Bug 321393 Clicking on page in print preview causes crash [@ GetOffsetsOfFrame]
patch by sharparrow1@yahoo.com r=roc sr=roc
2005-12-25 19:01:45 +00:00
dbaron%dbaron.org 05796cb2e6 Fix insertion at end of textarea creating an extra pseudo-linebreak. b=319664 Patch by Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc 2005-12-20 09:13:47 +00:00
dbaron%dbaron.org a08eef7737 Back out part of previous patch since it's a static/dynamic inconsistency. 2005-12-17 19:11:40 +00:00
dbaron%dbaron.org 22d6401242 Skip anonymous table objects (and our extra cell content box) when finding parents for style contexts of their descendants during style reresolution. b=289517 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r+sr=dbaron 2005-12-17 18:58:47 +00:00
dbaron%dbaron.org 8c711f30bc Don't store or use a widget in the delayed caret data; it's not important, and it might have been destroyed. b=307989 r+sr=roc 2005-12-16 04:58:33 +00:00
dbaron%dbaron.org b4ed6cb2f1 Null out line layout when crossing from box to non-box so we don't reuse an incorrect linelayout object. b=307992 r+sr=roc 2005-12-15 23:08:07 +00:00
roc+%cs.cmu.edu d63261dc31 Bug 319675. Don't cross line boundaries looking for double-click targets. patch by Eli Friedman, r=sr=roc 2005-12-15 03:32:09 +00:00
mark%moxienet.com 0e1d9f3154 Bug 319558, crash [@ GetSelectionClosestFrameForChild] due to typo in bug 316281. Remove unwanted semicolon. Patch by Adam Guthrie <ispiked@gmail.com>. r=me 2005-12-08 18:09:17 +00:00
roc+%cs.cmu.edu a710fcd15d Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
roc+%cs.cmu.edu a20b3fc911 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk%gmx.de ac3f79fa07 More robust handling of the overflow property, bug 315210 r/sr=roc 2005-11-11 05:30:31 +00:00
roc+%cs.cmu.edu d511c33bd9 Fixing bustage... 2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
smontagu%smontagu.org 41432ddbee Caret skips blank line using down-arrow key in preformatted text (e.g. View Source). Bug 298690, patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-10-30 13:05:45 +00:00
mats.palmgren%bredband.net 9125d9fa0e Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky 2005-10-17 00:03:05 +00:00
ginn.chen%sun.com e12bf01c19 Bug 304891 Using ctrl+right arrow in textarea, first word after hard line break is skipped
r=uriber sr=roc
2005-09-19 05:16:25 +00:00
roc+%cs.cmu.edu fed343c43a Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
Olli.Pettay%helsinki.fi 7d0dcbfb2d Bug 306895, Triple click should select lines, not paragraphs, in white-space: -moz-pre-wrap;, p=uriber@gmail.com, r/sr=roc 2005-09-18 12:41:40 +00:00
bzbarsky%mit.edu c00cd696d1 Fix bug 307256, bug 307304, bug 307924 by disabling selection for XUL elements
by default.  r+sr=dbaron, with OKs from Neil and mconnor for the general idea
and the xul.css changes.
2005-09-11 19:22:57 +00:00
bzbarsky%mit.edu cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
roc+%cs.cmu.edu f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
roc+%cs.cmu.edu 60903ce73c Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
roc+%cs.cmu.edu f8d744f15d Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers. 2005-08-31 02:16:03 +00:00
smontagu%smontagu.org a273c950ea Bug 306049: Crash in nsFrame::PeekOffsetParagraph when triple-clicking not in a block. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-08-28 08:20:34 +00:00
roc+%cs.cmu.edu 8d634a00b5 Bug 305239. When drilling down at the start or end of a line, and we find a BR, return the parent element and the offset to the BR element instead of the BR element itself. This is a workaround for some deeper bug but we need a fix now. r+sr=roc, patch by Uri Bernstein 2005-08-23 04:20:02 +00:00
roc+%cs.cmu.edu 6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
roc+%cs.cmu.edu 91b264f0f4 Bug 305239. Fix regression in text entry. r+sr=roc, patch by Uri Bernstein 2005-08-22 01:32:03 +00:00
roc+%cs.cmu.edu 971dd68989 Bug 32807. Make triple-click select paragraphs, not lines. Patch by uriber, r+sr=roc 2005-08-18 17:09:16 +00:00
roc+%cs.cmu.edu 624a9d18f5 Bug 16311. Instead of using geometric scanning to find the ends of lines, just look at the frame hierarchy. patch by uriber, r+sr=roc 2005-08-18 17:04:51 +00:00
bzbarsky%mit.edu 8e208eced1 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
bzbarsky%mit.edu 3d3c6b6621 Replace warning with assert, since this should now never happen. Bug 297850,
r+sr=dbaron
2005-08-16 14:39:08 +00:00
gavin%gavinsharp.com 734507bb0f Backing out patch for bug 292581, because it caused bug 302804, by author's request 2005-08-10 03:05:43 +00:00
mozilla.mano%sent.com aeb94bbfb7 Bug 299842 - BiDi: Recursive caret movement in LTR lines which begin with an RTL word or character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa. 2005-08-08 07:32:14 +00:00
timeless%mozdev.org b4d01d069d Bug 277553 clicking on Textarea with a RTL direction doesnt work
patch by uriber@gmail.com r=bz sr=bz a=bsmedberg
2005-08-02 21:55:55 +00:00
timeless%mozdev.org 4b48453e7b Bug 288789 BiDi - In an RTL textbox, caret moves to wrong position when using arrow keys to move into a line containing LTR text
patch by uriber@gmail.com r=smontagu sr=roc a=bsmedberg
2005-08-02 17:19:43 +00:00
gavin%gavinsharp.com 81adc8f14a Bug 292581: funky selection behaviour 3: event coordinates not being translated at the right time, patch by Eli Friedman <sharparrow1@yahoo.com>, r+sr=bzbarsky, a=bsmedberg 2005-07-28 19:48:01 +00:00
aaronleventhal%moonset.net 0f6fd04c75 Bug 300284. Can't shift+tab out of mail compose. r+sr=bzbarsky, a=bsmedberg 2005-07-21 19:27:18 +00:00
mrbkap%gmail.com 751a91d6f6 bug 299533: Fix hang when dragging across a select down arrow. r+sr=roc a=chofmann 2005-07-06 05:55:22 +00:00
dbaron%dbaron.org 22c8c10292 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
mrbkap%gmail.com 4c7f6d1568 bug 297224: Fix hang trying to move the caret by making sure that we always hit the first and last frames in a line when iterating over that line. r+sr=roc a=bsmedberg 2005-06-30 22:50:15 +00:00
peterv%propagandism.org ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
ginn.chen%sun.com f672ce6758 Bug 295142 Crash when using option(ctrl)-left arrow at the end of RTL textarea [@nsFrame::PeekOffset]
r=roc sr=roc a=chofmann
2005-06-06 02:22:53 +00:00
vladimir%pobox.com 63a34084c8 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver 2005-05-10 00:28:30 +00:00
bzbarsky%mit.edu e61e1e1935 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu 84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu 0a0d19cb3f Bug 289431. Don't include overflow from children in frames that are overflow:-moz-hidden-unscrollable. r+sr=bzbarsky,a=brendan 2005-04-11 22:03:23 +00:00
roc+%cs.cmu.edu 61fc68579f Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa. 2005-04-07 23:54:28 +00:00
roc+%cs.cmu.edu 596fb50b2f Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa. 2005-04-07 03:59:02 +00:00
roc+%cs.cmu.edu 20d333fbf6 Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron 2005-04-03 21:00:41 +00:00
dbaron%dbaron.org da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
dbaron%dbaron.org 36107f5980 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime. 2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu f93b035647 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
aaronleventhal%moonset.net c8dd1f358c Bug 245349. Puzzle piece placeholder that says click here to download plugin is not focusable or accessible. r=bz, sr=jst 2005-03-31 01:38:04 +00:00
ginn.chen%sun.com 26c5ac572b Bug 256269 Caret browsing: up/down arrow should not get into button text
r=mats.palmgren sr=roc
2005-03-29 03:28:10 +00:00
roc+%cs.cmu.edu 217d29553f Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky 2005-03-28 21:08:22 +00:00
roc+%cs.cmu.edu 87c224f2cb Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron 2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu debd246cd3 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst 2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu 4be318894c Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst
2005-03-23 03:07:10 +00:00
roc+%cs.cmu.edu 97bbe7fe29 Bug 276892. Cancel selection if the mouse button is released in some subdocument. r+sr=bzbarsky 2005-03-07 00:34:44 +00:00
bzbarsky%mit.edu e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
roc+%cs.cmu.edu 05a4dd52a6 Bug 277875. Rewrite nsIFrame::GetWindow and make it not assert --- it's OK to not have a widget when we're printing. r+sr=bzbarsky 2005-02-07 21:59:35 +00:00
bzbarsky%mit.edu 54d585f2af Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
scott%scott-macgregor.org 203c40b9da Bug #278312 --> layout and selection changes to support inline spell checking for Thunderbird
Includes changes to draw spell check selection as a red dotted line instead of a solid underline.

r/sr=dbaron
2005-01-31 17:57:35 +00:00
ginn.chen%sun.com 5dbe9df509 Bug 278197
Ctrl+HOME/END doesn't work correctly on www.google.com and www.microsoft.com
r=brade sr=bzbarsky
2005-01-26 06:46:35 +00:00
bzbarsky%mit.edu 58ee23e4a1 Fix error in GetScreenRect. Bug 271891, r+sr=dbaron 2005-01-24 22:41:59 +00:00
mats.palmgren%bredband.net 54108dc6db Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron 2005-01-16 18:44:01 +00:00
jshin%mailaps.org 729785e7e8 bug 275672 : Right-most character (that means end of line) should not have extra space for justification patch by masayuki@d-toybox.com, r+sr=roc 2005-01-13 19:21:18 +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 b71e2a3790 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
2004-12-30 21:56:11 +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
ginn.chen%sun.com f5d4c7abbd Bug 274857 Pressing Ctrl+Backspace twice in an RTL textarea crashes the browser
r=roc sr=roc
2004-12-21 05:17:52 +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
ginn.chen%sun.com 8c0e241876 Bug 256835 [crash]ctrl+left cause crash in bugzilla
[@ nsTextFrame::PeekOffset ] [@ ntdll.dll - nsFrame::GetFrameFromDirection ]
r=aaronleventhal sr=dbaron
2004-11-29 02:13:17 +00:00
ginn.chen%sun.com 59cfede2d2 Bug 256833 Right arrow skips some text after <HR>
r=aaronleventhal sr=dbaron
2004-11-26 05:51:36 +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
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
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
aaronleventhal%moonset.net 99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
aaronleventhal%moonset.net e9feb9853d Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc 2004-10-19 02:24:27 +00:00
kyle.yuan%sun.com eefa1edd1b Bug 256252 ctrl+right arrow sometimes skip a word
r/sr=roc, patch=ginn.chen@sun.com
2004-10-09 06:14:44 +00:00
aaronleventhal%moonset.net 1186e2b8f0 bug 258937: form elements in Midas are focusable. r=glazou, sr=bryner 2004-09-28 18:40:50 +00:00
bryner%brianryner.com f67d250152 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc. 2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu ed606a4d5d Bug 258175. Always capture the mouse at the root of the document if we haven't captured it in any child. r+sr=bzbarsky 2004-09-21 13:58:22 +00:00
roc+%cs.cmu.edu 44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
dbaron%dbaron.org 01f5e54ff0 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 435ec50dcf 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 dc76c57a2c 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
aaronleventhal%moonset.net 1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
roc+%cs.cmu.edu 9fe7e8650d 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 4c15468e7d Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bryner%brianryner.com d082d2bf5e 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
dbaron%dbaron.org c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 5948a3cb75 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 dba4f07f62 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 80588b592f This change didn't seem to help, backing out. 2004-08-25 18:19:01 +00:00
bryner%brianryner.com 3cde0b2c62 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
bryner%brianryner.com b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com 0c08074b27 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 d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com 8c24cc7e63 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 11d98b36e5 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
dbaron%dbaron.org 94bc9d26c8 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
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu 7207e32b33 This wasn't supposed to go in... 2004-07-30 06:21:04 +00:00
bzbarsky%mit.edu e628e82cc1 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
bryner%brianryner.com 0fd21c3872 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 cf45882e36 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
aaronleventhal%moonset.net cc206bb650 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 312f627f43 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