19242 Commits

Author SHA1 Message Date
uriber%gmail.com
7627d11f46 The correct version of the patch for bug 363198, this time.
git-svn-id: svn://10.0.0.236/trunk@219190 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:36:55 +00:00
uriber%gmail.com
512057cadc GetFrameForNodeOffset: if aNode has no children and the offset is 0, return the frame corresponding to aNode rather than failing. patch by Nian Liu <nian.liu@sun.com>. bug=363198 r=uriber sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219189 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:29:55 +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
asqueella%gmail.com
70c0246288 fix bug 363419 - Direct children of <overlay> not created correctly.
Don't create XUL "placeholder" element for them, instead use the same logic as elsewhere, as these nodes can end up in the master document.

r=smaug, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@219176 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 12:49:24 +00:00
bzbarsky%mit.edu
78ccec5f86 Remove some no longer needed code. Bug 368273, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219168 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:52:27 +00:00
bzbarsky%mit.edu
e194a83392 Make <style> elements notice text content changes. Bug 367612, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219167 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:50:22 +00:00
bzbarsky%mit.edu
fc8275495f Fix bug 300691. r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219166 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:48:22 +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
bzbarsky%mit.edu
105ac72207 Missed a spot where we should update our cached band rect. Bug 368330, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219098 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 02:16:23 +00:00
dbaron%dbaron.org
3af9eecb86 Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219072 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 17:20:01 +00:00
bzbarsky%mit.edu
a99e9b8f80 Fix crash bug 368166. r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@219071 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 16:49:26 +00:00
mats.palmgren%bredband.net
8ae547d9f0 Improve overflow/underflow DOM event handling. b=365477 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219056 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 22:50:18 +00:00
dbaron%dbaron.org
04bb428ada Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@219055 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 22:22:24 +00:00
dbaron%dbaron.org
12c42b4c23 Revert previous change.
git-svn-id: svn://10.0.0.236/trunk@219052 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 19:35:29 +00:00
dbaron%dbaron.org
c89a4222fe Address review comment on bug 9458 that depends on bug 367247 by making nsFrame::IsContainingBlock not check display type, but making it purely frame-class-based.
git-svn-id: svn://10.0.0.236/trunk@219049 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:45:35 +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
0b4631ed27 Make marquee use inline-block. b=163504 r=martijn sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219047 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:40:57 +00:00
dbaron%dbaron.org
c380d24c54 Combine the code that tests inlines for dependence on the containing block width in order to disable resize reflow optimizations, and add to that code things that shrink wrap (inline-block, inline-table, buttons, fieldsets). Also move the percentage-height tests out, and into InitResizeFlags. b=163504 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219046 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:40:26 +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
pavlov%pavlov.net
4169248ca1 Changing mac printing to use print manager instead of cups. bug 367433. r=vlad/cbarrett
git-svn-id: svn://10.0.0.236/trunk@219035 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 04:06:59 +00:00
pavlov%pavlov.net
36083b0632 stop exporting cairo headers from thebes headers. bug 368377. r=vlad
git-svn-id: svn://10.0.0.236/trunk@219028 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 01:26:49 +00:00
jwatt%jwatt.org
bd7595ddd7 Fixing bug 267664. SVG <a> element hack is painfully broken - implement it properly. r=tor@acm.org, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@219018 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 23:45:15 +00:00
mats.palmgren%bredband.net
03e5d2c51b Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218982 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:26:00 +00:00
dbaron%dbaron.org
913564a03b Merge 368101 with changes from bug 367442.
git-svn-id: svn://10.0.0.236/trunk@218967 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 07:18:55 +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
5f472ff247 Fix missed renaming in reftest. b=368158 r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@218965 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:56:58 +00:00
dbaron%dbaron.org
a2e9f4177e Remove const that doesn't make any sense. b=364049 r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218961 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:38:58 +00:00
bzbarsky%mit.edu
d688fc540d Remove assert that happens to not be assertable. Bug 368259, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218959 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 05:02:31 +00:00
dveditz%cruzio.com
34446d6bcc Need to pass 'rv' status out, bug 368123. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218948 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 02:30:23 +00:00
dbaron%dbaron.org
f109b36a81 Fix bustage merging 367442 and 366956.
git-svn-id: svn://10.0.0.236/trunk@218945 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:24:56 +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
bzbarsky%mit.edu
343ced44ba Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +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
8eb2065997 Add testcases for visual part of bug 347912.
git-svn-id: svn://10.0.0.236/trunk@218886 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 03:31:14 +00:00
dbaron%dbaron.org
f910247453 Make computed style output the a part of rgba/hsla colors, and also implement the 'transparent' keyword from css3-color. b=347912 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218881 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:03:02 +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
dbaron%dbaron.org
4bd4c4bb03 Basic instructions.
git-svn-id: svn://10.0.0.236/trunk@218875 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:17:28 +00:00
bzbarsky%mit.edu
3c4a12efcd Address review comment I missed. Bug 367749.
git-svn-id: svn://10.0.0.236/trunk@218849 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:23:08 +00:00
bzbarsky%mit.edu
0ec062328d Fix various bugs in the column iterator's keeping track of the current row.
Bug 367749, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@218847 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:18:04 +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
73ebb32115 Correct punctuation in CSS error reports. b=315250 r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@218817 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 22:49:49 +00:00
bzbarsky%mit.edu
5791846622 Keep a "last band we touched" cursor so we can avoid seeking through the whole
linked list for multiple appends to the end.  Bug 270392, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@218816 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 21:42:41 +00:00
Olli.Pettay%helsinki.fi
3194bd9145 Bug 329126, Remove nsIEventListenerManager::CreateEvent, r=aaronl, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218794 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 07:32:34 +00:00
bzbarsky%mit.edu
401c0a4274 Shut down the textrun cache on shutdown. Bug 357779, r=vlad, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218790 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 05:24:21 +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