4523 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
29067fe44b Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218576 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 01:20:09 +00:00
bzbarsky%mit.edu
1c2a9ec997 Fix painting of focus outline for empty <select>s. Bug 362995, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218561 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:17:30 +00:00
dbaron%dbaron.org
7d1d28c9e8 Make non-box frames use nsITheme methods concerning size, border, and padding, so that non-boxes with appearance set will obey the platform-specific theme. b=366722 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218555 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:31:07 +00:00
roc+%cs.cmu.edu
08d8b2fc0c Fixing luna bustage, hopefully
git-svn-id: svn://10.0.0.236/trunk@218551 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:11:01 +00:00
roc+%cs.cmu.edu
30f5e5c949 Reland conversion of HaveForcedBreakPosition check to assertion. See if this busts luna. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218533 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 20:31:13 +00:00
roc+%cs.cmu.edu
9490c03f81 Relanding changes to replace local helpers with new nsLayoutUtils versions. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218498 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 08:11:32 +00:00
roc+%cs.cmu.edu
09049cfebe Backout of nsLineLayout changes; trying to fix luna orange
git-svn-id: svn://10.0.0.236/trunk@218497 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 06:27:01 +00:00
dbaron%dbaron.org
b203eeeaa4 Handle padding and border correctly for reflow states constructed without a parent (reflow roots, things inside nsIBoxes). b=366952 r+sr=roc, r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218495 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 05:19:35 +00:00
roc+%cs.cmu.edu
64d5193436 Bug 333659. Relanding layout/generic/Makefile.in changes that don't affect anything since new textframe is disabled. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218492 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 04:17:14 +00:00
roc+%cs.cmu.edu
75d52f8575 Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218491 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
7bc222b695 Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218489 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:25:38 +00:00
roc+%cs.cmu.edu
fc3a408bdb Bug 333659. Relanding new nsTextTransformer::GetCaseConv, should not affect anything. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218487 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 02:58:49 +00:00
jwalden%mit.edu
e680196d3f Bug 366616 - Canvas in XUL is not rendered. Patch by Andrew Miller <ak.miller@auckland.ac.nz>, r=vlad, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218486 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 02:41:47 +00:00
roc+%cs.cmu.edu
4f42d74394 Backing out text landing.
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e2373f9a14 Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00
uriber%gmail.com
2147de52fc Don't bidi-split line frames. bug=364839, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@218277 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 18:20:28 +00:00
bzbarsky%mit.edu
21d3879fe1 Compare maxY to the right thing when deciding whether to clamp it to the
baselineY.  Bug 366667, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218210 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 18:10:47 +00:00
bzbarsky%mit.edu
9e56e89a01 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:57:59 +00:00
mats.palmgren%bredband.net
7cfad2b396 [border-collapse] Table content unnecessarily wrapped. b=363072 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217824 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 15:38:03 +00:00
uriber%gmail.com
4ddde0e089 Bug 200098: Double click near beginning of word selects two words (fix for Windows). r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217728 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 16:47:04 +00:00
jwatt%jwatt.org
c08a026ac8 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
dbaron%dbaron.org
cd06827bdd Restore code to refresh scrolledContentSize between horizontal and vertical scrollbar manipulation. b=330673 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217713 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 04:44:42 +00:00
dbaron%dbaron.org
a6fe0f6902 Fix incorrect comments. b=363807 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217712 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 04:27:36 +00:00
bzbarsky%mit.edu
037b31603b Use the right percentage base for figuring out text-indent when drawing the
text-decoration.  Bug 364862, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@217560 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:56:25 +00:00
masayuki%d-toybox.com
fa284ddafc Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217460 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:21:43 +00:00
bmlk%gmx.de
a38d8c03a8 bustage fix
git-svn-id: svn://10.0.0.236/trunk@217430 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:34:59 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
uriber%gmail.com
c0d1269952 Pull InsertFrames, AppendFrames, and RemoveFrames up from nsInlineFrame to nsContainerFrame. bug=198928 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217411 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-25 18:53:52 +00:00
roc+%cs.cmu.edu
36d18e2982 Bug 363813. Mark canvas with HAS_DIRTY_CHILDREN when we delete its child. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217305 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:05:34 +00:00
roc+%cs.cmu.edu
75b2611119 Bug 363813. Always reset parent pointers when pulling an inline frame's overflow back into its main child list. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217302 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 19:59:30 +00:00
timeless%mozdev.org
3ea4e560e3 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +00:00
mats.palmgren%bredband.net
14e7266121 Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217227 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 03:52:34 +00:00
dbaron%dbaron.org
9332796f42 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
mats.palmgren%bredband.net
36ff0f7a42 Horizontal under/overflow events are not dispatched. b=363933 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217222 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:17:00 +00:00
roc+%cs.cmu.edu
5dd391d386 Bug 363848. Scrollframes CAN TOO have an nsIScrollbarMediator scrolled frame. r=enndeaking,sr=mats
git-svn-id: svn://10.0.0.236/trunk@217209 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 20:11:27 +00:00
bzbarsky%mit.edu
ff23c0ece1 Make scrollframes use the pref width of the scrollbar, not the min width, for
determining pref width.  Fixes bug 363528, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@217169 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:53:05 +00:00
mats.palmgren%bredband.net
277be83fff Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217122 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 13:20:18 +00:00
bzbarsky%mit.edu
68ad73677a Fix bug 364192 -- assert was backwards.
git-svn-id: svn://10.0.0.236/trunk@217115 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 05:08:01 +00:00
bzbarsky%mit.edu
e92b9baa88 Forgot file for bug 363637. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217111 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:34:05 +00:00
bzbarsky%mit.edu
e9cbfbe714 Fix computation of a hypothetical box for abs pos frames which are descendants
of a rel-pos block.  Bug 363637, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@217108 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:00:23 +00:00
uriber%gmail.com
9de31d2467 Fix calculation of margin forced to "auto" when both margins and width are specified but together smaller than available width. bug=364079 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217099 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 17:02:22 +00:00
uriber%gmail.com
c44fa5a890 Always set wordLen to -1 before calling tx.GetNextWord() from AddInline[Min|Pref]Width, so that GetNextWord() will look at the entire content. bug=363732, r=smontagu sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217098 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 16:57:15 +00:00
mats.palmgren%bredband.net
34a45a87f6 Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217089 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:06:42 +00:00
gavin%gavinsharp.com
af54921f6e Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217054 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:40:44 +00:00
uriber%gmail.com
50a51cb08d Bug 363378: Caret gets stuck (or moves incorrectly) in empty table cells when using left/right arrow keys. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217008 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 09:32:24 +00:00
roc+%cs.cmu.edu
23b002054c Bug 359371. Calculate correct available content-height when a float has border or padding. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217000 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 01:52:53 +00:00
Olli.Pettay%helsinki.fi
aec65575d1 Bug 336574, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216997 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 00:23:39 +00:00
dbaron%dbaron.org
56a1a43b54 Forgot to rev IID. b=332922
git-svn-id: svn://10.0.0.236/trunk@216978 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 08:00:53 +00:00
dbaron%dbaron.org
534cefc5fa Remove nsLineLayout::mWordWidth, which should have been removed in earlier reflow branch merging. b=363232 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216966 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:11:13 +00:00
dbaron%dbaron.org
866a194991 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00