Commit Graph

3258 Commits

Author SHA1 Message Date
reed@reedloden.com
56411c05f1 Bug 404519 - "some margin and edges twips/app units confusion" [p=reg@freebsd.org (Jeremy Lea) / chpe@gnome.org (Christian Persch) r+sr=roc a1.9=schrep] 2007-11-20 21:09:58 -08:00
Olli.Pettay@helsinki.fi
022f68b3c4 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-20 14:30:27 -08:00
bzbarsky@mit.edu
501a65e509 Don't pass around redundant information, so it can't get out of sync. Bug 404218, r+sr=roc, a=schrep 2007-11-19 20:21:29 -08:00
roc+@cs.cmu.edu
9fb6803953 Bug 403659. Instead of trying to move frames around in the hierarchy after we've discovered they should be inserted after ::before content, just construct them at the right position in the first place. r+sr=bzbarsky 2007-11-18 13:52:17 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
jwatt@jwatt.org
33cbbe7aba This is a better fix for the build bustage caused by the checkin for bug 294086. Thanks to Peter Annema for explaining the issue (don't assign to rvalues) and this fix. 2007-11-18 06:22:55 -08:00
jwatt@jwatt.org
6967404d91 Attempt to fix build bustage due to checkin for bug 294086. I'll get this reviewed post checkin. 2007-11-18 05:17:27 -08:00
jwatt@jwatt.org
4d976af81a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 04:09:03 -08:00
bzbarsky@mit.edu
5ee6e45f66 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
dbaron@dbaron.org
579235bed6 Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
Olli.Pettay@helsinki.fi
7181683a48 Bug 401528, backing out, because of crashes 2007-11-15 00:49:35 -08:00
bzbarsky@mit.edu
4f4c78447d Fix bug 403733: dynamic legend insertion should not use text as valid siblings. r+sr=roc, a=schrep 2007-11-14 22:18:28 -08:00
Olli.Pettay@helsinki.fi
0ea4e7e78b backout Bug 373344, the assertion is still there :( 2007-11-13 02:54:01 -08:00
Olli.Pettay@helsinki.fi
d4a4211345 Bug 373344, r+sr=roc, a=blocking1.9+ 2007-11-13 02:29:29 -08:00
reed@reedloden.com
42fe9864cd Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=cpearce r=peterv sr=roc a1.9=schrep] 2007-11-12 21:42:52 -08:00
fantasai.cvs@inkedblade.net
e05d27e10b update last continuation assertion to account for overflow container continuations b=399687 r+sr=roc a=beltzner 2007-11-12 11:05:42 -08:00
peterv@propagandism.org
1c227b78cc Fix for bug 394264 (Ctrl+Home doesn't work, in the body of a message being composed). r=Neil, sr=jst. 2007-11-12 06:46:13 -08:00
Olli.Pettay@helsinki.fi
788a7e1a07 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-12 04:20:41 -08:00
bzbarsky@mit.edu
b0d7ea2d92 Don't assume that GetPrimaryFrameFor actually works correctly. Bug 403245, r+sr+a=roc 2007-11-11 16:47:50 -08:00
pavlov@pavlov.net
eb88627b63 bug 403280. convert nsLayoutUtils::DoCompareTreePosition from an nsAutoVoidArray to a larger nsAutoTArray convert nsContentUtils::ComparePoints from an nsTArray to an nsAutoTArray r/sr/a=sicking 2007-11-11 12:35:30 -08:00
pavlov@pavlov.net
be665999cc bug 403287. use an nsAutoTArray instead of an nsVoidArray to avoid heap allocations. r/sr=roc a=schrep 2007-11-11 12:31:39 -08:00
smontagu@smontagu.org
4f7d9dbf15 Define langgroups for all charset decoders 2007-11-11 11:52:33 -08:00
smontagu@smontagu.org
674ddc0e02 Testcase for bug 399951 2007-11-11 11:35:23 -08:00
smontagu@smontagu.org
667be7bc8e Do AdjustOffsetsForBidi after RemoveBidiContinuation so that we have up-to-date information about which continuations are fluid and which are non-fluid. Bug 397961, r=uriber, sr+blocking1.9=roc 2007-11-11 11:34:06 -08:00
bzbarsky@mit.edu
014c686699 When invalidating the canvas, do a DEFERRED view batch to prevent us entering reflow under frame construction. Bug 402713, r+sr=roc, a=schrep 2007-11-11 11:09:45 -08:00
bzbarsky@mit.edu
9cd0d262bd Give placeholders for out-of-flow tables the right parent style context. Bug 403175, r+sr+roc, a=schrep 2007-11-11 11:07:11 -08:00
Olli.Pettay@helsinki.fi
a8f2f2ea3a Bug 363265, fix comment about mTextZoom/mPageZoom members 2007-11-09 14:29:43 -08:00
Olli.Pettay@helsinki.fi
af069f667b Bug 363265, Scroll arrows, page up/page down, home, end, and space don't work in print preview, r=roc+myk,sr=roc,a=1.9+ 2007-11-09 02:19:12 -08:00
Olli.Pettay@helsinki.fi
0519bd5e7b back out Bug 373344 2007-11-09 01:40:45 -08:00
Olli.Pettay@helsinki.fi
d1e49614f0 Bug 373344, r+sr=roc, a=beltzner 2007-11-09 01:27:49 -08:00
bzbarsky@mit.edu
d3d73c426f Use a stack array for the pending restyles unless there are lots of them. Bug 403113, r+sr+a=roc 2007-11-08 22:09:22 -08:00
bzbarsky@mit.edu
fa257f9f01 Give first-line and first-letter frames the right parent style context. Bug 398803, r+sr+a=roc 2007-11-08 21:29:06 -08:00
roc+@cs.cmu.edu
912edaa201 Bug 403048. Be more careful about looking for the line containing the caret. r+sr=mrbkap 2007-11-08 17:59:20 -08:00
reed@reedloden.com
c868cd2ffb Bug 130078 - Make chrome subdocuments of chrome parents share the view hierarchy [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:50:49 -08:00
reed@reedloden.com
585bdc919b Bug 401361 - Draw correctly when drawWindow is called on a window using fullZoom [p=roc r+sr=vlad a=blocking1.9+] 2007-11-07 20:43:36 -08:00
reed@reedloden.com
36828cf90a Bug 399940 - Prevent content duplication by having ContentRemoved tell us whether it already reconstructed frames and therefore ContentInserted need not be called [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:39:02 -08:00
reed@reedloden.com
6e0f03d880 Bug 398733 - The first *continuation* for an element should be the abs-pos container frame, not just any one of its first-in-flows [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:36:46 -08:00
reed@reedloden.com
5dbce5ddb5 Bug 336408 - Allow the caret to be positioned at the end of trimmed whitespace, as if the whitespace wasn't trimmed [p=roc r=smontagu sr=mrbkap a=blocking1.9+] 2007-11-07 20:07:00 -08:00
dholbert@cs.stanford.edu
b5a99492d9 Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+ 2007-11-07 12:00:51 -08:00
bzbarsky@mit.edu
e6e261a470 Implement hixie's first-line proposal: only inherit properties that inherit by default from ::first-line. Inherit the reset properties from its style parent (which is the node that we'd inherit from if the ::first-line were not there). Bug 395623, r+sr=dbaron, a=beltzner 2007-11-07 09:13:00 -08:00
bzbarsky@mit.edu
52850476e4 Refactor and improve sibling frame finding, especially for popups. Bug 386642, r+sr=roc, a=vlad 2007-11-07 09:04:16 -08:00
dbaron@dbaron.org
30ac4ad5bf Make boxes that have non-box non-block children wrap all their children in a block. b=321402 r+sr=roc, a=blocking1.9+/M9 2007-10-25 16:30:49 -07:00
mats.palmgren@bredband.net
895714e955 Call WillDestroyFrameTree() before destroying the frame tree in ReconstructDocElementHierarchyInternal() because we have cleared the placeholder map etc at this point and we don't want RemoveMappingsForFrameSubtree() to mess with it. Also, remove the RemoveMappingsForFrameSubtree() call that was added in bug 372685 which was wrong since all the frames on a popupset's ::popupList are out-of-flows that are reachable (directly or indirectly) from a normal flow placeholder. b=398982 r+sr=bzbarsky a=dsicore 2007-10-23 17:02:26 -07:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
Olli.Pettay@helsinki.fi
69d3a1fc7a backout Bug 373462, bug 385322. Still regress tp/talos 2007-10-21 09:46:54 -07:00
Olli.Pettay@helsinki.fi
cad8f0b8c4 Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-21 07:09:29 -07:00
dholbert@cs.stanford.edu
dd259dd796 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's. r=bzbarsky, r+a=roc 2007-10-19 10:41:29 -07:00
bzbarsky@mit.edu
a027b56a4f Don't run XBL constructors during frame construction, ever. Bug 398006, r=sicking, sr=roc 2007-10-18 20:51:15 -07:00
reed@reedloden.com
7e8456e8f3 Completely backout patch from Jonathan Steele in bug 399753 due to bustage. 2007-10-14 20:42:27 -07:00
reed@reedloden.com
2d9ccdb82c Bug 399753 - "Remove "nsISupportsArray" in the layout directory" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=dbaron] 2007-10-14 20:09:59 -07:00
roc+@cs.cmu.edu
32b36ae07b Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
reed@reedloden.com
4c0c1d7709 Bug 391868 - "Page Source very small with meta charset=windows-1258" [p=chris@pearce.org.nz (Chris Pearce) r+sr=dbaron a=blocking1.9+] 2007-10-11 15:54:18 -07:00
bzbarsky@mit.edu
96ad8e0ecc Fix regression tests. Bug 398510 2007-10-10 22:17:18 -07:00
bzbarsky@mit.edu
8c78ae026d Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc 2007-10-10 21:36:48 -07:00
bzbarsky@mit.edu
276625beed Fix bug 399219. r=roc, sr=neil, a=roc 2007-10-10 15:14:41 -07:00
roc+@cs.cmu.edu
bd6f1fc294 Backing out fix for bug 345339 because of test failures 2007-10-09 20:39:16 -07:00
roc+@cs.cmu.edu
a92c012e1a Bug 345339. Stop using a generic hashtable to store element session history state in nsPresState. patch by Karthik Sarma, r+sr=roc,a=sicking 2007-10-09 19:15:23 -07:00
tglek@mozilla.com
fdf793303e Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
bzbarsky@mit.edu
38e8f056cd Elimninate the last known source of bogus "wrong parent style context" warnings, and make these warnings into assertions. Bug 374297, r+sr+a=dbaron 2007-10-08 19:45:10 -07:00
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
asqueella@gmail.com
cb307ac952 fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc
2007-07-23 16:31:11 -07:00
sharparrow1@yahoo.com
eee181af5d Bug 388359: Menu items are highlighted as mouse pointer moves below menu. Fix makes GetEventCoordinatesRelativeTo work across window roots. r+sr=roc. 2007-07-23 09:44:34 -07:00
mats.palmgren@bredband.net
0547b616b0 Remove nsDirectionalFrame::QueryInterface(), add GetFrameName(), and some other minor cleanup. b=385921 r+sr=dbaron 2007-07-22 07:43:23 -07:00
bzbarsky@mit.edu
9197507fef Don't generate state keys at all, if there's nothing to get. Bug 388387, r+sr=sicking. 2007-07-20 20:00:02 -07:00
peterv@propagandism.org
b5220dfda1 Fix for bug 386300 (Caret disappears when pressing UP at the top of a contenteditable region). r/sr=jst. 2007-07-19 02:47:49 -07:00
roc+@cs.cmu.edu
fd80a49090 Bug 385354. When appending the first child of an element with :before content, we need to make sure we append after the :before frames for the element. r+sr=dbaron 2007-07-18 21:25:17 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
vladimir@pobox.com
83657aa563 b=382613, moz-border-radius of background color isn't clamped to 50%, r+sr=roc 2007-07-18 07:14:53 -07:00
sharparrow1@yahoo.com
3d40c5f60c Bug 381631: Cannot print pages in Landscape mode. patch by Kenneth Herron, r=pavlov, sr=roc 2007-07-16 16:16:48 -07:00
enndeakin@sympatico.ca
d871c755b7 Bug 388064, remove extra active popup list from presshell, since popup manager now tracks popups, and does so for all popups, r+sr=roc 2007-07-16 07:53:32 -07:00
dbaron@dbaron.org
01898b3296 Add tests for bugs 66619 and 388019. 2007-07-15 22:55:51 -07:00
dbaron@dbaron.org
855e6829f6 Don't drop empty rectangles on the floor. b=388019 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:55:04 -07:00
dbaron@dbaron.org
7c3a033999 Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:53:19 -07:00
dbaron@dbaron.org
67b7eda534 Back out bug 66619 until I get review on bug 388019. 2007-07-13 22:18:09 -07:00
jwatt@jwatt.org
aceedd0816 Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-07-13 04:03:48 -07:00
longsonr@gmail.com
457f9b193e Bug 375173 - svg switch occasionally displays multiple children. r+sr=roc 2007-07-13 02:58:48 -07:00
dbaron@dbaron.org
1a03b72c9c Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-12 16:48:37 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
enndeakin@sympatico.ca
91a68d324f Bug 387720, fix shift+tab not working, popup reworking uncovered this bug which manifested itself as a regression, r+sr=roc 2007-07-12 06:54:42 -07:00
db48x@yahoo.com
b3cd97da9b Bug 384576 - adding -moz-border-radius to an element causes the background to be drawn without dpi scaling
r=sharparrow1, sr=roc
2007-07-11 21:04:33 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
jruderman@hmc.edu
777ecef0f6 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky. 2007-07-07 16:52:59 -07:00
dbaron@dbaron.org
ca4e531583 Turn warning on constructing frames in the middle of reflow back into an assertion, now that the dependent bugs are fixed. b=336756 2007-07-04 13:40:14 -07:00
dbaron@dbaron.org
2be70ea82e Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron 2007-07-04 11:51:16 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
roc+@cs.cmu.edu
ec7db48b9b Bug 383129. Don't treat tree-related XUL tags as special when they're root elements. r+sr=bzbarsky 2007-07-03 20:20:04 -07:00
mats.palmgren@bredband.net
db36d694cc Make the viewport area that of the root frame, or in paginated contexts, the page content frame. b=380816 r=sharparrow1 sr=roc 2007-07-03 18:13:07 -07:00
sharparrow1@yahoo.com
c42eac0192 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc 2007-07-03 15:49:00 -07:00
bzbarsky@mit.edu
bc551193fe Menubars are special on OSX too. Bug 385880, r=bernd, sr=roc 2007-07-03 11:48:57 -07:00
longsonr@gmail.com
1f2be16ed9 Bug 384391 - make sure outer svg is constructed only for svg:svg. Revisited to fix crashes (bug 385840 and bug 385852). r+sr=roc 2007-07-02 05:20:13 -07:00
smontagu@smontagu.org
564c2941e0 Move SymmSwap and other character-related Bidi utility methods from layout to intl/unicharutil. Bug 385539, r+sr=roc 2007-06-30 22:56:10 -07:00
sharparrow1@yahoo.com
8d5ac20c2b Bug 375493: Adding an element with counter-increment does not update subsequent elements with counter. r+sr=dbaron. 2007-06-30 10:41:03 -07:00
kherron@fmailbox.com
a23c89d8bd Backing out patch for bug 381631 again, due to reftest failures. 2007-06-30 08:01:02 -07:00
kherron@fmailbox.com
c25df02c11 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-30 05:02:35 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
sharparrow1@yahoo.com
fc25e4dff6 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
sharparrow1@yahoo.com
2dfa401cab Bug 385862: View usage cleanups. r+sr=roc 2007-06-27 09:37:50 -07:00
roc+@cs.cmu.edu
26f439cf9b Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
flamingice@sourmilk.net
6a1badf022 Bug 384965, use const nsEvent* aEvent in nsLayoutUtils::GetEventCoordinatesRelativeTo, Patch by Karl Tomlinson, r+sr=roc 2007-06-26 17:30:21 -07:00
sharparrow1@yahoo.com
bf7019e8c4 Bug 385936: Remove nsLayoutUtils::CreateOffscreenContext. r+sr=dbaron 2007-06-26 11:46:35 -07:00
kherron@fmailbox.com
0571ac85f4 Back out patch for bug 381361 due to ref test failures on Windows. 2007-06-24 08:13:23 -07:00
kherron@fmailbox.com
0a5c57beee Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-24 04:20:34 -07:00
smontagu@smontagu.org
410eeef3a4 Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron 2007-06-24 02:35:22 -07:00
mats.palmgren@bredband.net
18256f6d26 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
dbaron@dbaron.org
ad3d506605 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 15:32:47 -07:00
tor@cs.brown.edu
d22cf92ba6 Bug 384391 - maks sure outer svg is constructed only for svg:svg. r=bz, sr=roc 2007-06-21 08:05:05 -07:00
bzbarsky@mit.edu
b689f46a37 We don't have to blow away intrinsic widths on ancestors when kids are appended
to an already-dirty reflow root.  Bug 383992, r+sr=dbaron
2007-06-15 22:12:58 -07:00
jwalden@mit.edu
386663f9bc Add an omitted word to a comment. 2007-06-15 14:37:03 -07:00
roc+@cs.cmu.edu
7cd4ee1cff Bug 366128. Restrict disabling of floats in XUL to cases where the container is not a float containing block. r+sr=bzbarsky 2007-06-13 02:13:25 -07:00
dbaron@dbaron.org
9e2fef4c30 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky 2007-06-12 11:27:09 -07:00
roc+@cs.cmu.edu
054b7d42be Bug 356325. Don't let WipeContainingBlock wipe out anonymous popops. Popups, decks and groupboxes are not really inline. r+sr=dbaron 2007-06-06 20:22:00 -07:00
roc+@cs.cmu.edu
fce2486aa2 Bug 322436. Disable floats inside XUL. r+sr=bzbarsky 2007-06-06 20:16:25 -07:00
emaijala@kolumbus.fi
ae598fdeb7 Patch for bug 382480: Crash at nsBidiPresUtils::ProcessTextr+sr=roc 2007-06-02 00:09:26 -07:00
vladimir@pobox.com
994327cd00 b=379505, content overflows border with -moz-border-radius: a.k.a. death to QBCurve; r+sr=roc 2007-05-30 01:37:30 -07:00
vladimir@pobox.com
3f6df29e29 b=368247, new border rendering approach, r+sr=roc 2007-05-29 19:46:54 -07:00
dbaron@dbaron.org
df6fb0a433 Disable antialiasing of borders again, for Linux only, to avoid the performance penalty of pushing/popping groups. b=380473 r=vlad 2007-05-23 08:56:15 -07:00
sharparrow1@yahoo.com
2c7439459f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
sharparrow1@yahoo.com
888cd6828d Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron. 2007-05-22 13:34:00 -07:00
vladimir@pobox.com
c176bd9ca0 b=380561, missing borders when dashed and dotted border-style is used, r=dbaron 2007-05-20 15:49:20 -07:00
vladimir@pobox.com
d7a24f9856 b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron 2007-05-20 15:44:45 -07:00
vladimir@pobox.com
e51fc700f7 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
mats.palmgren@bredband.net
242b3deec7 Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir 2007-05-17 03:14:35 -07:00
dbaron@dbaron.org
8d20e3f29b Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
masayuki@d-toybox.com
cae88bda36 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
bzbarsky@mit.edu
63661ce0ab Make sure FrameNeedsReflow() is not called during reflow, and remove thewasDirty asserts and O(N^2) check for existing reflow root in the list. Bug379904, r=roc, sr=dbaron 2007-05-15 20:22:45 -07:00
bzbarsky@mit.edu
24bc303d9e Use the right parent when resolving style contexts in IsValidSibling. Bug380096, r=bernd, sr=roc 2007-05-15 20:18:50 -07:00
dbaron@dbaron.org
b065ff84ea Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad 2007-05-14 22:15:45 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
neil@parkwaycc.co.uk
23a051773f Follow-up cleanup b=375403 r+sr=roc 2007-05-13 03:06:57 -07:00
mats.palmgren@bredband.net
ba05ce501d Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
6becb79be4 Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
6375aad92f Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky 2007-05-10 23:01:31 -07:00
Olli.Pettay@helsinki.fi
095492e4a3 Bug 379621, Call PostCreateFrames after creating all native anonymous frames, r+sr=roc 2007-05-10 11:16:00 -07:00
neil@parkwaycc.co.uk
001e700eb6 Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc 2007-05-10 08:46:42 -07:00
neil@parkwaycc.co.uk
b945e58d65 Bug 281630 Support ch width units in XUL r+sr=bz 2007-05-09 01:48:38 -07:00
vladimir@pobox.com
7f82fa63ba b=379474, borders render incorrectly when using moz-border-radius (also 379446, hr noshade renders incorrectly); r=dbaron 2007-05-08 10:40:08 -07:00
bzbarsky@mit.edu
2464dea33d Ignore attempts to reframe things before we've done initial reflow. Bug379975, r+sr=roc 2007-05-07 21:46:55 -07:00
bzbarsky@mit.edu
fb38ef82f1 Rename some functiosn as suggested by dbaron. Bug 379799 followup. 2007-05-07 12:03:24 -07:00
bzbarsky@mit.edu
3f8cd7bd8c Better check for first-letter. Bug 379799, r+sr=dbaron 2007-05-07 10:57:33 -07:00
bzbarsky@mit.edu
1c6f84af69 Back out bug 377850 -- it regresses bug 71191, and causes bug 379920. 2007-05-06 23:51:57 -07:00
bzbarsky@mit.edu
a7666d89a7 Fixing typo. 2007-05-06 19:58:07 -07:00
bzbarsky@mit.edu
56618fc0ac Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
mats.palmgren@bredband.net
87fe66d658 Incremental reflow bug with direction:rtl and bidi-override. b=375716 r=uriber sr=dbaron 2007-05-06 03:29:58 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
67c2d05514 Bail out of ReconstructDocElementHierarchy early if there is no root frame(which shouldn't even happen!). Bug 377850, r=mats, sr=dbaron 2007-05-04 23:12:44 -07:00
bzbarsky@mit.edu
64c3e5df8a Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
sharparrow1@yahoo.com
7b9d18d3fe Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
aaronleventhal@moonset.net
2d01bfcf6a Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz 2007-05-04 11:09:02 -07:00
aaronleventhal@moonset.net
76c30e6edf Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 19:19:18 -07:00
dbaron@dbaron.org
7dc7c89d6c Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
aaronleventhal@moonset.net
7385300b31 Backing out accidental checkin for bug 357583 2007-05-03 13:20:58 -07:00
aaronleventhal@moonset.net
6b2f0681ff Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 12:22:24 -07:00
joshmoz@gmail.com
48cbd7d72e Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
db73e399d0 Switch order around a bit to be safer. Followup to bug 379093, r+sr=roc 2007-05-01 12:11:28 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
vladimir@pobox.com
78efa3954b b=379328, focus outline rendering regression fix 2007-04-30 21:58:44 -07:00
vladimir@pobox.com
02374fc781 b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron 2007-04-30 20:31:25 -07:00
bzbarsky@mit.edu
8416080bd2 Fix build bustage 2007-04-29 23:43:03 -07:00
bzbarsky@mit.edu
05d5e6a371 Fix bug 379229, r+sr=dbaron 2007-04-29 23:17:03 -07:00
bzbarsky@mit.edu
2172c60660 Make sure to flush out reflows before firing onload instead of (imperfectly)blocking onload on reflow events. This makes sure that we are in fact fullyreflowed before onload fires. Bug 379093, r+sr=roc 2007-04-29 20:09:55 -07:00
mats.palmgren@bredband.net
3168e0cbeb Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky 2007-04-27 04:06:22 -07:00
bzbarsky@mit.edu
e0ed942e8a Back out the test code. 2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
a5e93e2e05 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers. 2007-04-26 17:47:34 -07:00
bzbarsky@mit.edu
789ffd0e73 Adding some test code for a single tinderbox run so I can see what's going onwith Tp2 and such. Will back out after one cycle. 2007-04-26 15:46:05 -07:00
bzbarsky@mit.edu
52ba74f675 Make sure to return at the end of a method that returns nsresult, in casecallers are actually checking the return value. Bug 378827, patch by RyanVanderMeulen <ryanvm@gmail.com>, r+sr=bzbarsky 2007-04-25 19:37:27 -07:00
bzbarsky@mit.edu
b7a4fc60e7 Handle restoring scroll position correctly even if InitialReflow comes afterEndLoad. Bug 378606, r+sr=roc 2007-04-25 19:33:02 -07:00
bzbarsky@mit.edu
24c328d268 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
bzbarsky@mit.edu
c77758b510 Resolve the right (parentless) style context for a table as a document root,and fix the assertion when adjusting parent style context frames to not triggerin non-scrollable documents. Bug 378693, r+sr=roc 2007-04-25 19:26:25 -07:00
sharparrow1@yahoo.com
59eeb27c4d Followup for bug 370952 to fix an obvious bug. r+sr=dbaron. 2007-04-25 18:34:28 -07:00
bzbarsky@mit.edu
860a7a4ebd Remove the root from mDirtyRoots if we resize-reflow it, so that we don't getassertions about frame state not matching with whether the frame is inmDirtyRoots. Bug 374167, r+sr=dbaron 2007-04-25 17:17:50 -07:00
sharparrow1@yahoo.com
5885215d03 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron 2007-04-25 08:49:55 -07:00
sharparrow1@yahoo.com
add7264218 Backing out bug 370952 due to mac tinderbox bustage 2007-04-25 03:44:29 -07:00
sharparrow1@yahoo.com
13e6ddd1c4 Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron 2007-04-25 01:22:28 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
2491d0c723 Seems to cause orange, and doesn't help Tp2, so backing out. :( 2007-04-23 03:21:41 -07:00
bzbarsky@mit.edu
1e5e8e3c76 Trying something to see its effect on Tp2. Will back out in the morning.Followup to bug 84582, no reviews yet. 2007-04-23 02:36:40 -07:00
Olli.Pettay@helsinki.fi
e53440116d Bug 378325, r+sr=roc 2007-04-22 22:53:27 -07:00
sayrer@gmail.com
7de2f0e3e0 bug 378339. nsFrameIterator doesn't initialize mOffEdge. r=uriber, sr=roc 2007-04-22 21:14:25 -07:00
bzbarsky@mit.edu
fb91b11144 Don't use the same pseudo-element name to mean two different things. Bug377824, r+sr=dbaron 2007-04-20 14:27:02 -07:00
enndeakin@sympatico.ca
9e554b3e8b Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
sayrer@gmail.com
c4a67f09f0 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc 2007-04-19 12:11:42 -07:00
dbaron@dbaron.org
30dd65ee30 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
bzbarsky@mit.edu
2dca5abb0a Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron 2007-04-15 17:42:54 -07:00
bzbarsky@mit.edu
357c10a896 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
bzbarsky@mit.edu
e6d41ebe8b Change the way we determine the style context parent frame to skip css anonboxes unless we're determining the style context parent for something that isitself a css anon box (and is not a non-element frame). Fixes bug 323656(which is where the patch is), bug 85872, bug 280610. As far as I can tell,also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron 2007-04-15 16:14:26 -07:00
uriber@gmail.com
ac620263e8 For caret browsing, initialize the caret position to the top of the page (if there isn't already a selection). bug=144000 r+sr=bzbarsky 2007-04-14 09:51:20 -07:00
roc+@cs.cmu.edu
6300a5ee2e Bug 376223. Make frame construction for XUL listbox content grab pseudo frames if necessary. r+sr=bzbarsky 2007-04-13 09:50:57 -07:00
bzbarsky@mit.edu
4d9f2625eb Treat <mtable> as special, since the outermost frame it creates is not in facta table-related frame. Bug 374193, r=bernd, sr=rbs 2007-04-10 09:24:02 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
roc+@cs.cmu.edu
69bb4ee943 Bug 375917. Pass appunits-per-CSS-pixel ratio to DrawSolidBorderSegment instead of some meaningless boolean. patch by Jeremy Lea, r+sr=roc 2007-03-29 19:53:45 -07:00
enndeakin@sympatico.ca
1a17f18934 Bug 375684, assertion when source of a drag is the root element, r+sr=roc 2007-03-29 16:58:59 -07:00
sharparrow1@yahoo.com
be658e47fd Bug 375508: Outline drawing broken when outline doesn't overflow. r+sr=roc. 2007-03-27 22:53:29 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
sharparrow1@yahoo.com
6fdcc6c041 Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc. 2007-03-26 20:58:17 -07:00
Olli.Pettay@helsinki.fi
cf1ccace7f 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
enndeakin@sympatico.ca
d8627a0a9d Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
sharparrow1@yahoo.com
bdebedc073 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc 2007-03-25 18:12:49 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00