Commit Graph

15643 Commits

Author SHA1 Message Date
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
caillon%returnzero.com
319d92fa7d Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu
bba32c2126 Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bzbarsky%mit.edu
a5fa5ddc71 Fix restoration of horizontal scroll state. Bug 226534, r+sr=roc 2004-01-05 23:56:00 +00:00
bzbarsky%mit.edu
bd6e613fb1 Calculate the relative offsets after we've done whatever corrections we need to
do to the CB height (eg in quirks mode).  Bug 226954, r+sr=dbaron
2004-01-05 23:48:57 +00:00
bmlk%gmx.de
688ce265b9 dont paint border collapse borders if the damage area is not covered by the borders, bug 225266 r/sr=dbaron 2004-01-02 08:26:36 +00:00
technutz%netscape.net
e638f4d2dc Bug 229814. CSS error in layout/doc/obsolete/layout.css. Patch by Bob Clary <bc@bclary.com>. r/sr=dbaron 2004-01-01 17:15:18 +00:00
timeless%mozdev.org
1e62f705df Bug 229730 change NS_IF_ADDREF to NS_ADDREF in nsNativeScrollbarFrame::FindScrollbar
r=dbaron sr=dbaron
2003-12-31 04:16:23 +00:00
dbaron%dbaron.org
0f9e71d4a6 Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron 2003-12-30 17:58:17 +00:00
dbaron%dbaron.org
40deca4b2f Remove no-longer-needed hook for inspector. b=224164 2003-12-29 19:17:22 +00:00
dbaron%dbaron.org
44b9fdaacb Fix overuse of inlining in nsCSSValue. r=bryner b=224165 2003-12-29 19:07:53 +00:00
bmlk%gmx.de
e763429e44 prescontext removal part 2 bug 229631 r/sr=roc 2003-12-29 16:58:20 +00:00
dbaron%dbaron.org
5bd21833b4 Add a correct comment. 2003-12-29 16:39:50 +00:00
bmlk%gmx.de
09f24b47f1 function name change to be more compliant with naming conventions, bug 229620 r/sr=brendan 2003-12-29 07:32:32 +00:00
bmlk%gmx.de
d481d3e19e reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
bmlk%gmx.de
07b77849a4 adding layout regression tests not part of the build 2003-12-26 10:30:40 +00:00
bryner%brianryner.com
080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com
d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
timeless%mozdev.org
eeb8dc5037 Bug 226141 DRefTool analysis for tree files
r=varga sr=roc
2003-12-24 18:06:20 +00:00
bmlk%gmx.de
6312f04201 make code more readable bug 226619, patch by mats.palmgreen@bredband.net r=bzbarsky sr= dbaron 2003-12-23 08:49:48 +00:00
bmlk%gmx.de
76cf6abfab tables can be used as rectangular items without content, bug 227123 r/sr=bzbarsky 2003-12-23 07:22:16 +00:00
scott%scott-macgregor.org
89fc9b26b6 Bug #229112 --> Unable to bring up a compose window in debug builds
r/sr=bryner
2003-12-21 21:42:55 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
timeless%mozdev.org
01315d0ab1 Bug 224723 NS_ASSERTION(boxObject, "no box object!"); timer fired after tree was destroyed
r=varga sr=dbaron
2003-12-21 04:27:50 +00:00
timeless%mozdev.org
b6f838611c Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
r=roc sr=roc
2003-12-21 04:04:09 +00:00
timeless%mozdev.org
e1fc228768 Bug 226232 DRefTool analysis for xul files
r=roc sr=roc
2003-12-21 04:04:05 +00:00
neil%parkwaycc.co.uk
ebb7ab977c Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron 2003-12-20 18:09:21 +00:00
bmlk%gmx.de
167fbf7a95 show reflow targets in reflow logs bug 218961 r/sr=bzbarsky 2003-12-20 12:04:31 +00:00
bmlk%gmx.de
ba4cab3073 remove bogus array handling code bug 226757 r/sr=dbaron 2003-12-20 11:15:27 +00:00
bmlk%gmx.de
a7b7022a68 remove old hack that breaks table abs. positioning, bug 145572 r/sr=dbaron 2003-12-19 19:19:52 +00:00
bsmedberg%covad.net
807f91c6a7 Bug 228922 - in GRE installer builds MathML operators don't stretch properly. (Fallout from bug 179834). r+sr=rbs 2003-12-19 18:50:34 +00:00
dbaron%dbaron.org
f3fb5dea45 Fix percentage widths on inlines within inlines. b=97695 r+sr=roc 2003-12-19 05:41:35 +00:00
dbaron%dbaron.org
38d73e67d8 Add testcase for 215857. Not part of build. 2003-12-18 21:56:40 +00:00
dbaron%dbaron.org
352509b071 Account for 1 twip width of BR when computing the size of textareas. b=228752 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=brendan 2003-12-18 06:06:00 +00:00
dbaron%dbaron.org
75c5c882b1 Don't mess with overflow area during first pass reflow. b=222336 Patch from Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=brendan 2003-12-17 01:33:57 +00:00
dbaron%dbaron.org
f594793ce5 Remove missed line from previous checkin. b=221140 2003-12-15 03:35:50 +00:00
jshin%mailaps.org
e4edf3ff44 bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron 2003-12-15 00:32:16 +00:00
dbaron%dbaron.org
f9aa023719 Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa 2003-12-12 23:00:54 +00:00
dbaron%dbaron.org
162f96a58c Restore overflow area in the reflow state when no reflow is done, so views are sized correctly. b=227496 r=bernd sr=roc a=tor 2003-12-12 22:58:25 +00:00
roc+%cs.cmu.edu
bb2d3795de Bug 227458. Make scrollports without scrollbars NOT use a native widget; they probably won't be scrolled anyway. r+sr=bz,a=dbaron 2003-12-10 03:43:39 +00:00
bmlk%gmx.de
fa801de1c9 avoid pointer to old overflow area as this may change underneath (FMR), bug 226870, r/sr=dbaron a=tor 2003-12-04 20:13:09 +00:00
bzbarsky%mit.edu
567e341b75 Make sure to reframe when the "rules" attribute changes, since tables cache all
sorts of border-collapse stuff across reflows.  Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +00:00
jshin%mailaps.org
5684182912 bug 225695 : follow-up to the fix for bug 44272. the first part of three ; tree-wide sweep to replace escape/unescape with en|decodeURI(Component). r=bz, sr=rbs, a=asa 2003-12-03 21:41:37 +00:00
scott%scott-macgregor.org
c2df672e12 Bug #226325 --> Back out the fix for Bug #98564 as this opened us up to a regression where trailing stationary caret remnant left after backspace.
a=asa for 1.6b
2003-12-03 20:32:47 +00:00
dbaron%dbaron.org
d5582721b7 Separate locale version from Mozilla version so we do not have to bump locale version for every release. b=226377 r=kairo, bsmedberg sr=ben a=asa 2003-12-02 23:22:11 +00:00
dbaron%dbaron.org
5803e6024c Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan 2003-12-02 22:24:32 +00:00
neil%parkwaycc.co.uk
1a56f2a7d1 Bug 225885 nsPresShell::DoCopy does not work for embedding p=marco@gnome.org r=bz sr=bryner a=dbaron 2003-11-26 10:23:03 +00:00
neil%parkwaycc.co.uk
3d98242423 Bug 142459 Shift+click on scroll bar should jump to that location r=varga sr=bryner a=asa 2003-11-24 23:52:49 +00:00
dbaron%dbaron.org
e7ddb04af2 Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan 2003-11-24 19:48:25 +00:00
dbaron%dbaron.org
a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
neil%parkwaycc.co.uk
510477bd44 Bug 225431 context submenus do not reappear if context menu is dismissed (e.g. by alt key) r=dbaron sr=bz a=asa 2003-11-22 23:35:52 +00:00
roc+%cs.cmu.edu
8ab11f1a38 Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa 2003-11-21 10:45:24 +00:00
jst%mozilla.jstenback.com
9554db89fa Removing unused variables that I left lying around with my nsIContent::GetTag() deCOMtamination changes. 2003-11-20 03:56:40 +00:00
bzbarsky%mit.edu
6148370ad0 Use SafeElementAt for accesses that may be out of bounds. Bug 226163, r=bernd,
sr=dbaron
2003-11-19 06:20:14 +00:00
bzbarsky%mit.edu
03359fa12a Fix printing of plugins in absolutely positioned divs to use the right
coordinates.  Bug 225832, r+sr=roc
2003-11-19 02:00:51 +00:00
jst%mozilla.jstenback.com
4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
sicking%bigfoot.com
f2f76f28e7 Bug 223012: Make xul fully case sensitive.
r=bryner sr=jst
2003-11-18 18:20:03 +00:00
dbaron%dbaron.org
fa64c454c5 Scale fixed line-heights when the minimum font size pref kicks in. b=158868 r+sr=bzbarsky 2003-11-18 05:53:22 +00:00
bzbarsky%mit.edu
acf7c89bca Make sure to properly delegate all framelist updates to our anonymous div. Bug
226016/98239, r+sr=dbaron
2003-11-18 02:12:24 +00:00
neil%parkwaycc.co.uk
917932cb34 Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz 2003-11-17 19:26:24 +00:00
dbaron%dbaron.org
0851395ebe Remove unneeded chromeOverride variable. b=225936 r+sr=bzbarsky 2003-11-17 04:10:55 +00:00
dbaron%dbaron.org
e852c24b41 Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky 2003-11-17 00:35:17 +00:00
dbaron%dbaron.org
02b14dd0ce Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902 2003-11-16 21:12:17 +00:00
dbaron%dbaron.org
2e72ac7775 Add comments connecting two quirks. 2003-11-16 18:49:00 +00:00
bzbarsky%mit.edu
852fbd43f7 Be a little smarter about handling the mess that is broken images. Only look
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload.  Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
scott%scott-macgregor.org
54777f2e4f Bug #98564 --> caret overlaps the last character in textfield (if positioned after the last char).
Patch written by kin.


r=smontagu
sr=sfraser
2003-11-16 07:08:55 +00:00
bzbarsky%mit.edu
a31bf95054 Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron 2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu
a491833633 -moz-initial, not initial. Use CSS keyword table to prevent this happening
again.  Bug 120903, r+sr=dbaron
2003-11-16 01:12:50 +00:00
bzbarsky%mit.edu
bb59181099 Don't clear previous selection when range is extended using shift-ctrl-click.
Bug 112281, r+sr=roc
2003-11-15 04:23:53 +00:00
bzbarsky%mit.edu
b381ebb111 Fix up more XUL GetFrameForPoint impls to correctly handle paint layers. Bug
225732, r+sr=dbaron
2003-11-15 00:47:43 +00:00
bzbarsky%mit.edu
0345e33456 Set text-indent:0 on all form controls to keep it from inheriting down to the
anonymous blocks inside.  Bug 56253, r+sr=dbaron
2003-11-14 23:00:56 +00:00
bzbarsky%mit.edu
d45f5c0447 Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
55967, r+sr=dbaron
2003-11-14 22:55:46 +00:00
dbaron%dbaron.org
748a5e9749 Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky 2003-11-13 22:48:05 +00:00
bmlk%gmx.de
f715a7b7ff OS/2 crash prevention, make sure that a division by zero can not occure, bug 221975, r/sr=bzbarsky 2003-11-13 17:34:46 +00:00
blizzard%redhat.com
f01bca0a21 Bug #225357. Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc 2003-11-13 16:33:52 +00:00
bzbarsky%mit.edu
625796c41e Clarify when ReParentStyleContext should be called and remove more bogus style
parentage warnings.  Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
bzbarsky%mit.edu
ef27d8e3db BoxFrame should only be the point target in the background layer, and should
propagate background layer point requests to kids.  Bug 224013, r+sr=dbaron
2003-11-13 04:13:12 +00:00
bzbarsky%mit.edu
ce5cf4d481 Fix some bogus style parentage warnings. Bug 224867, r+sr=dbaron 2003-11-13 04:11:38 +00:00
dbaron%dbaron.org
0a311b8f2c URL updates 2003-11-11 22:59:51 +00:00
dbaron%dbaron.org
b743b23ea2 Removed unused LineIsEmpty function. 2003-11-11 19:25:49 +00:00
dbaron%dbaron.org
1457f87876 Remove BRS_NOWRAP. b=191699 r+sr=roc 2003-11-11 19:24:01 +00:00
timeless%mozdev.org
7d644cad46 whitespace change. This should make lxr hits for spacemanager reasonable.
It also makes the html and diffs tolerable.
2003-11-11 19:23:37 +00:00
dbaron%dbaron.org
0cf3066822 Comment was backwards (thanks bz). b=191699 2003-11-10 23:55:53 +00:00
bzbarsky%mit.edu
0a84bc497c Don't do our "enlarge the control a bit to make it look better for small sizes"
thing for fixed-width fonts -- it's unnecessary and just makes it look like
"size" is broken.  Bug 103293, r+sr=rbs
2003-11-10 23:42:43 +00:00
dbaron%dbaron.org
8856db0238 Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc 2003-11-10 23:36:06 +00:00
hpradhan%hotpop.com
03e43cda2b bug 218297 : disabled property of input elements is not stored in history
r=jkeiser sr=jst
2003-11-10 05:52:29 +00:00
timeless%mozdev.org
02325c6f3f Bug 225120 Remove compiler warnings
patch by arne.anka@stupido.com r=dbaron sr=bz
2003-11-09 22:51:28 +00:00
bmlk%gmx.de
6f183845ad issue style change reflow also at the table caption when there is a style change reflow
that is targeted at the inner table frame. This is currently necessary due to bizarre
style contetxt relationsship between inner and outer table frame, bug 222846 r/sr=bzbarsky
2003-11-09 11:35:52 +00:00
bmlk%gmx.de
79578e623e dont shrink mRowCount when inserting cells in a row, bug 220536, r/sr=bzbarsky 2003-11-09 08:47:05 +00:00
bzbarsky%mit.edu
38703b7a11 Fix bug 101320 -- padding on small border-box sizing things with non-auto
widths is not a good idea.  Very old patch by rods, r=bzbarsky (now),
sr=attinasi (then).  Did I mention this patch is old?
2003-11-09 07:40:09 +00:00
bzbarsky%mit.edu
e8815f78d2 Follow-up fix for crash bug 118685. Patch by mats.palmgren@bredband.net (Mats
Palmgren), r+sr=bzbarsky
2003-11-08 23:53:49 +00:00
bzbarsky%mit.edu
9269dd2002 Bail out early if we have no area to invalidate anyway. Bug 224871, r+sr=roc 2003-11-07 03:00:30 +00:00
bzbarsky%mit.edu
6b9af2f572 Only paint the image if its computed width or height is nonzero. Otherwise, we
may divide by zero when computing the transform matrix.  Bug 221975, r+sr=roc
2003-11-06 16:03:34 +00:00
bryner%brianryner.com
78f1cb532a Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
bzbarsky%mit.edu
f908a4ae39 Adding style/bugs to regression tests 2003-11-05 05:01:00 +00:00
bzbarsky%mit.edu
b8a37bd20b Adding css parsing regression tests. 2003-11-05 05:00:14 +00:00
bzbarsky%mit.edu
f61bfe9a35 Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
Palmgren), r+sr=bzbarsky
2003-11-05 04:51:17 +00:00
bzbarsky%mit.edu
30d7e97120 Fix crash in DoCleanupFrameReferences. Bug 224091, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky, sr=dbaron
2003-11-05 04:40:52 +00:00
brendan%mozilla.org
bbfcf997ef Patch from Neil Deakin <enndeakin@sympatico.ca> to fix overlong button underlines (214956, r+sr=dbaron). 2003-11-05 00:05:10 +00:00
tor%cs.brown.edu
7a1a7ec1d4 Bug 224628 - backout part of 212366 so that scrolling=no works. r+sr=roc 2003-11-04 15:50:09 +00:00
bzbarsky%mit.edu
35a384e555 Correctly ignore adjacent type selectors with no combinator. Bug 224188,
r+sr=dbaron
2003-11-04 03:16:10 +00:00
varga%nixcorp.com
c925cbe5f1 Fix for bug 223530. null pointer dereference in nsTreeContentView.cpp [@ nsTreeContentView::ContentRemoved ]
r=me sr=bz patch by Nate Nielsen <nielsen@memberwebs.com>
2003-11-03 19:11:50 +00:00
timeless%mozdev.org
90d07db2d1 Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
r=jst sr=jst
2003-11-03 13:17:00 +00:00
dbaron%dbaron.org
c25969ae98 Clamp -moz-opacity to the range [0.0,1.0]. b=224478 r+sr=roc 2003-11-02 22:40:43 +00:00
uid502
91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502
2de14973bc Bug 212366. Make nsFrameInnerFrame be a moz-anonymous-box pseudoelement. This stops style on an IFRAME from being applied to both the outerframe and the innerframe. r+sr=dbaron 2003-11-01 01:34:06 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
76a2fc58c8 Backing out previous checkin. 2003-10-30 05:11:21 +00:00
dbaron%dbaron.org
2da0107bd9 Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner 2003-10-30 04:34:01 +00:00
dbaron%dbaron.org
f9e4a941cf Attempt to fix Windows bustage. b=167262 2003-10-30 03:34:58 +00:00
caillon%returnzero.com
150adb2e29 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
caillon%returnzero.com
528a54842a Ensure that content can always grab a security manager and namespace manager.
Bug 223373; r+sr=bzbarsky
2003-10-30 02:53:08 +00:00
bzbarsky%mit.edu
f3ef614ee5 Remove no-longer-used nav4algorithm code and corresponding debug code. Bug
223155, r+sr=dbaron
2003-10-30 02:19:15 +00:00
timeless%mozdev.org
83b50c6179 Bug 223697 nsMenuPopupFrame.cpp:1142:9: warning: multi-line comment
r=bz sr=bz
2003-10-30 02:09:52 +00:00
bzbarsky%mit.edu
33ca8d21d2 Make attr() parsing have better error reporting and bail on attr(*|foo). Bug
223746, r+sr=dbaron
2003-10-30 02:06:12 +00:00
timeless%mozdev.org
98152b3898 Bug 124218 if kCSSRawKeywords gets out of sync with eCSSKeyword_COUNT nsCSSKeywords::AddRefTable might crash in DEBUG code
r=bz sr=bz
2003-10-30 01:59:15 +00:00
dbaron%dbaron.org
a0d72c9110 Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky 2003-10-30 01:51:00 +00:00
dbaron%dbaron.org
e29417ff7f Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky 2003-10-30 01:45:37 +00:00
dbaron%dbaron.org
ec0bfea4ea Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky 2003-10-30 01:40:33 +00:00
bzbarsky%mit.edu
3e12d6bae8 Fix hang bug 218512. We don't want to be putting a frame into a framelist
twice, since that gives us a nice loop in the frame tree.  r+sr+a=dbaron
2003-10-27 05:58:23 +00:00
dbaron%dbaron.org
60449a9d4a Remove some additional tests with form submission and with delays. Not part of build. 2003-10-26 22:27:02 +00:00
dbaron%dbaron.org
48177de9a5 Remove a few extras. Not part of build. 2003-10-26 19:17:33 +00:00
bmlk%gmx.de
3378c0322e dont wrap urls at 80 chars limit not part of any build 2003-10-26 12:34:25 +00:00
dbaron%dbaron.org
cc3a97c21b URL updates. Not part of build, or even of regression tests. 2003-10-26 07:48:01 +00:00
bzbarsky%mit.edu
42e703a9b5 Adding regression tests. 2003-10-24 07:36:06 +00:00
bzbarsky%mit.edu
99faa8a63a Fix regression bug 223394 -- percent-height replaced inlines that only have
auto-height ancestors should get intrinsic height instead of 0, even in quirks
mode.  r+sr=roc, a=asa
2003-10-24 07:31:50 +00:00
timeless%mozdev.org
0c124554b7 MOZ_TIMELINE - Bug 222134 2003-10-23 10:23:30 +00:00
bzbarsky%mit.edu
b07d633d7d Fix crash bug 223064. Patch by mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky 2003-10-22 07:01:35 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com
66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
c9a9ee88ce removing extra semicolon 2003-10-21 19:37:48 +00:00
bmlk%gmx.de
bbed1b51f3 fixed table layout add cellspacing only for columns where cells originate. bug 220653 r/sr=bzbarsky 2003-10-21 19:29:14 +00:00
bzbarsky%mit.edu
46de74faf0 Make sure to include the border and padding in the frame size even in the
"0 width" case.  Bug 222990, r+sr=roc
2003-10-21 16:27:48 +00:00
bzbarsky%mit.edu
c607823b72 Adding regression test 2003-10-21 16:24:53 +00:00
bzbarsky%mit.edu
44da342b5c Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
varga%nixcorp.com
199cf9bc76 Changing my email address. 2003-10-21 15:35:57 +00:00
neil%parkwaycc.co.uk
e5909e2f49 Bug 195744 Fire command event after dragging or collapsing a splitter r=varga sr=bz 2003-10-21 11:43:40 +00:00
bzbarsky%mit.edu
83423141b5 Adding regression test 2003-10-21 04:34:30 +00:00
bzbarsky%mit.edu
bce5582c9d Last checkin was actually for bug 222846 2003-10-21 04:32:57 +00:00
bzbarsky%mit.edu
d98065a9a8 Make style-change reflows on the table correctly reflow the caption. Bug
222864, r=bernd, sr=dbaron
2003-10-21 04:30:10 +00:00
bmlk%gmx.de
5c48e554d5 reinitialize layout strategy in response to a style incr. reflow targeted at a table frame bug 222467 r/sr=bzbarsky
make debug statement more compact bug 220448 r/sr=jst
2003-10-19 19:23:11 +00:00
bzbarsky%mit.edu
af287cfe97 Remove limiting of the quirk containing block search to only one level. Bug
222730, also fixes bug 88035, r+sr=dbaron
2003-10-18 20:22:22 +00:00
kairo%kairo.at
7b21e2d4eb bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz 2003-10-18 17:54:07 +00:00
bzbarsky%mit.edu
bd3eb5d1f1 Adding regression tests. 2003-10-18 08:07:01 +00:00
bzbarsky%mit.edu
e62eff588a Line up the hypothetical box for positioned frames with the _top_ of the line
box if there is nothing in the line before the positioned frame's placeholder.
When that happens, it means that the positioned frame's content actually came
before whatever content lives in the line box and thus the frame should not be
lined up with the line box's bottom.  Bug 94468, r+sr=roc
2003-10-18 08:04:37 +00:00
bzbarsky%mit.edu
cf629db257 Undoing last change now that I have perf data. 2003-10-18 07:13:30 +00:00
bzbarsky%mit.edu
88517f3ebd Test performance impact of not limiting to the first level now that bug 222730
is fixed.  r=dbaron
2003-10-18 06:08:39 +00:00
bzbarsky%mit.edu
2cb729ce47 Only calc a quirk containing block if we have a percentage height. Bug 222730,
r+sr=dbaron
2003-10-18 05:09:42 +00:00
bzbarsky%mit.edu
bde936f884 Fix crash when an SVG <foreignobject> suddenly needs a space manager. Bug
220165, r=alex@croczilla.com, sr=roc
2003-10-18 03:19:33 +00:00
bzbarsky%mit.edu
97f36d627f Adding regression tests 2003-10-18 00:28:44 +00:00
bzbarsky%mit.edu
c9d4d38519 Stop walking up the tree looking for something to size against if we hit a
positioned frame.  Bug 221784, r+sr=roc
2003-10-18 00:24:28 +00:00
uid502
089611c9cc Bug 222468. Make nsLayoutUtils::CompareTreePosition work even if the aCommonAncestor parameter is not, in fact, a common ancestor. 2003-10-17 14:10:02 +00:00
uid502
d521946094 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu
f384166efa Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bmlk%gmx.de
4fb9287859 layout regression test pain relief, bug 221598 r=bzbarsky 2003-10-15 19:08:35 +00:00
bzbarsky%mit.edu
189bbda3e5 More bug 214969 -- HTML nodes lie about their namespace, so check the
document's case-sensitivity instead.  r+sr=tor
2003-10-15 05:54:46 +00:00
bzbarsky%mit.edu
8bc8454c15 Only propagate the body background to the canvas in HTML documents; don't do it
for XHTML.   Bug 214969, r+sr=dbaron
2003-10-15 02:48:25 +00:00
bzbarsky%mit.edu
7e19a9767b Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
uid502
2b19fe5b64 Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order. 2003-10-15 00:49:03 +00:00
dbaron%dbaron.org
d7a7c453f5 Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc 2003-10-14 23:29:07 +00:00
dbaron%dbaron.org
b37db7c94f Forgot to address review comment. b=221531 r+sr=bzbarsky 2003-10-14 21:06:58 +00:00
dbaron%dbaron.org
9504ee5b9e Temporary fix for 'overflow: hidden' on table cells. b=221140 r=bernd sr=bzbarsky 2003-10-13 21:58:12 +00:00
dbaron%dbaron.org
56fc1c9dc1 Miscellaneous cleanup of selector matching code:
* remove extra |if| around loop, and convert it from |while| to |for|.
 * remove extra test for |result|
 * rename |curdata| -> |prevdata| and |newdata| -> |data|.
 * use |IsContentOfType| instead of |GetTag|
b=221531  r+sr=bzbarsky
2003-10-13 21:54:33 +00:00
dbaron%dbaron.org
3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
d3d79476fc Removed unused file. 2003-10-13 19:50:43 +00:00
uid502
7eecd9a0ef Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu
90bce6cd8e Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
bmlk%gmx.de
0de28eef19 document.write(some object) writes the object type and the object address in debug builds. This creates false positives in layout regression tests. 2003-10-10 16:30:38 +00:00
bzbarsky%mit.edu
2d7f67cb26 Don't scroll anchors entirely out of view when we click on them. Bug 195905,
r+sr=dbaron
2003-10-10 02:35:05 +00:00
bzbarsky%mit.edu
dc2a9b8f46 Use UnionRect instead of reimplementing it in the block code. Bug 220741,
r+sr=dbaron
2003-10-10 01:12:55 +00:00
dbaron%dbaron.org
269402178c Add comments. 2003-10-08 20:04:20 +00:00
rbs%maths.uq.edu.au
621378faa2 Re-sync some weak style pointers when the primary one is changed, patch by steve.swanson@mackichan.com, r+sr=rbs 2003-10-07 08:27:40 +00:00
rbs%maths.uq.edu.au
f9e0e5e142 Some explanatory comments 2003-10-07 08:22:21 +00:00
bzbarsky%mit.edu
641223fdd9 Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
bzbarsky%mit.edu
3bfbfe8dce Relanding fix for bug Bug 219693, r+sr=dbaron 2003-10-06 13:13:37 +00:00
bsmedberg%covad.net
8ea659f255 Further cleanup from bug 179834 r=dougt sr=darin. This shouldn't affect anything, because neither OS/2 nor Mac are using a GRE yet. 2003-10-06 12:17:26 +00:00
bzbarsky%mit.edu
d6e70f5444 Adding regression tests 2003-10-06 05:08:24 +00:00
bzbarsky%mit.edu
556fd116db Backing out for now, till fallout from tree redness settles. 2003-10-06 04:23:56 +00:00
bzbarsky%mit.edu
666475ba65 Make quirks %-heights on kids of scrolling parents work the same way as for
non-scrolling parents.  Bug 219693, r+sr=dbaron
2003-10-06 02:58:19 +00:00
bzbarsky%mit.edu
6a4a07fada Better output on null URIs. 2003-10-06 02:56:27 +00:00
bzbarsky%mit.edu
d15e9d5a22 Fix debug DumpRegressionData method to not crash on null uris for things like
mBinding, mBackgroundImage, etc
2003-10-06 02:16:20 +00:00
darin%meer.net
77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
bzbarsky%mit.edu
c881ba323d Use mozconfig-find to make this work with mozconfig locations other than ~. 2003-10-06 00:57:36 +00:00
bzbarsky%mit.edu
7a6c811d30 Make this sorta limp on Unix (where there is no cygpath stuff) 2003-10-06 00:56:49 +00:00
dbaron%dbaron.org
96fc11cf66 Add empty constructor to fix Sun compiler bustage. b=221187 Patch from Harshal Pradhan <keeda@hotpop.com>. r+sr=dbaron 2003-10-04 16:25:55 +00:00
dbaron%dbaron.org
0a21971808 Missed CalcDifference changes in previous patch. r+sr=bzbarsky b=113173 2003-10-04 06:36:33 +00:00
dbaron%dbaron.org
7cbbfcd12f Remove duplication at the end of a comment. 2003-10-03 20:12:53 +00:00
dbaron%dbaron.org
0735da9e66 Remove discontinuity at height of 0. b=220266 r+sr=bzbarsky 2003-10-02 22:25:28 +00:00
bzbarsky%mit.edu
a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org
71f6aee8cf Fix DEBUG bustage. b=113173 2003-10-02 02:58:40 +00:00
dbaron%dbaron.org
5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
bryner%brianryner.com
b74d8438f9 Updating my email address 2003-09-29 06:04:02 +00:00
dbaron%dbaron.org
693a674a5b Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc 2003-09-28 22:56:08 +00:00
stephend%netscape.com
f9e026a7da Trivial grammatical comment change (from 'is that when it recurs' to 'in that when it recurs'... r/sr=bz 2003-09-28 06:20:24 +00:00
dbaron%dbaron.org
8ae7b198b9 Spelling too. b=220464 2003-09-28 05:39:03 +00:00
dbaron%dbaron.org
43995a65d9 Fix 80th column violations in code that I just reindented. b=220464 2003-09-28 05:35:25 +00:00
dbaron%dbaron.org
80185d0dbb Eliminate excess variables and their baroque (and broken, thanks to the previous checkin) reference counting. b=220464 r+sr=bzbarsky 2003-09-28 05:30:09 +00:00
bmlk%gmx.de
3d7310292f fieldset frames should report overflow area, bug 96506 r/sr=dbaron 2003-09-27 14:53:17 +00:00
bmlk%gmx.de
f54aa64c5a allow empty row groups in the border collapse access to the cellmap. bug 217769 r/sr=bzbarsky 2003-09-27 12:00:56 +00:00