162 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
bzbarsky%mit.edu
3ee1b00aa6 Move the location of "opacity" in the list so it's easier to find. Bug 337874,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@206835 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 16:41:03 +00:00
dbaron%dbaron.org
a02fd2d2f8 File comments that show up in LXR and provide a quick summary of what's in each file.
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
ceaf7bdebc Bug 323910: Merge atom lists in gklayout
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
cbiesinger%web.de
4ad1f9e1a1 bug 287837 r+sr=bz
- handle "normal" as valid unit for line-height
- default the values for -moz-outline-radius and -moz-border-radius to 0,
instead of null.


git-svn-id: svn://10.0.0.236/trunk@180568 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 15:47:26 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
bzbarsky%mit.edu
d33e0cbb78 Fix crashes when computed style is used on a dead presentation. Bug 291183,
r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174101 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 01:51:15 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
mats.palmgren%bredband.net
d5dcb62486 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
cbiesinger%web.de
d2fed0795d bug 286899 Follow CSS 2.1, rather than css3-ui, for the computed style for the
cursor property: Make it contain all URIs (absolutized) and the pointer.
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@170925 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-20 13:35:31 +00:00
bzbarsky%mit.edu
df51a4d2e4 Don't pass null frames to nsHTMLReflowState::GetContainingBlockFor. Bug
273458, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@167260 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 20:17:25 +00:00
cbiesinger%web.de
a8dbace73d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
dbaron%dbaron.org
c007c30f20 Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165930 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 05:31:37 +00:00
bzbarsky%mit.edu
4c07e20fbe Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165766 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:43:28 +00:00
aaronleventhal%moonset.net
53a4f4090a Bug 251498. Implement outline-offset. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +00:00
aaronleventhal%moonset.net
1407eea6a0 Bug 263685. getComputedStyle not working on -moz-outline-radius. r=roc, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163710 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 03:32:28 +00:00
mats.palmgren%bredband.net
d83ca07985 Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163089 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 17:15:15 +00:00
bzbarsky%mit.edu
76625d8613 Remove parsing of play-during property, since we don't support it anyway and
it's gone from CSS2.1 and CSS3.  Bug 258079, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163043 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:32:28 +00:00
bzbarsky%mit.edu
f3fd99f0a7 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162049 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
565357f6d2 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
dbaron%dbaron.org
f5d5060a41 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
d1c1168c09 Back out 236889 due to 253755.
git-svn-id: svn://10.0.0.236/trunk@160168 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 07:42:12 +00:00
dbaron%dbaron.org
8c1a22db88 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160070 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 20:07:25 +00:00
roc+%cs.cmu.edu
9479fac3b5 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159419 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:12:46 +00:00
dbaron%dbaron.org
483db44bb1 Backing out half of 236889.
git-svn-id: svn://10.0.0.236/trunk@159367 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
95176bd66a Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload.
git-svn-id: svn://10.0.0.236/trunk@159363 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 20:26:39 +00:00
bzbarsky%mit.edu
a569b89925 Testing backout of bug 236889 to see effect on performance. a=#mozilla
git-svn-id: svn://10.0.0.236/trunk@159232 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
ca93e21901 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159197 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:10:55 +00:00
roc+%cs.cmu.edu
f8fdf5f9c2 Bug 245297. Add basic style system support for columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158023 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 11:57:37 +00:00