2615 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
eb4de59882 Simplify the posted events setup now that they're owned through dispatch by the
target thread. Bug 369247, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@219506 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:09:26 +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
0903c8befe Move gray-ness of table borders to quirks mode and restore our prior standards-mode behavior. b=84307 r=fantasai sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219397 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:11:56 +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
longsonr%gmail.com
2577bfb047 Bug 368703 û Some methods in layout/style could be const r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219248 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 13:59:26 +00:00
dbaron%dbaron.org
56bd7b92c6 Missed null check. b=368740 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219233 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:23:47 +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
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
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
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
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
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
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
joshmoz%gmail.com
11978a5e40 use small scrollbars in HTML select controls. b=365243 r=smorgan sr=roc
git-svn-id: svn://10.0.0.236/trunk@218663 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 07:03:20 +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
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
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
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
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
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
bzbarsky%mit.edu
a9c6606754 Make computed style not have to worry about null style structs. Bug 364821, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@217558 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:17:59 +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
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
bzbarsky%mit.edu
70c517f74d Remove most of the aFrame args in computed style; just store the frame in a
member instead.  Bug 364617, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217340 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 06:10:32 +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
bzbarsky%mit.edu
92ae61a0e2 Use typesafe methods for getting style structs, for now. Bug 363605, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217175 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:16:09 +00:00
dbaron%dbaron.org
d0ca35d600 Fix crash regression by doing the best we can for computed padding/margin when there's no frame. b=363950 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217033 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 23:39:43 +00:00
bzbarsky%mit.edu
7bb79c2d4b Fix warning. Bug 347705, no review.
git-svn-id: svn://10.0.0.236/trunk@217032 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 23:15:58 +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
bzbarsky%mit.edu
f7370ae6b5 Use string buffers to store strings in nsCSSValue so we don't have to alloc in
copy constructors and such.  Bug 350141, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216939 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 15:49:36 +00:00
bzbarsky%mit.edu
da2551af1f Having an empty textnode or CDATA section child should not prevent an element
from matching :empty.  Bug 315620, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216919 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 00:18:32 +00:00
bzbarsky%mit.edu
dbfd5010c0 Don't return bogus overflow values when we can't compute a real overflow
value.  Bug 319381, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216900 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:16:23 +00:00
bzbarsky%mit.edu
11427fca97 Make the GetStyle* getters not go through GetStyleData() so they can be
faster.  Bug 360870, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216883 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 17:44:45 +00:00
bzbarsky%mit.edu
2a4880f3a6 Don't use LookupKeyword to deal with CSS units. Bug 347705, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216876 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:34:43 +00:00
martijn.martijn%gmail.com
cdb785a2f0 Bug 363285 - marquee broken, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216841 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:51:46 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
martijn.martijn%gmail.com
062c169805 Bug 361808 - Print selection doesn't print selected text, backout from patch from bug 355395
git-svn-id: svn://10.0.0.236/trunk@215858 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 08:58:24 +00:00
cvshook%sicking.cc
2b2f4b6167 Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215584 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:28:14 +00:00
bzbarsky%mit.edu
f0caa7c822 Report the right URI in the warning. Bug 360863, patch by Nickolay Ponomarev
<asqueella@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@215415 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 22:45:52 +00:00
sayrer%gmail.com
1173d9db39 bug 361005. remove nsCRT::strdup from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215393 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:49:06 +00:00
martijn.martijn%gmail.com
c28db3bd2c Bug 355395 - Misspelled words in text areas cause all following text to disappear during print, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215310 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 06:39:25 +00:00
bzbarsky%mit.edu
f2db33f207 Fix col border drawing for cols that are explicitly in the source. Bug 350444,
r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@215200 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 15:46:52 +00:00
bzbarsky%mit.edu
fa36ed56f9 Rev nsICSSLoader IID too. Bug 319654.
git-svn-id: svn://10.0.0.236/trunk@215170 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:28:09 +00:00
bzbarsky%mit.edu
3d914aab06 Create DOM nodes for processing instructions in XUL, take 2. Still bug 319654, patch by
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@215169 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:27:00 +00:00
bzbarsky%mit.edu
906e04c198 Make the assertions saner. Bug 342923, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215153 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 06:30:40 +00:00
gavin%gavinsharp.com
68056965f1 Try backing out the patch for bug 319654 to see if it fixes the Mac orange
git-svn-id: svn://10.0.0.236/trunk@214966 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 17:52:58 +00:00
bzbarsky%mit.edu
25dac94482 Create DOM nodes for processing instructions in XUL. Bug 319654, patch by
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@214929 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 02:25:37 +00:00
bzbarsky%mit.edu
2d7539378c Make nsIStreamLoader and nsIUnicharStreamLoader be stream listeners. Bug
281153, patch by Son Le <son.le0@gmail.com>, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@214092 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-24 21:47:40 +00:00