3916 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
d86d34fe37 Bug 292370. Adjust instrinsic widths in nsHTMLScrollFrame to account for 'width','min-width' and 'max-width' style settings. r+sr=dbaron,a=mkaply
git-svn-id: svn://10.0.0.236/trunk@173015 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 21:15:55 +00:00
roc+%cs.cmu.edu
17e8fa5259 Forgot to check in these other files too
git-svn-id: svn://10.0.0.236/trunk@172971 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 23:01:41 +00:00
roc+%cs.cmu.edu
5a73cc999a Bug 47710. Get padding right in scrollframes. r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172969 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 22:49:44 +00:00
blizzard%redhat.com
af2e4e4f3a Bug #260663. When pango is available use it for grapheme cluster information to figure out where valid selection points are. Change text rendering to use clip regions for rendering selected strings instead of rendering partial strings instead. r+sr=roc,a=asa
git-svn-id: svn://10.0.0.236/trunk@172961 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 20:48:32 +00:00
roc+%cs.cmu.edu
ca3be43c02 Checked in wrong patch. Backing out.
git-svn-id: svn://10.0.0.236/trunk@172939 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 04:48:59 +00:00
roc+%cs.cmu.edu
9e1ef0858d Bug 47710. Fix padding inside scrollframes. r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172937 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 04:26:38 +00:00
roc+%cs.cmu.edu
e83744f868 Bug 292286. Fix stupid typo so that we don't reset the vertical scrollbar when there is no horizontal scrollbar. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172935 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 02:16:25 +00:00
bzbarsky%mit.edu
2409aab98a Actually address the review comments on bug 290377... r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@172910 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-30 05:16:21 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
dougt%meer.net
3d7bcc8055 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa


git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +00:00
cbiesinger%web.de
e64ebdba57 Bug 292114 InstantiateFullPagePlugin should take nsIURI*, not nsString&
r=jst sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@172865 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 12:11:45 +00:00
smontagu%smontagu.org
f873534309 Bug 272386: Allow multiple special codes in print headers and footers. Patch by Alexandre Tremon <atremon@elansoftware.com>, r=smontagu, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172861 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 04:57:51 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
b301051b39 Bug 282708. Position <object>'s view before creating its widget, to avoid flicker from creating it in the wrong position and then instantly moving it. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172840 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
131435cb9a Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
0d1ac7f10f Bug 288560. Set mIsTopOfPage for each column in a column set. Also, make it possible to force floats to fit by relaxing the space manager's height constraint if necessary. r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172829 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:25:11 +00:00
roc+%cs.cmu.edu
5efc210e97 Bug 174688. Don't apply top border-padding to block frames that aren't first in flow. Also, when a block is incomplete, ensure the frame extends to fill the entire available height. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172719 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 02:26:12 +00:00
roc+%cs.cmu.edu
13f630b1b6 Bug 215760. Don't crash when we have a float continuation whose first-in-flow placeholder is inside an inline; make sure we find a preferred container that's an actual block. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172718 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 02:24:20 +00:00
rbs%maths.uq.edu.au
e44ab657e8 Discarded characters cause the selected text to shift, b=289857. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172589 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 01:30:46 +00:00
rbs%maths.uq.edu.au
ecc64d2dcd view-source crashes on bidi text, b=291176, r=smontagu, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@172583 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:45:59 +00:00
masayuki%d-toybox.com
a9e6edee5a bug 290920 If an element has 'font-variant: small-caps', the selection color is broken r/sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172538 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 07:54:32 +00:00
roc+%cs.cmu.edu
257fddd81f Bug 290297. Reconstruct previous margin after propagating float damage, in case that dirties the line. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172510 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 21:45:24 +00:00
roc+%cs.cmu.edu
3b48266d9a Bug 290469. Don't trust the offset returned by GetOffsetFromView. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172459 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 23:06:47 +00:00
roc+%cs.cmu.edu
b5213df298 Bug 290432. Add push/pop translation functions to nsIRenderingContext so cairo can override them. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172456 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 22:58:33 +00:00
masayuki%d-toybox.com
ef5f8602fd bug 56314 reverse selection colors when page background is similar to default selection background. Updating the algorithm. r/sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172423 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 06:05:22 +00:00
bzbarsky%mit.edu
e2e0f7bfab Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
roc+%cs.cmu.edu
9834acb96b Bug 290553. Make the canvas frame translate event coordinates correctly. r+sr=bzbarsky,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172401 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 20:41:47 +00:00
vladimir%pobox.com
dcf80e9788 b=288714, html canvas implementation, r=various,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu
8530b9ceef Fix up trees to use correct event coordinate systems. Bug 290494 , r+sr=roc,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@172388 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 05:22:35 +00:00
bzbarsky%mit.edu
42816d03e0 Make splitters use the right coord system for events, and fix up the review
comment from bug 289792.  Fixes bug 290464 and bug 290469 respectively.
r+sr=roc, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172386 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 05:18:34 +00:00
smontagu%smontagu.org
70d1e92eab Fix typo from bug 284927. Bug 290567, r+sr=roc, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@172385 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 03:55:52 +00:00
rbs%maths.uq.edu.au
56de3ee70e text-transform: uppercase or capitalize messes the German character &szlig;, b=96423, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172382 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 00:13:45 +00:00
rbs%maths.uq.edu.au
ca1b9b90c8 'text-transform: capitalize' causes collapsed/expanded letter spacing, b=93168, r+sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@172381 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 23:53:28 +00:00
rbs%maths.uq.edu.au
ae5b367175 Selection details leak, b=290425, r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@172332 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-16 04:03:11 +00:00
smontagu%smontagu.org
19b1efdc77 Add a rendering hint for gfx implementations that perform reordering of complex text after applying spacing. Bug 284927, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172268 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 10:25:43 +00:00
roc+%cs.cmu.edu
3d63df3114 Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172244 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:41:52 +00:00
dbaron%dbaron.org
9ad89863ab Add assertion that warns when we're about to crash due to bug 136927. b=136927 r+sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@172240 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 21:50:46 +00:00
bzbarsky%mit.edu
46d9cf3192 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172225 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 15:30:35 +00:00
roc+%cs.cmu.edu
d302ae559d Bug 289431. Don't include overflow from children in frames that are overflow:-moz-hidden-unscrollable. r+sr=bzbarsky,a=brendan
git-svn-id: svn://10.0.0.236/trunk@171995 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 22:03:23 +00:00
bzbarsky%mit.edu
bc5588d5eb Make sure to pop off the line style and color we use for imagemaps so it
doesn't affect other drawing done by the page.  Bug 185467, buggy code found by
Jan Darmochwal <jdarmochwal@gmx.de>, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171941 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 19:30:40 +00:00
roc+%cs.cmu.edu
89977d9b7c Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171875 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:54:28 +00:00
roc+%cs.cmu.edu
c6e67bf07f Bug 285996. Checking in update to nsObjectFrame.h. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171846 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 04:34:46 +00:00
roc+%cs.cmu.edu
88019f7491 Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171844 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 04:04:06 +00:00
roc+%cs.cmu.edu
c10d27a704 Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171843 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:59:02 +00:00
cbiesinger%web.de
5e93b18b6a fixing bustage
git-svn-id: svn://10.0.0.236/trunk@171756 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 00:42:41 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
masayuki%d-toybox.com
5fee0b5fd2 bug 56314 reverse selection colors when page background is similar to default selection background. r=sfraser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171553 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 10:40:48 +00:00
roc+%cs.cmu.edu
a6bfe5d186 Bug 288888. Fix detection of when a scrollframe is the root scrollframe, so that we don't create scrollbars for scrolling=no IFRAMEs. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171543 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 22:40:25 +00:00
roc+%cs.cmu.edu
0da7df6e3e Removing debug printfs that crept in.
git-svn-id: svn://10.0.0.236/trunk@171541 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:19:37 +00:00
roc+%cs.cmu.edu
7021bee02b Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00