36 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
e6e615f9f5 Bug 528134. Hand out the style context with the rulenode. r=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@259235 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-16 02:10:50 +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
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
sharparrow1%yahoo.com
36ce4195bc Bug 370642: remove use of views in layout/inspector. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@220501 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 04:44:21 +00:00
jonas%sicking.cc
7b8af22092 Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
benjamin%smedbergs.us
6e24a5d20a Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
dbaron%dbaron.org
a02fd2d2f8 File comments that show up in LXR and provide a quick summary of what's in each file.
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
165fa3ff89 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
bzbarsky%mit.edu
bc3dc7ebe0 Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
5eab03ef1e Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159531 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 06:11:27 +00:00
bzbarsky%mit.edu
4681cee324 Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
bryner%brianryner.com
e46f7c8143 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
67e7a64c5d DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +00:00
dbaron%dbaron.org
9887e2a116 Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@144225 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 21:06:45 +00:00
dbaron%dbaron.org
4f6b46a91e Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143968 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:22:44 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
e75fed314c Fix typo leading to infinite recursion crash. Bug 191229, r=timeless/caillon,
sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@137113 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 02:38:48 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
caillon%returnzero.com
8030ffe804 Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134173 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 06:35:33 +00:00
caillon%returnzero.com
8a84ae4c09 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189


git-svn-id: svn://10.0.0.236/trunk@134093 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 07:41:07 +00:00
bzbarsky%mit.edu
a70a392a2c Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
bzbarsky%mit.edu
c95e2a1f34 Minor cleanup of the fix for bug 122557. r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@124558 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 00:18:33 +00:00
bzbarsky%mit.edu
e7d6f144d1 Fix the "style rules" display for display:table elements. Bug 122557,
r=caillon, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@119428 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:29:24 +00:00
dbaron%fas.harvard.edu
1cc61e485b Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114867 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:09:06 +00:00