Commit Graph

1158 Commits

Author SHA1 Message Date
L. David Baron
ed74b5c346 Add mechanism for computation of calc() in the cases where the arguments are only lengths (i.e., where computed style can contain a simple result rather than a calc tree). (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
Boris Zbarsky
cd27fc6a1c Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
b799eebaa2 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
timeless
d8effcff7f Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
L. David Baron
bc0d430b0d Don't start image loads for the if-visited style contexts. (Bug 557287) r=bzbarsky 2010-04-06 12:42:41 -07:00
Boris Zbarsky
abc5102415 Bug 509569. Avoid assertion by not storing structs with unused inherit logical box props in them, even though it would be ok to do so. r=dbaron 2010-04-01 22:09:05 -04:00
Neil Deakin
0787ffc5a1 Bug 442228, add -moz-resize property to indicate that elements are resizable, r=dbaron 2010-03-19 07:49:33 -04:00
Boris Zbarsky
cc54a5bf34 Bug 527977 part 4. Have rulenode always cache inherit structs on the style context (posibly in addition to caching on the rulenode. r=zwol, sr=dbaron 2010-03-02 18:27:21 -05:00
Boris Zbarsky
9c2fc9e709 Bug 469861. Create a block for any block-level <math>. r=dbaron 2010-02-26 21:32:31 -05:00
Jonathan Kew
6fc148747f Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Bernd
223b688a34 bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Robert Longson
d2e2db213e Bug 523576 - Fix compilation with disable-svg. r=dbaron 2009-12-12 19:43:34 +00:00
Boris Zbarsky
b3f7427ab8 Bug 529749. Make sure nsRuleWalker never has a null mCurrent. r=dbaron 2009-12-11 22:36:34 -08:00
Olli Pettay
2e3d0c93fe Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron 2009-12-10 20:02:13 -08:00
L. David Baron
a867fb1e9b Put the 'normal' values for 'font-weight' and 'font-stretch' into the keyword tables. (Bug 522320) r=dholbert 2009-11-14 19:16:59 -08:00
Zack Weinberg
f788a00b30 Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes 2009-11-02 11:36:43 -08:00
Boris Zbarsky
75ebdc52ee Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Daniel Holbert
fadf3209ae Bug 522320: Put auto/none/normal keywords in CSS keyword tables for properties that take enum values. Patch 2 (handle remaining properties). r=dbaron 2009-10-21 14:57:57 -07:00
Daniel Holbert
08d5b439dd Bug 522320: Put auto/none/normal keywords in CSS keyword tables for properties that take enum values. Patch 1 addendum (handle font-style, font-variant, overflow). r=dbaron 2009-10-21 14:57:57 -07:00
Daniel Holbert
3cfc69d23b Bug 522320: Put auto/none/normal keywords in CSS keyword tables for properties that take enum values. Patch 1 (handle single-valued SVG-animatable properties). r=dbaron 2009-10-21 14:57:57 -07:00
L. David Baron
9b9b01512c Add bug numbers for the FIXME comments in CSS transitions patches. (Bug 435441) 2009-10-15 17:23:19 -07:00
L. David Baron
708c855cdc Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky 2009-10-13 19:38:20 -07:00
Daniel Holbert
9509f77e59 whitespace-only: clean up trailing whitespace in nsCSSProps.cpp & nsRuleNode.cpp 2009-10-12 23:35:57 -07:00
L. David Baron
0634aaab44 Revert 9ef12a27ab14 and c87e6a6a41bb (patches 6 and 7 from bug 435441) which are no longer needed after bug 520396. 2009-10-07 22:10:58 -07:00
Geoff Lankow
c222694ceb Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron 2009-09-26 13:23:47 -07:00
Boris Zbarsky
1da2972626 Bug 514773. Don't trigger rulenode gc unless we have rulenodes to gc. r=dbaron 2009-09-24 13:59:43 -04:00
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
L. David Baron
b33b977ea4 Pass style rule to post-resolve callbacks. (Maybe not the long term approach for CSS transitions, but easiest right now.) (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
cadf208b51 Allow multiple post-resolve callbacks. (Maybe not the long term approach for CSS transitions, but easiest right now.) (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
d2990e879c Add fields to nsCSSPropList.h for style struct offset and animation type. (Bug 504652) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
a17b6ffb9d Remove unneeded detail == eRuleNone check. (Bug 114100) r=bzbarsky 2009-09-11 06:46:35 -04:00
Jonathan Watt
f5c7d20889 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Ryo Kawaguchi
877947a93e Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
Jonathon Jongsma
88171d54af Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky 2009-08-20 14:52:47 -07:00
Boris Zbarsky
4b5971da4f Bug 509155. Don't store outline structs in the rule tree if outline-color:inherit is set on the root element. r=dbaron 2009-08-10 10:54:22 -04:00
Boris Zbarsky
aa34d31546 Bug 508919. Stop leaking nsStyleBorder objects. r=dbaron 2009-08-07 10:38:44 -04:00
Michael Ventnor
b08d62114b Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
L. David Baron
a2b7b61306 Don't resolve a new context for the root when we're computing rem units for the root. (Bug 478321) r=bzbarsky 2009-08-01 08:53:40 -07:00
Dão Gottwald
199fb785b6 Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
251c35256e Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Jeff Walden
e64e15befa Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Boris Zbarsky
051f84b0ca Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron 2009-06-16 15:05:12 -07:00
L. David Baron
6ab0590b2a Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Karl Tomlinson
ba3c1f0135 b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron 2009-05-19 10:13:12 +12:00
Jeremy D. Lea
500e189d56 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Robert O'Callahan
13bebc3327 Bug 476062. Instead of turning off -moz-appearance when an element has a box-shadow, just ignore the box-shadow. r+sr=dbaron 2009-04-01 14:07:18 +13:00
Robert Longson
ca13fc79d7 Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Robert O'Callahan
bb510b4ce9 Bug 476062. Author-applied 'box-shadow' should cause elements to drop their native look. r+sr=dbaron 2009-03-18 13:32:08 +13:00
L. David Baron
1a50367f58 Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
baa53e65cc Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00