Commit Graph

1270 Commits

Author SHA1 Message Date
Zack Weinberg
49e87b24cd Bug 576044 (10/12): Don't directly manipulate the contents of mTempData in the CSS parser. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
0fcf337ff2 Bug 576044 (9/12): Add an AddLonghandProperty method to nsCSSExpandedDataBlock. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
50c7b05cf7 Bug 576044 (8/12): remove the last MoveValue call from the CSS parser. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
cb445e7025 Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
4d1c92a45d Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
698cc2a773 Bug 576044 (4/12): eliminate ValuePairList as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
1d56fbae0e Bug 576044 (3/12): eliminate Rect as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
3c4c708e33 Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
8e9d7330ac Bug 576044 (1/12): Move all the CSS 'storage types' (rect, value pair, etc) to nsCSSValue.h and their code to nsCSSValue.cpp. r=dbaron a2.0=dbaron 2010-08-19 15:33:43 -04:00
Robert O'Callahan
f1ff477b4d Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron 2010-08-13 21:58:02 +12:00
L. David Baron
0839a99fc7 Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg 2010-08-15 08:42:29 -04:00
Robert O'Callahan
58a657801b Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
a25344de87 Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron 2010-08-13 15:33:37 +02:00
L. David Baron
a08510dddd Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
L. David Baron
b2dc733873 Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
f0ddf175e1 CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
Kyle Huey
0b791470e7 Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz 2010-08-02 15:19:04 -07:00
Zack Weinberg
4858a62c4e Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron 2010-08-04 12:27:05 -07:00
Zack Weinberg
c5f3981cc3 Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron 2010-07-23 11:00:49 -07:00
Zack Weinberg
978cdadbfc Bug 569719 part 13: move nsCSSParser methods that manipulate data blocks into the appropriate nsCSS*DataBlock classes. r=dbaron 2010-07-23 11:00:44 -07:00
Zack Weinberg
3a869317b8 Bug 569719 part 12: replace nsCSSParser::ClearTempData with explicit use of mTempData.ClearProperty (and make that method handle shorthands). r=dbaron 2010-07-23 11:00:42 -07:00
Zack Weinberg
23ce9f155a Bug 569719 part 11: take the fast path in ParseProperty for !important replacing !important, as well as normal replacing normal. r=dbaron 2010-07-23 11:00:39 -07:00
Zack Weinberg
88a2dce99d Bug 569719 part 10: refactor parsing of !important and the end of a property declaration. r=dbaron 2010-07-23 11:00:37 -07:00
Zack Weinberg
797a393635 Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron 2010-07-23 11:00:34 -07:00
Zack Weinberg
32e1dcff61 Bug 569719 part 5: in nsCSSValueList and nsCSSValuePairList, convert Equal() to operator==, and remove unnecessary argument from Clone(). r=dbaron 2010-07-23 11:00:24 -07:00
Zack Weinberg
a308ab9843 Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron 2010-07-23 11:00:19 -07:00
Robert O'Callahan
8277492b95 Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron 2010-08-13 21:58:02 +12:00
Kyle Huey
e03178f395 Backed out changeset 9e87c3efc33b 2010-07-29 16:01:41 -07:00
Kyle Huey
4beeb5b6aa Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz 2010-07-29 12:41:04 -07:00
Zack Weinberg
367002c2df Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron 2010-06-28 15:49:35 -07:00
Zack Weinberg
867b6d344a Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Craig Topper
5ca7d5f5b3 Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz 2010-07-18 16:39:20 +02:00
Jonathan Kew
355ace69be bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
L. David Baron
b01baae027 Add support for calc() expressions in translate functions of -moz-transform. (Bug 531344) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron
00a50c8474 Allow CSS parser to forbid min()/max() within certain calc() expressions. (Bug 531344) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron
f407b500bb Add additional template parameter expectations to ComputeCalc so that its input can be nsCSSValue or nsStyleCoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
3b98bd9e56 Rename -moz-background-size to background-size. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
L. David Baron
0b4dda5fcd Support for background-clip and background-origin in the background shorthand. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
L. David Baron
1c86b250b8 Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
L. David Baron
16df8428f9 Remove comments referencing no-longer-existing no-clip value for background-clip. (Bug 549809) 2010-06-08 18:44:32 -07:00
L. David Baron
908235783b Add -moz-background-clip: content. (Bug 549809) r=roc 2010-06-08 18:44:32 -07:00
Mounir Lamouri
d735c967e9 Bug 569337 - Fix compilation issues when SVG and SMIL are disabled. r=dbaron 2010-06-06 19:45:18 +02:00
L. David Baron
f23dbb6689 Revert changes in 0ff87d9d2d73 (Bug 541434) and adjust tests appropriately. (Bug 569646) r=zwol 2010-06-03 13:11:35 -07:00
Craig Topper
be6ca7a1a9 Bug 569181. nsCOMPtr<nsMediaList> should be nsRefPtr. r=dbaron 2010-06-01 11:50:10 +12:00
Craig Topper
044edbe138 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
Craig Topper
bc479824b7 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Craig Topper
6c9df949fa Inline a few methods in nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
5ec7efbb3a Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
4a5942c63b DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
L. David Baron
f7a3337dad Instantiate the calc ops struct rather than a nested data struct inside of it. (Bug 363249) r=bzbarsky 2010-05-11 08:49:44 -07:00