5523 Commits

Author SHA1 Message Date
kherron%fmailbox.com
5d9db892c1 Back out patch for bug 381361 due to ref test failures on Windows.
git-svn-id: svn://10.0.0.236/trunk@228654 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-24 15:13:25 +00:00
kherron%fmailbox.com
4fe07f006f Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@228649 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-24 11:20:35 +00:00
smontagu%smontagu.org
ed0b8a7cc4 Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228645 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-24 09:35:23 +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
dbaron%dbaron.org
cd6e9c2d37 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
git-svn-id: svn://10.0.0.236/trunk@228548 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:33:10 +00:00
tor%cs.brown.edu
292051be4e Bug 384391 - maks sure outer svg is constructed only for svg:svg. r=bz, sr=roc
git-svn-id: svn://10.0.0.236/trunk@228428 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 15:05:05 +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
jwalden%mit.edu
ea4c6420a5 Add an omitted word to a comment.
git-svn-id: svn://10.0.0.236/trunk@228140 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 21:37:03 +00:00
roc+%cs.cmu.edu
ffb0f5620e Bug 366128. Restrict disabling of floats in XUL to cases where the container is not a float containing block. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227957 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 09:13:25 +00:00
dbaron%dbaron.org
875b2f29f1 Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227882 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:27:28 +00:00
roc+%cs.cmu.edu
799b2da493 Bug 356325. Don't let WipeContainingBlock wipe out anonymous popops. Popups, decks and groupboxes are not really inline. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227627 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 03:22:00 +00:00
roc+%cs.cmu.edu
7567e3862d Bug 322436. Disable floats inside XUL. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227626 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 03:16:25 +00:00
emaijala%kolumbus.fi
3e76729ba1 Patch for bug 382480: Crash at nsBidiPresUtils::ProcessText
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@227402 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-02 07:09:26 +00:00
vladimir%pobox.com
78df8839f7 b=379505, content overflows border with -moz-border-radius: a.k.a. death to QBCurve; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@227227 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 08:37:30 +00:00
vladimir%pobox.com
9dd6bbf887 b=368247, new border rendering approach, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@227211 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 02:46:54 +00:00
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