4639 Commits

Author SHA1 Message Date
dbaron%dbaron.org
4bbdb86a7a Back out 252703 due to Txul / Ts regression.
git-svn-id: svn://10.0.0.236/trunk@166118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
4152e1ae96 Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
bmlk%gmx.de
f4ecc570fe switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166078 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 18:47:34 +00:00
bzbarsky%mit.edu
148fa42371 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@166004 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 03:28:44 +00:00
smontagu%smontagu.org
6bd2ade893 Prevent the right-to-left directional hook from overlapping the caret and make both directions thinner. Bug 264903, r=mkaply, aaronleventhal, sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@165954 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 19:28:00 +00:00
smontagu%smontagu.org
9edf6384c3 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165899 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 20:28:46 +00:00
mats.palmgren%bredband.net
b9fa4efa1b Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165817 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 20:39:30 +00:00
roc+%cs.cmu.edu
d6143a38f4 Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165810 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 18:40:58 +00:00
roc+%cs.cmu.edu
d4a6c32e7b Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165781 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 14:51:00 +00:00
bzbarsky%mit.edu
05429c1216 Fixing build bustage. Bug 263374
git-svn-id: svn://10.0.0.236/trunk@165768 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:58:01 +00:00
bzbarsky%mit.edu
4c07e20fbe Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165766 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:43:28 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
067c70d127 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@165642 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:26:19 +00:00
tor%cs.brown.edu
d0fcc0b497 Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165632 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 13:51:57 +00:00
bzbarsky%mit.edu
a37e7c24da Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@165565 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 02:59:19 +00:00
aaronleventhal%moonset.net
c2e73b1aa5 Bug 265940. Textfield doesn't scroll horizontally to left after backspace or left arrow. r=mats, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@165499 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:49:20 +00:00
jshin%mailaps.org
44363fac1b get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry)
git-svn-id: svn://10.0.0.236/trunk@165496 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:32:28 +00:00
jshin%mailaps.org
e9432dbeae bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc)
git-svn-id: svn://10.0.0.236/trunk@165494 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:21:12 +00:00
bryner%brianryner.com
825da8256d Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165400 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 18:07:13 +00:00
bryner%brianryner.com
87b5cad1f0 Testing whether this QI is responsible for the Tp increase on btek.
git-svn-id: svn://10.0.0.236/trunk@165396 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 08:28:26 +00:00
bryner%brianryner.com
b571a18dfa Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally.
git-svn-id: svn://10.0.0.236/trunk@165395 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 07:27:39 +00:00
bzbarsky%mit.edu
14b137de99 Remove effectively dead code in GetFloatContainingBlock(). Bug 267036,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165384 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 02:20:37 +00:00
roc+%cs.cmu.edu
05b0dbe26a Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
git-svn-id: svn://10.0.0.236/trunk@165364 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
7f490d3aac Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
git-svn-id: svn://10.0.0.236/trunk@165349 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 20:22:58 +00:00
aaronleventhal%moonset.net
9faffb9ffc Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@165323 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 21:58:12 +00:00
timeless%mozdev.org
d046585f1b Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan


git-svn-id: svn://10.0.0.236/trunk@165193 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 07:27:11 +00:00
scott%scott-macgregor.org
cffb27d629 Try landing the fix for infamous Bug #98564 again -->
caret overlaps the last character in textfield (if positioned after the last char)

r=smontagu
sr=sfraser

We think this patch can land again because the regression it introduced was fixed by
Bug #216101 which does a better job of clearing out caret fragments.


git-svn-id: svn://10.0.0.236/trunk@165192 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 07:14:08 +00:00
bmlk%gmx.de
d17e10572f during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165055 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:07:43 +00:00
bzbarsky%mit.edu
69eb75b943 Fix parent frame determination for tables so that positioned tables end up with
the placeholder in the right place.  Bug 266850, r=mats.palmgren, sr=roc


git-svn-id: svn://10.0.0.236/trunk@164930 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 18:53:05 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
f53f98f7f3 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
8fb537acb7 Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164830 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:52:16 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
4ece7e1998 Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
9c030d6519 Assert if someone calls frame->SetNextSibling(frame), since that creates a
looped linked list.  Bug 266332, patch by timeless, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164675 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:37:35 +00:00
bzbarsky%mit.edu
c9f51a3a10 Add loop-detection to the various methods that can change an nsFrameList. This
will assert if a loop is detected.  Bug 266332, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164674 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:35:53 +00:00
bzbarsky%mit.edu
f8122fc136 Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
trigger an assert.  Bug 266321, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164673 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:27:40 +00:00
aaronleventhal%moonset.net
928aa93531 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164599 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 13:40:25 +00:00
bugzilla%arlen.demon.co.uk
fecf3858a6 Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164598 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 12:28:19 +00:00
bzbarsky%mit.edu
874f1be4cf Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu
4faa08a83c Make sure to clear the event queue before processing restyles, in case that
tries to post reflow events. Bug 266171, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@164465 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 21:42:37 +00:00
aaronleventhal%moonset.net
53a4f4090a Bug 251498. Implement outline-offset. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +00:00
bmlk%gmx.de
b90139c45c prevent double caption frame creation instead of later caption frame removal bug 265181 r/sr=bzabrsky
git-svn-id: svn://10.0.0.236/trunk@164356 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 12:31:02 +00:00
bzbarsky%mit.edu
a87e96e598 Make sure to insert the floating items as children of their parent before
clobbering the float items in the constructor state when a table cell is
floated.  Bug 263846, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164303 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 22:03:49 +00:00
bzbarsky%mit.edu
8ad598b075 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org
c28c38ca0e Remove from primary frame map at the end of frame destruction, in case it got re-added. b=265404 r=bzbarsky sr=brendan a=asa
git-svn-id: svn://10.0.0.236/trunk@164230 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-23 02:50:26 +00:00
silver%warwickcompsoc.co.uk
f6bb37b6fa Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.
r+sr=roc
p=cst@andrew.cmu.edu (Chris Thomas)


git-svn-id: svn://10.0.0.236/trunk@164094 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 16:45:38 +00:00
aaronleventhal%moonset.net
2654e96340 Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc
git-svn-id: svn://10.0.0.236/trunk@164004 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 02:24:27 +00:00
bzbarsky%mit.edu
b8ac5fb4b6 Put back missing QI. Bug 264987, patch by Bernard Alleysson
<balleysson@bigfoot.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@163993 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 00:35:46 +00:00
tor%cs.brown.edu
c10cf6e314 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.


git-svn-id: svn://10.0.0.236/trunk@163782 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 23:02:53 +00:00