5508 Commits

Author SHA1 Message Date
dbaron%dbaron.org
6b86b28d36 Disable antialiasing of borders again, for Linux only, to avoid the performance penalty of pushing/popping groups. b=380473 r=vlad
git-svn-id: svn://10.0.0.236/trunk@226880 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 15:56:15 +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
sharparrow1%yahoo.com
d387c5a846 Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@226807 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 20:34:00 +00:00
vladimir%pobox.com
3267386636 b=380561, missing borders when dashed and dotted border-style is used, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@226687 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-20 22:49:20 +00:00
vladimir%pobox.com
f00acd618e b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226684 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-20 22:44:45 +00:00
vladimir%pobox.com
15cb385331 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@226683 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-20 22:41:21 +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
masayuki%d-toybox.com
605efe68cb Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +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
ada9f6f2b1 Use the right parent when resolving style contexts in IsValidSibling. Bug
380096, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@226499 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:18:50 +00:00
dbaron%dbaron.org
bac4685d57 Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad
git-svn-id: svn://10.0.0.236/trunk@226420 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 05:15:53 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +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
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