bzbarsky%mit.edu
2662b8f0e1
Fix printing of plugins in absolutely positioned divs to use the right
...
coordinates. Bug 225832, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@149531 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 02:00:51 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
neil%parkwaycc.co.uk
7f71d9ecd8
Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@149446 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 19:26:24 +00:00
dbaron%dbaron.org
95ad7ff8b9
Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@149414 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 00:35:17 +00:00
dbaron%dbaron.org
01d5186c80
Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902
...
git-svn-id: svn://10.0.0.236/trunk@149404 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 21:12:17 +00:00
dbaron%dbaron.org
af2bdc9aec
Add comments connecting two quirks.
...
git-svn-id: svn://10.0.0.236/trunk@149403 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 18:49:00 +00:00
bzbarsky%mit.edu
e145168a0f
Be a little smarter about handling the mess that is broken images. Only look
...
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload. Bug 225848,
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@149399 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 07:34:25 +00:00
blizzard%redhat.com
638544968e
Bug #225357 . Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@149245 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 16:33:52 +00:00
bzbarsky%mit.edu
0b45220a8c
Clarify when ReParentStyleContext should be called and remove more bogus style
...
parentage warnings. Bug 217225, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@149235 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 04:31:04 +00:00
bzbarsky%mit.edu
7ee2b11b9e
Fix some bogus style parentage warnings. Bug 224867, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@149232 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 04:11:38 +00:00
dbaron%dbaron.org
6ab19b722c
Removed unused LineIsEmpty function.
...
git-svn-id: svn://10.0.0.236/trunk@149158 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 19:25:49 +00:00
dbaron%dbaron.org
c484400136
Remove BRS_NOWRAP. b=191699 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@149157 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 19:24:01 +00:00
dbaron%dbaron.org
c53d72392a
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@149126 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-10 23:36:06 +00:00
bzbarsky%mit.edu
c681a0e72f
Bail out early if we have no area to invalidate anyway. Bug 224871, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@148947 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 03:00:30 +00:00
bzbarsky%mit.edu
598a8ea1a7
Only paint the image if its computed width or height is nonzero. Otherwise, we
...
may divide by zero when computing the transform matrix. Bug 221975, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@148910 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-06 16:03:34 +00:00
bryner%brianryner.com
2097395338
Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148857 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 05:17:07 +00:00
uid502
bdc0f5a1e4
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@148696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 22:34:59 +00:00
peter%propagandism.org
e6ae01a399
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +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
bzbarsky%mit.edu
a8b4c204ea
Fix regression bug 223394 -- percent-height replaced inlines that only have
...
auto-height ancestors should get intrinsic height instead of 0, even in quirks
mode. r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@148346 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 07:31:50 +00:00
bzbarsky%mit.edu
b668306972
Fix crash bug 223064. Patch by mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148265 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 07:01:35 +00:00
bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
7aac0db4a8
Remove limiting of the quirk containing block search to only one level. Bug
...
222730, also fixes bug 88035, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148110 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 20:22:22 +00:00
bzbarsky%mit.edu
169f5d5f1e
Line up the hypothetical box for positioned frames with the _top_ of the line
...
box if there is nothing in the line before the positioned frame's placeholder.
When that happens, it means that the positioned frame's content actually came
before whatever content lives in the line box and thus the frame should not be
lined up with the line box's bottom. Bug 94468, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@148100 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 08:04:37 +00:00
bzbarsky%mit.edu
b4923e2730
Undoing last change now that I have perf data.
...
git-svn-id: svn://10.0.0.236/trunk@148099 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 07:13:30 +00:00
bzbarsky%mit.edu
0b57ccb01f
Test performance impact of not limiting to the first level now that bug 222730
...
is fixed. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@148097 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 06:08:39 +00:00
bzbarsky%mit.edu
9998455a57
Only calc a quirk containing block if we have a percentage height. Bug 222730,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148096 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 05:09:42 +00:00
bzbarsky%mit.edu
9d5216503f
Stop walking up the tree looking for something to size against if we hit a
...
positioned frame. Bug 221784, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@148090 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 00:24:28 +00:00
uid502
f97b0819f2
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu
d43d8c0e1e
Add pref for the default :active styling. Bug 142163, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
git-svn-id: svn://10.0.0.236/trunk@147979 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:56:12 +00:00
uid502
eed697cb68
Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order.
...
git-svn-id: svn://10.0.0.236/trunk@147976 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 00:49:03 +00:00
dbaron%dbaron.org
6b49a6d2a7
Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@147975 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 23:29:07 +00:00
dbaron%dbaron.org
33601224e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
40fec1f1d6
Removed unused file.
...
git-svn-id: svn://10.0.0.236/trunk@147918 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 19:50:43 +00:00
uid502
6b34cca104
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu
ff3a7b042c
Make sure to notify document observers even about content that gets added to
...
the document before StartLayout(). Block those notifications from getting
passed on to the frame constructor before StartLayout(), though. Bug 220930,
r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147865 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 00:27:45 +00:00
bzbarsky%mit.edu
7a4ee2fe57
Don't scroll anchors entirely out of view when we click on them. Bug 195905,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147825 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 02:35:05 +00:00
bzbarsky%mit.edu
90e284491b
Use UnionRect instead of reimplementing it in the block code. Bug 220741,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147822 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 01:12:55 +00:00
dbaron%dbaron.org
dc67cb5024
Add comments.
...
git-svn-id: svn://10.0.0.236/trunk@147761 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 20:04:20 +00:00
bzbarsky%mit.edu
4651d2cebb
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147623 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:24:55 +00:00
bzbarsky%mit.edu
b9d414668f
Relanding fix for bug Bug 219693, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147622 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:13:37 +00:00
bzbarsky%mit.edu
1833145a2b
Backing out for now, till fallout from tree redness settles.
...
git-svn-id: svn://10.0.0.236/trunk@147612 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 04:23:56 +00:00
bzbarsky%mit.edu
9fbcdde0d4
Make quirks %-heights on kids of scrolling parents work the same way as for
...
non-scrolling parents. Bug 219693, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147608 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 02:58:19 +00:00
darin%meer.net
bc1bb52b19
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
dbaron%dbaron.org
9c720d744b
Remove duplication at the end of a comment.
...
git-svn-id: svn://10.0.0.236/trunk@147533 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 20:12:53 +00:00
bzbarsky%mit.edu
62c2420626
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org
37de3855c7
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +00:00
dbaron%dbaron.org
1253348a57
Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@147413 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 22:56:08 +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
2c479918b7
Remove bogus 1px adjustment that harkens back to imagelib1. Bug 220174,
...
r=pavlov, sr=tor
git-svn-id: svn://10.0.0.236/trunk@147333 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 16:43:19 +00:00