Commit Graph

5361 Commits

Author SHA1 Message Date
uriber%gmail.com
6d976f44e8 Avoid including the offset from a continuation frame to the original frame's parent twice when computing the 'all in flow bounding rect'. bug=368735, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219515 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 19:32:26 +00:00
tor%cs.brown.edu
14d632d01c Bug 367796 - <svg:switch> should be SVGTransformable. r=scootermorris, sr=roc
git-svn-id: svn://10.0.0.236/trunk@219502 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 16:26:23 +00:00
smontagu%smontagu.org
bb62298042 Remove unused method BidiStyleChangeReflow(). Bug 369338, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219488 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 10:48:27 +00:00
bzbarsky%mit.edu
d6f518ac33 Pass the right frame to the first-line stuff. Bug 367489, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219484 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 03:32:25 +00:00
dbaron%dbaron.org
1e94da33b0 Allow display:inline-block to be used on :before and :after. b=368622 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219398 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:13:37 +00:00
dbaron%dbaron.org
cbdde83088 Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219306 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 02:45:55 +00:00
Olli.Pettay%helsinki.fi
ba610d02ec Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:02:42 +00:00
dbaron%dbaron.org
cebfff8cef Fix handling of background-clip and background-origin to honor GetSkipSides. b=368020 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219230 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:21:05 +00:00
longsonr%gmail.com
0f7134181a Bug 307708 û filters should operate in linearRGB color space by default r=dbaron,r=tor,sr=roc
git-svn-id: svn://10.0.0.236/trunk@219177 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 13:19:55 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
smontagu%smontagu.org
83e5b28c9f #undef CS and ES to prevent build errors on Solaris 10 x86. Bug 287388, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219121 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 14:37:04 +00:00
dbaron%dbaron.org
5615880f12 Make inline-blocks support 'overflow', and add some useful methods to nsStyleDisplay. b=367247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219048 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:44:24 +00:00
dbaron%dbaron.org
3052400d5e Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:36:57 +00:00
dbaron%dbaron.org
70e19ffc30 Make SVG foreignObject frames reflow roots, instead of their child, so that marking the child dirty still keeps the change constrained to the foreignObject. b=368101 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218966 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:58:31 +00:00
dbaron%dbaron.org
d17d88f579 Fix bustage merging 367442 and 366956.
git-svn-id: svn://10.0.0.236/trunk@218941 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:10:28 +00:00
roc+%cs.cmu.edu
84519adb5e Bug 368154. Don't do bidi resolution on strings unless bidi is enabled in the prescontext. r=smontagu,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218917 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:54:38 +00:00
enndeakin%sympatico.ca
fd6335c608 Bug 326877, close popups when navigating pages, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@218908 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:59:20 +00:00
dbaron%dbaron.org
07b53e788d Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218880 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:01:07 +00:00
roc+%cs.cmu.edu
eca770f48f Bug 367930. Introduce an nsIRenderingContext::GetHints flag (temporarily) that tells us whether new-text-runs are being used underneath. When new text runs are in use, never reverse text manually, we can be sure that the platform textrun will do it.
git-svn-id: svn://10.0.0.236/trunk@218879 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:58:55 +00:00
bzbarsky%mit.edu
644d68a116 Make sure we can rely on mDirty being false when the list is not dirty. Bug
367906 , r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218822 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 23:45:54 +00:00
dbaron%dbaron.org
103e95ab15 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
dbaron%dbaron.org
99df522954 Give inline-blocks NS_BLOCK_SPACE_MGR and NS_BLOCK_MARGIN_ROOT. b=367504 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218784 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 03:53:46 +00:00
roc+%cs.cmu.edu
1534bcd542 Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218782 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:58:55 +00:00
bzbarsky%mit.edu
c9bbb1f3ee Don't calculate stuff with dirty lists. Bug 367243, r=mats, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218691 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 01:18:57 +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
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
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
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
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
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
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
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
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
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
mats.palmgren%bredband.net
e7c2c3f107 Plug a leak of nsDirectionalFrames. b=365909 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217904 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 21:02:05 +00:00
bmlk%gmx.de
3185892a10 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 2. attempt r=rbs sr=bz
git-svn-id: svn://10.0.0.236/trunk@217677 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 07:18:54 +00:00
mats.palmgren%bredband.net
76ca4d6f76 Print Preview crash when accessing print engine data before it's fully created. b=365003 r=sharparrow1 sr=roc
git-svn-id: svn://10.0.0.236/trunk@217586 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 10:53:11 +00:00
mats.palmgren%bredband.net
159c9722a0 Crash [@ nsPrintEngine::PrintPreview] when trying to print preview a display:none iframe. b=365004 r=sharparrow1 sr=roc
git-svn-id: svn://10.0.0.236/trunk@217579 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 08:13:56 +00:00
bzbarsky%mit.edu
50334acdc0 Be consistent about what percentage border-radius is a percentage of. Bug
364861, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217559 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:23:51 +00:00
bmlk%gmx.de
d73e2e993c backout of bug 243159, rtest is necessary before checkin
git-svn-id: svn://10.0.0.236/trunk@217538 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 11:27:31 +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
627a20a258 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 r=rbs sr=bz
git-svn-id: svn://10.0.0.236/trunk@217459 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:00:12 +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
roc+%cs.cmu.edu
408d24ae4a Bug 363813. Reparent style contexts for special-siblings because they may depend on our frame's style context. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217304 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:03:09 +00:00