Граф коммитов

301 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky@mit.edu aa3fe869d6 When we have a url() value that doesn't give us an imgIRequest (e.g. couldn'tcreate nsIURI, URI load blocked by security manager, etc), make sure to stillpick up the fallback value for cursor. Bug 379440, r+sr=dbaron 2007-05-02 23:33:13 -07:00
bzbarsky@mit.edu c594c9357c Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-26 21:43:06 -07:00
benjamin@smedbergs.us 0ab7558e7b Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
dbaron@dbaron.org 8ffd0d3f56 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-20 17:16:52 -07:00
dbaron@dbaron.org 29eabb38e2 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
dbaron@dbaron.org f5e97f1e48 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky 2007-04-15 15:25:20 -07:00
longsonr@gmail.com 41b2c96659 Bug 368836 - improve support for initial in SVG. r+sr=dbaron 2007-04-11 01:27:27 -07:00
dbaron@dbaron.org b8a8ca5469 Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky 2007-03-30 15:02:09 -07:00
dbaron@dbaron.org 4d961c5c49 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
smontagu%smontagu.org 8de1814d8c Bug 435856: LTR overwrite after printing a page. r+sr=roc, a=ss 2008-07-22 11:59:15 +00:00
vladimir%pobox.com 313a21023a b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 23:12:47 +00:00
vladimir%pobox.com 9c33bc6b0a backing out 2008-04-20 08:24:43 +00:00
vladimir%pobox.com 25ace13385 b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-20 06:42:05 +00:00
dbaron%dbaron.org ac702fa597 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 2008-03-06 00:05:29 +00:00
dbaron%dbaron.org 7540e421e9 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+ 2008-02-27 02:02:21 +00:00
dbaron%dbaron.org d229a622da Make the minimum font size preference leave font-size:0 untouched. b=401046 r+sr=bzbarsky a=schrep 2008-02-09 19:15:29 +00:00
dbaron%dbaron.org 0835a67570 Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep 2008-02-08 19:51:41 +00:00
reed%reedloden.com b8471b669f Bug 413274 - ""ASSERTION: How can this ever happen?: '*aUnconstrainedSize <= scriptLevelSize'"" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=beltzner] 2008-01-27 03:55:40 +00:00
roc+%cs.cmu.edu 4be10dab4f 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 2008-01-13 20:57:03 +00:00
dwitte%stanford.edu 0751a915ec get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 20:56:50 +00:00
roc+%cs.cmu.edu 9435c53623 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 2008-01-09 09:38:32 +00:00
roc+%cs.cmu.edu c43fe7d97d backing out bug 355548 due to test failures 2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu 3c173c5ce5 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 2008-01-08 22:36:56 +00:00
bzbarsky%mit.edu 393e539ce7 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
2007-11-07 17:13:01 +00:00
tor%cs.brown.edu 7440488627 Bug 399289 - leak of nsBaseURLParser with svg paint. r+sr+a=dbaron 2007-10-19 15:36:15 +00:00
tor%cs.brown.edu 5f3903c919 Backout of 399289. 2007-10-15 18:59:22 +00:00
tor%cs.brown.edu 0968499302 Bug 399289 - leak of nsBaseURLParser with svg paint.
r=dbaron, sr=roc, a=dbaron
2007-10-15 16:37:04 +00:00
dbaron%dbaron.org 041b414fb6 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 2007-10-08 23:11:02 +00:00
dbaron%dbaron.org 144ee4de54 Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc 2007-10-08 21:58:23 +00:00
bzbarsky%mit.edu 597b5f0b61 Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 23:20:26 +00:00
tor%cs.brown.edu 583f6a1f5f Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-26 06:57:43 +00:00
dbaron%dbaron.org bd8e975f54 Remove additional unused code from system font redesign, and add one comment. b=377947 r+sr=bzbarsky 2007-07-26 06:41:37 +00:00
dbaron%dbaron.org bf8c6273a8 Make SetGenericFont not use aStartStruct-based computation since it's fundamentally incompatible with it. b=216456 r+sr=bzbarsky 2007-07-26 06:32:19 +00:00
dbaron%dbaron.org 474bef0e2d Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky 2007-07-25 23:14:47 +00:00
sharparrow1%yahoo.com 1b69f658e3 Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 17:14:14 +00:00
dbaron%dbaron.org e4815d6201 Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky 2007-07-24 15:27:11 +00:00
dbaron%dbaron.org b27cc4399f 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 2007-07-24 04:13:45 +00:00
dbaron%dbaron.org d6624afd98 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 2007-07-22 17:58:37 +00:00
dbaron%dbaron.org 0fdd41c6b0 Make CheckFontProperties consider font-size:larger and font-size:smaller as well. b=388548 r+sr=bzbarsky 2007-07-22 17:57:35 +00:00
dbaron%dbaron.org 34acb7dc55 Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky 2007-07-22 17:56:56 +00:00
tor%cs.brown.edu 1f4a683b99 Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron 2007-07-21 14:20:28 +00:00
bzbarsky%mit.edu b93cf6e717 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.
2007-07-18 21:56:58 +00:00
neil%parkwaycc.co.uk 11d0936e48 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)]
2007-07-11 08:46:49 +00:00
jwalden%mit.edu ef68fcf595 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. 2007-07-08 07:08:56 +00:00
dbaron%dbaron.org 9d498d4cf6 Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron 2007-07-04 18:51:40 +00:00
roc+%cs.cmu.edu f625471ba6 Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-27 02:31:35 +00:00
dbaron%dbaron.org eb1c547b41 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 18:29:11 +00:00
sharparrow1%yahoo.com faa23fac8b Bug 237770: Mozilla fails to ignore 'float' property even though 'position: absolute' is set. r=dbaron, sr=bzbarsky. 2007-05-23 05:55:03 +00:00
dbaron%dbaron.org 583a87ca4a Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky 2007-05-16 21:17:21 +00:00
dbaron%dbaron.org c7a6514e79 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 2007-05-16 21:10:32 +00:00
dbaron%dbaron.org b7e4c0ad1d Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky 2007-05-16 21:08:51 +00:00
bzbarsky%mit.edu c00d3e5a34 Fix regression bug 380842: allow block-display generated content on table cells
and captions again.  r+sr=dbaron
2007-05-16 16:57:28 +00:00
masayuki%d-toybox.com e728f6004b Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 15:51:39 +00:00
dbaron%dbaron.org e5c5a60eef Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky 2007-05-15 05:13:50 +00:00
dbaron%dbaron.org ae95e886c0 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 2007-05-11 06:01:31 +00:00
dbaron%dbaron.org 8e49c04ba5 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-11 06:00:26 +00:00
mats.palmgren%bredband.net bff6f902af Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-08 06:56:14 +00:00
mats.palmgren%bredband.net 918d64e75a Backing out bug 379906 to fix orange. 2007-05-08 06:25:04 +00:00
mats.palmgren%bredband.net 1b1d8680bd Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-08 05:46:37 +00:00
dbaron%dbaron.org 847bd485ed 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 2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu e1c2d5d036 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
2007-05-03 06:33:13 +00:00
bzbarsky%mit.edu 7b47f9c52e Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-27 04:43:06 +00:00
benjamin%smedbergs.us 3fb4912f5d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 14:22:04 +00:00
dbaron%dbaron.org 904dd421f8 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-21 00:16:52 +00:00
dbaron%dbaron.org 3fb5378d97 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 20:41:15 +00:00
dbaron%dbaron.org db7ef2def8 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky 2007-04-15 22:25:21 +00:00
longsonr%gmail.com 25bea80fe0 Bug 368836 - improve support for initial in SVG. r+sr=dbaron 2007-04-11 08:27:27 +00:00
dbaron%dbaron.org 461fa7181b Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky 2007-03-30 22:02:10 +00:00
dbaron%dbaron.org a32fb9b241 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 15:33:45 +00:00
masayuki%d-toybox.com fa8fb4715b Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron 2007-03-15 16:16:20 +00:00
sharparrow1%yahoo.com c78720aa24 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
dbaron%dbaron.org 6a9744c34c Allow display:inline-block to be used on :before and :after. b=368622 r+sr=bzbarsky 2007-02-02 06:13:37 +00:00
longsonr%gmail.com 84928d38d8 Bug 307708 � filters should operate in linearRGB color space by default r=dbaron,r=tor,sr=roc 2007-01-30 13:19:55 +00:00
dbaron%dbaron.org 765022065d Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
roc+%cs.cmu.edu 403b86b665 Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron 2007-01-17 03:25:38 +00:00
tor%cs.brown.edu 8f7f4c6526 Bug 326143 - floodColor and floodOpacity should be non-inherited
properties.  r=dbaron
2007-01-09 20:40:09 +00:00
longsonr%gmail.com 0150ad1a1b Bug 264132 � Implement fallback for SVG paint servers r=dbaron,sr=tor 2007-01-09 11:02:17 +00:00
tor%cs.brown.edu bf2e7d6029 Bug 326143 - Implement feFlood and feTurbulence filter elements.
Patch by tor and malex@cs.utexas.edu, r=tor, sr=roc
2007-01-08 16:48:56 +00:00
bzbarsky%mit.edu ff4fe56295 Make the GetStyle* getters not go through GetStyleData() so they can be
faster.  Bug 360870, r+sr=dbaron
2006-12-12 17:44:45 +00:00
sayrer%gmail.com 4adf8297fe bug 361005. remove nsCRT::strdup from layout. r+sr=bz 2006-11-17 01:49:06 +00:00
mats.palmgren%bredband.net 866eb1abe0 Limit -moz-column-count to 1000 to avoid "hang" for insanely large numbers. b=345583 r+sr=roc 2006-09-12 00:37:23 +00:00
dbaron%dbaron.org 7324bb9fbd Missed an out-of-memory check. b=335729 r+sr=bzbarsky 2006-04-27 23:56:53 +00:00
bzbarsky%mit.edu d4898365f7 Make sure our IMAGE_NONE flag is always in sync with whether we have a
background image.  Bug 311526 followup, r+sr=dbaron
2006-04-21 17:52:14 +00:00
dbaron%dbaron.org 2cd3a197e5 Use macros for the beginning and end of nsRuleNode::Compute*Data. b=332333 r+sr=bzbarsky 2006-04-15 07:17:43 +00:00
dbaron%dbaron.org 668f9730a4 File comments that show up in LXR and provide a quick summary of what's in each file. 2006-03-25 05:47:31 +00:00
pavlov%pavlov.net 8f5bd015a5 backing out 205001 as it broke Windows printing. r=dbaron 2006-02-21 22:56:02 +00:00
masayuki%d-toybox.com d5a9636ff4 Bug 205001 the print scale is ignored at using CSS absolute length unit r=dbaron, sr=roc 2006-02-20 09:38:54 +00:00
dbaron%dbaron.org 2a01a78c5a 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 2006-02-11 17:41:50 +00:00
bzbarsky%mit.edu 8ba957a9f3 Fix rounding errors in percentage font-size handling. Bug 182670, patch by Eli
Friedman <sharparrow1@yahoo.com>, r=bzbarsky, sr=dbaron
2006-01-22 22:45:31 +00:00
tor%cs.brown.edu 550cb22cd6 Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris
2006-01-20 17:00:43 +00:00
ginn.chen%sun.com 1696ae1c35 Bug 255411 "Use my colors" preference makes popup/hover frames have transparent background
r=bzbarsky sr=dbaron
2005-09-23 08:08:09 +00:00
cbiesinger%web.de e1c40a995b bug 308409 convert ParseTextShadow to nsCSSValue::Array and nsCSSValueList
r+sr=dbaron
2005-09-20 12:04:45 +00:00
bzbarsky%mit.edu 9b224f5e39 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
2005-09-18 18:05:40 +00:00
dbaron%dbaron.org d402454cc2 Remove unused canHaveExplicitInherit variable and fix some comments. b=308079 r+sr=bzbarsky 2005-09-12 04:55:36 +00:00
tor%cs.brown.edu 2cf881a8d8 Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
dbaron%dbaron.org 42df54824e Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
bzbarsky%mit.edu 0597971698 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
tor%cs.brown.edu b3a835e284 Bug 290830 - svg pointer-events:none not working. r+sr+a=dbaron 2005-04-18 23:38:19 +00:00
tor%cs.brown.edu 83911584c1 Bug 277135 - addressing svg style sr comments. r=scooter, sr=dbaron 2005-04-04 21:42:26 +00:00