bmlk%gmx.de
ee493b4c1d
use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@187960 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 09:54:07 +00:00
bmlk%gmx.de
d800c5f869
Do not prevent the creation of multiple captions, but display only the first one, bug 309322 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185643 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:13:08 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
bmlk%gmx.de
212fccadfd
handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@181584 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 15:47:21 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
dbaron%dbaron.org
f94ce77397
Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@171857 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
0cb4778ab7
build warnings (shadow + unused variables) bug 287097 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171163 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:02:59 +00:00
bmlk%gmx.de
dc30d31527
take vertical margins into account during height constrained situations like printing. bug 285006 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@170920 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-19 17:59:11 +00:00
bzbarsky%mit.edu
807f289552
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
neil%parkwaycc.co.uk
b6cfbdda85
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
adcb976e59
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
3656f2a5e7
fix flawed reflow logic for empty table cells bug 226637 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164605 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:31:53 +00:00
bmlk%gmx.de
d48111b27d
query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163898 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 18:21:15 +00:00
roc+%cs.cmu.edu
ab88d1e1ac
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
eb73ad615e
don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162132 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:08:53 +00:00
dbaron%dbaron.org
e8aae32dd7
Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
bmlk%gmx.de
deb5280c1e
bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161544 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:57:06 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
dbaron%dbaron.org
dda1e6cda9
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
68db552d54
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
...
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +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
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
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
kyle.yuan%sun.com
22c4c82052
Bug 239962 Incorrect table layout caused by Sun compiler with -xO5
...
r=roland.mainz, sr=roc, a=mkaply
a workaround for the Sun Forte compiler's bug.
git-svn-id: svn://10.0.0.236/trunk@154624 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-08 13:46:57 +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
bryner%brianryner.com
4b70febae6
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bmlk%gmx.de
7eb545bb4e
reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@150759 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-28 17:02:40 +00:00
dbaron%dbaron.org
a040cc3995
Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@150259 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 23:00:54 +00:00
bmlk%gmx.de
156e36eb9b
avoid pointer to old overflow area as this may change underneath (FMR), bug 226870, r/sr=dbaron a=tor
...
git-svn-id: svn://10.0.0.236/trunk@150051 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-04 20:13:09 +00:00
dbaron%dbaron.org
a8191642ef
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +00:00
bmlk%gmx.de
02d64302fc
issue style change reflow also at the table caption when there is a style change reflow
...
that is targeted at the inner table frame. This is currently necessary due to bizarre
style contetxt relationsship between inner and outer table frame, bug 222846 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@149063 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 11:35:52 +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
a8d0053450
Last checkin was actually for bug 222846
...
git-svn-id: svn://10.0.0.236/trunk@148193 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 04:32:57 +00:00
bzbarsky%mit.edu
aca03413bf
Make style-change reflows on the table correctly reflow the caption. Bug
...
222864, r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148192 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 04:30:10 +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
bmlk%gmx.de
40d3d97310
build fix take 2
...
git-svn-id: svn://10.0.0.236/trunk@146843 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:34:10 +00:00
bmlk%gmx.de
c8215214df
fix for broken build on mac
...
git-svn-id: svn://10.0.0.236/trunk@146842 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:14:15 +00:00
bmlk%gmx.de
deb5f49052
overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@146838 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:26:30 +00:00
dbaron%dbaron.org
a17e8c0bfb
Make margins between tables and captions collapse correctly when negative margins are involved. b=213465 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@145128 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 23:04:37 +00:00
bzbarsky%mit.edu
4f63a75a74
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
roc+%cs.cmu.edu
b4657fef30
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144510 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 02:01:29 +00:00