245 Commits

Author SHA1 Message Date
karlt+%karlt.net
4f43733aa9 b=453827 block-height line-height r=bz sr=dbaron a=ss
git-svn-id: svn://10.0.0.236/trunk@258087 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-12 21:31:55 +00:00
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
453517be42 Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256054 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-03 04:17:11 +00:00
bzbarsky%mit.edu
3588aed15d Bug 460664. Reset prop inheritance should skip first-line even if the whole struct is inheriting. r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254921 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-06 19:51:49 +00:00
smontagu%smontagu.org
ebbb7491d6 Bug 435856: LTR overwrite after printing a page. r+sr=roc, a=ss
git-svn-id: svn://10.0.0.236/trunk@253197 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-22 11:59:15 +00:00
vladimir%pobox.com
3698fa6f8e b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250808 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-25 23:12:47 +00:00
vladimir%pobox.com
a588066a49 backing out
git-svn-id: svn://10.0.0.236/trunk@250513 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-20 08:24:43 +00:00
vladimir%pobox.com
16ecf4feae b=427122, padding on select elements ignored, r=dbaron,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250510 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-20 06:42:05 +00:00
dbaron%dbaron.org
365d3bef72 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247146 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 00:05:29 +00:00
dbaron%dbaron.org
61730063ca Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@246602 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:02:21 +00:00
dbaron%dbaron.org
b664e4d477 Make the minimum font size preference leave font-size:0 untouched. b=401046 r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/trunk@245320 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-09 19:15:29 +00:00
dbaron%dbaron.org
53a15aec19 Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/trunk@245249 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 19:51:41 +00:00
reed%reedloden.com
1fce33cc48 Bug 413274 - ""ASSERTION: How can this ever happen?: '*aUnconstrainedSize <= scriptLevelSize'"" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@244095 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 03:55:40 +00:00
roc+%cs.cmu.edu
8f351d6b6d Bug 411603. Avoid circular definition and infinite recursion by interpreting 'scriptminsize' in em/ex units as relative to the parent font size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@243021 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-13 20:57:03 +00:00
dwitte%stanford.edu
17637c1a37 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@242851 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 20:56:50 +00:00
roc+%cs.cmu.edu
7caf8b7991 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
bzbarsky%mit.edu
b983f5f096 Implement hixie's first-line proposal: only inherit properties that inherit by
default from ::first-line.  Inherit the reset properties from its style parent
(which is the node that we'd inherit from if the ::first-line were not there).
Bug 395623, r+sr=dbaron, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@238907 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 17:13:01 +00:00
tor%cs.brown.edu
cbc0c0a8a1 Bug 399289 - leak of nsBaseURLParser with svg paint. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237916 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 15:36:15 +00:00
tor%cs.brown.edu
4d17e0f1e6 Backout of 399289.
git-svn-id: svn://10.0.0.236/trunk@237781 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 18:59:22 +00:00
tor%cs.brown.edu
583413e034 Bug 399289 - leak of nsBaseURLParser with svg paint.
r=dbaron, sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@237773 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 16:37:04 +00:00
dbaron%dbaron.org
2183eba510 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc
git-svn-id: svn://10.0.0.236/trunk@237429 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 23:11:02 +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
bzbarsky%mit.edu
84edc3c7eb Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232178 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 23:20:26 +00:00
tor%cs.brown.edu
0722ee44b2 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@231040 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:57:43 +00:00
dbaron%dbaron.org
8b81abaf10 Remove additional unused code from system font redesign, and add one comment. b=377947 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231035 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:41:37 +00:00
dbaron%dbaron.org
23ab448471 Make SetGenericFont not use aStartStruct-based computation since it's fundamentally incompatible with it. b=216456 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231030 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:32:19 +00:00
dbaron%dbaron.org
1a0669a4e8 Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230988 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 23:14:47 +00:00
sharparrow1%yahoo.com
cf85fbccb8 Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230941 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:14:14 +00:00
dbaron%dbaron.org
5db8d4d5a2 Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230750 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 15:27:11 +00:00
dbaron%dbaron.org
69ad969c1d Avoid potential recursion into Compute*Data on the same rule node (for an inherited struct), which can cause a leak. Add bolder and lighter font-weight to CheckFontProperties. Fix incorrect propagation of generic fonts in ComputeFontData. b=383979 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230732 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 04:13:45 +00:00
dbaron%dbaron.org
c43accf129 Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230594 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:58:37 +00:00
dbaron%dbaron.org
9597e8db18 Make CheckFontProperties consider font-size:larger and font-size:smaller as well. b=388548 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230593 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:57:35 +00:00
dbaron%dbaron.org
fb9626881b Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230592 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:56:56 +00:00
tor%cs.brown.edu
03bf68f490 Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@230571 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 14:20:28 +00:00
bzbarsky%mit.edu
4738c3572d Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.


git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00
neil%parkwaycc.co.uk
998c53a562 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +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
dbaron%dbaron.org
2f24fe473a Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron
git-svn-id: svn://10.0.0.236/trunk@229329 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 18:51:40 +00:00
roc+%cs.cmu.edu
e5b5169706 Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228806 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 02:31:35 +00:00
dbaron%dbaron.org
0d40d0c7e0 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227883 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:29:11 +00:00
sharparrow1%yahoo.com
fe56577906 Bug 237770: Mozilla fails to ignore 'float' property even though 'position: absolute' is set. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@226857 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 05:55:03 +00:00
dbaron%dbaron.org
d3fb79a11a Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226545 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:17:21 +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
e8bf2016b6 Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226543 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:08:51 +00:00
bzbarsky%mit.edu
9eca0b92d5 Fix regression bug 380842: allow block-display generated content on table cells
and captions again.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@226526 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 16:57:28 +00:00
masayuki%d-toybox.com
605efe68cb Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +00:00
dbaron%dbaron.org
08ee109ec4 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226419 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 05:13:50 +00:00
dbaron%dbaron.org
80e25fa18a Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00