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

265 Коммитов

Автор SHA1 Сообщение Дата
dbaron@dbaron.org f2ea9d4a0e Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky 2007-07-24 08:27:11 -07:00
dbaron@dbaron.org 3df0ba7f03 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-23 21:13:45 -07:00
dbaron@dbaron.org 16033c063e 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 10:58:37 -07:00
dbaron@dbaron.org 7c54e16491 Make CheckFontProperties consider font-size:larger and font-size:smaller as well. b=388548 r+sr=bzbarsky 2007-07-22 10:57:35 -07:00
dbaron@dbaron.org ee7b9906fd Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky 2007-07-22 10:56:56 -07:00
tor@cs.brown.edu d04fa35ca9 Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron 2007-07-21 07:20:25 -07:00
bzbarsky@mit.edu d074804c35 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 14:56:57 -07:00
neil@parkwaycc.co.uk 10de8387c8 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 01:46:44 -07:00
jwalden@mit.edu 6d7584839a 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 00:08:04 -07:00
dbaron@dbaron.org df3358641f 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 11:51:16 -07:00
roc+@cs.cmu.edu 5fe6149b7e Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
dbaron@dbaron.org 3f93d36016 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 11:28:56 -07:00
sharparrow1@yahoo.com ae4f1378a1 Bug 237770: Mozilla fails to ignore 'float' property even though 'position: absolute' is set. r=dbaron, sr=bzbarsky. 2007-05-22 22:55:03 -07:00
dbaron@dbaron.org ae75be2001 Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky 2007-05-16 14:17:21 -07:00
dbaron@dbaron.org 70f9b787c2 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 14:10:31 -07:00
dbaron@dbaron.org 3546b59264 Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky 2007-05-16 14:08:51 -07:00
bzbarsky@mit.edu d73793ab2b Fix regression bug 380842: allow block-display generated content on table cellsand captions again. r+sr=dbaron 2007-05-16 09:57:28 -07:00
masayuki@d-toybox.com 906193abd3 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
dbaron@dbaron.org 466cca9f63 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky 2007-05-14 22:13:49 -07:00
dbaron@dbaron.org f4e95ca927 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-10 23:01:31 -07:00
dbaron@dbaron.org 9920e003d3 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-10 23:00:26 -07:00
mats.palmgren@bredband.net 3bda9b50af Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 23:56:14 -07:00
mats.palmgren@bredband.net e0ab9504a0 Backing out bug 379906 to fix orange. 2007-05-07 23:25:04 -07:00
mats.palmgren@bredband.net 288915b584 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 22:46:37 -07:00
dbaron@dbaron.org ace3611ec9 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 16:11:00 -07:00
bzbarsky@mit.edu 663c96c764 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 c51b87ebce Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-26 21:43:06 -07:00
benjamin@smedbergs.us baab01ada6 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 b774028305 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 028b212457 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
dbaron@dbaron.org 4ff6796341 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 37c4d4f137 Bug 368836 - improve support for initial in SVG. r+sr=dbaron 2007-04-11 01:27:27 -07:00
dbaron@dbaron.org 543be2506f 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 d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
masayuki%d-toybox.com 3d231f620b 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 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
dbaron%dbaron.org b04f7cdf5d 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 912df76954 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 5cb78b8e99 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 3ed500b867 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 5157ea0646 Bug 326143 - floodColor and floodOpacity should be non-inherited
properties.  r=dbaron
2007-01-09 20:40:09 +00:00
longsonr%gmail.com 063eebcb62 Bug 264132 � Implement fallback for SVG paint servers r=dbaron,sr=tor 2007-01-09 11:02:17 +00:00
tor%cs.brown.edu 5cce072b38 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 0a51e9bdb4 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 0d2f67fa51 bug 361005. remove nsCRT::strdup from layout. r+sr=bz 2006-11-17 01:49:06 +00:00
mats.palmgren%bredband.net 6b4972181b 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 16f0806114 Missed an out-of-memory check. b=335729 r+sr=bzbarsky 2006-04-27 23:56:53 +00:00
bzbarsky%mit.edu bcbece8b2c 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 b699322435 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 30f8db359a 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 57f7478019 backing out 205001 as it broke Windows printing. r=dbaron 2006-02-21 22:56:02 +00:00
masayuki%d-toybox.com cd55c4a0c7 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 94a40f887d 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 d8f049323c 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 5cd5d59918 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 33c2528c30 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 5911657c5f bug 308409 convert ParseTextShadow to nsCSSValue::Array and nsCSSValueList
r+sr=dbaron
2005-09-20 12:04:45 +00:00
bzbarsky%mit.edu 608088a431 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 32e04f72e5 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 36c76bbadd Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
dbaron%dbaron.org 22c8c10292 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 e61e1e1935 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 25434d72f5 Bug 290830 - svg pointer-events:none not working. r+sr+a=dbaron 2005-04-18 23:38:19 +00:00
tor%cs.brown.edu b689decba7 Bug 277135 - addressing svg style sr comments. r=scooter, sr=dbaron 2005-04-04 21:42:26 +00:00
dbaron%dbaron.org da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
mats.palmgren%bredband.net 4f49d3bf00 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
dbaron%dbaron.org 9a7d3996ac Fix 'cursor' cascading issues with url()s. b=286388 r+sr=bzbarsky 2005-03-17 04:38:39 +00:00
bzbarsky%mit.edu a41405492a Null-check the various allocations we do in rulenode. Bug 245295, patch by
Daniel de Wildt <mozilla3q04@dewildt.de>, r+sr=bzbarsky
2005-02-25 13:14:36 +00:00
tor%cs.brown.edu 0ee1400807 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.
2005-01-25 03:55:03 +00:00
bzbarsky%mit.edu e0d76e033b Make sure to clear out content when we have it specified as none or initial,
even if we're ending up computing the difference from a cached struct.  Bug
273719, r+sr=dbaron
2005-01-13 03:49:20 +00:00
cbiesinger%web.de b71e2a3790 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
2004-12-30 21:56:11 +00:00
tor%cs.brown.edu b64db91538 Bug 216559 - CSS3 currentColor. Patch by scootermorris@comcast.net.
r=bz, sr=dbaron.
2004-12-09 23:51:25 +00:00
tor%cs.brown.edu b3e2c4245d Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
dbaron%dbaron.org c21915db9d Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky 2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu da145480c7 Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
roc+%cs.cmu.edu c59dda520c Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
tor%cs.brown.edu a4fd23d276 Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky 2004-11-15 04:43:11 +00:00
tor%cs.brown.edu 4dc9eba112 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
aaronleventhal%moonset.net 99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
dbaron%dbaron.org 23bc4069c3 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:43:49 +00:00
dbaron%dbaron.org 52771912ef Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:32:21 +00:00
tor%cs.brown.edu 1d8fcac4c6 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
aaronleventhal%moonset.net b81f44f034 Nit - fixing comment for checkin to bug 24676 2004-10-10 02:50:43 +00:00
aaronleventhal%moonset.net a65d784429 Bug 24676. Support -moz-outline-radius. r=bzbarsky, sr=roc 2004-10-10 00:51:42 +00:00
bzbarsky%mit.edu 8266fddc46 Fix "normal" and "-moz-initial" values for "content" to do the right thing.
Bug 262624, r+sr=dbaron
2004-10-06 00:45:42 +00:00
bzbarsky%mit.edu a8a6ecf161 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org 3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
bryner%brianryner.com d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org 5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
dbaron%dbaron.org e7216e4d86 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org 1236bd859f Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00
dbaron%dbaron.org ca843bb250 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-29 20:07:25 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org cdfbc24f0a Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky 2004-07-20 06:11:27 +00:00
roc+%cs.cmu.edu e0a7bb0095 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron 2004-07-18 12:12:46 +00:00
dbaron%dbaron.org 0ee5ed9f79 When implementing the 'display' and 'float' fixups in CSS2.1 section 9.7 we can't cache data in the rule tree. b=245715, 237891 r+sr=bzbarsky 2004-07-17 18:57:04 +00:00
dbaron%dbaron.org f2d5d6aac6 Back out again (except indentation fix). b=236889 2004-07-16 23:28:36 +00:00
dbaron%dbaron.org f1aa7d5490 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland quarter of patch to test effect on pageload. 2004-07-16 22:55:42 +00:00