dbaron%dbaron.org
da745299c9
Implement CSS2 counters. b=3247 r+sr=bzbarsky
2005-04-01 23:07:00 +00:00
dbaron%dbaron.org
4b1913ff77
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
2005-03-30 00:36:57 +00:00
mats.palmgren%bredband.net
4f49d3bf00
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
bzbarsky%mit.edu
fd38902270
Make the nsStyleBorder constructor be smarter about setting default border
...
style; nix the unnecessary BORDER_STYLE_DEFINED stuff. Bug 279156, r+sr=dbaron
2005-02-18 06:09:36 +00:00
tor%cs.brown.edu
0ee1400807
Bug 193825 - <svg:clipPath> implementation.
...
r=scooter, sr=dbaron for shared moz files.
2005-01-25 03:55:03 +00:00
bzbarsky%mit.edu
1045658648
Fix test for none/hidden border styles to work correctly. Bug 275139, r+sr=dbaron
2005-01-20 16:49:57 +00:00
cbiesinger%web.de
b71e2a3790
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
cbiesinger%web.de
fbf5e17933
263671 make nsStyleUserInterface::CalcDifference return correct style hints if
...
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz
2004-12-28 13:48:25 +00:00
tor%cs.brown.edu
b3e2c4245d
Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron
2004-12-09 03:16:15 +00:00
bzbarsky%mit.edu
da145480c7
Fix asserts by making sure that border-spacing is always computed to coord
...
values. Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
roc+%cs.cmu.edu
c59dda520c
Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron
2004-11-26 18:40:58 +00:00
bzbarsky%mit.edu
1cb3693088
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
tor%cs.brown.edu
4dc9eba112
Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz
2004-11-09 18:19:28 +00:00
aaronleventhal%moonset.net
99ef95d12f
Bug 251498. Implement outline-offset. r+sr=roc
2004-10-26 12:57:15 +00:00
dbaron%dbaron.org
52771912ef
Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa
2004-10-24 04:32:21 +00:00
tor%cs.brown.edu
1d8fcac4c6
Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
...
r=sicking,afri,tor,jwatt. Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
roc+%cs.cmu.edu
c237520c89
Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu
432e6d1817
Add debug MaxDifference() function to style structs and add some asserts in
...
style context code to catch structs that are returning unexpected or bogus
hints. Bug 258910, r+sr=dbaron
2004-10-01 03:33:05 +00:00
dbaron%dbaron.org
6ea0c7fb7f
Fix VC7 bustage. b=258793
2004-09-13 20:40:46 +00:00
dbaron%dbaron.org
3827991ce7
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
c1681a238f
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
5948a3cb75
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
dbaron%dbaron.org
e7216e4d86
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
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
1236bd859f
Back out 236889 due to 253755.
2004-07-31 07:42:12 +00:00
dbaron%dbaron.org
ca843bb250
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
bryner%brianryner.com
0fd21c3872
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu
e0a7bb0095
Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron
2004-07-18 12:12:46 +00:00
dbaron%dbaron.org
4da6a59fbe
Backing out half of 236889.
2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
e4fd9c5b92
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
aaronleventhal%moonset.net
910e44a7d5
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
692a414811
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
2004-07-15 18:57:47 +00:00
bzbarsky%mit.edu
91e6373bba
Testing backout of bug 236889 to see effect on performance. a=#mozilla
2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
c01ff06f59
Pull nsStyleContent::AllocateContents out of line, to fix Windows bustage (since this file is included outside of layout and the compiler doesn't seem able to inline it. b=249809
2004-07-14 23:51:25 +00:00
dbaron%dbaron.org
4847dc9d90
Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
2004-07-14 22:19:22 +00:00
dbaron%dbaron.org
8722abfd09
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
aaronleventhal%moonset.net
be1b821056
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu
087ede0319
Bug 245297. Add basic style system support for columns. r+sr=dbaron
2004-06-17 11:57:37 +00:00
bryner%brianryner.com
97a65f9548
Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
2004-06-08 23:53:59 +00:00
bzbarsky%mit.edu
ba3fb994fa
Use a reflow (without forced repaint) hint for position struct changes. Bug
...
243882, r+sr=roc
2004-05-22 05:50:12 +00:00
caillon%redhat.com
56b3fc7a8c
Remove '-moz-resizer' from the style system.
...
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
bzbarsky%mit.edu
044950f9e0
Blink changes need to reflow. Bug 236897, r+sr=dbaron
2004-05-02 04:51:08 +00:00
neil%parkwaycc.co.uk
c27485ffcc
Bug 240562 Remove unused variable p=gautheri@noos.fr r=glazou sr=roc
2004-04-19 22:31:12 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
0af1a79c51
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
dbaron%dbaron.org
90369f8699
Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky
2004-04-12 21:54:45 +00:00
dbaron%dbaron.org
41c16857c2
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
bmlk%gmx.de
ea9e726b8b
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu
134fed8856
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
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