Commit Graph

5583 Commits

Author SHA1 Message Date
peterv@propagandism.org
90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
sharparrow1@yahoo.com
5a332b3718 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
sharparrow1@yahoo.com
107224ebc4 Bug 385862: View usage cleanups. r+sr=roc 2007-06-27 09:37:50 -07:00
roc+@cs.cmu.edu
5fe6149b7e Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
flamingice@sourmilk.net
4736a60932 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
d81781f1da Bug 385936: Remove nsLayoutUtils::CreateOffscreenContext. r+sr=dbaron 2007-06-26 11:46:35 -07:00
kherron@fmailbox.com
7da20483cd Back out patch for bug 381361 due to ref test failures on Windows. 2007-06-24 08:13:23 -07:00
kherron@fmailbox.com
88496fd2b4 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-24 04:20:34 -07:00
smontagu@smontagu.org
0a67bb4f9e Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron 2007-06-24 02:35:22 -07:00
mats.palmgren@bredband.net
105302b88e Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
dbaron@dbaron.org
3897543ff9 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
c7e0ea69d0 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
d7a2736f60 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
eb23f00329 Add an omitted word to a comment. 2007-06-15 14:37:03 -07:00
roc+@cs.cmu.edu
69030508c5 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
0235059d11 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
d1051274ea 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
cf44694542 Bug 322436. Disable floats inside XUL. r+sr=bzbarsky 2007-06-06 20:16:25 -07:00
emaijala@kolumbus.fi
9082a4607d Patch for bug 382480: Crash at nsBidiPresUtils::ProcessTextr+sr=roc 2007-06-02 00:09:26 -07:00
vladimir@pobox.com
a756340730 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
4a82ffd916 b=368247, new border rendering approach, r+sr=roc 2007-05-29 19:46:54 -07:00
dbaron@dbaron.org
986ae83b29 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
c6ad0c8d5f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
sharparrow1@yahoo.com
b7b65effc9 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
7178d6300b 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
b754ef153a 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
221b96d8f0 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
mats.palmgren@bredband.net
00e4fdb689 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
70f9b787c2 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
906193abd3 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
bzbarsky@mit.edu
7008f05a27 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
93a4cec0b0 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
6da5095394 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
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
2704d6350d 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
6f80b97be6 Follow-up cleanup b=375403 r+sr=roc 2007-05-13 03:06:57 -07:00
mats.palmgren@bredband.net
b3b5d084fc 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
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
1865808f7c Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
f4e95ca927 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
4e3fb730b4 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
ce44eb7691 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
f44e76cd9b Bug 281630 Support ch width units in XUL r+sr=bz 2007-05-09 01:48:38 -07:00
vladimir@pobox.com
1947a97271 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
c8f8b4146f 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
aa29dd4d43 Rename some functiosn as suggested by dbaron. Bug 379799 followup. 2007-05-07 12:03:24 -07:00
bzbarsky@mit.edu
f48bc27fc7 Better check for first-letter. Bug 379799, r+sr=dbaron 2007-05-07 10:57:33 -07:00
bzbarsky@mit.edu
44ecbe458d Back out bug 377850 -- it regresses bug 71191, and causes bug 379920. 2007-05-06 23:51:57 -07:00
bzbarsky@mit.edu
9b6b432927 Fixing typo. 2007-05-06 19:58:07 -07:00
bzbarsky@mit.edu
90fce747f4 Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
bzbarsky@mit.edu
1b5f6b30b6 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
502ec36976 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
3fffd1fdc3 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
d32b8338c4 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
073d7a78a6 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
sharparrow1@yahoo.com
bb057f50e6 Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
aaronleventhal@moonset.net
a36582f135 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
bd26112ce2 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
ace3611ec9 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
cc1fb91ccf Backing out accidental checkin for bug 357583 2007-05-03 13:20:58 -07:00
aaronleventhal@moonset.net
6cae6853a8 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
30d491a760 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
086c2eb0c0 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
31e3fee701 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
79c66b8a27 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
0169470291 b=379328, focus outline rendering regression fix 2007-04-30 21:58:44 -07:00
vladimir@pobox.com
ba88c35259 b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron 2007-04-30 20:31:25 -07:00
bzbarsky@mit.edu
5362e8e979 Fix build bustage 2007-04-29 23:43:03 -07:00
bzbarsky@mit.edu
487d95825a Fix bug 379229, r+sr=dbaron 2007-04-29 23:17:03 -07:00
bzbarsky@mit.edu
33d9c4b401 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
2300b4eb12 Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky 2007-04-27 04:06:22 -07:00
bzbarsky@mit.edu
988c13995e Back out the test code. 2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
70adc3f844 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
2647f75784 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
9469f3bca1 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
e50306ba30 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
7b162c96d2 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
968fb02e3d 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
f9596263f3 Followup for bug 370952 to fix an obvious bug. r+sr=dbaron. 2007-04-25 18:34:28 -07:00
bzbarsky@mit.edu
49d45d33b7 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
2fe1b6664d relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron 2007-04-25 08:49:55 -07:00
sharparrow1@yahoo.com
c75b207f5e Backing out bug 370952 due to mac tinderbox bustage 2007-04-25 03:44:29 -07:00
sharparrow1@yahoo.com
430f1d047c 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
a935465109 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
d35b8816a8 Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
benjamin@smedbergs.us
baab01ada6 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
b3f90d4761 Seems to cause orange, and doesn't help Tp2, so backing out. :( 2007-04-23 03:21:41 -07:00
bzbarsky@mit.edu
666484c0c8 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
d8c1972b0e Bug 378325, r+sr=roc 2007-04-22 22:53:27 -07:00
sayrer@gmail.com
c939167a6c bug 378339. nsFrameIterator doesn't initialize mOffEdge. r=uriber, sr=roc 2007-04-22 21:14:25 -07:00
bzbarsky@mit.edu
9375a2fa83 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
8d2c6abe92 Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
sayrer@gmail.com
9d85f96e43 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc 2007-04-19 12:11:42 -07:00
dbaron@dbaron.org
028b212457 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
bzbarsky@mit.edu
884eb773c8 Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron 2007-04-15 17:42:54 -07:00
bzbarsky@mit.edu
34b2a1abb4 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
bzbarsky@mit.edu
b82e527dc9 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
fa5a45384d 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