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

271 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com c3ab816242 Trivial change to not run the nsFont default ctor here. r+sr=dbaron. 2004-02-25 23:15:11 +00:00
bryner%brianryner.com 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
bryner%brianryner.com 4f69ec2c2e Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
bryner%brianryner.com 42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bryner%brianryner.com 08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
dbaron%dbaron.org aa4d378d63 Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky 2004-01-18 01:12:58 +00:00
caillon%returnzero.com 3b526b4352 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
dbaron%dbaron.org 8c4b7fe415 Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben 2004-01-15 02:24:17 +00:00
bryner%brianryner.com e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bzbarsky%mit.edu 567e341b75 Make sure to reframe when the "rules" attribute changes, since tables cache all
sorts of border-collapse stuff across reflows.  Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +00:00
dbaron%dbaron.org a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
bzbarsky%mit.edu d45f5c0447 Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
55967, r+sr=dbaron
2003-11-14 22:55:46 +00:00
uid502 91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
dbaron%dbaron.org 0a21971808 Missed CalcDifference changes in previous patch. r+sr=bzbarsky b=113173 2003-10-04 06:36:33 +00:00
dbaron%dbaron.org 5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
roc+%cs.cmu.edu 0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
dbaron%dbaron.org d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
bryner%netscape.com 3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org 3069e2548c Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu 3d685b697d Dynamic changes to border-collapse should produce the right hint. Bug 191794,
r=bernd, sr=dbaron, a=asa
2003-02-13 19:06:18 +00:00
caillon%returnzero.com 0ab3beee78 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
cbiesinger%web.de b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
caillon%returnzero.com 8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
dbaron%fas.harvard.edu dc83a84103 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
timeless%mozdev.org 5813d0cd92 Bug 133708 Simplify nsStyleList::CalcDifference
r=dbaron sr=brendan
2002-11-06 07:31:27 +00:00
bzbarsky%mit.edu adfb8db44b Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
sr=dbaron, a=roc+moz
2002-10-13 18:55:12 +00:00
caillon%returnzero.com 5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu 12c92754b3 Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227 2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu 88a7759322 Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
bzbarsky%mit.edu 355f48a3e9 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.
2002-08-15 23:00:23 +00:00
dbaron%fas.harvard.edu 79638e5f49 Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768 2002-08-14 12:34:39 +00:00
caillon%returnzero.com 0fbcecb364 Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
r=bzbarsky sr=dbaron
2002-08-07 07:39:34 +00:00
seawood%netscape.com 0597412383 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu 750ed97f3f Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin 2002-06-21 22:31:19 +00:00
dbaron%fas.harvard.edu 2d7fe2e0eb Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson 2002-05-01 00:17:04 +00:00
attinasi%netscape.com 23630d30e8 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa 2002-03-26 20:14:05 +00:00
smontagu%netscape.com 37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
karnaze%netscape.com 679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
dbaron%fas.harvard.edu 8e0def5119 Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt 2002-02-16 16:24:25 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
roc+%cs.cmu.edu c7b73c1a18 Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson 2002-01-27 07:53:27 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
hyatt%netscape.com e3f61bf44f Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt 2002-01-04 00:28:01 +00:00
hewitt%netscape.com 6e97fb640d 115804 - nsStyleBorder::CalcDifference not accounting for mBorderColors, r=ben, sr=hyatt 2001-12-19 11:59:31 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
hyatt%netscape.com 11d99aab43 Fix smoketest blocker. 2001-12-05 19:46:43 +00:00
hyatt%netscape.com 91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
bzbarsky%mit.edu fbe8c76d57 Fixing bogus indentation that I missed (checked in old version of
patch). bug 84599 reprise, r=glazou, sr=attinasi (still).
2001-11-11 03:56:49 +00:00
bzbarsky%mit.edu c255aa1143 Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi
2001-11-10 17:29:04 +00:00
karnaze%netscape.com 1d522d115b bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre. 2001-11-06 22:52:59 +00:00
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
bzbarsky%mit.edu cca316e69b Make changes to clip property trigger a reflow change, not just a visual
change.  Bug 88653, r=pierre, sr=roc+moz
2001-10-10 00:21:02 +00:00
rbs%maths.uq.edu.au 7f1638d039 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com 2001-09-27 18:33:58 +00:00
hewitt%netscape.com 433ff11b78 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
rjesup%wgate.com 74a56c0ca5 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com a230194a5b Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi 2001-09-24 07:35:04 +00:00
hyatt%netscape.com e1abe2c919 Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +00:00
waterson%netscape.com 810f67dd7a Bug 91478. Don't incorporate mFlags when computing difference between two fonts. r=attinasi, sr=hyatt. 2001-07-22 22:49:52 +00:00
dbaron%fas.harvard.edu f7dfb32406 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958 2001-06-29 03:15:58 +00:00
hyatt%netscape.com 407949652d Fix for 83613. r=dbaron, sr=brendan, a=leaf 2001-06-01 21:04:23 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00