387 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
dbaron%dbaron.org
7cff9ab236 Use a local stack rather than the call stack in SkipUntil to avoid excessive recursion. (Bug 432561) r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255614 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-22 15:44:50 +00:00
martijn.martijn%gmail.com
8aef1d6df6 Bug 441703 direction attribute of marquee should be case-insensitive (for selector matching), r+sr=dbaron, a=ss
git-svn-id: svn://10.0.0.236/trunk@253647 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 23:14:16 +00:00
mozilla%weilbacher.org
ff10632a73 Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246159 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 08:37:30 +00:00
mats.palmgren%bredband.net
2efcf10391 Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@245862 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 04:45:59 +00:00
bzbarsky%mit.edu
6c8a73dee7 Change the nsICSSParser::Parse() API so that we don't hand out a stylesheet;
require a stylesheet to be set before calling Parse().  Bug 404315,
r+sr=dbaron, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@245761 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 04:21:57 +00:00
dbaron%dbaron.org
ed7bc7f531 Make CSS namespace identifiers case sensitive to match change in spec. b=416106 r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/trunk@245254 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 19:57: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
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
reed%reedloden.com
dda31ecdc2 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@242241 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-01 10:11:08 +00:00
jonas%sicking.cc
474e1b8270 bug 384612: Remove script from scrollbar XBL binding. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@239674 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-19 20:08:21 +00:00
bzbarsky%mit.edu
19f3323d77 Make the "href" property of stylesheets reflect the original URI that was
reflected to load the sheet.  Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore


git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +00:00
reed%reedloden.com
95069b677b Bug 394844 - "nsCSSParser.cpp: aSkipWS parameter of ExpectEndProperty and GetURLToken can be removed as it is always PR_TRUE" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=dbaron]
git-svn-id: svn://10.0.0.236/trunk@237431 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 23:17:14 +00:00
jwalden%mit.edu
4b94f26154 Bug 393757 - Don't report CSS style errors for identifiers designated as vendor-specific by the CSS spec. This means we won't report errors for things like _width or for any of the -khtml-, -webkit-, -o-, -ms-, etc. properties, cutting down on error console spam a touch. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237250 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 04:58:27 +00:00
reed%reedloden.com
c23957cf5f Bug 389685 - "Empty style attribute generates strange css warning" [p=elif (sharparrow1) r+sr+a1.9=dbaron]
git-svn-id: svn://10.0.0.236/trunk@237238 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 03:20:36 +00:00
dbaron%dbaron.org
3849fa7566 Fix leak of nsCSSValueList. b=397149 r+sr=bzbarsky a=roc
git-svn-id: svn://10.0.0.236/trunk@236757 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 16:28:14 +00:00
bzbarsky%mit.edu
a8dbbd9783 Fix up whitespace issue from checking in -w patch. No code change. Bug 390318
git-svn-id: svn://10.0.0.236/trunk@231864 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 22:17:20 +00:00
bzbarsky%mit.edu
6824075bdd Fix EOF handling after an !important. Bug 390318, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231356 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:20:12 +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
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
bzbarsky%mit.edu
afdd80c5eb Have the rule take ownership of the parsed selector when we're done parsing it
instead of cloning the selector.  Bug 386123, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@230720 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 01:48:10 +00:00
roc+%cs.cmu.edu
a9b24741e2 Bug 364680. Intrinsic widths for columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@230345 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 02:21:44 +00:00
dbaron%dbaron.org
8a0887a6cf Don't check for namespaced attributes when checking which attributes have case-insensitive values. b=387615 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@229758 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 22:24:19 +00:00
dbaron%dbaron.org
8d1562fbb6 Reverse the list of which HTML attributes have case-sensitive values for the CSS attribute selector (i.e., list the ones whose values are case-insensitive instead, so new attributes are case sensitive by default). b=357614 Patch by Niels Leenheer (rakaz) <niels.leenheer@gmail.com>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@229640 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 23:23:05 +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
sharparrow1%yahoo.com
25ec94e5eb Bug 387044: cleanup string usage in nsCSSParser. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@229402 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 01:21: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
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
mats.palmgren%bredband.net
263b383ccf Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227593 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 17:56:18 +00:00
martijn.martijn%gmail.com
7382c8822c Bug 383030 – Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227437 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-03 21:15:46 +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
d2a2e4419b Fix bad string comparison preventing 'none' and 'initial' values of 'counter-increment' and 'counter-reset' from being parsed correctly. b=379555 r+sr=dbaron Patch by Daniel Holbert <dholbert@mozilla.com>.
git-svn-id: svn://10.0.0.236/trunk@225556 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 00:05:16 +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
c6a333df55 Propagate a stylesheet's principal to the URI and Image CSSValues derived from
that sheet.  Bug 377091, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu
e68352cec4 Fixing parsing of opacity components of rgba() and hsla() that are out of the
0 <= x <= 1 range.  Bug 379316, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225320 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 03:50:31 +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
bzbarsky%mit.edu
db4a0905b7 Round instead of truncating when converting a percentage color into an
integer.  Bug 340613, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224859 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 22:03:30 +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
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
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
roc+%cs.cmu.edu
2da351febf Bug 336682. Fix online/offline events to target and bubble propertly, and so that <body ononline= onoffline=> works. Patch by Chris Double, r+sr=jst,r=dbaron
git-svn-id: svn://10.0.0.236/trunk@221857 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 01:42:42 +00:00
dbaron%dbaron.org
535f44f6e4 Round the alpha component in computed style as well. b=372782 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221563 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 18:44:45 +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
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +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