36 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c0cd260b34 Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron, a=ss
git-svn-id: svn://10.0.0.236/trunk@257515 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-17 00:36:23 +00:00
dbaron%dbaron.org
33854c535a Update properties that are ignored when 'Allow pages to choose their own colors' is unchecked for the splitting of left/right border properties and the introduction of start/end border properties. b=419167 Patch by Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247145 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 00:03:50 +00:00
bzbarsky%mit.edu
107d1cc76a Don't allow presentational attributes to set colors if the "don't use document
colors" pref is set.  Bug 400452, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@239524 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 03:46:43 +00:00
dbaron%dbaron.org
d55e6d1f6a Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc
git-svn-id: svn://10.0.0.236/trunk@237423 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 21:58:23 +00:00
dbaron%dbaron.org
084f9cd22e Fix accounting showing leak of CSS value types, and optimize CSS value constructors/destructors a bit. b=382027 r+sr=bzbarsky a1.9=roc
git-svn-id: svn://10.0.0.236/trunk@233194 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 06:47:32 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
gavin%gavinsharp.com
05d4064939 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@229244 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 13:59:02 +00:00
dbaron%dbaron.org
18208893da Block outline-color for always use my colors pref. b=380924 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226607 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 06:02:57 +00:00
dbaron%dbaron.org
d6e7785ed1 Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:10:32 +00:00
dbaron%dbaron.org
5333b54172 Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225209 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-28 16:03:15 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
dbaron%dbaron.org
a02fd2d2f8 File comments that show up in LXR and provide a quick summary of what's in each file.
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
bzbarsky%mit.edu
1bfc9d5e41 Fix bug 303812. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185016 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 21:08:47 +00:00
cbiesinger%web.de
90208b4cf2 bug 308409 convert ParseTextShadow to nsCSSValue::Array and nsCSSValueList
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180642 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 12:04:45 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
bzbarsky%mit.edu
13aba10e80 Don't call ValueAppended on every single inline style mutation. Should be a
tad faster, and actually serialize better.  Bug 288574, r+sr=dbaron, a=asa.


git-svn-id: svn://10.0.0.236/trunk@172819 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:19:24 +00:00
cbiesinger%web.de
a8dbace73d 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


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
dbaron%dbaron.org
11172c00bb Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165953 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu
f3fd99f0a7 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162049 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org
f5d5060a41 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
dbaron%dbaron.org
d1c1168c09 Back out 236889 due to 253755.
git-svn-id: svn://10.0.0.236/trunk@160168 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 07:42:12 +00:00
dbaron%dbaron.org
8c1a22db88 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160070 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 20:07:25 +00:00
dbaron%dbaron.org
5eab03ef1e Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159531 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 06:11:27 +00:00
dbaron%dbaron.org
c5cdb39b9a Back out again (except indentation fix). b=236889
git-svn-id: svn://10.0.0.236/trunk@159373 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 23:28:36 +00:00
dbaron%dbaron.org
3cc5d169b4 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland quarter of patch to test effect on pageload.
git-svn-id: svn://10.0.0.236/trunk@159372 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 22:55:42 +00:00
dbaron%dbaron.org
483db44bb1 Backing out half of 236889.
git-svn-id: svn://10.0.0.236/trunk@159367 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
95176bd66a 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.
git-svn-id: svn://10.0.0.236/trunk@159363 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 20:26:39 +00:00
bzbarsky%mit.edu
a569b89925 Testing backout of bug 236889 to see effect on performance. a=#mozilla
git-svn-id: svn://10.0.0.236/trunk@159232 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
27b14921d7 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159201 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:19:22 +00:00
dbaron%dbaron.org
ca93e21901 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159197 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:10:55 +00:00
bzbarsky%mit.edu
bb37b0e5f6 Add and use some convenience functions on nsCSSRect. Bug 208731, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155954 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 00:43:50 +00:00
bzbarsky%mit.edu
e7ad4f7000 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


git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org
123d96291d Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152944 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:02:20 +00:00
dbaron%dbaron.org
9f2fb7fb4a Remove hints from CSS property list. b=158713 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144408 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
cdf2a0078e Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143534 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:08:40 +00:00
dbaron%dbaron.org
bf4ec31727 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


git-svn-id: svn://10.0.0.236/trunk@143421 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 22:14:42 +00:00