Commit Graph

2016 Commits

Author SHA1 Message Date
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