19176 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
8674fe9292 Adding regression test.
git-svn-id: svn://10.0.0.236/trunk@218572 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 00:39:02 +00:00
jwatt%jwatt.org
13905dc40f Fixing bug 367031. Implement nsSVGOuterSVGFrame::Get[Pref|Min]Width (at least well enough to get inline SVG in XUL working again). r=dbaron@mozilla.com, sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@218568 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 00:17:35 +00:00
dbaron%dbaron.org
927d56bf63 Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218565 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:53:47 +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
roc+%cs.cmu.edu
633e4df4a0 Bug 363813. When inserting frames into a list of out-of-flow frames, finding the correct position by comparing positions in the content tree doesn't always work, in particular when the frames are for anonymous content. So compare the positions of placeholders in the frame tree, which should always work (if we're careful). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218557 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:48:24 +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
d641d76b28 Bug 366001. Remove old reflow batching API, it's not effective or needed. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218554 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:28:33 +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
ae08389d4d Bug 363813. Ensure that floating first-letter frames get inserted in the right place in the list of new floated items. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218543 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 21:20:33 +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
dbaron%dbaron.org
794867888d When possible, distribute min width of colspanning cells so it fits within the pref width of the spanned columns. b=363144 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218528 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 19:19:50 +00:00
bzbarsky%mit.edu
c709bbabd8 Fix GetLastChildFrame to deal with bidi splitting of inlines. Bug 366967,
r=uri, sr=roc


git-svn-id: svn://10.0.0.236/trunk@218523 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 18:53:11 +00:00
dbaron%dbaron.org
09ccc1e701 Fix error tracking size of circularly linked list of counters, causing mis-sorting. b=367220 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218502 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 09:24:19 +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
dbaron%dbaron.org
5e37eb9b0f Fix potentially uninitialized nsresult return value, regression from deCOMtamination patch. b=330305 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218493 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 05:16:13 +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
164c104354 Bug 333659. Relanding new nsLayoutUtils APIs --- shouldn't affect current code. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218485 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 02:37:19 +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
longsonr%gmail.com
bb403d0859 Bug 363611 - Fix crash with unrendered foreignObject. r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@218428 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 11:12:08 +00:00
uriber%gmail.com
f45d42ada7 Abort early from ReorderFrames in case of an empty line frame, to avoid crashing later. bug=367015, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@218426 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 07:09:49 +00:00
timeless%mozdev.org
2cbff7fd50 Bug 366927 DOMi does not remember preference for showing whitespace nodes or not at first startup
patch by comrade693+bmo@gmail.com r=db48x sr=neil


git-svn-id: svn://10.0.0.236/trunk@218374 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 23:20:31 +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
dda20a2b0f ConstructDocElementFrame can return null if the XBL hasn't loaded yet. Handle
that XBL loading later by changing how XBL triggers the frame construction and
making it possible to recreate the doc element hierarchy even if there is no
doc element frame.  Bug 366207, r=sicking, sr=roc


git-svn-id: svn://10.0.0.236/trunk@218268 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 03:32:31 +00:00
dbaron%dbaron.org
bdfaaa60a4 Fix incorrectly placed PR_MAX(), since the span* values are additions to the base values. b=365173 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218260 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 01:08:18 +00:00
dbaron%dbaron.org
b348f16679 Accumulate column-spanning cells into column intrinsic widths separately for each number of columns spanned, in increasing order. b=363329 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 01:04:56 +00:00
bzbarsky%mit.edu
8c351facb0 Implement the proposed Web Apps 1.0 API for changing the selected style sheet
set, querying the available sets, etc.  Bug 200930, r=sicking, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 19:32:31 +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
271b9a66d3 Fix the width computations for the dropdown to actually account for the border
and padding.  Bug 365837, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218208 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 17:59:41 +00:00
bzbarsky%mit.edu
ad3d5b6079 Notify correctly about legend frames being added -- need to mark all our
ancestors as having a dirty child, not just the immediate ancestor.  Bug
366537, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218206 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 17:56:25 +00:00
jst%mozilla.org
0530ef12c6 Fixing bug 366393. Attempt to schedule GC between pageloads when possible rather than slowing down page load with GC calls while loading. r+sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@218180 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 00:02:58 +00:00
tor%cs.brown.edu
ee748ce09c Bug 362540 - Switch nsSVGGeometryFrame from cairo to thebes. r=jwatt, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218127 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 17:01:20 +00:00
tor%cs.brown.edu
ea0e16f461 Bug 326143 - floodColor and floodOpacity should be non-inherited
properties.  r=dbaron


git-svn-id: svn://10.0.0.236/trunk@218080 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 20:40:09 +00:00
gavin%gavinsharp.com
dff7100f66 Bustage fix
git-svn-id: svn://10.0.0.236/trunk@218075 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 20:18:24 +00:00
gavin%gavinsharp.com
fcba70756a Bug 365151: fix crash [@ nsStyleContext::GetRuleNode] or [@ nsTreeColumn::GetContent] due to stale nsTreeColumn::mFrame, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218072 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 19:59:38 +00:00
longsonr%gmail.com
e20fd15388 Bug 264132 û Implement fallback for SVG paint servers r=dbaron,sr=tor
git-svn-id: svn://10.0.0.236/trunk@218053 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 11:02:17 +00:00
bzbarsky%mit.edu
30df0ca086 We might not have a scrollbar frame; deal with that. Bug 366112, r+sr=roc, a=jay for 1.8.0 and 1.8.1 branches
git-svn-id: svn://10.0.0.236/trunk@218032 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 00:13:16 +00:00
dbaron%dbaron.org
349fc739a8 Add code so that reftest quits properly on Mac OS X. Patch by Rob Campbell <rcampbell@mozilla.com>. r=dbaron b=363985
git-svn-id: svn://10.0.0.236/trunk@217998 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 18:22:48 +00:00
tor%cs.brown.edu
6dff24dcdc Bug 326143 - Implement feFlood and feTurbulence filter elements.
Patch by tor and malex@cs.utexas.edu, r=tor, sr=roc


git-svn-id: svn://10.0.0.236/trunk@217993 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 16:48:56 +00:00
enndeakin%sympatico.ca
057a845ec2 Bug 365742, crash with drawing empty images in trees, r+sr=neil
git-svn-id: svn://10.0.0.236/trunk@217992 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 16:31:21 +00:00
longsonr%gmail.com
ef1ef07b88 Bug 358032 - SVG text too big when minimum font size set. r=tor, sr=roc
git-svn-id: svn://10.0.0.236/trunk@217986 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 10:10:13 +00:00
neil%parkwaycc.co.uk
9d24b7f995 Rewrite code to avoid using maxLevel b=366183 r=enndeakin sr=roc
git-svn-id: svn://10.0.0.236/trunk@217985 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 09:15:19 +00:00
jruderman%hmc.edu
34040481f6 Bug 321073 - "ASSERTION: Should not be called: 'Error' (nsGridLayout2::GetRowCount should not be called)". Patch by Andreas Lange, r=enndeakin, sr=neil rashbrrok.
git-svn-id: svn://10.0.0.236/trunk@217983 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 05:58:43 +00:00