18142 Commits

Author SHA1 Message Date
dbaron%dbaron.org
e981649f18 Make what FindChildWithRules does actually be an MRU cache, and condense some if-else chains over mChild and mEmptyChild. b=335733 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195616 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 00:09:05 +00:00
dbaron%dbaron.org
db9c24c976 Missed an out-of-memory check. b=335729 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195613 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 23:56:53 +00:00
bzbarsky%mit.edu
da82ce4fe6 Invalidate the right things when a stack's kids resize, or if they move _and_ margins change. Bug 331880, r+sr+branch181=roc
git-svn-id: svn://10.0.0.236/trunk@195612 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 23:53:48 +00:00
bzbarsky%mit.edu
f0077191b4 Adding regression test
git-svn-id: svn://10.0.0.236/trunk@195604 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 22:37:15 +00:00
dbaron%dbaron.org
4774b40871 nsRuleNode should not have a virtual destructor (and thus vtable pointer). b=335630 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195587 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 20:01:59 +00:00
rbs%maths.uq.edu.au
491a3cad3a Fix assertion by not setting the overflow bit. Besides, it was used in a way that is not relevant anymore to the new paint display list. (Also init a return variable in maction while passing.) b=323733, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195583 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 19:20:42 +00:00
dbaron%dbaron.org
73b1c5e452 Move assertion up to where we have a chance of actually seeing it.
git-svn-id: svn://10.0.0.236/trunk@195580 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:23:30 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
bzbarsky%mit.edu
17b3344ce1 Adding more regression tests.
git-svn-id: svn://10.0.0.236/trunk@195576 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 17:59:14 +00:00
aaronleventhal%moonset.net
79b63d8013 Bug 326090. Expose <hr> as ROLE_SEPARATOR. Patch by Ming (Mike) Gao. r=aaronlev, sr=roc
git-svn-id: svn://10.0.0.236/trunk@195569 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 16:23:09 +00:00
aaronleventhal%moonset.net
20e8839f55 Bug 310921. AccessibleObjectFromPoint wrong when a span ends the previous line within the same block. In fact the next text object after that wasn't even exposed. r=ginn.chen, sr=roc
git-svn-id: svn://10.0.0.236/trunk@195568 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 15:47:22 +00:00
roc+%cs.cmu.edu
1f8c8f9667 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@195507 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu
cf55a52a05 Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd
git-svn-id: svn://10.0.0.236/trunk@195504 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:25:23 +00:00
dbaron%dbaron.org
2d6aef0ed0 Destroy chained RuleProcessorData interatively. b=323504 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195492 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 00:35:05 +00:00
jwatt%jwatt.org
e86753af94 Fixing bug 335450. Remove our extensions to the SVG DOM interfaces. r=tor@acm.org, sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@195467 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 21:02:25 +00:00
bzbarsky%mit.edu
3ca392a8e3 Make sure to never read off the end of the buffer in HasTerminalNewline(). Bug
335320, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@195446 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 15:54:48 +00:00
bzbarsky%mit.edu
2fb73b3a53 More regression tests
git-svn-id: svn://10.0.0.236/trunk@195443 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 15:27:04 +00:00
peterv%propagandism.org
5cf9b0e12f Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@195434 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 09:19:48 +00:00
bzbarsky%mit.edu
057243bef0 Some fixes to min-max test
git-svn-id: svn://10.0.0.236/trunk@195421 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 04:18:11 +00:00
bzbarsky%mit.edu
b00d210144 More regression tests
git-svn-id: svn://10.0.0.236/trunk@195417 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 03:32:01 +00:00
bzbarsky%mit.edu
28b7837cb4 Adding some regression tests
git-svn-id: svn://10.0.0.236/trunk@195415 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 03:17:39 +00:00
roc+%cs.cmu.edu
b8d4b34078 Fixing Windows bustage
git-svn-id: svn://10.0.0.236/trunk@195414 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:45:18 +00:00
roc+%cs.cmu.edu
7a1ec5ab7e Fixing Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@195413 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:12:10 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
roc+%cs.cmu.edu
5a96bd2d29 Bug 310668. Don't retain frame pointers in nsTreeBodyFrame. sr=bz
git-svn-id: svn://10.0.0.236/trunk@195410 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:47:58 +00:00
dbaron%dbaron.org
da1715c1ff Do iterative cloning and destruction of linked list selector data structures. b=333634 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195395 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 21:48:11 +00:00
bzbarsky%mit.edu
c65fc9a4e7 Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195380 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 19:56:45 +00:00
masayuki%d-toybox.com
bcfb1979b7 Bug 326550 The dots in the focus outline do not match trunk builds(draw focus using something other than XOR). This is for comment 8 problem (the outline always drawn black) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195345 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 09:19:29 +00:00
cvshook%sicking.cc
ea199784e9 Bug 334977. Separate mFileName from mValue. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@195344 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 09:18:42 +00:00
bzbarsky%mit.edu
b207cbf645 Adding more testcases
git-svn-id: svn://10.0.0.236/trunk@195335 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 04:38:25 +00:00
bzbarsky%mit.edu
51445fc89c Adding some regression tests
git-svn-id: svn://10.0.0.236/trunk@195332 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 03:53:11 +00:00
mrbkap%gmail.com
1f0253c287 Don't cache the result of GetPointFromOffset if it failed, since subsequent queries for that offset will return the bogus offset. bug 334608, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195295 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 21:18:44 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
tor%cs.brown.edu
d230fb815d Bug 335085 - SVG images showing incorrectly with cairo gfx. r=vlad
git-svn-id: svn://10.0.0.236/trunk@195204 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 15:15:43 +00:00
cbiesinger%web.de
a84efa4015 bug 333640 fixing the linux cairo bustage correctly
git-svn-id: svn://10.0.0.236/trunk@195170 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 21:48:20 +00:00
cbiesinger%web.de
c831e37381 bug 333640 fixing cairo bustage
git-svn-id: svn://10.0.0.236/trunk@195168 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 21:26:13 +00:00
uriber%gmail.com
65380d88f3 Attempt to fix Tp regression from bug 333769. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195164 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 21:02:34 +00:00
uriber%gmail.com
87f37e70fc When measuring text, make sure nsTextTransformer::GetNextWord looks only at the part of the text content covered by the current frame. bug=333769 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195152 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 13:29:50 +00:00
bmlk%gmx.de
7743dac288 make pseudo rowgroups and colgroups only siblings if their parent is not a pseudo bug 333493 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195151 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 10:53:20 +00:00
bmlk%gmx.de
25c1481a47 pseudo rowgroups might be wrapped in a scrollframe, bug 331679 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195149 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 10:28:13 +00:00
bzbarsky%mit.edu
9c6c9e84c3 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195125 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:06:30 +00:00
mrbkap%gmail.com
07437f7122 Make the caret paint in the same color as the foreground so it's not always painted black. bug 334635, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195087 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 19:13:58 +00:00
bzbarsky%mit.edu
56bf4221c4 Make sure our IMAGE_NONE flag is always in sync with whether we have a
background image.  Bug 311526 followup, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195083 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:52:14 +00:00
vladimir%pobox.com
5685cdafbd b=328241, antialiasing problem with joining borders, temporary diable-aa fix for non-rounded borders, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@195081 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:52:05 +00:00
jag%tty.nl
8897e07fdd Bug 334829: FindFrameWithContent() can't find certain frames
If the hint frame's location in the frame tree doesn't match its element's location in the content tree, the hint is useless, and we don't correctly reboot the search without the hint. Add a flag to make the reboot work.
Patch courtesy of Danger Inc., r=dbaron, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@195051 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 11:13:41 +00:00
bzbarsky%mit.edu
bcc16c3ae5 Treat background images more like background colors when printing. Bug 311526,
r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195026 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:57:47 +00:00
bzbarsky%mit.edu
1aeb3f0f20 Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561 relanding, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195017 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:31:35 +00:00
dbaron%dbaron.org
55b4246403 Missed review comment. b=302536
git-svn-id: svn://10.0.0.236/trunk@194993 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 21:04:18 +00:00
dbaron%dbaron.org
bb49723daa Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194992 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 21:02:10 +00:00