Commit Graph

727 Commits

Author SHA1 Message Date
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