1054 Commits

Author SHA1 Message Date
surkov.alexander%gmail.com
3e82600924 Bug 388927 - getChildAtPoint fails for scrolled content, r=evan.yan, roc, sr=roc, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@233914 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 08:00:40 +00:00
bzbarsky%mit.edu
b409125df2 Make sure content is up to date before we start processing restyles. Bug
393801, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@233831 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 08:31:01 +00:00
martijn.martijn%gmail.com
b3b6168e5a Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray, patch by Alfred Kayser, r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@233403 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 15:29:07 +00:00
gijskruitbosch%gmail.com
71a4dfaf55 Backing out fix for bug 92543 due to build bustage
git-svn-id: svn://10.0.0.236/trunk@233200 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 09:10:23 +00:00
gijskruitbosch%gmail.com
a8bef70bc4 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)


git-svn-id: svn://10.0.0.236/trunk@233199 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 08:53:33 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
5204b6c384 Fix Windows build bustage
git-svn-id: svn://10.0.0.236/trunk@232491 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 03:16:18 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +00:00
Olli.Pettay%helsinki.fi
41ebdbe27d Bug 373911, r=bz, sr=dbaron, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@232478 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 21:45:00 +00:00
bzbarsky%mit.edu
8d1b61e211 Followup for bug 390423: remove a now-unused variable. Patch by
Ben Karel <web+moz@eschew.org>, r+sr+a=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@232327 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-18 06:13:10 +00:00
philringnalda%gmail.com
a10e4df6c0 Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@232249 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 03:43:01 +00:00
bzbarsky%mit.edu
84edc3c7eb Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232178 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 23:20:26 +00:00
aaronleventhal%moonset.net
548ed85c41 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
git-svn-id: svn://10.0.0.236/trunk@231884 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 01:44:46 +00:00
bzbarsky%mit.edu
006e5ba268 Back out bug 390425 to fix performance regression.
git-svn-id: svn://10.0.0.236/trunk@231871 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 22:55:21 +00:00
bzbarsky%mit.edu
bc74baebe0 Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231846 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 20:02:12 +00:00
dbaron%dbaron.org
2e3d89ec96 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
git-svn-id: svn://10.0.0.236/trunk@231386 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 00:09:18 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
sharparrow1%yahoo.com
cf85fbccb8 Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230941 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:14:14 +00:00
asqueella%gmail.com
2617d636d9 Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@230693 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:04:37 +00:00
peterv%propagandism.org
b338e16b43 Fix for bug 386300 (Caret disappears when pressing UP at the top of a contenteditable region). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@230280 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 09:47:49 +00:00
enndeakin%sympatico.ca
8d10cd84b0 Bug 388064, remove extra active popup list from presshell, since popup manager now tracks popups, and does so for all popups, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@230028 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 14:53:33 +00:00
dbaron%dbaron.org
9507877a93 Don't drop empty rectangles on the floor. b=388019 r=sharparrow1@yahoo.com sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@230019 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 05:55:04 +00:00
dbaron%dbaron.org
e5c6957b16 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
git-svn-id: svn://10.0.0.236/trunk@230017 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 05:53:19 +00:00
dbaron%dbaron.org
7b4c777d6d Back out bug 66619 until I get review on bug 388019.
git-svn-id: svn://10.0.0.236/trunk@229945 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 05:18:09 +00:00
jwatt%jwatt.org
4e247c534f Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@229891 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 11:03:48 +00:00
dbaron%dbaron.org
13bdbd604a 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
git-svn-id: svn://10.0.0.236/trunk@229860 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 23:48:37 +00:00
bzbarsky%mit.edu
b5b433a6b7 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.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
jruderman%hmc.edu
8169ada629 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@229493 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 23:53:00 +00:00
enndeakin%sympatico.ca
66f6fed78b 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
git-svn-id: svn://10.0.0.236/trunk@229322 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 15:49:46 +00:00
sharparrow1%yahoo.com
1fefb19635 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229291 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:49:01 +00:00
enndeakin%sympatico.ca
31eeecce7d Bug 279703, backing out the popup changes due to performance regressions. sigh.
git-svn-id: svn://10.0.0.236/trunk@229020 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 22:16:06 +00:00
enndeakin%sympatico.ca
bc283952f4 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229013 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 19:04:52 +00:00
sharparrow1%yahoo.com
1fbfd1c4ec Bug 385862: View usage cleanups. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228848 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 16:37:51 +00:00
mats.palmgren%bredband.net
2e741a3325 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228623 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 07:39:40 +00:00
bzbarsky%mit.edu
758ef87df4 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


git-svn-id: svn://10.0.0.236/trunk@228165 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 05:12:58 +00:00
sharparrow1%yahoo.com
f38416b09f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226830 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 00:11:05 +00:00
mats.palmgren%bredband.net
cb84c4e124 Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir
git-svn-id: svn://10.0.0.236/trunk@226570 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 10:14:37 +00:00
dbaron%dbaron.org
d6e7785ed1 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
git-svn-id: svn://10.0.0.236/trunk@226544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:10:32 +00:00
bzbarsky%mit.edu
3d66fb663f Make sure FrameNeedsReflow() is not called during reflow, and remove the
wasDirty asserts and O(N^2) check for existing reflow root in the list.  Bug
379904, r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@226500 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:22:45 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
mats.palmgren%bredband.net
6645518495 Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir
git-svn-id: svn://10.0.0.236/trunk@226332 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-12 13:06:17 +00:00
bzbarsky%mit.edu
84ea96f586 Ignore attempts to reframe things before we've done initial reflow. Bug
379975, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@226105 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 04:46:55 +00:00
bzbarsky%mit.edu
c1b00f99bb Followup to bug 378784 based on rbs's review comments.
git-svn-id: svn://10.0.0.236/trunk@226010 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 22:50:21 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
sharparrow1%yahoo.com
57f6f646e2 Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225606 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 23:28:02 +00:00
aaronleventhal%moonset.net
59e783eb7d Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@225591 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 18:09:02 +00:00
aaronleventhal%moonset.net
14654e8cca Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc
git-svn-id: svn://10.0.0.236/trunk@225559 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 02:19:18 +00:00
aaronleventhal%moonset.net
c87efbeeae Backing out accidental checkin for bug 357583
git-svn-id: svn://10.0.0.236/trunk@225545 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 20:20:58 +00:00
aaronleventhal%moonset.net
ed646609bd Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc
git-svn-id: svn://10.0.0.236/trunk@225543 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 19:22:24 +00:00