bzbarsky%mit.edu
f28b15a9f5
Switch AlreadyInQueue to use a hashtable (which is maintained sorta in parallel
...
with the reflow command list) instead of walking the array each time. Bug
240934, r=roc, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@155834 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 18:07:12 +00:00
bryner%brianryner.com
b65ef5dbc6
Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +00:00
roc+%cs.cmu.edu
1f5258aa4a
Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@155749 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com
a4737d81d2
Fixing build warning.
...
git-svn-id: svn://10.0.0.236/trunk@155728 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 04:11:02 +00:00
jst%mozilla.jstenback.com
51d2fb5527
This was apparently not the reason for the Tp hit, re-landing (bug 240543).
...
git-svn-id: svn://10.0.0.236/trunk@155726 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 04:06:30 +00:00
jst%mozilla.jstenback.com
a7588ad5c7
Backing out the nsPresContext changes in my last checkin to see if that's what caused the increase in Tp.
...
git-svn-id: svn://10.0.0.236/trunk@155725 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 03:10:29 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
roc+%cs.cmu.edu
f8ae3111a6
Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it.
...
git-svn-id: svn://10.0.0.236/trunk@155642 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 17:48:02 +00:00
dbaron%dbaron.org
48b55c6f36
Fix leak of content on all key and IME events. b=241591 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@155558 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 23:19:50 +00:00
neil%parkwaycc.co.uk
cd18ad3408
Bug 241151 nsSpringFrame was a useless subclass of nsLeafBoxFrame r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@155460 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 21:27:11 +00:00
bzbarsky%mit.edu
7f1f8aacd3
Change mCBReflowState to mean the containing block of _this_ reflow state
...
instead of the containing block of kids. Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations). Bug 135082,
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155456 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:56:23 +00:00
roc+%cs.cmu.edu
35624cc5bd
Bug 234851. Minor performance optimization to make sure we only try overflow propagation for HTML BODY elements, not BODY elements from any XML namespace. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155449 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:02:34 +00:00
bzbarsky%mit.edu
c7e51a42fa
When we push a pseudo cell frame, the block inside it needs to become the float
...
containing block. Otherwise, floats inside this cellframe get very confused.
Bug 233094 and various dependencies, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155446 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 16:00:46 +00:00
tor%cs.brown.edu
1f540003bd
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155395 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 16:13:26 +00:00
tor%cs.brown.edu
fba58fbb27
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
b93772cbd4
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@155065 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:55:11 +00:00
gerv%gerv.net
5a6ece6544
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155064 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:54:27 +00:00
tor%cs.brown.edu
996688b00b
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
dbaron%dbaron.org
99bbf15d49
Forgot to initialize mQuotesDirty in constructor. b=24861 rs=tor
...
git-svn-id: svn://10.0.0.236/trunk@154982 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 19:06:51 +00:00
dveditz%cruzio.com
b96bee8c86
bug 240449 infinite loop tickled by some skins, r=bsmedberg, sr=dbaron, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@154864 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 08:19:27 +00:00
roc+%cs.cmu.edu
05f7f23201
Fix a few warnings. Patch by gautheri, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@154765 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:13:46 +00:00
roc+%cs.cmu.edu
0ab70ba7a5
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@154763 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:04:05 +00:00
roc+%cs.cmu.edu
adc0d11131
Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154762 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu
a69c586b63
Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154761 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 02:56:03 +00:00
bryner%brianryner.com
2359d2f7c4
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
bzbarsky%mit.edu
91063d56d4
Make sure to null out mStyleSet if Init() fails, since the caller will delete
...
it in that case. Bug 240240, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154741 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:27:29 +00:00
sicking%bigfoot.com
e4632ed495
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
bzbarsky%mit.edu
4c0299d092
Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
...
it later on. Bug 231166, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154721 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:42:50 +00:00
dbaron%dbaron.org
ab7ff079ea
Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@154708 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:54:45 +00:00
dbaron%dbaron.org
950b1a4459
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
...
git-svn-id: svn://10.0.0.236/trunk@154706 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:53:22 +00:00
cbiesinger%web.de
58c2df94c4
bug 236707 ARABIC COMMA's Joining Class is wrong
...
patch by Behnam Esfahbod <behnam@esfahbod.info> r=smontagu sr=rbs a=mkaply
git-svn-id: svn://10.0.0.236/trunk@154669 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-10 14:21:41 +00:00
bzbarsky%mit.edu
0d643a702e
Change the way regression tests get the framestate to make it possible to mask
...
out irrelevant state bits as needed. Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@154500 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-04 01:48:16 +00:00
dbaron%dbaron.org
bb012ccb38
Fix crashes by making CreateContinuingFrame able to deal with a frame that already has a next-in-flow. b=140948 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154448 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 00:09:57 +00:00
bzbarsky%mit.edu
b897a5e2fc
Fix assert. Bug 236921, r+sr=dbaron, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154403 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-31 03:13:54 +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
f9f12d233a
Fix following an image map link by pressing enter. Bug 214373, r+sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@154163 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-22 18:13:11 +00:00
bryner%brianryner.com
5050533b67
Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154140 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-21 05:22:46 +00:00
dbaron%dbaron.org
1a94650e48
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
44185c6657
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
dbaron%dbaron.org
2cefb8b1dd
In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@153794 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:28:17 +00:00
bsmedberg%covad.net
965bf776a9
Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz
...
git-svn-id: svn://10.0.0.236/trunk@153758 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 19:59:09 +00:00
alex.fritze%crocodile-clips.com
4c772c8887
Remove unused includes. SVG only - not part of default build.
...
git-svn-id: svn://10.0.0.236/trunk@153744 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 09:53:40 +00:00
bmlk%gmx.de
bc6dd3a017
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
bzbarsky%mit.edu
baf58dcfe0
Make sure to fire XBL constructors on bindings attached to display:none nodes.
...
Bug 188496, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153656 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 20:33:56 +00:00
roc+%cs.cmu.edu
b3c7e5391b
Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@153649 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 18:04:24 +00:00
roc+%cs.cmu.edu
182434aad8
Bustage fix
...
git-svn-id: svn://10.0.0.236/trunk@153621 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu
16bf6b061c
Bug 235335. Additional changes. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@153605 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 04:53:30 +00:00