neil%parkwaycc.co.uk
a64fc10c10
Follow-up cleanup b=375403 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226340 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 10:06:57 +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
Olli.Pettay%helsinki.fi
74bedad7b0
backout Bug 363089
...
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
dbaron%dbaron.org
68aab90fcd
Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226290 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:02:31 +00:00
dbaron%dbaron.org
80e25fa18a
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
...
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00
Olli.Pettay%helsinki.fi
8e19145a0d
Bug 379621, Call PostCreateFrames after creating all native anonymous frames, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226266 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 18:16:00 +00:00
neil%parkwaycc.co.uk
2671ffbdb4
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
...
git-svn-id: svn://10.0.0.236/trunk@226257 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 15:46:42 +00:00
neil%parkwaycc.co.uk
c72cb13cb8
Bug 281630 Support ch width units in XUL r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@226178 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 08:48:38 +00:00
vladimir%pobox.com
dfd838553c
b=379474, borders render incorrectly when using moz-border-radius (also 379446, hr noshade renders incorrectly); r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@226124 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 17:40:08 +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
127cac5da6
Rename some functiosn as suggested by dbaron. Bug 379799 followup.
...
git-svn-id: svn://10.0.0.236/trunk@226070 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 19:03:24 +00:00
bzbarsky%mit.edu
7c45b2cbf7
Better check for first-letter. Bug 379799, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@226057 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 17:57:33 +00:00
bzbarsky%mit.edu
52da9e78ec
Back out bug 377850 -- it regresses bug 71191, and causes bug 379920.
...
git-svn-id: svn://10.0.0.236/trunk@226026 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 06:51:57 +00:00
bzbarsky%mit.edu
95f7c18450
Fixing typo.
...
git-svn-id: svn://10.0.0.236/trunk@226019 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 02:58:07 +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
mats.palmgren%bredband.net
c4a1707993
Incremental reflow bug with direction:rtl and bidi-override. b=375716 r=uriber sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225999 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 10:29:58 +00:00
bzbarsky%mit.edu
3a2aee02f0
Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225952 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:47:09 +00:00
bzbarsky%mit.edu
9b0c5a7646
Bail out of ReconstructDocElementHierarchy early if there is no root frame
...
(which shouldn't even happen!). Bug 377850, r=mats, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225947 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:12:44 +00:00
bzbarsky%mit.edu
33b3f60e43
Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +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
dbaron%dbaron.org
03a83ad9f2
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
...
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +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
joshmoz%gmail.com
0bfd5f5156
Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225436 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 07:46:50 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(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
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
643b881db4
Switch order around a bit to be safer. Followup to bug 379093, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225397 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 19:11:28 +00:00
bzbarsky%mit.edu
708c53b956
Make InitialReflow just post a reflow event instead of doing a synchronous
...
reflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225391 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 17:15:08 +00:00
vladimir%pobox.com
fe4c4a3356
b=379328, focus outline rendering regression fix
...
git-svn-id: svn://10.0.0.236/trunk@225324 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 04:58:44 +00:00
vladimir%pobox.com
8443976b1a
b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225319 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 03:31:25 +00:00
bzbarsky%mit.edu
3a67f3ecac
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@225247 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:43:03 +00:00
bzbarsky%mit.edu
a794c3824d
Fix bug 379229, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225246 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:17:03 +00:00
bzbarsky%mit.edu
2cace76786
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 fully
reflowed before onload fires. Bug 379093, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225241 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 03:09:55 +00:00
mats.palmgren%bredband.net
6c97fe7252
Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@225137 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 11:06:22 +00:00
bzbarsky%mit.edu
6fa00af002
Back out the test code.
...
git-svn-id: svn://10.0.0.236/trunk@225119 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 02:06:50 +00:00
bzbarsky%mit.edu
dda1843310
Sprinkle null-checks in an attempt to "fix" the orange so I can get answers.
...
git-svn-id: svn://10.0.0.236/trunk@225115 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 00:47:34 +00:00
bzbarsky%mit.edu
a9b2a04d77
Adding some test code for a single tinderbox run so I can see what's going on
...
with Tp2 and such. Will back out after one cycle.
git-svn-id: svn://10.0.0.236/trunk@225112 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 22:46:05 +00:00
bzbarsky%mit.edu
cdf11094c2
Make sure to return at the end of a method that returns nsresult, in case
...
callers are actually checking the return value. Bug 378827, patch by Ryan
VanderMeulen <ryanvm@gmail.com >, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225069 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:37:27 +00:00
bzbarsky%mit.edu
04e7f5a0a3
Handle restoring scroll position correctly even if InitialReflow comes after
...
EndLoad. Bug 378606, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225068 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:33:02 +00:00
bzbarsky%mit.edu
4d238d61d2
Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for an
...
initial reflow if we're doing that initial reflow a ways into the document
load. Bug 378480, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225067 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:29:21 +00:00
bzbarsky%mit.edu
7c49bd8a89
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 trigger
in non-scrollable documents. Bug 378693, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225066 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:26:25 +00:00
sharparrow1%yahoo.com
ddefefe842
Followup for bug 370952 to fix an obvious bug. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@225063 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 01:34:28 +00:00
bzbarsky%mit.edu
f779dffd0f
Remove the root from mDirtyRoots if we resize-reflow it, so that we don't get
...
assertions about frame state not matching with whether the frame is in
mDirtyRoots. Bug 374167, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225054 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 00:17:50 +00:00
sharparrow1%yahoo.com
798f5d7058
relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225010 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 15:49:55 +00:00
sharparrow1%yahoo.com
03f60854e8
Backing out bug 370952 due to mac tinderbox bustage
...
git-svn-id: svn://10.0.0.236/trunk@224995 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 10:44:29 +00:00
sharparrow1%yahoo.com
fd7f27e45a
Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224994 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 08:22:28 +00:00
bzbarsky%mit.edu
e06f02a85d
Back out. This actually hurts Tp2, the mac reftests are _still_ orange
...
git-svn-id: svn://10.0.0.236/trunk@224929 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 07:33:58 +00:00