Commit Graph

3992 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
gavin%gavinsharp.com
53e7a1828f Backing out patch for bug 292581, because it caused bug 302804, by author's request
git-svn-id: svn://10.0.0.236/trunk@177484 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 03:05:43 +00:00
mozilla.mano%sent.com
65281ba197 Bug 301033 - Bidi: Caret placed in wrong position when arrowing over a single reverse-direction character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa.
git-svn-id: svn://10.0.0.236/trunk@177316 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 07:35:48 +00:00
mozilla.mano%sent.com
3333ae0254 Bug 299842 - BiDi: Recursive caret movement in LTR lines which begin with an RTL word or character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa.
git-svn-id: svn://10.0.0.236/trunk@177314 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 07:32:14 +00:00
timeless%mozdev.org
c2fcb662c5 Bug 277553 clicking on Textarea with a RTL direction doesnt work
patch by uriber@gmail.com r=bz sr=bz a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@177023 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 21:55:55 +00:00
roc+%cs.cmu.edu
6fd1b09b01 Bug 295673. Fix up GetActualScrollbarSizes so that padding doesn't confuse it. r+sr=dbaron, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177011 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:19:34 +00:00
roc+%cs.cmu.edu
419aa6d88e Bug 189739. During SHRINKWRAP, lines that skip being reflowed need to add their right margin to their mBounds.XMost for the shrink-wrap width computation. Fixes an incremental reflow regression. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177008 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:17:36 +00:00
dbaron%dbaron.org
956038a9e0 Remove check for GECKO_USE_COMPUTED_HEIGHT environment variable. b=196270 r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177006 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:15:27 +00:00
bzbarsky%mit.edu
0a6556c02c Make sure to not return a negative containing block height when computing a
quirks percentage height containing block.  Bug 303005, r+sr=dbaron,
a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@177003 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:09:49 +00:00
roc+%cs.cmu.edu
47f6eb2817 Bug 298893. Collapse the leading and trailing margins of a column set. Makes columns degrade more gracefully.
git-svn-id: svn://10.0.0.236/trunk@177002 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:05:52 +00:00
timeless%mozdev.org
445d7950b2 Bug 288789 BiDi - In an RTL textbox, caret moves to wrong position when using arrow keys to move into a line containing LTR text
patch by uriber@gmail.com r=smontagu sr=roc a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176992 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 17:19:43 +00:00
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