1706 Commits

Author SHA1 Message Date
rods%netscape.com
f5d5b87dc0 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119606 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:05:43 +00:00
karnaze%netscape.com
c4272e08c7 bug 136848 - consider a sibling of type col group, col, row group as a valid siblings of a child only if the child is the same type. sr=attinasi, r=kin
git-svn-id: svn://10.0.0.236/trunk@119348 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:11:29 +00:00
hwaara%chello.se
fffc33ba03 #137382, cleanup handling of SVG namespace, and remove old bogus namespace.
r=afri (not part of default build)


git-svn-id: svn://10.0.0.236/trunk@119116 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:13:13 +00:00
bryner%netscape.com
44e172b98b Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119078 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 05:09:35 +00:00
pinkerton%netscape.com
ffdf250be4 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@118858 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 15:26:05 +00:00
kin%netscape.com
e4f805dccb Fix for bug 106489 (Text entered in box does not appear)
- Moved MoveChildrenTo() and GetRealFrame() to a point in the
  file where they could be called from my new utility method
  AdjustOutOfFlowFrameParentPtrs().

- Modified MoveChildrenTo() to take an nsFrameConstructorState arg,
  so that it can call my new method AdjustOutOfFlowFrameParentPtrs()
  so that out-of-flow floater frames are reparented to the correct
  containing block when the placeholder is moved under the block
  created in ConstructInline().

r=attinasi@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@118857 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 14:41:40 +00:00
dcone%netscape.com
ad2aee4f0c b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
have a background.


git-svn-id: svn://10.0.0.236/trunk@118855 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 14:30:00 +00:00
dbaron%fas.harvard.edu
1e850f52c6 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu
ebbe48cf02 Fix topcrash resulting from accidentally making DeletingFrameSubtree not null-safe. b=134508 sr=waterson r=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@118511 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 01:11:25 +00:00
karnaze%netscape.com
b5480ba60f bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
git-svn-id: svn://10.0.0.236/trunk@118406 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:28:39 +00:00
karnaze%netscape.com
7cd502cfaa bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser
git-svn-id: svn://10.0.0.236/trunk@118405 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:16:12 +00:00
rbs%maths.uq.edu.au
0b3c5b285b Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@118125 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 15:42:45 +00:00
pinkerton%netscape.com
5ab21a98bb turn on building of native scrollbars from xbl, on for mac classic skin. r=sdagley/sr=beard/a=valeski. bug# 121440
git-svn-id: svn://10.0.0.236/trunk@117807 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 18:36:55 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
hewitt%netscape.com
7fd03a3524 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327


git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00
dbaron%fas.harvard.edu
0b4effd4ea Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
sicking%bigfoot.com
4256d59c55 Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@117531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:13:57 +00:00
dbaron%fas.harvard.edu
4d91361814 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
kmcclusk%netscape.com
87dc98ac69 suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117288 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 04:33:37 +00:00
bryner%netscape.com
e6f37a4022 More work on XBL radio button (bug 112715). r=jkeiser, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 04:22:19 +00:00
dbaron%fas.harvard.edu
a91e9d70d5 Fix dynamic style changes to the background of the root element or the BODY element by doing the necessary extra invalidation for backgrounds that are propagated to an ancestor. Restructure ApplyRenderingChangeToTree so it does less work in recursive calls, and remove old hack to invalidate for background changes that happen through attribute changes. b=63863 sr=attinasi r=bzbarsky a=scc
git-svn-id: svn://10.0.0.236/trunk@117120 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:51:17 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
dbaron%fas.harvard.edu
c3a4b79934 Fix drawing of rounded borders and backgrounds on large elements by using PRInt32 instead of PRInt16. b=131233 r=dcone sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@116717 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:25:16 +00:00
dbaron%fas.harvard.edu
fc255f08ea Attempt to fix topcrash bug 118014 by calling DeletingFrameSubtree in a bunch of places where it should be called to ensure that we don't leave dangling pointers in the undisplayed content map. sr=attinasi r=kin a=brendan
git-svn-id: svn://10.0.0.236/trunk@116478 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 13:51:20 +00:00
karnaze%netscape.com
e4f8ba49ca bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@116402 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:21:35 +00:00
attinasi%netscape.com
506da516c9 Support for overflow:hidden on body or html element, in html documents. b=93520 r=alexsavulov,jkeiser, sr=kin, a=asa OBO drivers
git-svn-id: svn://10.0.0.236/trunk@116346 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:47:40 +00:00
shaver%mozilla.org
e045387a83 reversion of patch for 92868, to repair severe regression (129827, a=drivers
git-svn-id: svn://10.0.0.236/trunk@116295 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
7cf7c2cc59 bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:34:33 +00:00
alexsavulov%netscape.com
083153ec7a forgot some comments in the source... damn the tree will burs
git-svn-id: svn://10.0.0.236/trunk@116082 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 21:18:26 +00:00
alexsavulov%netscape.com
46ac9aab40 fix for bug 121368 - prevents the method nsCSSFrameConstructor::ReframeContainingBlock
to execute during a reflow and so destroy the frame tree that's in reflow
sr= attinasi, r= karnaze, a= asa


git-svn-id: svn://10.0.0.236/trunk@116074 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:51:05 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
bzbarsky%mit.edu
970eee3834 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, r=rjesup@wgate.com, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@115871 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:17:32 +00:00
bryner%netscape.com
af01c27e5a Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame.  r=varga, sr=shaver, a=roc.


git-svn-id: svn://10.0.0.236/trunk@115688 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 23:31:26 +00:00
rbs%maths.uq.edu.au
f59867d4df bug 127227 - rowspan and columnspan regressed in MathML mtable - a spill over from the landing of the table border collapsing code in bug 41262, r=karnaze, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115400 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:37:13 +00:00
bzbarsky%mit.edu
da76abe8f6 Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
sr=attinasi, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115323 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:18:26 +00:00
attinasi%netscape.com
91eac9645b Fixed big problem trying to change the position property on an absolutely positioned element, was leaving dangling placeholder frame. b=118415, r=kmcclusk, sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@115192 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:17:18 +00:00
pinkerton%netscape.com
3e6b411297 fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770
git-svn-id: svn://10.0.0.236/trunk@115116 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 21:51:25 +00:00
pinkerton%netscape.com
1bdf0dd8ca don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736
git-svn-id: svn://10.0.0.236/trunk@114995 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:14:18 +00:00
roc+%cs.cmu.edu
d392c57939 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
karnaze%netscape.com
14130fefa0 bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@114804 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:57:19 +00:00
rbs%maths.uq.edu.au
d7f37a4594 Fix bug 125404 - hang on certain mathml pages. The table code relies on the display propertyto build its frames and things went out of sync when just using MathML tag names without the display associations in mathml.css. r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114653 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:48:10 +00:00
dcone%netscape.com
8944f478a1 b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
bryner%netscape.com
79bcc86bfa Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@114386 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 10:47:18 +00:00
karnaze%netscape.com
39bb012a64 Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@114288 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:57:49 +00:00
rbs%maths.uq.edu.au
b6f1a4d404 bug 109826 - turn on MathML in default builds (Windows & Linux), r=cls, a=endico on behalf of staff@mozilla.org, a=shaver on behalf of drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@114013 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:32:32 +00:00
alecf%netscape.com
43bee42ecd more dependency updates
git-svn-id: svn://10.0.0.236/trunk@113536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 21:29:01 +00:00
bryner%netscape.com
c76cc7e915 Bug 122512 - make sure we don't construct inline frames for children of a select (size > 1) widget when using xbl form controls. r=hewitt,sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113173 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 01:38:55 +00:00
waterson%netscape.com
3ddde9bd8f Bug 102860. Relatively positioned frames do not have place-holders. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@113068 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 00:03:31 +00:00
waterson%netscape.com
3229841ba0 Bug 121860. Handle case where block frame is embedded inside a XUL document. r=dbaron, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113067 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 00:02:25 +00:00