roc+%cs.cmu.edu
02c47d48da
Bug 386548. Remove nsTextTransformer. r+sr=mats
...
git-svn-id: svn://10.0.0.236/trunk@229199 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 23:37:00 +00:00
peterv%propagandism.org
9e04fca5dd
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36
Backing out to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
dbaron%dbaron.org
cd6e9c2d37
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
...
git-svn-id: svn://10.0.0.236/trunk@228548 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:33:10 +00:00
dbaron%dbaron.org
5d738bf573
Back out patch to make mousethrough attribute apply to all elements. b=380094 a=roc
...
git-svn-id: svn://10.0.0.236/trunk@228273 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:22:46 +00:00
dbaron%dbaron.org
875b2f29f1
Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@227882 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:27:28 +00:00
sharparrow1%yahoo.com
1e238506ce
Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226705 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 10:06:08 +00:00
asqueella%gmail.com
3ec52d9b96
Bug 380094 - make mousethrough more generally useful
...
p=toshok@hungry.com
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226352 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 16:00:00 +00:00
dbaron%dbaron.org
80e25fa18a
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
...
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00
bzbarsky%mit.edu
2679c6fe46
Fix determination of the style context parent for the inner table frame of a
...
root table. Bug 379386, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226104 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 03:59:12 +00:00
bzbarsky%mit.edu
ba5badedcb
Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
...
the method, instead of setting them before calling the method. That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children. This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
33b3f60e43
Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +00:00
dbaron%dbaron.org
03a83ad9f2
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
...
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
7c49bd8a89
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 trigger
in non-scrollable documents. Bug 378693, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225066 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:26:25 +00:00
bzbarsky%mit.edu
9e024d5262
The parent style context frame determination for an inner table should use the
...
inner table's pseudo, not the outer table's. Bug 377603, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224565 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 05:55:42 +00:00
bzbarsky%mit.edu
03efa866b7
Change the way we determine the style context parent frame to skip css anon
...
boxes unless we're determining the style context parent for something that is
itself 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
git-svn-id: svn://10.0.0.236/trunk@224561 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 23:14:27 +00:00
uriber%gmail.com
f80aaa1f70
Test for null parent content, rather than null parent frame, to avoid possible crash in FindBlockFrameOrBR(). bug=370174 r=sharparrow1 sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224532 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-14 16:34:12 +00:00
roc+%cs.cmu.edu
63377a1ac7
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
...
git-svn-id: svn://10.0.0.236/trunk@224391 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 05:04:10 +00:00
bzbarsky%mit.edu
30cf9c1c2a
Make non-blockframe kids of xul not have to end up with a zero height. Bug
...
374038, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@223975 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-01 15:15:17 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
sharparrow1%yahoo.com
a69da9db3f
Bug 372062: Auto values for right and bottom in CSS clip rect broken. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@222576 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 01:31:26 +00:00
sharparrow1%yahoo.com
783659454a
Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@222445 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:58:17 +00:00
asqueella%gmail.com
ca663dfc02
Bug 374486 - "WARNING: Nonempty list left over?" in visual debugging mode
...
p=Sylvain Pasche <sylvain.pasche@gmail.com>
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222340 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 05:30:59 +00:00
mats.palmgren%bredband.net
eabcc8ccf9
Fix "selection colors are sometimes wrong". b=374765 r+sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@222307 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 09:21:35 +00:00
roc+%cs.cmu.edu
f5990f8727
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
...
git-svn-id: svn://10.0.0.236/trunk@222022 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 03:25:05 +00:00
dbaron%dbaron.org
71f6a49305
Remove warning about using nsFrame implementation of GetMinWidth and GetPrefWidth. b=357544 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@221976 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-16 16:18:06 +00:00
roc+%cs.cmu.edu
8eeb476d02
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
...
git-svn-id: svn://10.0.0.236/trunk@221507 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 01:48:25 +00:00
dbaron%dbaron.org
32d54152c9
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
bzbarsky%mit.edu
dfad41fa5a
deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
...
GetVAlign(), GetHAlign(). Remove GetInset(). Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220744 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 18:05:14 +00:00
roc+%cs.cmu.edu
a059a387a0
Bug 354491. Fix the display of the event target frame in layout debugging to not use views and not crash. r=mats,sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@220594 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 20:22:19 +00:00
asqueella%gmail.com
11bad405e3
bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
Olli.Pettay%helsinki.fi
ba610d02ec
Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:02:42 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
3af9eecb86
Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219072 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 17:20:01 +00:00
dbaron%dbaron.org
12c42b4c23
Revert previous change.
...
git-svn-id: svn://10.0.0.236/trunk@219052 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 19:35:29 +00:00
dbaron%dbaron.org
c89a4222fe
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.
...
git-svn-id: svn://10.0.0.236/trunk@219049 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:45:35 +00:00
dbaron%dbaron.org
3052400d5e
Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@219045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:36:57 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15
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
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
1534bcd542
Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218782 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:58:55 +00:00
dbaron%dbaron.org
7d1d28c9e8
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
...
git-svn-id: svn://10.0.0.236/trunk@218555 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:31:07 +00:00
dbaron%dbaron.org
b203eeeaa4
Handle padding and border correctly for reflow states constructed without a parent (reflow roots, things inside nsIBoxes). b=366952 r+sr=roc, r=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218495 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 05:19:35 +00:00
bzbarsky%mit.edu
9e56e89a01
deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
...
by Andreas Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:57:59 +00:00
uriber%gmail.com
4ddde0e089
Bug 200098: Double click near beginning of word selects two words (fix for Windows). r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217728 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 16:47:04 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
mats.palmgren%bredband.net
14e7266121
Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217227 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 03:52:34 +00:00
dbaron%dbaron.org
9332796f42
Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
mats.palmgren%bredband.net
277be83fff
Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217122 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 13:20:18 +00:00