10728 Commits

Author SHA1 Message Date
dbaron%dbaron.org
59572fab24 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
roc+%cs.cmu.edu
76113ff262 Bug 240276. Make <scrollbox> be implemented as a regular scrollframe rathern than a scrollboxframe. This will help us remove scrollboxframe. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159946 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 03:27:02 +00:00
roc+%cs.cmu.edu
0b77ffa440 Bug 252850. Backing out minor listbox layout fix, because it broke something worse
git-svn-id: svn://10.0.0.236/trunk@159944 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 01:24:58 +00:00
dbaron%dbaron.org
4fe0d9c583 Reframe all image box frames on theme change, as a workaround for chrome: URL comparison mess. b=252703 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159936 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 23:31:08 +00:00
roc+%cs.cmu.edu
33f365524b Bug 253195. Fix a really nasty data corruption bug in nsBlockFrame::DoRemoveFrame, that only shows up when you need to delete inline continuations that are in a continuation of the current block --- probably doesn't happen today, but will happen with columns and page-layout editing. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159919 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 18:22:14 +00:00
roc+%cs.cmu.edu
3687f1ad35 Bug 217120. Make the scroll position restoration logic in nsPresShell actually use the right scroll and scrollbox frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159918 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 18:16:10 +00:00
bzbarsky%mit.edu
50d5ce0bc2 Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@159916 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 17:15:53 +00:00
cbiesinger%web.de
b27e0031f5 Bug 252948 remove *WithConversion in layout
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@159832 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:18:04 +00:00
aaronleventhal%moonset.net
7461104ae0 Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@159798 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-24 21:12:43 +00:00
roc+%cs.cmu.edu
c3f3e3fd7a Bug 232540. Make unconstrained-width comboboxes reflow their dropdowns with unconstrained width, always, to avoid a problem where the vertical scrollbar is added but the dropdown doesn't get correspondingly wider. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159756 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 23:46:25 +00:00
roc+%cs.cmu.edu
56a1f1002d Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159746 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 21:39:47 +00:00
neil%parkwaycc.co.uk
fc3edfffcf Fix regression from bug 244761 so that only user actions will enable onChange after blur b=251833 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@159723 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 08:25:44 +00:00
cbiesinger%web.de
9ab54454e8 Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@159612 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 20:18:39 +00:00
rbs%maths.uq.edu.au
a41b8a61ef Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159562 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 01:05:44 +00:00
roc+%cs.cmu.edu
8721fb6de7 Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159520 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 00:02:43 +00:00
dbaron%dbaron.org
24cd030914 Add null-check. b=226791 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@159450 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 21:55:24 +00:00
bzbarsky%mit.edu
cf84f27c43 Fix bug 251844 -- <onject> blocked by content policy doesn't show alternate
content.  r=mvl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@159430 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 18:00:58 +00:00
roc+%cs.cmu.edu
773c3fc74d Bug 251032. Make nsComboBoxControlFrames have their own space manager, because they don't care about floats in their parent. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159420 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:16:15 +00:00
roc+%cs.cmu.edu
c820f47543 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159417 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:02:53 +00:00
dbaron%dbaron.org
33a6ecdc76 Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159412 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 01:16:27 +00:00
dbaron%dbaron.org
9c58fc5ccf Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159399 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 18:21:41 +00:00
dbaron%dbaron.org
483db44bb1 Backing out half of 236889.
git-svn-id: svn://10.0.0.236/trunk@159367 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
95176bd66a Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload.
git-svn-id: svn://10.0.0.236/trunk@159363 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 20:26:39 +00:00
gerv%gerv.net
9efd617dd4 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@159360 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 19:30:11 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
jim_nance%yahoo.com
36c92b47d6 Fix bug 241599 - Speed up table layotu code by reducing GetCellInfoAt() calls. r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159313 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 01:49:18 +00:00
bzbarsky%mit.edu
7d6cd84fe0 Paint a fieldset's border under the legend margin. Bug 247068, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159301 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 23:28:46 +00:00
bzbarsky%mit.edu
4a3fbd70c4 Remove some quirks that neither NS4 nor IE have (they remove bottom margin from
<p> in a table cell, but leave other blocks with bottom margins alone).  Bug
101084, patch by Martijn Wargers <m.wargers@hccnet.nl>, r=dbaron, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@159294 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 21:48:13 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
jim_nance%yahoo.com
b0e12359c6 Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@159260 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 17:50:34 +00:00
bzbarsky%mit.edu
95c22a9e8d Use the direction of the abs pos box, not its containing block, when deciding
which offset to use the static position for.  Bug 247287, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@159239 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 06:10:53 +00:00
bzbarsky%mit.edu
a569b89925 Testing backout of bug 236889 to see effect on performance. a=#mozilla
git-svn-id: svn://10.0.0.236/trunk@159232 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
27b14921d7 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159201 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:19:22 +00:00
dbaron%dbaron.org
ca93e21901 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159197 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:10:55 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
jst%mozilla.jstenback.com
64edfdc1f4 Landing patch for aaronleventhal@moonset.net. Bug 250208. Fix regression that made dropdowns not work as expected on Linux. r=jst@mozilla.jstenback.com, sr=dbaron@dbaron.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@158963 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-09 22:33:35 +00:00
aaronleventhal%moonset.net
526c59be60 Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@158815 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 00:58:57 +00:00
alex%croczilla.com
dedf4d2c31 Bug#245408: 'position' shouldn't apply to SVG elements other than outermost <svg/> element. SVG only - not part of default builds. r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@158752 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 06:45:51 +00:00
dbaron%dbaron.org
e47fc7a034 Fix scaling of images in response to {min,max}-{width,height}. b=234686 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@158747 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 00:17:11 +00:00
neil%parkwaycc.co.uk
15898dc0bb Form frames should not register empty access keys b=248566 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@158724 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-03 20:54:54 +00:00
bmlk%gmx.de
081d8667b3 fix a crash in table pseudo frame handling, where colgroups need a special handling as they hold only columns and and can not be parents of other frames , bug 239294 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158716 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-03 09:42:51 +00:00
roc+%cs.cmu.edu
3f608a1e75 Bug 244017. Hack invalidation of block children of blocks to avoid answering the question of whether we're supposed to invalidate the difference in frame bounds or the difference in overflow areas. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158572 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 12:46:46 +00:00
roc+%cs.cmu.edu
2027d59c0d Bug 185357. Collect out-of-flow frames for overflowing placeholders even if the placeholders are indirect (inline) children of the line. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158527 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-27 02:01:06 +00:00
peterv%propagandism.org
e5a332477e Trying to fix minimo bustage
git-svn-id: svn://10.0.0.236/trunk@158485 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 16:38:43 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
timeless%mozdev.org
7078d213aa Bug 240947 use content instead of _content
r=neil sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@158446 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-24 23:44:05 +00:00
dbaron%dbaron.org
580a260d87 Null check mViewManager. b=248343 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158439 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-24 21:56:29 +00:00
tor%cs.brown.edu
bc6db8e5fc Bug 246857 - implement <svg:defs>. r=afri. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@158374 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 18:14:04 +00:00
pkw%us.ibm.com
684992284a Bug 248216 - Mismatched new[]/delete in nsTextFrame.cpp.
r/sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@158362 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 16:38:38 +00:00
dbaron%dbaron.org
41ff3ad83f Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158287 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 04:32:52 +00:00