4516 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
bryner%brianryner.com
2a1c8d3594 deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@158283 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 02:55:04 +00:00
smontagu%smontagu.org
221c341396 Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@158206 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-20 09:51:10 +00:00
bryner%brianryner.com
c52276bdfd Make XUL box debug code be #ifdef DEBUG_LAYOUT. r+sr=roc, bug 103844.
git-svn-id: svn://10.0.0.236/trunk@158188 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-19 09:07:47 +00:00
neil%parkwaycc.co.uk
578b7950cd Bug 205235 Fix floats to work in RTL spans p=mozilla-bugzilla@future.shiny.co.il (Ilya Konstantinov) r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158163 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 23:41:17 +00:00
cbiesinger%web.de
e5b61970b9 bug 227313 patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net> r+sr=roc
remove unused code related to PresShell::ScrollFrameIntoView(nsIFrame*)


git-svn-id: svn://10.0.0.236/trunk@158114 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 14:54:56 +00:00
roc+%cs.cmu.edu
897c2495e8 Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158083 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 02:08:19 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bryner%brianryner.com
1df9753a77 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@157620 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 23:53:59 +00:00
dbaron%dbaron.org
2c97c45164 Move clearing from nsBlockBandData to nsSpaceManager so that 'clear' works even when the floats to be cleared don't overlap the block's border-box. b=148994 Patch by Blake Kaplan <mrbkap@rice.edu>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157603 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 19:18:30 +00:00
cbiesinger%web.de
ff1bd6473d bug 196380
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@157435 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 17:57:00 +00:00
aaronleventhal%moonset.net
0324f45a91 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@157411 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-04 21:08:05 +00:00
aaronleventhal%moonset.net
540e86edb5 Bug 242594. Expose list and list item objects, and bullet text. r=Louie.Zhao, sr=jst/dbaron
git-svn-id: svn://10.0.0.236/trunk@157409 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-04 19:28:36 +00:00
roc+%cs.cmu.edu
0750e03dce Bug 240903. Add image input to the list of elements that can't be dragged. r+sr=roc, patch by Serge Gautherie
git-svn-id: svn://10.0.0.236/trunk@157289 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 02:25:18 +00:00
roc+%cs.cmu.edu
b09df31b9e Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157279 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 00:25:00 +00:00
smontagu%smontagu.org
d1a1c12261 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
sspitzer%mozilla.org
8f0f583c4c remove unnecessary imgURI check, thanks to biesi for catching it.
git-svn-id: svn://10.0.0.236/trunk@157203 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 22:56:42 +00:00
sspitzer%mozilla.org
e25b7c6069 fix for bug #188955
[CSS list item images are loaded even if image loading is blocked or disabled]

r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@157199 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 22:32:37 +00:00
bzbarsky%mit.edu
2ce7c13354 When scrolling to form controls on focus, make sure to flush out pending
reflows first.  Bug 245133, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157195 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 20:56:55 +00:00
dbaron%dbaron.org
b2ffb0b6b5 When we do two passes on an incremental reflow in order to update maximum width, do max-element-width calculation on the second pass too so that floats have their max-element-width cached for state recovery. b=217527 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157181 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 17:41:50 +00:00
bzbarsky%mit.edu
3fec1446b8 Remove unnecessary memsets. Bug 244876, patch by Rene Pronk
<r.pronk@its.tudelft.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@157175 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 16:38:47 +00:00
roc+%cs.cmu.edu
8abc5c90b1 Bug 232913. Let nsIScrollbarMediator support multiple scrollbars. Patch by Nate Nielsen, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@157088 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-29 00:09:05 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
bryner%brianryner.com
1f6e6de205 Reduce the amount of style data we fetch in nsTextFrame::Reflow. Bug 244651, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@156931 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-25 18:29:04 +00:00
bzbarsky%mit.edu
e26ec45382 Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@156491 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
mvl%exedo.nl
c0b2e4667b Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
roc+%cs.cmu.edu
67adc565ec Bug 107518 and others... Make CreateViewForFrame reparent any views on frame descendants to the new view. This ensures that the view hierarchy stays in sync with the frame hierarchy. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156356 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 15:33:18 +00:00