Граф коммитов

176 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org ae95e886c0 Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky 2007-05-11 06:01:31 +00:00
dbaron%dbaron.org 8e49c04ba5 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-11 06:00:26 +00:00
bzbarsky%mit.edu 6bfe4d1b01 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-05 06:09:50 +00:00
bzbarsky%mit.edu 8f5c7263d5 Make computed style handle "normal" for line-height by computing an actual
numeric height.  Bug 371041, r+sr=dbaron
2007-05-05 05:30:10 +00:00
dbaron%dbaron.org 847bd485ed Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu 06342c9a30 Fix assert to not fire when it shouldn't. Bug 379405, r+sr=dbaron 2007-05-02 02:25:50 +00:00
bzbarsky%mit.edu b1e55b927c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu 267d907a5b min-width/height should not affect computed max-width or max-height. Both of
them should affect computed width and height, though.  Bug 371042, r+sr=dbaron
2007-04-23 07:04:33 +00:00
bzbarsky%mit.edu d9f302946b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 21:11:47 +00:00
masayuki%d-toybox.com fa8fb4715b Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron 2007-03-15 16:16:20 +00:00
dbaron%dbaron.org 508c147e34 Round the alpha component in computed style as well. b=372782 r+sr=bzbarsky 2007-03-08 18:44:45 +00:00
bzbarsky%mit.edu 22fa771d50 Refactor some repetitive computed style code. Bug 365932, r+sr=dbaron 2007-02-20 18:43:16 +00:00
sharparrow1%yahoo.com c78720aa24 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
dbaron%dbaron.org d662f33d0c Missed null check. b=368740 r+sr=roc 2007-01-31 05:23:47 +00:00
cvshook%sicking.cc 0c24c4a4c3 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron%dbaron.org 1f3fb393e2 Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc 2007-01-28 17:20:01 +00:00
dbaron%dbaron.org 495c0476a9 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 2007-01-25 02:03:02 +00:00
roc+%cs.cmu.edu 403b86b665 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 ff33e8db80 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 1d4c9172b7 Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron 2006-12-27 14:21:43 +00:00
timeless%mozdev.org abc256e3da Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu 778db6ebfe 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 45306477d3 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 2a63a426b3 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 4910cba1e6 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 992a8cce12 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 963152a5c0 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 116da6be23 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 b77fc011d6 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 668f9730a4 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 a898e666b8 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 5451e97878 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 7d9189938d Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
cbiesinger%web.de 47985e2bbb 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 692c9e00f2 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 42df54824e 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 9fac4f99b9 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 0597971698 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 ec53342255 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
mats.palmgren%bredband.net 78343a58c1 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 b9c675f8dd 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 a77b73bb3a Don't pass null frames to nsHTMLReflowState::GetContainingBlockFor. Bug
273458, r+sr=dbaron
2005-01-04 20:17:25 +00:00
cbiesinger%web.de e42c2d976d 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 32654cf7f5 Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky 2004-11-30 05:31:37 +00:00
bzbarsky%mit.edu b35b2a6d92 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 b8351a14b5 Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
aaronleventhal%moonset.net a66b0e2a0f 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 dd0670bad9 Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron 2004-10-01 17:15:15 +00:00
bzbarsky%mit.edu 90316a1bc6 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 5d02f350d2 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00