bryner%brianryner.com
ed98c9a308
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +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
dbaron%dbaron.org
f016bec80e
Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst
2004-02-25 21:04:50 +00:00
sicking%bigfoot.com
17ca2df349
Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
...
r=peterv sr=jst
2004-02-24 23:55:18 +00:00
mkaply%us.ibm.com
7a20037260
#234412
...
r=pedemont, sr=dbaron
Add divide by zero check to rulenode
2004-02-24 23:15:18 +00:00
dbaron%dbaron.org
7734c4c4c4
Attempt to fix Windows bustage.
2004-02-24 07:37:36 +00:00
dbaron%dbaron.org
eafdebc6f0
Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc
2004-02-24 06:48:25 +00:00
bryner%brianryner.com
5f7a8b383e
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
darin%meer.net
05c39fbe7d
bustage fix r=dbaron
2004-02-19 21:01:29 +00:00
dbaron%dbaron.org
7ba1fa93f2
Fix up quirk.css for bidi as well. b=74880 r=fantasai sr=bzbarsky
2004-02-19 18:21:16 +00:00
dbaron%dbaron.org
d1078e6485
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
2004-02-19 18:04:15 +00:00
dbaron%dbaron.org
43ca4b48b9
Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky
2004-02-19 18:02:20 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +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
dbaron%dbaron.org
952d32ee39
Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
2004-02-09 06:55:14 +00:00
dbaron%dbaron.org
a52a065fe2
Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky
2004-02-08 19:43:50 +00:00
dbaron%dbaron.org
456b60e585
Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky
2004-02-08 19:22:47 +00:00
dbaron%dbaron.org
49aa2c0ab9
Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky
2004-02-08 07:29:42 +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
dbaron%dbaron.org
7eed40eacb
Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky
2004-02-05 00:19:19 +00:00
dbaron%dbaron.org
8339f01ba5
Relanding changes for bug 74880.
2004-02-04 08:16:19 +00:00
dbaron%dbaron.org
9ecdb39d54
Backing out part of changes to see which part is causing performance problem. b=74880
2004-02-04 08:03:40 +00:00
dbaron%dbaron.org
474bdc807e
Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky
2004-02-04 06:10:56 +00:00
neil%parkwaycc.co.uk
fecf778c64
Bug 232545 fix marquee regression caused by xbl content sink change r=doron sr=bz
2004-02-03 16:46:20 +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
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
bc74f0b352
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
sicking%bigfoot.com
1152b3d656
More bug 195350 work: Make html use new nsAttrAndChildArray class.
...
r=caillon sr=jst
2004-01-26 19:22:05 +00:00
dbaron%dbaron.org
f3af1a7aef
Fix two problems with display fixups. b=231787 r+sr=bzbarsky
2004-01-22 21:34:04 +00:00
bryner%brianryner.com
23ecb8ff4e
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
2004-01-21 23:05:10 +00:00
bryner%brianryner.com
ef5c330583
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
379d6c8a41
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
caillon%returnzero.com
619d905d92
Bug 230976.
...
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +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
bzbarsky%mit.edu
498627aad7
Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst
2004-01-17 20:04:26 +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
b8ca5986ed
Remove bogus assertion (decl should be null for elt.style, if there's no style attribute). r+sr=bzbarsky
2004-01-15 21:00:35 +00:00
bryner%brianryner.com
072b7160a8
Consolidate SetEnabled and SetDisabled; make sure both of them clear the rule cascade on the rule processors. Bug 230651, r+sr=bzbarsky.
2004-01-15 03:26:56 +00:00
dbaron%dbaron.org
9e6a8ccd41
Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben
2004-01-15 02:25:08 +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
dbaron%dbaron.org
7c0fd2338b
Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141
2004-01-14 20:12:03 +00:00
dbaron%dbaron.org
d33950dfac
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
2004-01-14 01:36:35 +00:00
bzbarsky%mit.edu
8093efd14c
Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
...
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu
15a648ab14
Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
...
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com
6996bca809
Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky.
2004-01-13 02:19:28 +00:00
bzbarsky%mit.edu
04b733ce1c
Don't allow pseudos that are supposed to be functions to pass through as ident
...
tokens. Bug 230704, r+sr=dbaron
2004-01-12 23:56:18 +00:00
bzbarsky%mit.edu
f2c4812c7e
Argh. Forgot to remove a tab.
2004-01-12 23:55:30 +00:00
bzbarsky%mit.edu
34d04cee4a
Don't apply document rules to anonymous content inside the marquee. Bug
...
159747, r+sr=dbaron
2004-01-12 23:44:51 +00:00
bzbarsky%mit.edu
bc704c519e
Fix regression bug 230620. r+sr=dbaron
2004-01-11 22:03:41 +00:00
bzbarsky%mit.edu
1730b82b19
Don't use HTML rules to parse (redundantly) media strings in CSS @import
...
rules. Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
jst%mozilla.jstenback.com
c000ae86e8
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
3bfe589ac4
Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner
2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
cbiesinger%web.de
e6c5b5084d
bug 230343, support CSS2.1 cursor:progress
...
r+sr=dbaron
2004-01-08 21:27:56 +00:00
bryner%brianryner.com
16be23821e
Additional cleanup related to bug 64116. r=bzbarsky.
2004-01-08 19:23:12 +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
bzbarsky%mit.edu
bba32c2126
Make AdjustComputedWidth/Height take a boolean that tells it whether to account
...
for box-sizing; sometimes we don't want to. Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
dbaron%dbaron.org
0f9e71d4a6
Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron
2003-12-30 17:58:17 +00:00
dbaron%dbaron.org
40deca4b2f
Remove no-longer-needed hook for inspector. b=224164
2003-12-29 19:17:22 +00:00
dbaron%dbaron.org
44b9fdaacb
Fix overuse of inlining in nsCSSValue. r=bryner b=224165
2003-12-29 19:07:53 +00:00
dbaron%dbaron.org
5bd21833b4
Add a correct comment.
2003-12-29 16:39:50 +00:00
bryner%brianryner.com
d572bc76cf
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
dfe3513814
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
bmlk%gmx.de
a7b7022a68
remove old hack that breaks table abs. positioning, bug 145572 r/sr=dbaron
2003-12-19 19:19:52 +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
5803e6024c
Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan
2003-12-02 22:24:32 +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
jst%mozilla.jstenback.com
4183787fa9
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
dbaron%dbaron.org
fa64c454c5
Scale fixed line-heights when the minimum font size pref kicks in. b=158868 r+sr=bzbarsky
2003-11-18 05:53:22 +00:00
dbaron%dbaron.org
0851395ebe
Remove unneeded chromeOverride variable. b=225936 r+sr=bzbarsky
2003-11-17 04:10:55 +00:00
bzbarsky%mit.edu
a31bf95054
Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron
2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu
a491833633
-moz-initial, not initial. Use CSS keyword table to prevent this happening
...
again. Bug 120903, r+sr=dbaron
2003-11-16 01:12:50 +00:00
bzbarsky%mit.edu
0345e33456
Set text-indent:0 on all form controls to keep it from inheriting down to the
...
anonymous blocks inside. Bug 56253, r+sr=dbaron
2003-11-14 23:00:56 +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
dbaron%dbaron.org
748a5e9749
Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky
2003-11-13 22:48:05 +00:00
bzbarsky%mit.edu
38703b7a11
Fix bug 101320 -- padding on small border-box sizing things with non-auto
...
widths is not a good idea. Very old patch by rods, r=bzbarsky (now),
sr=attinasi (then). Did I mention this patch is old?
2003-11-09 07:40:09 +00:00
bzbarsky%mit.edu
f61bfe9a35
Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
...
Palmgren), r+sr=bzbarsky
2003-11-05 04:51:17 +00:00
bzbarsky%mit.edu
35a384e555
Correctly ignore adjacent type selectors with no combinator. Bug 224188,
...
r+sr=dbaron
2003-11-04 03:16:10 +00:00
dbaron%dbaron.org
c25969ae98
Clamp -moz-opacity to the range [0.0,1.0]. b=224478 r+sr=roc
2003-11-02 22:40:43 +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
peter%propagandism.org
f9f591a28f
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 10:57:41 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
76a2fc58c8
Backing out previous checkin.
2003-10-30 05:11:21 +00:00
dbaron%dbaron.org
2da0107bd9
Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner
2003-10-30 04:34:01 +00:00
dbaron%dbaron.org
f9e4a941cf
Attempt to fix Windows bustage. b=167262
2003-10-30 03:34:58 +00:00
caillon%returnzero.com
150adb2e29
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bzbarsky%mit.edu
f3ef614ee5
Remove no-longer-used nav4algorithm code and corresponding debug code. Bug
...
223155, r+sr=dbaron
2003-10-30 02:19:15 +00:00
bzbarsky%mit.edu
33ca8d21d2
Make attr() parsing have better error reporting and bail on attr(*|foo). Bug
...
223746, r+sr=dbaron
2003-10-30 02:06:12 +00:00
timeless%mozdev.org
98152b3898
Bug 124218 if kCSSRawKeywords gets out of sync with eCSSKeyword_COUNT nsCSSKeywords::AddRefTable might crash in DEBUG code
...
r=bz sr=bz
2003-10-30 01:59:15 +00:00
dbaron%dbaron.org
a0d72c9110
Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky
2003-10-30 01:51:00 +00:00
dbaron%dbaron.org
e29417ff7f
Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky
2003-10-30 01:45:37 +00:00
dbaron%dbaron.org
ec0bfea4ea
Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky
2003-10-30 01:40:33 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
44da342b5c
Fix handling of id attrs to not assume that they are named "id" as much. Bug
...
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
uid502
d521946094
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu
f384166efa
Create a mozAutoDocUpdate class to handle automatically calling
...
BeginUpdate/EndUpdate on documents. Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns. Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu
7e19a9767b
Add pref for the default :active styling. Bug 142163, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org
b37db7c94f
Forgot to address review comment. b=221531 r+sr=bzbarsky
2003-10-14 21:06:58 +00:00
dbaron%dbaron.org
56fc1c9dc1
Miscellaneous cleanup of selector matching code:
...
* remove extra |if| around loop, and convert it from |while| to |for|.
* remove extra test for |result|
* rename |curdata| -> |prevdata| and |newdata| -> |data|.
* use |IsContentOfType| instead of |GetTag|
b=221531 r+sr=bzbarsky
2003-10-13 21:54:33 +00:00
uid502
7eecd9a0ef
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu
641223fdd9
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
2003-10-06 13:24:55 +00:00
bzbarsky%mit.edu
6a4a07fada
Better output on null URIs.
2003-10-06 02:56:27 +00:00
bzbarsky%mit.edu
d15e9d5a22
Fix debug DumpRegressionData method to not crash on null uris for things like
...
mBinding, mBackgroundImage, etc
2003-10-06 02:16:20 +00:00
dbaron%dbaron.org
96fc11cf66
Add empty constructor to fix Sun compiler bustage. b=221187 Patch from Harshal Pradhan <keeda@hotpop.com>. r+sr=dbaron
2003-10-04 16:25:55 +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
bzbarsky%mit.edu
a972a3e501
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org
71f6aee8cf
Fix DEBUG bustage. b=113173
2003-10-02 02:58:40 +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
stephend%netscape.com
f9e026a7da
Trivial grammatical comment change (from 'is that when it recurs' to 'in that when it recurs'... r/sr=bz
2003-09-28 06:20:24 +00:00
dbaron%dbaron.org
8ae7b198b9
Spelling too. b=220464
2003-09-28 05:39:03 +00:00
dbaron%dbaron.org
43995a65d9
Fix 80th column violations in code that I just reindented. b=220464
2003-09-28 05:35:25 +00:00
dbaron%dbaron.org
80185d0dbb
Eliminate excess variables and their baroque (and broken, thanks to the previous checkin) reference counting. b=220464 r+sr=bzbarsky
2003-09-28 05:30:09 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
02841a0db4
Make charset-detection code work with just a BOM (no @charset rule) in the
...
sheet. Bug 218915, r=smontagu, sr=dbaron
2003-09-25 05:57:28 +00:00
bzbarsky%mit.edu
92a98432ec
Make <select size="0"> act like <select size="1">, and some tweaks to make
...
<select size="1" multiple> work better. Bug 182681, patch idea from
the_great_spam_bin@yahoo.com (Ari), r=bryner, sr=dbaron
2003-09-25 05:44:51 +00:00
bzbarsky%mit.edu
622947d710
Make DOM CSS declarations smaller by mRefCnt, since they are refcounted
...
together with their DOM rules (except for inline style). Bug 215735,
r+sr=dbaron
2003-09-24 03:34:27 +00:00
dbaron%dbaron.org
8aa5fdd615
Fix --disable-xul bustage. b=219058
2003-09-22 23:52:16 +00:00
dbaron%dbaron.org
3e6e65d074
Allow list numbering to work on elements with 'overflow'. b=219716 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky
2003-09-22 22:07:48 +00:00
dbaron%dbaron.org
14ff1fa0fe
Accept :-moz-tree-* pseudo elements with a single colon in them. b=219058 r+sr=bzbarsky
2003-09-21 05:21:40 +00:00
dbaron%dbaron.org
c49da48965
Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
2003-09-16 22:09:18 +00:00
dbaron%dbaron.org
506e1cf947
Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky
2003-09-13 19:18:52 +00:00
bsmedberg%covad.net
0568e675fc
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
2fcdb4e2d5
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 21:50:21 +00:00
bzbarsky%mit.edu
59d4caaee1
Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
2003-08-11 18:16:48 +00:00
roc+%cs.cmu.edu
0b8cd870e1
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
rbs%maths.uq.edu.au
408bf58f3f
Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron
2003-08-05 02:07:14 +00:00
bzbarsky%mit.edu
9aa115b961
Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron
2003-07-30 23:45:34 +00:00
caillon%returnzero.com
a9e2dece76
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
e2dae4d2f9
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu
93aa1eeb86
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
2003-07-28 21:09:56 +00:00
bsmedberg%covad.net
01ee486155
Fix assertion from bug 211470, rs=bz
2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
3d0c40f387
Forgot a review nit from bug 211470.
2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
279d0db1f7
Bug 211470 - need a common nsURIHashKey r=darin sr=bz
2003-07-27 15:20:11 +00:00
bzbarsky%mit.edu
d05c67bce3
Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
...
r+sr=dbaron
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com
95899387f6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu
9a4b8706ea
Remove unused variable.
2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu
d0666152a5
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
jaggernaut%netscape.com
6ab6643eee
Fix bustage
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
9819e5e8fa
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:40:43 +00:00
bzbarsky%mit.edu
aad8c26a95
Fixing build bustage.
2003-07-18 02:00:01 +00:00
caillon%returnzero.com
7495519180
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
840b81c0cd
Make the URI of a sheet be its final URI after all the redirects, not the URI
...
linked to from the original document. Bug 96858, r+sr=dbaron
2003-07-18 00:35:49 +00:00
jaggernaut%netscape.com
817298ce0b
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
0f8da4d057
A little selector matching cleanup. b=212603 r+sr=bzbarsky
2003-07-13 23:09:10 +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
2fec18446c
Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
2003-07-11 20:44:25 +00:00
dbaron%dbaron.org
296a055325
Attempt to fix warning by ensuring one path is always used, even for invalid ids. b=210550 r+sr=bzbarsky
2003-07-11 20:42:59 +00:00
dbaron%dbaron.org
35a6c43f33
Convert jump tables to if-else trees to avoid the performance cost of function pointers. b=210550 r+sr=bzbarsky
2003-07-09 03:46:27 +00:00
bzbarsky%mit.edu
4ee83f7ab9
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
2003-07-09 01:48:20 +00:00
jaggernaut%netscape.com
6ca349f43f
Bug 210834: Bogus comparison in nsCSSParserImpl::ParseURL. r=bzbarsky, sr=jst
2003-07-08 11:49:48 +00:00
bzbarsky%mit.edu
3a26daf50b
Update comments to reflect the fact that there is no longer a change hint
...
passed to the macros.
2003-07-08 07:12:17 +00:00
bzbarsky%mit.edu
fbbd9fb60e
This line should not have snuck in.
2003-07-07 22:03:32 +00:00
bzbarsky%mit.edu
b2ba25b6fd
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
0c5dc097d7
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu
10600c0acd
Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
...
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968). Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug). Patch in bug 62843. r+sr=dbaron
2003-07-04 01:33:10 +00:00
bzbarsky%mit.edu
0b0c3f7646
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
dbaron%dbaron.org
29254c752a
Remove hints from CSS property list. b=158713 r+sr=bzbarsky
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
b10e90f02b
Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky
2003-07-02 21:05:09 +00:00
bzbarsky%mit.edu
fd57f310f1
Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
...
origin charset. Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
dbaron%dbaron.org
c00fbe09c4
Clean up EnsureBlockDisplay and make it do the right thing for inner table display types. b=210873 r+sr=bzbarsky
2003-06-30 21:48:56 +00:00
dbaron%dbaron.org
97c994908a
Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky
2003-06-30 21:39:22 +00:00
dbaron%dbaron.org
ef811ed02b
Fix crash bug 209575 by ensuring that mDeclaration is never null. Remove unneeded null checks. r+sr=bzbarsky
2003-06-30 21:31:25 +00:00
dbaron%dbaron.org
a835d37852
Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc
2003-06-27 21:06:45 +00:00
dbaron%dbaron.org
1ce98378e3
Fix windows bustage. b=188803
2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
06bb24f863
Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
6a1ab46ff2
Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky
2003-06-24 05:34:30 +00:00
bzbarsky%mit.edu
61a6512de2
Fix matching when attribute selectors with "*" as a namespace are involved.
...
Bug 210314, r+sr=dbaron
2003-06-24 04:50:05 +00:00
bzbarsky%mit.edu
f75f9017d9
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
bzbarsky%mit.edu
46701a74ea
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
2003-06-23 18:34:02 +00:00
jshin%mailaps.org
d208f051a7
bug 206379 : additional patch : get rid of ResolveCharset() (static) and
...
rely on GetUnicodeDecoder() of nsICharacterSetConverterManager to take care of
the charset alias resolution. (r/sr=bzbarsky, sr=alecf)
2003-06-23 05:04:43 +00:00
dwitte%stanford.edu
b444fcb403
removing some unused default ctors now that nsDerivedSafe can handle it.
...
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
jst%netscape.com
947ba67a9d
Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
2003-06-21 00:26:28 +00:00
bzbarsky%mit.edu
f6e49f740f
Check that we are HTML, in addition to checking namespace, before going
...
case-insensitive. Bug 209271, r+sr=dbaron
2003-06-20 20:23:17 +00:00
dbaron%dbaron.org
51e6755ccd
Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
2003-06-20 01:22:44 +00:00
mkaply%us.ibm.com
e0dae80908
#188071
...
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow
2003-06-18 20:47:40 +00:00
dbaron%dbaron.org
146a7a98ed
OOM check. r+sr=bzbarsky b=188803
2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
fe7914e2c9
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
dbaron%dbaron.org
fb04d1df25
Specify 'word-spacing: normal; letter-spacing: normal' for input and textarea so that 'word-spacing' and 'letter-spacing' on ancestors of text inputs don't mess up the spacing inside. b=209615 r=jkeiser sr=bz
2003-06-17 18:01:51 +00:00
alecf%flett.org
b7fa256d74
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
4b4e411eac
Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst
2003-06-17 16:22:51 +00:00
aaronl%netscape.com
fccde7c7eb
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
dbaron%dbaron.org
39d390d27f
Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky
2003-06-14 23:50:54 +00:00
bzbarsky%mit.edu
e49f24690b
CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
...
r+sr=dbaron
2003-06-14 20:44:26 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
caillon%returnzero.com
c0d2e93d73
Bug 209133
...
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)
r=timeless sr=jst
2003-06-12 02:54:16 +00:00
dbaron%dbaron.org
73cdfadc6a
Fix silly mistake. b=209091 r+sr=bzbarsky
2003-06-12 00:03:32 +00:00
alecf%flett.org
2751c6b097
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org
4919c99863
Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky
2003-06-10 22:09:58 +00:00
dbaron%dbaron.org
439819ce83
Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky
2003-06-10 22:08:40 +00:00
dbaron%dbaron.org
f8f9bcc4be
Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron
2003-06-08 19:52:22 +00:00
dbaron%dbaron.org
57174ecf3a
Fix bustage on compilers with broken for loop scoping. b=125246
2003-06-08 00:36:08 +00:00
dbaron%dbaron.org
91c1698053
VC++ doesn't seem to like empty arguments to macros. Fixing bustage. b=125246
2003-06-07 23:29:05 +00:00
dbaron%dbaron.org
0a143da53b
Put more information on the CSS properties in nsCSSPropList.h.
...
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246 r+sr=bzbarsky
2003-06-07 22:14:42 +00:00
bmlk%gmx.de
7baca1626f
anonymous table cell frames should not have a default padding, td and th padding defaults are set in html.css, bug 72359, patch proposed by hixie some time ago (2001-06-21) r=bernd sr=dbaron
2003-05-31 09:16:23 +00:00
bryner%netscape.com
5090c7bf22
Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser.
2003-05-29 22:39:05 +00:00
bzbarsky%mit.edu
2d8c24058a
Make some static data const in content. Bug 204532, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
cbiesinger%web.de
8dc2f15ba0
patch by tenthumbs@cybernex.net r+sr=bz bug 206864
...
Incorrect comparison in content/html/style/src/nsCSSParser.cpp
2003-05-26 16:59:40 +00:00