207 Commits

Author SHA1 Message Date
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
sayrer%gmail.com
1173d9db39 bug 361005. remove nsCRT::strdup from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215393 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:49:06 +00:00
mats.palmgren%bredband.net
d961be1bb3 Limit -moz-column-count to 1000 to avoid "hang" for insanely large numbers. b=345583 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209808 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 00:37:23 +00:00
dbaron%dbaron.org
db9c24c976 Missed an out-of-memory check. b=335729 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195613 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 23:56:53 +00:00
bzbarsky%mit.edu
56bf4221c4 Make sure our IMAGE_NONE flag is always in sync with whether we have a
background image.  Bug 311526 followup, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195083 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:52:14 +00:00
dbaron%dbaron.org
40ad3b0e51 Use macros for the beginning and end of nsRuleNode::Compute*Data. b=332333 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194452 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 07:17:43 +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
pavlov%pavlov.net
dffa7cd65d backing out 205001 as it broke Windows printing. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@190762 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 22:56:02 +00:00
masayuki%d-toybox.com
4d6c699705 Bug 205001 the print scale is ignored at using CSS absolute length unit r=dbaron, sr=roc
git-svn-id: svn://10.0.0.236/trunk@190563 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 09:38:54 +00:00
dbaron%dbaron.org
61aa9f089d Change the way having allow documents to use other fonts unset works: convert everything specified into either the monospace or serif/sans-serif generic depending on whether the monospace generic was specified anywhere in the list. b=159440 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@189775 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 17:41:50 +00:00
bzbarsky%mit.edu
966ce3660d Fix rounding errors in percentage font-size handling. Bug 182670, patch by Eli
Friedman <sharparrow1@yahoo.com>, r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@188017 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 22:45:31 +00:00
tor%cs.brown.edu
fe2017034e Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris


git-svn-id: svn://10.0.0.236/trunk@187897 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 17:00:43 +00:00
ginn.chen%sun.com
5e70529bc8 Bug 255411 "Use my colors" preference makes popup/hover frames have transparent background
r=bzbarsky sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180852 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 08:08:09 +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
bzbarsky%mit.edu
26af641d58 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00