Commit Graph

4449 Commits

Author SHA1 Message Date
dbaron%dbaron.org
16a316be9c Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@163873 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 00:00:55 +00:00
jst%mozilla.jstenback.com
c6c84292ef Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@163714 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 05:16:34 +00:00
jst%mozilla.jstenback.com
7d3b850c5c 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/branches/MOZILLA_1_7_BRANCH@163444 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 22:42:42 +00:00
jshin%mailaps.org
ad89fc49c8 bug 263411 :first-letter pseudo-element doesn't include all punctuation marks in the Unicode (r/sr=dbaron, a=mkaply)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@163417 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 13:36:45 +00:00
kjh-5727%comcast.net
151008ac39 Bug 261589 - Disable old RenderPostScriptDataFragment support. r=bzbarsky, sr=roc, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@163368 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 16:43:58 +00:00
aaronleventhal%moonset.net
15f4a2825d Bug 247323. <iframe src=javascript:1/> partially hoses Mozilla. r=dbaron, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@163208 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-04 18:33:17 +00:00
jst%mozilla.jstenback.com
411eb0e224 Adding popup blocker changes from bug 258487. a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@162852 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 19:40:17 +00:00
jst%mozilla.jstenback.com
ecf90fef94 Landing popup blocker changes from bug 252326. a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@162848 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 19:29:39 +00:00
dbaron%dbaron.org
f4817105a5 Convert mCurrentEventContent and mCurrentEventContentStack to use nsCOMPtr/nsCOMArray. b=258667 r+sr=jst a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@162325 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 20:39:53 +00:00
bryner%brianryner.com
177a523d95 Extend invalidated region by one source row in each direction so that we fully cover the rows in a scaled image which may be drawn using a given source row. This fixes the "white lines" problem with scaled images (bug 222901). r=pavlov, sr=tor, a=mkaply.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@161858 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 18:48:05 +00:00
jst%mozilla.jstenback.com
d3c26fcb3b Fixing bug 198254. Fix crash when closing javascript created window. r+sr=bzbarsky@mit.edu, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@160959 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 00:42:07 +00:00
smontagu%smontagu.org
7bfa9431d2 Bug 205235: RTL first line overlaps "float:left" elements. Patch by Ilya Konstantinov mozilla-bugzilla@future.shiny.co.il, r+sr=dbaron, a=mkaply.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@160532 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-09 19:33:49 +00:00
smontagu%smontagu.org
5dfe7edabe 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, a=mkaply.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@160412 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 19:38:10 +00:00
roc+%cs.cmu.edu
91a81b4d61 Bug 217120. nsPresShell::EndLoad should scroll the root scroll frame to the scroll position restored from history state, because maybe no reflows will occur after this. r+sr=dbaron,a=choffman/ben
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@160328 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 02:50:49 +00:00
roc+%cs.cmu.edu
0dfa6449e5 Bug 244017. Hack nsBlockFrame invalidation to handle the confusion over whether we should invalidate the change in frame bounds or the change in frame overflow area, by doing both. r+sr=dbaron,a=mkaply
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@159437 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 19:15:54 +00:00
dbaron%dbaron.org
8effb63250 Backing out 217527 due to regression 246382. a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157794 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 19:19:24 +00:00
dbaron%dbaron.org
cd78c7dcc4 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 a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157742 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 00:29:49 +00:00
mkaply%us.ibm.com
af4faaa56e #217715
r/sr = jst, a=mkaply
Patch from roc - Java applet fails to get some of its parameters
Let's try again


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157404 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-04 15:30:00 +00:00
mkaply%us.ibm.com
755e01cfc7 Back out for now for more investigation
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157391 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-03 23:35:06 +00:00
mkaply%us.ibm.com
4b5fe5acb1 #217715
r/sr = jst, a=mkaply
Patch from roc - Java applet fails to get some of its parameters


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157380 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-03 19:59:00 +00:00
roc+%cs.cmu.edu
74547f6360 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/branches/MOZILLA_1_7_BRANCH@157290 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 02:39:42 +00:00
sspitzer%mozilla.org
81ad0a4c24 fix for bug #188955
[CSS list item images are loaded even if image loading is blocked or disabled]

r/sr=bz, a=sspitzer for 1.7 final


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157200 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 22:32:52 +00:00
roc+%cs.cmu.edu
2050a08403 Bug 230417. Put the overflow frames for placeholders in a block's overflowList in their own child list of the block, so that they can be found when we traverse the frame tree between reflows. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@156066 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 02:05:18 +00:00
bzbarsky%mit.edu
d8a989bf32 Don't show the content viewer if it's not ours -- that means that we're
actually about to be torn down. Bug 242282, r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@156049 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 23:19:15 +00:00
dbaron%dbaron.org
b0576cf139 Fix leak of content on all key and IME events. b=241591 r+sr=bryner a=brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155566 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-27 04:41:09 +00:00
bzbarsky%mit.edu
318b5e7d66 Fix bug 241304 (overflow broken on fixed-pos elements). Patch by roc,
r+sr=bzbarsky, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155351 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 21:02:32 +00:00
bzbarsky%mit.edu
7c0405666e Let generated content content nodes know when their frames go away. Bug
237975, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155287 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:15:17 +00:00
jst%mozilla.jstenback.com
19cf31264e Fixing bug 240340. Fix mac key event regression in plugins. r+sr=bryner@brianryner.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154993 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 21:46:05 +00:00
bzbarsky%mit.edu
7bbc962aef Make sure to null out mStyleSet if Init() fails, since the caller will delete
it in that case. Bug 240240, r+sr=bryner, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154839 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:01:29 +00:00
bzbarsky%mit.edu
e0d9dc65ee When appending frames to a block after a <br>, just put them into a new line
right away instead of waiting for reflow to come about and fix it up. This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154838 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 01:59:15 +00:00
bzbarsky%mit.edu
cdf30ade82 Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
it later on. Bug 231166, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154837 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 01:56:47 +00:00
roc+%cs.cmu.edu
bc15224ff7 Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154830 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 22:25:52 +00:00
jst%mozilla.jstenback.com
397e8accd3 Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@154661 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-10 00:25:01 +00:00
bzbarsky%mit.edu
90dc43345e Don't do a O(N) walk over all lines when painting floats, since we already have
a nice sorted list of floats about.  Bug 52005, r+sr=dbaron, a=brendan


git-svn-id: svn://10.0.0.236/trunk@154651 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 21:08:09 +00:00
bzbarsky%mit.edu
0d643a702e Change the way regression tests get the framestate to make it possible to mask
out irrelevant state bits as needed.  Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@154500 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu
0cb3f2e03b Don't look for the primary frame unless we have to on broken images. Bug
239262, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154451 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 03:07:39 +00:00
bzbarsky%mit.edu
1b69a7515b Make sure to not end up with a bogus padding when we have a list-style-image.
Bug 187419, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154432 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:48:55 +00:00
bzbarsky%mit.edu
4681cee324 Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
roc+%cs.cmu.edu
722bca28f8 Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@154348 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
2ec6a99fd5 Bug 235558. We don't really want to consider computed maximum widths after all. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@154330 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-27 02:44:26 +00:00
bryner%brianryner.com
f9f12d233a Fix following an image map link by pressing enter. Bug 214373, r+sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@154163 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-22 18:13:11 +00:00
bryner%brianryner.com
5050533b67 Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154140 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-21 05:22:46 +00:00
roc+%cs.cmu.edu
d5959dbbe6 Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification.
git-svn-id: svn://10.0.0.236/trunk@154021 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-16 06:58:01 +00:00
bzbarsky%mit.edu
f979394977 Clear the line cursor when child frames are added or removed. Bug 236947,
r+sr=roc, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@153961 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-14 18:19:24 +00:00
roc+%cs.cmu.edu
c36ad8a946 Bug 235558. Make scrollframes take CSS max-width/max-height into account when they compute their preferred size (by reflowing their scrolled block to width max-width, if appropriate). r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@153939 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-13 02:51:16 +00:00
dbaron%dbaron.org
1a94650e48 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
3fae0da191 Bug 232838. Remove unnecessary assertions on minsizes that we don't use. r+sr=dbaron, a=choffman
git-svn-id: svn://10.0.0.236/trunk@153892 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 03:35:53 +00:00
roc+%cs.cmu.edu
b2431bbad8 Bug 232838. Properly relayout scrollbars if we need to hide one because there's no room. Prefer to hide the horizontal scrollbar if we have to choose between them. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@153851 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 23:52:01 +00:00
dbaron%dbaron.org
693eed6a2d Backing out my checkin from yesterday. b=199673
git-svn-id: svn://10.0.0.236/trunk@153837 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 17:13:39 +00:00
bzbarsky%mit.edu
843ca20382 Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153817 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 04:43:59 +00:00