Commit Graph

299 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
4aad5f643f Fix bug 398326. Make sure to let the frame constructor know before constructing frames. r+sr+a=dbaron. 2007-10-08 19:34:58 -07:00
dbaron@dbaron.org
7415f81dc3 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc 2007-10-08 16:11:01 -07:00
reed@reedloden.com
72be44dc3e Bug 381735 - "reenable antialiased border drawing on Linux" [p=dao r+sr=dbaron r=vlad a=blocking1.9+] 2007-10-08 14:09:45 -07:00
roc+@cs.cmu.edu
bca6cbb9cb Bug 395331. Fix FindPrimaryFrameFor by noticing that an element can be in anonymous content if the binding root is a binding *ancestor*, not just a binding *parent*. r+sr=bzbarsy 2007-10-07 19:42:50 -07:00
mats.palmgren@bredband.net
c1ec42f835 Make the GetListBoxBody() call from the frame constructor not Flush_Frames. b=392285 r+sr=bzbarsky a=dsicore 2007-10-06 08:03:35 -07:00
gerv@gerv.net
2c4fa4403c Bug 398009 - fix mangled license headers. a=stuart. 2007-10-06 05:08:39 -07:00
bzbarsky@mit.edu
6be2e13a6b Fix a few issues in bfcache and XBL when javascript is being toggled on and off. Bug 398668, r+sr+a=jst 2007-10-05 17:35:00 -07:00
bzbarsky@mit.edu
2e2b88acf4 Make sure we always resolve style contexts with the right parent. Bug 390689, r+sr+a=dbaron 2007-10-03 19:58:48 -07:00
dholbert@cs.stanford.edu
603542e4aa Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc 2007-10-02 20:44:18 -07:00
fantasai.cvs@inkedblade.net
2456fd7a33 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
bzbarsky@mit.edu
7facde4eac Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron 2007-10-01 21:37:36 -07:00
joshmoz@gmail.com
7c16a06018 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc 2007-10-01 16:20:37 -07:00
bzbarsky@mit.edu
4f3efcd53f Make sure to be in an update when we do frame construction. Bug 393326, r+sr+a=dbaron 2007-09-30 20:15:45 -07:00
dbaron@dbaron.org
89660da028 Destroy the old rule tree *after* processing the change list, in case the change list has frame reconstructs in it. Patch from Eli Friedman <sharparrow1@yahoo.com>. r+sr+a1.9=dbaron b=389744 2007-09-30 12:23:48 -07:00
Olli.Pettay@helsinki.fi
2fb8ea7b56 back out Bug 373462 / bug 385322 (again :( ) 2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
a6aedd78ae Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst 2007-09-29 08:02:57 -07:00
roc+@cs.cmu.edu
9c8ab42f9f Bug 368445. Make nsDisplayBorder::OptimizeVisibility use accurate borders, r+sr=bzbarsky 2007-09-27 15:52:32 -07:00
dholbert@cs.stanford.edu
ecb8184e90 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
Olli.Pettay@helsinki.fi
f9c785fb8b backout the test patch for Bug 373462 and 385322 2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
1d42d7ad32 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc' 2007-09-23 07:05:27 -07:00
mrbkap@gmail.com
51598ca325 Restore the right caret in all cases. bug 395888, r+sr+a=roc 2007-09-22 14:06:58 -07:00
bzbarsky@mit.edu
8da8c9ce92 Fix content leak due to double-init of oveflow placeholders. Bug 397011, r+sr+a=roc 2007-09-21 18:24:40 -07:00
bzbarsky@mit.edu
e400c6fe35 Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc 2007-09-20 19:47:19 -07:00
bzbarsky@mit.edu
d042521385 Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
bzbarsky@mit.edu
47f2b7dfa5 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
bzbarsky@mit.edu
b2fb733cfc Resize the subdocument off a post-reflow callback so that we don't run script during reflow, and a few related checks to make sure we can deal with script in reflow callbacks better. Bug 396587, r+sr+a=roc. 2007-09-19 19:46:28 -07:00
bzbarsky@mit.edu
65e44633c8 Fix bug 396286. r+sr+a=roc 2007-09-17 18:16:39 -07:00
bzbarsky@mit.edu
97c97d8a5f Process XBL constructors after processing style reresolves. In particular, this makes sure that we process the former even if there were none of the latter. Bug 394676 and bug 394014, r=smaug, sr=sicking, a=roc 2007-09-14 12:15:44 -07:00
surkov.alexander@gmail.com
017060dc17 Bug 388927 - getChildAtPoint fails for scrolled content, r=evan.yan, roc, sr=roc, a=dsicore 2007-09-05 01:00:40 -07:00
martijn.martijn@gmail.com
a3a38445dd Bug 362734 - Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that sets print preview, then reloads the page, patch by Andrew Smith, r=sharparrow1, sr=roc (blocking1.9 bug) 2007-09-04 14:44:42 -07:00
bzbarsky@mit.edu
b0d2800c3f Make sure content is up to date before we start processing restyles. Bug 393801, r+sr+a=roc 2007-09-04 01:31:01 -07:00
masayuki@d-toybox.com
5a84442569 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
smontagu@smontagu.org
9a3a2fab23 Only substitute real frame for placeholder frame when it is an inline container. Bug 394239, r+sr+a=roc 2007-09-03 07:30:38 -07:00
masayuki@d-toybox.com
bfe2436be6 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
masayuki@d-toybox.com
8541f8f7f0 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
bzbarsky@mit.edu
fb39157dcc Fix bug 394111. r+sr+a=bzbarsky 2007-09-02 18:28:08 -07:00
martijn.martijn@gmail.com
ddf07681e6 Bug 393696 - Crash [@ PresShell::ResizeReflow] with onbeforecut removing element, iframe and position: fixed, patch by Mathieu Fenniak, r=Olli.Pettay, sr+a=jst 2007-09-01 01:53:07 -07:00
martijn.martijn@gmail.com
dd8687a04c Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray, patch by Alfred Kayser, r+sr=roc, a=dbaron 2007-08-30 08:29:06 -07:00
jwalden@mit.edu
d610945e9f Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
smontagu@smontagu.org
65cff8b443 Remove cruft from nsBidiPresUtils. Bug 393962, r+sr+a=roc 2007-08-29 02:19:16 -07:00
smontagu@smontagu.org
56fd1888c8 Detect placeholders when building the array of frames for bidi resolution and add the real frames to the array. Bug 384527, r+sr=roc, b=dbaron 2007-08-29 01:21:38 -07:00
gijskruitbosch@gmail.com
b0138c1358 Backing out fix for bug 92543 due to build bustage 2007-08-28 02:10:22 -07:00
gijskruitbosch@gmail.com
b095022a82 Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr=roc@ocallahan.org (Robert O'Callahan) a=dbaron@mozilla.com (David Baron) 2007-08-28 01:53:33 -07:00
sharparrow1@yahoo.com
a0c6a21aa4 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc 2007-08-27 18:20:17 -07:00
bzbarsky@mit.edu
8f471f19e2 Fix bug 393671. r+sr+a=roc 2007-08-26 19:48:43 -07:00
bzbarsky@mit.edu
86d1efeea2 Fix crash bug 393517. r+sr=roc, a=dbaron 2007-08-26 17:20:52 -07:00
bzbarsky@mit.edu
8915bdf91c Set the property on the right frame. Bug 393649, r+sr=dbaron, a=roc 2007-08-26 17:18:25 -07:00
bzbarsky@mit.edu
28586b102c Be less noisy in debug builds. 2007-08-26 11:27:00 -07:00
bzbarsky@mit.edu
82d377683c Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron 2007-08-24 15:20:24 -07:00
sharparrow1@yahoo.com
04304b46b5 Bug 391494: full page zoom causes scrollbars to be cut off. r+sr+a=roc 2007-08-24 10:46:59 -07:00
mozilla@weilbacher.org
478380cab3 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron 2007-08-23 17:13:43 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
9d5ecb58f1 Fix Windows build bustage 2007-08-21 20:16:18 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
Olli.Pettay@helsinki.fi
d023c05d44 Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 14:45:00 -07:00
joshmoz@gmail.com
713a948723 clean up some unused variables and calls. no bug. sr/a=bz 2007-08-19 23:33:14 -07:00
bzbarsky@mit.edu
f75c135498 Followup for bug 390423: remove a now-unused variable. Patch by Ben Karel <web+moz@eschew.org>, r+sr+a=bzbarsky 2007-08-17 23:13:10 -07:00
philringnalda@gmail.com
48c8d7714f Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
bzbarsky@mit.edu
a96dc350c6 Put back in an optimization that we apparently really do need. Bug 390425, r+sr+a=roc 2007-08-15 21:27:07 -07:00
bzbarsky@mit.edu
67785ffa97 Backing out test patch 2007-08-15 21:01:51 -07:00
bzbarsky@mit.edu
0a81e1e21e Testing a fix for the perfomrance regression. Bug 390425, no reviews, no approval, will back out once I have some data. 2007-08-15 20:14:48 -07:00
enndeakin@sympatico.ca
aef0ee7c4d Bug 385275, handle tab navigation in popups properly, r+sr=roc 2007-08-15 18:09:58 -07:00
bzbarsky@mit.edu
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
aaronleventhal@moonset.net
9e5c2b11da Bug 391847. Coalesce accessible mutation events for the same subtree. r=ginn.chen, sr=bz, a=bz 2007-08-14 11:47:49 -07:00
masayuki@d-toybox.com
5dcd053a56 Bug 365414 overflowed decoration lines are not erased/painted r+sr=roc 2007-08-14 09:39:54 -07:00
mrbkap@gmail.com
3aef7dc520 Redragging over empty text field doesn't show drag caret, except for the last text field. bug 390228, r+sr=roc a=dbaron 2007-08-13 14:33:25 -07:00
mrbkap@gmail.com
0154383393 Clamp the caret's position so that we always draw within the nearest scrollframe. Not doing this allows the scrollframe to clip the caret, causing it to not show up at all. bug 335560, r+sr=roc 2007-08-13 13:51:16 -07:00
aaronleventhal@moonset.net
4c1685120f Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc 2007-08-10 18:44:44 -07:00
bzbarsky@mit.edu
6b5d9a0732 Back out bug 390425 to fix performance regression. 2007-08-10 15:55:21 -07:00
dbaron@dbaron.org
c50f0447f9 Add nsPresContext and nsEventStateManager to cycle collection. b=385376 r=Olli.Pettay sr=jst a=jst 2007-08-10 14:25:24 -07:00
dbaron@dbaron.org
07cc548152 Fix leak of widgets on gmail. b=390088 r+sr=jst a=roc 2007-08-10 14:23:53 -07:00
bzbarsky@mit.edu
e1604f73ea Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron 2007-08-10 13:02:11 -07:00
bzbarsky@mit.edu
b39ebf2258 Don;t process pseudo-frames if we're not going to actually create a replaced element frame (or in fact any frame at all, in this case!). Bug 391140, r=bernd, sr+a=roc 2007-08-10 10:18:11 -07:00
peterv@propagandism.org
e503287f65 Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron. 2007-08-10 06:19:13 -07:00
enndeakin@sympatico.ca
e400c46775 Bug 390420, select dropdowns appearing in the wrong place in some cases, r+bz,a=dbaron 2007-08-10 05:42:06 -07:00
bzbarsky@mit.edu
05d4d9dac1 Better handling of appending captions. Bug 387544, r=bernd, sr=roc, a=dbaron. 2007-08-07 18:19:04 -07:00
fantasai.cvs@inkedblade.net
579fff6da6 Bug 389619 - Duplicate frames for content in nested fixed-position divs, when on second page in print-preview, patch by dholbert, r+sr=roc, a=dbaron 2007-08-07 16:53:56 -07:00
sharparrow1@yahoo.com
8419d2c58e Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron 2007-08-07 13:38:35 -07:00
sharparrow1@yahoo.com
edc274e752 Bug 390740 - Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 12:22:26 -07:00
sharparrow1@yahoo.com
1eb555233b Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 12:07:43 -07:00
fantasai.cvs@inkedblade.net
adbcc0b57c Bug 389767 - Regression: Fixed-position items are missing on 2nd page of print-preview, fixed on behalf of HP, r+sr=bzbarsky 2007-08-07 09:06:56 -07:00
masayuki@d-toybox.com
6c98d90d68 Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dbaron@dbaron.org
fc5d9ad4ab Relanding patch for bug 387884 that I accidentally reverted while relanding bug 66619 (a=DEBUG-only): Patch by jwatt@jwatt.org: Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-08-02 17:09:18 -07:00
bzbarsky@mit.edu
5f46a12fc6 Remove bogus assertion. Bug 314307, r+sr=roc, a=dbaron 2007-08-02 14:54:39 -07:00
bzbarsky@mit.edu
590e445e10 Make ContentInserted for captions more like ContentAppended and normal frame construction. Bug 386014, r=bernd, sr=roc, a=dbaron 2007-08-02 14:29:51 -07:00
bzbarsky@mit.edu
2b334a8c3b Don't set up counters for the anon cols set up by a <col span="n">. Bug 385866, r+sr+a=dbaron 2007-08-02 14:23:25 -07:00
bzbarsky@mit.edu
a6cb8ce553 Get the right style context for the blockframe containing an mtable. Bug
384649, r+sr=dbaron
2007-08-02 11:30:43 -07:00
bzbarsky@mit.edu
d56f30c35a Remove bogus assert. Bug 350128, r+sr=roc, a=dbaron 2007-08-02 11:11:44 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
sharparrow1@yahoo.com
cfe1247a40 Bug 386266: Crash [@ nsFrameManager::UnregisterPlaceholderFrame] or assertions with -moz-column and float. r+sr=bzbarsky, a=blocking1.9+ 2007-08-02 10:20:45 -07:00
Olli.Pettay@helsinki.fi
81c89897e3 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
roc+@cs.cmu.edu
917c4632c9 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
jst@mozilla.org
dadc7c619b Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
roc+@cs.cmu.edu
61373b8418 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
sharparrow1@yahoo.com
5a87530c15 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
dbaron@dbaron.org
24fb2d19fe Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky 2007-07-25 16:12:38 -07:00
sharparrow1@yahoo.com
fb3a8889db Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
asqueella@gmail.com
b562b1a8cf Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00