221 Commits

Author SHA1 Message Date
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
dbaron%dbaron.org
fd2e86c15a Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +00:00
mats.palmgren%bredband.net
75d8703396 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226109 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 06:56:14 +00:00
mats.palmgren%bredband.net
b87f472365 Backing out bug 379906 to fix orange.
git-svn-id: svn://10.0.0.236/trunk@226108 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 06:25:04 +00:00
mats.palmgren%bredband.net
35c84837f8 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226106 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 05:46:37 +00:00
dbaron%dbaron.org
03a83ad9f2 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
72fcefb872 When we have a url() value that doesn't give us an imgIRequest (e.g. couldn't
create nsIURI, URI load blocked by security manager, etc), make sure to still
pick up the fallback value for cursor.  Bug 379440, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225511 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 06:33:13 +00:00
bzbarsky%mit.edu
afde507a3b Implement "content: none". Bug 378535, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225126 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:43:06 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
dbaron%dbaron.org
0d353ca4ab A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224819 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 00:16:52 +00:00
dbaron%dbaron.org
3480ec552c Fix regression of background-position serialization. b=258080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224700 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 20:41:15 +00:00
dbaron%dbaron.org
1337feb9b0 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224557 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:25:21 +00:00
longsonr%gmail.com
952bfbf92e Bug 368836 - improve support for initial in SVG. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224397 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 08:27:27 +00:00
dbaron%dbaron.org
7c4a569eb6 Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@222660 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 22:02:10 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
masayuki%d-toybox.com
7aac338174 Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
dbaron%dbaron.org
1e94da33b0 Allow display:inline-block to be used on :before and :after. b=368622 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219398 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:13:37 +00:00
longsonr%gmail.com
0f7134181a Bug 307708 û filters should operate in linearRGB color space by default r=dbaron,r=tor,sr=roc
git-svn-id: svn://10.0.0.236/trunk@219177 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 13:19:55 +00:00
dbaron%dbaron.org
3052400d5e Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:36:57 +00:00
roc+%cs.cmu.edu
7bc222b695 Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218489 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:25:38 +00:00
tor%cs.brown.edu
ea0e16f461 Bug 326143 - floodColor and floodOpacity should be non-inherited
properties.  r=dbaron


git-svn-id: svn://10.0.0.236/trunk@218080 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 20:40:09 +00:00
longsonr%gmail.com
e20fd15388 Bug 264132 û Implement fallback for SVG paint servers r=dbaron,sr=tor
git-svn-id: svn://10.0.0.236/trunk@218053 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 11:02:17 +00:00
tor%cs.brown.edu
6dff24dcdc Bug 326143 - Implement feFlood and feTurbulence filter elements.
Patch by tor and malex@cs.utexas.edu, r=tor, sr=roc


git-svn-id: svn://10.0.0.236/trunk@217993 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 16:48:56 +00:00
bzbarsky%mit.edu
11427fca97 Make the GetStyle* getters not go through GetStyleData() so they can be
faster.  Bug 360870, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216883 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 17:44:45 +00:00