11096 Commits

Author SHA1 Message Date
aaronleventhal%moonset.net
2ed5e7dde3 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@163639 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 01:12:14 +00:00
dbaron%dbaron.org
900fefc4a5 Use |this| instead of getting the frame from the reflow state, since the frame from the reflow state is wrong when we're in a XUL textbox. b=263806 Patch from Hideo Saito <saito@densan.co.jp>. r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163606 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 17:58:28 +00:00
bzbarsky%mit.edu
36f337d43f Look at style height in addition to the height attribute for vertical
marquees.  Bug 262708, r=doron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@163574 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 03:21:13 +00:00
rbs%maths.uq.edu.au
d2e4f132a9 Text Zoom leaves misaligned overlapping text, b=128405, r=roc, sr=bz
git-svn-id: svn://10.0.0.236/trunk@163573 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 03:04:47 +00:00
bzbarsky%mit.edu
7ad51611da Paint the placeholder and the first line of our alt text even if out box is not
big enough to fit them in their entirety.  Bug 263244, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163548 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 21:52:36 +00:00
roc+%cs.cmu.edu
8ff367d401 Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 20:35:51 +00:00
bzbarsky%mit.edu
fa206da134 Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@163530 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:29:42 +00:00
bzbarsky%mit.edu
73c05f1b81 Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
Bug 263569, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163526 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 15:34:45 +00:00
smontagu%smontagu.org
6649ff6b3d Bug 167001: Anything below the baseline goes out of input field. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163502 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 18:30:28 +00:00
bmlk%gmx.de
9ec70aeffa hide the overflow that results from overconstrained percentage heights inside table cell frames only in quirks mode, bug 245434 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163499 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 07:31:35 +00:00
roc+%cs.cmu.edu
2bb7f4c340 Bug 263586. Fix regression in incremental line reflow by being more conservative in detecting when a line has just been reflowed for the first time. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163491 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 01:56:00 +00:00
bzbarsky%mit.edu
ad59771509 Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163474 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 16:55:54 +00:00
bmlk%gmx.de
b11f6f0e87 reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163467 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 12:04:52 +00:00
kyle.yuan%sun.com
35d4dce39e Bug 256252 ctrl+right arrow sometimes skip a word
r/sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@163464 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 06:14:44 +00:00
roc+%cs.cmu.edu
6f2ffd8d55 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163457 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 02:02:04 +00:00
roc+%cs.cmu.edu
1df6a398e4 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
alex%croczilla.com
371ae9555f Use GetGeometricParent() to determine geometric parent of XTF frames - see bug #253225, comment#30. r+sr=bzbarsky. Affects XTF-enabled builds only.
git-svn-id: svn://10.0.0.236/trunk@163419 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 14:58:00 +00:00
roc+%cs.cmu.edu
22e0ff6cb8 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163416 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 12:17:10 +00:00
alex%croczilla.com
4613694ca0 Let presshell track anonymous xtf content to prevent shutdown crashes. Affects XTF-enabled builds only.
git-svn-id: svn://10.0.0.236/trunk@163415 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 11:36:14 +00:00
jshin%mailaps.org
bef3a84c34 bug 263411 : :first-letter pseudo-element doesn't include all punctuation marks in the Unicode (r/sr=dbaron)
git-svn-id: svn://10.0.0.236/trunk@163407 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 05:00:53 +00:00
alex%croczilla.com
049fc5de75 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).


git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
b96eb6877f Fix crash on reconstructing a frame tree in which fixed pos frames contain
placeholders for other fixed pos frames.  Bug 256108, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163270 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:29:14 +00:00
bzbarsky%mit.edu
15618cb256 Fix absolute positioning of tables. Bug 262898, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163224 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-05 04:20:32 +00:00
bzbarsky%mit.edu
cf92574533 Followup to bug 260922 -- don't crash on frame teardown if the thing that got a
text control frame is neither an input nor a textarea.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@163139 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 16:14:56 +00:00
bzbarsky%mit.edu
09bf6e10e5 Create a GetGeometricParent() function and make people use it instead of
(incorrectly, usually) rolling their own.  Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163044 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:39:28 +00:00
bzbarsky%mit.edu
c6733ef5e7 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@163041 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu
2719923442 Don't do unneeded work in nsImageFrame::AttributeChanged. Bug 261723, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163034 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 19:23:40 +00:00
bzbarsky%mit.edu
87eb567493 Don't crash if someone pretends to be a form control (via XBL) without implementing
nsIFormControl.  Bug 260922, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@163033 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 19:15:59 +00:00
jst%mozilla.jstenback.com
a3cb07e21e Fixing bug 257523. Prevent Copy & Paste with generated DOM events. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@163023 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 16:29:54 +00:00
roc+%cs.cmu.edu
1f87738ac5 Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162932 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 02:19:06 +00:00
roc+%cs.cmu.edu
22c664a250 Bug 260896. When a floating first-letter frame reports FRAME_IS_NOT_COMPLETE after reflow, (then unlike blocks) that does NOT mean that it needs to continue on the next page! It just means it has an inline continuation. So correct its reflow status early in ReflowFloat so that we don't confuse the heck out of block reflow. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162931 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 02:18:25 +00:00
roc+%cs.cmu.edu
f303e742c2 Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162930 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 02:08:51 +00:00
roc+%cs.cmu.edu
633d64dd17 Bug 261128. Protect scrollframes from dying if the prescontext's container goes away (it's a weak ref). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162929 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 01:46:55 +00:00
roc+%cs.cmu.edu
7587dd2afc Bug 62384. Invalidate cached height when it's not equal to the current height. r+sr=roc, patch by Hideo Saito.
git-svn-id: svn://10.0.0.236/trunk@162928 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 01:44:29 +00:00
aaronleventhal%moonset.net
df1a357353 bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162879 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:41:15 +00:00
aaronleventhal%moonset.net
d45fca0e31 bug 258937: form elements in Midas are focusable. r=glazou, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162878 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:40:50 +00:00
bryner%brianryner.com
d80f327086 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu
d2e60997b8 Bug 251586. Allow a scrollbar to appear whenever it fits, even if the resulting visible size is zero. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@162847 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 19:21:41 +00:00
jst%mozilla.jstenback.com
7ae7afb188 Fixing bug 181364. Fixing problem with drag events in windowless plugins by making the code work as it has always worked on Mac, i.e. prevent drag events on plugins from being eaten by the browser. r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162844 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 18:56:07 +00:00
neil%parkwaycc.co.uk
1e6e5a6511 Bug 260282 <marquee> with invalid direction attribute should scroll left p=gautherie@noos.fr r=doron sr=me
git-svn-id: svn://10.0.0.236/trunk@162827 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-26 22:37:50 +00:00
neil%parkwaycc.co.uk
e4263e6587 Bug 76197 Unscrollable scrollbars should look disabled r=varga sr=roc
git-svn-id: svn://10.0.0.236/trunk@162658 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-22 06:33:36 +00:00
roc+%cs.cmu.edu
af0a174a7c Bug 260624. Handle case where scrollframe state is restored before its scrollbox has been created. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162627 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 21:41:01 +00:00
roc+%cs.cmu.edu
5f2bf6d3a4 Bug 258175. Always capture the mouse at the root of the document if we haven't captured it in any child. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162594 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 13:58:22 +00:00
roc+%cs.cmu.edu
e328b8648c Bug 260515. Fix obviously broken code in CombineBreakType. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162593 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 13:56:06 +00:00
dbaron%dbaron.org
cdd43406c9 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:08 +00:00
kyle.yuan%sun.com
27ce42a23d Bug 237228 pref "layout.word_select.eat_space_to_next_word" can't be set by user in the profile's prefs.js
r=dbaron, sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@162576 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:25:08 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
bmlk%gmx.de
1fa3d40c94 fix MEW computation regression introduced by my previous checkin bug 257955 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@162546 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 12:40:20 +00:00
pete.zha%sun.com
dad2cb31dd bug 234470
There is something wrong with plugin printing on linux or unix
r=leon.sha@sun.com
sr=roc
patch=roland


git-svn-id: svn://10.0.0.236/trunk@162543 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 06:46:16 +00:00
bmlk%gmx.de
e6f5bc2c94 at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162531 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 18:15:37 +00:00