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
bzbarsky%mit.edu
c2dacdb070
Make userContent.css come after the prefs sheet in the user sheet list (so that
...
rules in userContent.css can override prefs). Bug 215668, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147251 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 19:03:06 +00:00
uid502
e9d6a45b46
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
timeless%mozdev.org
64ddc42d96
Bug 219908 Remove some layout warnings
...
r=bz sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147118 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 21:40:12 +00:00
dbaron%dbaron.org
544bc7f7d6
My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@147095 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 21:31:18 +00:00
bmlk%gmx.de
86e7e01e10
Don't overoptimize when absolute frames are reflown and the containing block should return a MEW. bug 192267 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147086 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 11:35:29 +00:00
uid502
8080dd532b
Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147060 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 15:20:00 +00:00
dbaron%dbaron.org
c997dd0ad0
Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:09:18 +00:00
dbaron%dbaron.org
2fddba807f
Fix additional regression from bug 86947. b=216736 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@146972 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:05:47 +00:00
dbaron%dbaron.org
10de1fb0dc
Remove unneeded nsTextFrame::QueryInterface. b=188618 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@146971 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:04:48 +00:00
kyle.yuan%sun.com
deb559b045
Bug 215220 Unable to receive caret-move event in HTML document
...
r=aaron, sr=henry.jia
Bug 217311 [ATK Accessibility] wrong text structure for HTML text
r=bolian.yin (Not in the default build)
Bug 218992 no placeholder for broken image
r=bolian.yin (Not in the default build)
This patch aims at solving some ATK accessible text issues. The main parts of this patch (inside accessibility/src/atk directory or the #ifdef MOZ_ACCESSIBILITY_ATK/#endif macro) are not in the default build (it gets built only when the default toolkit set to gtk2)
git-svn-id: svn://10.0.0.236/trunk@146864 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-14 12:56:21 +00:00
mkaply%us.ibm.com
b297a2d443
#210269
...
r=dbaron, sr=dbaron
Checkin for roc - bandaid fix for nsXULElement pageload crash
git-svn-id: svn://10.0.0.236/trunk@146863 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-14 12:07:11 +00:00
bsmedberg%covad.net
1b71e7ac3e
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
bmlk%gmx.de
ef668f8320
overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@146837 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:21:41 +00:00