Commit Graph

159 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
27f54d87ad Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron 2007-01-17 03:25:38 +00:00
bzbarsky@mit.edu
db897195ad Make computed style not have to worry about null style structs. Bug 364821, r+sr=roc. 2006-12-30 05:17:59 +00:00
masayuki@d-toybox.com
8246927b8c Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron 2006-12-27 14:21:43 +00:00
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky@mit.edu
3686e337b8 Remove most of the aFrame args in computed style; just store the frame in a
member instead.  Bug 364617, r+sr=roc
2006-12-22 06:10:32 +00:00
dbaron@dbaron.org
1f83839699 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
bzbarsky@mit.edu
a10fcc351f Use typesafe methods for getting style structs, for now. Bug 363605, r+sr=dbaron 2006-12-19 04:16:09 +00:00
dbaron@dbaron.org
53902b1e14 Fix crash regression by doing the best we can for computed padding/margin when there's no frame. b=363950 r+sr=bzbarsky 2006-12-15 23:39:43 +00:00
dbaron@dbaron.org
13db671d0b Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
bzbarsky@mit.edu
9db5a2114d Don't return bogus overflow values when we can't compute a real overflow
value.  Bug 319381, r+sr=dbaron
2006-12-12 21:16:23 +00:00
dbaron@dbaron.org
d21cb374bd 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. 2006-12-08 05:38:33 +00:00
bzbarsky@mit.edu
1025b75bc1 Move the location of "opacity" in the list so it's easier to find. Bug 337874,
r+sr=roc
2006-08-08 16:41:03 +00:00
dbaron@dbaron.org
bdeea6cda8 File comments that show up in LXR and provide a quick summary of what's in each file. 2006-03-25 05:47:31 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
roc+@cs.cmu.edu
a1b6a30f14 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 2006-01-26 02:29:17 +00:00
cvshook@sicking.cc
ed4f29bd68 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
cbiesinger@web.de
c9534d6a92 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.
2005-09-19 15:47:26 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
dbaron@dbaron.org
74365f5a11 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
bzbarsky@mit.edu
5e5a7f4f98 Fix crashes when computed style is used on a dead presentation. Bug 291183,
r+sr=dbaron, a=chofmann
2005-06-03 01:51:15 +00:00
bzbarsky@mit.edu
9d506b60da 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
2005-04-29 15:44:38 +00:00
dbaron@dbaron.org
4a88021355 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
mats.palmgren@bredband.net
acd42ad508 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
2005-03-27 11:36:08 +00:00
cbiesinger@web.de
77118c82e9 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
2005-03-20 13:35:31 +00:00
bzbarsky@mit.edu
016ae30af8 Don't pass null frames to nsHTMLReflowState::GetContainingBlockFor. Bug
273458, r+sr=dbaron
2005-01-04 20:17:25 +00:00
cbiesinger@web.de
fbdf1319d5 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
2004-12-30 21:56:11 +00:00
dbaron@dbaron.org
0f7c3f8bf4 Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky 2004-11-30 05:31:37 +00:00
bzbarsky@mit.edu
b7d324424c 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
2004-11-25 02:43:28 +00:00
aaronleventhal@moonset.net
83234e98f1 Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
aaronleventhal@moonset.net
8424be798e Bug 263685. getComputedStyle not working on -moz-outline-radius. r=roc, sr=dbaron 2004-10-14 03:32:28 +00:00
mats.palmgren@bredband.net
69be1b62eb Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron 2004-10-01 17:15:15 +00:00
bzbarsky@mit.edu
f3eba60164 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
2004-09-30 22:32:28 +00:00
bzbarsky@mit.edu
ccd5aa2f41 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron@dbaron.org
9921526bf4 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron@dbaron.org
0ee0dd0b76 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron@dbaron.org
f2ad5967af 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 2004-08-26 17:11:20 +00:00
bryner@brianryner.com
242c51275c Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
dbaron@dbaron.org
8eefc77d32 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron@dbaron.org
73a3833b1c Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00
dbaron@dbaron.org
b8302c99bf Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-29 20:07:25 +00:00
roc+@cs.cmu.edu
fa6c1b5822 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron 2004-07-18 12:12:46 +00:00
dbaron@dbaron.org
6b4240afc9 Backing out half of 236889. 2004-07-16 21:23:27 +00:00
dbaron@dbaron.org
18d4c86795 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. 2004-07-16 20:26:39 +00:00
bzbarsky@mit.edu
5f2d4cc63f Testing backout of bug 236889 to see effect on performance. a=#mozilla 2004-07-15 02:54:01 +00:00
dbaron@dbaron.org
9569a639df Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-14 22:10:55 +00:00
roc+@cs.cmu.edu
1600f68744 Bug 245297. Add basic style system support for columns. r+sr=dbaron 2004-06-17 11:57:37 +00:00
bzbarsky@mit.edu
e4e1b8add4 Use property ids from the property list, as long as we're using preprocessing
to create all the Set/Get* functions for nsIDOMCSS2Properties.  Bug 243728, r+sr=dbaron
2004-06-08 01:32:29 +00:00
cbiesinger@web.de
e95a04fb83 bug 243966 getPropertyValue truncates values for computed system font value
patch by Karsten D��sterloh <mnyromyr@tprac.de> r=ere,timeless,mkaply,amardare sr=dbaron
2004-06-03 21:19:08 +00:00
bzbarsky@mit.edu
7ba303cfc0 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00