3981 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
edb46c15b4 Insert child frames that belong at the front of our list after mBullet if we
have an inside bullet.  Bug 295947, r+sr=dbaron, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176973 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:38:16 +00:00
bzbarsky%mit.edu
c25a517378 Make sure to reset our intrinsic size if we're doing a GetDesiredSize and have
no image; this way if we later get an image we'll make sure to reflow.  Bug
294718, r+sr=roc, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176972 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:35:32 +00:00
bzbarsky%mit.edu
a76c585865 Don't carry out the bottom margins of kids if the block's height is affected by
min-height or max-height.  Bug 295309, r+sr=roc, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176971 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:32:46 +00:00
rbs%maths.uq.edu.au
71eb574482 Avoing crashing due to outdated text pointers by flushing pending reflows before finding out where to scroll the selection, b=252970, r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176866 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 02:43:17 +00:00
roc+%cs.cmu.edu
33cee32ff7 Bug 291757. Propagate inline clearance status for lines we reflowed as well as lines we didn't. This ensures that during incremental reflow, we'll reflow lines which have a <br clear=> above them if their clearance is changing. r+sr=dbaron,a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176800 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 19:50:04 +00:00
gavin%gavinsharp.com
d981855e8b Bug 292581: funky selection behaviour 3: event coordinates not being translated at the right time, patch by Eli Friedman <sharparrow1@yahoo.com>, r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176798 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 19:48:01 +00:00
roc+%cs.cmu.edu
69dc3ea41b Bug 299742. Blocks that contain lines with clearance need not reflow those lines if there are no floats in the space manager yet and no lines need to be reflowed otherwise.
git-svn-id: svn://10.0.0.236/trunk@176640 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 21:35:59 +00:00
roc+%cs.cmu.edu
62fdbc435c Bug 223737. Lines that were pushed below a float should be treated as impacted by the float. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176638 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 21:33:28 +00:00
roc+%cs.cmu.edu
5bae01caf2 Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176582 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:23:53 +00:00
bzbarsky%mit.edu
7e4d53dac0 Use the padding-edge as the absolute containing block when the containing block
is established by a relatively positioned inline.  CSS2.1 is being changed
accordingly.  Bug 300816, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@176552 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 20:15:31 +00:00
mats.palmgren%bredband.net
22b72f7787 Don't crash in the document observer methods when the container arg is null. b=301025 r+sr=bzbarsky a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176491 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-24 01:21:17 +00:00
bzbarsky%mit.edu
78f1691411 Backing out fix for bug 223737, since it causes severe performance problems
when typing at the beginning of long text in a textarea (and in general can
cause us to reflow a lot more lines than we should have to).  a=roc


git-svn-id: svn://10.0.0.236/trunk@176413 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 22:17:34 +00:00
aaronleventhal%moonset.net
827b578eb2 Bug 300284. Can't shift+tab out of mail compose. r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176407 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 19:27:18 +00:00
roc+%cs.cmu.edu
0034c8415c Bug 295527. nsObjectFrame child-size-setting-hack should use the content size, not the border-box size. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176398 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 17:40:03 +00:00
roc+%cs.cmu.edu
fb44056174 Bug 294934. Absolute positioning should be relative to the padding edge, so we need to set the absolute containing block size to the size of the padding-box of any wrapper frame. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176287 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 22:06:39 +00:00
roc+%cs.cmu.edu
d8db9bacdf Bug 295690. Force reflow of *all* lines in the same space manager as a float that's removed. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176285 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:58:41 +00:00
mozilla.mano%sent.com
2ff683a3d6 Bug 299838 - BiDi: Caret disappears outside the end of lines that end with spaces. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176172 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-16 19:58:26 +00:00
masayuki%d-toybox.com
9d5b41b98d Bug 148947 [quirks]selecting past underline extends underline r+sr=roc, a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176137 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 15:07:51 +00:00
cbiesinger%web.de
28b8f98269 254278 assign to |result| in the loop, to terminate at the right place
r+sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@176093 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 15:48:11 +00:00
mrbkap%gmail.com
2d857d4b73 bug 299533: Fix hang when dragging across a select down arrow. r+sr=roc a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175681 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 05:55:22 +00:00
mozilla.mano%sent.com
4b0d3a86a8 backing out bug 299371 (c19) patch as it caused bug 299371 (Right arrow in a 'select all' text field doesn't work)
git-svn-id: svn://10.0.0.236/trunk@175487 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 16:16:00 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
timeless%mozdev.org
cc1514d825 Bug 262917 r:\mozilla\layout\html\document\src\nsframeframe.cpp(632) : warning C4715: 'ConvertOverflow' : not all control paths return a value
r=dbaron sr=dbaron a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175464 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:15:46 +00:00
mrbkap%gmail.com
6321ac3cb3 bug 297224: Fix hang trying to move the caret by making sure that we always hit the first and last frames in a line when iterating over that line. r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175435 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 22:50:15 +00:00
mozilla.mano%sent.com
810f4ba1c0 Bug 207186 (c19) - Prevent caret from looping around non-default-direction text at the beginning of a textarea. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@175410 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:29:56 +00:00
jst%mozilla.jstenback.com
863088201a Fixing bug 298725. Create the right type of elements even when the document is not a HTML document. r+sr=peterv@propagandism.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@175373 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 01:30:34 +00:00
jst%mozilla.jstenback.com
01278a055f Fixing bug 277434. Make setting element.type on a plugin element (object or embed) set the 'type' attribute as well. r=bugmail@sicking.cc, sr=peterv@propagandism.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@175372 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 01:23:12 +00:00
roc+%cs.cmu.edu
38bb755f3e Bug 293504. Make MEW/max-width calculations in scrollframes consistent with regular reflow about how we handle the scrollbar width. r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175285 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 04:17:21 +00:00
roc+%cs.cmu.edu
b448928e1f Bug 295690. When a float is removed, reflow all lines associated with the space manager, to ensure any lines that used to be impacted are reflowed. r+sr=dbaron,a=benjamin
git-svn-id: svn://10.0.0.236/trunk@175281 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 03:40:35 +00:00
roc+%cs.cmu.edu
906c217d28 Bug 298378. Make sure that a style-change reflow on a column set eventually reflows all the descendant frames, even if some of them don't get reflowed on the first pass. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@175156 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-26 22:15:08 +00:00
jst%mozilla.jstenback.com
67ec9d263d Fixing bug 284245. Make midas work in an iframe across re-framing of the iframe. r+sr=dbaron@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174982 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:25:41 +00:00
roc+%cs.cmu.edu
d37e04c2ca Bug 296377. Frames that use -moz-appearance may be transparent even if their background color is set, because the background color is not painted. r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174964 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 21:53:10 +00:00
smontagu%smontagu.org
b25c8e512d Make ComputeWordFragmentDimensions() look at the content data from the next frame instead of this frame. Bug 282760, patch by Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@174930 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 09:11:18 +00:00
dbaron%dbaron.org
806d014cd4 Zooming way down should not make bullets larger. b=296219 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174879 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 21:25:41 +00:00
roc+%cs.cmu.edu
ce1b9ce1d3 Bug 186485. The nsLineBox maximum-width includes the block's left border-padding but not the right. r+sr=roc,a=asa,patch by Hideo Saito
git-svn-id: svn://10.0.0.236/trunk@174836 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 03:42:19 +00:00
roc+%cs.cmu.edu
81c2c6644b Bug 223737. Always reflow the next line after splitting a frame, even if it's complete. r+sr=roc,a=asa,patch by Hideo Saito
git-svn-id: svn://10.0.0.236/trunk@174835 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 03:38:45 +00:00
roc+%cs.cmu.edu
e05c85a204 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@174751 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
2816caa04c Bug 297537. Line layout should not set an available-height constraint on the inline frames, because they can't break vertically ... and it certainly shouldn't set the constraint based on the band dimensions. Fixes Gmail rich text toolbar layout issue. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@174750 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:46:36 +00:00
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
roc+%cs.cmu.edu
b3806fdb92 Bug 296337. Always correct the overflow area even if NS_FRAME_OUTSIDE_CHILDREN is set. r+sr=bzbarsky,a=shaver
git-svn-id: svn://10.0.0.236/trunk@174666 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 02:57:23 +00:00
roc+%cs.cmu.edu
bbe47c39fb Bug 292295. Blocks with clearance are not actually top-margin-roots. Their top margin is still managed by the parent block if there is one. Fixes an Acid2 issue. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@174665 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 02:54:57 +00:00
dbaron%dbaron.org
5efdb69c74 Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174650 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:45:06 +00:00
mats.palmgren%bredband.net
3326af6fcd Don't apply z-index to non-positioned elements. b=297425 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174604 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 23:53:56 +00:00
rbs%maths.uq.edu.au
9498af5d12 German &szlig; and surrogate characters don't render with the proper small-caps font, b=291321. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=shaver
git-svn-id: svn://10.0.0.236/trunk@174347 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 08:33:15 +00:00
timeless%mozdev.org
b048e1083d Bug 292348 NewEmbededPluginStream misspelled
patch by pythonesque+bugzilla@gmail.com r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@174323 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 23:42:15 +00:00
ginn.chen%sun.com
faa408df6e Bug 295142 Crash when using option(ctrl)-left arrow at the end of RTL textarea [@nsFrame::PeekOffset]
r=roc sr=roc a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174162 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-06 02:22:53 +00:00
bmlk%gmx.de
26006fb9e8 make the MEW for scrollframes content independent as they can scroll the content if the available size shrinks, bug 295459 r/sr=roc a=shaver
git-svn-id: svn://10.0.0.236/trunk@174110 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 06:04:23 +00:00
smontagu%smontagu.org
00ef6c5838 Remove unused code. Bug 292300, r+sr=roc, a=shaver
git-svn-id: svn://10.0.0.236/trunk@174048 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 10:45:39 +00:00
timeless%mozdev.org
b40ea54174 Bug 291436 r:\mozilla\layout\generic\nsBlockFrame.h(628) : warning C4099: 'nsBlockFrame::nsAutoOOFFrameList' : type name first seen using 'struct' now seen using 'class'
r=roc sr=roc a=shaver


git-svn-id: svn://10.0.0.236/trunk@173932 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:28:06 +00:00
bzbarsky%mit.edu
d1a3868aa5 Not all scrollable children of the viewport are the root scrollframe. Fix
semi-hangs when fixed-pos elements have non-visible overflow.  Bug 295292,
r+sr=roc, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@173848 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-31 18:30:27 +00:00