Commit Graph

3890 Commits

Author SHA1 Message Date
L. David Baron
7a021d9262 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
1118f60946 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
db7a6cb346 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
13edc8e9a6 Add -moz-background-clip: content. (Bug 549809) r=roc 2010-06-08 18:44:32 -07:00
Boris Zbarsky
6fc99eb310 Bug 558943. Pass the right value for aIsLink from ReparentStyleContext. r=dbaron 2010-06-08 15:58:26 -04:00
Robert Sayre
899c142ca3 Merge tracemonkey to mozilla-central. 2010-06-06 14:55:52 -04:00
Mounir Lamouri
9b26ae26de Bug 569337 - Fix compilation issues when SVG and SMIL are disabled. r=dbaron 2010-06-06 19:45:18 +02:00
Robert Sayre
cecd0f18ee Merge mozilla-central to tracemonkey. 2010-06-06 11:28:04 -04:00
Robert Sayre
5a3f306961 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Jason Orendorff
578fc3cdd3 Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07:00
John Daggett
909acbe49a Bug 555406. Call checkLoadURI for INHERIT_PRINCIPAL font loads. r=bz 2010-05-24 15:45:18 +09:00
Ehsan Akhgari
c9c8c3c5b3 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Jason Duell
6cd446aadb # User Michal Novotny <michal.novotny@gmail.com>
# Date 1272456176 -7200
Bug 549241 - Channel classifier should run in chrome process. r=biesi, sr=jst
2010-05-21 14:03:02 -07:00
Ehsan Akhgari
db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Craig Topper
213b0d1c3f Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)

--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Craig Topper
ef96f55ca1 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
94829365f8 Change some nsIStyleSheet methods from returning AddRef-ed to un-AddRef-ed pointers, and some other cleanup. (Bug 239008) r=dbaron 2010-05-17 21:00:39 -07:00
L. David Baron
86bba93f79 Make the 'noappend' selector optimizations only restyle later siblings, which is what they need to do. (Bug 534804) r=bzbarsky 2010-05-14 22:01:46 -07:00
L. David Baron
76df418748 Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky 2010-05-14 22:01:45 -07:00
Craig Topper
29a342cd5f Rename nsIStyleSheet::GetApplicable to IsApplicable and GetComplete to IsComplete. (Bug 239008) r=dbaron 2010-05-14 12:05:14 -07:00
Boris Zbarsky
95b761ff79 Bug 565818. Pass Elements to HasAttributeDependentStyle and HasStateDependentStyle. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
f1f4c49fc4 Bug 565815. Use Element in the transition manager instead of nsIContent. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
8cae712aa8 Bug 565809. Move checking for style attribute changes into the cascade level. r=dbaron 2010-05-14 13:04:51 -04:00
Mitchell Field
0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
L. David Baron
a5fdfffd89 Add appropriate styles for the effects of HTML5 sectioning elements on headers. (Bug 562835) r=bzbarsky 2010-05-13 19:36:48 -07:00
L. David Baron
494c35914d Avoid wrapping to negative font sizes. (Bug 565248) r=roc 2010-05-13 19:36:48 -07:00
Craig Topper
bd3c6ba927 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Ehsan Akhgari
dd43739b68 Bug 528686 - xf:select doesn't work if contenteditable element is presented within the document; r=dbaron 2010-05-06 20:33:31 -04:00
L. David Baron
51fd47f445 Restore comments and formatting from nsICSSStyleSheet.h that was lost in 5329c2d9c968. (Bug 239008) 2010-05-11 13:59:25 -07:00
Craig Topper
0a75cd11cd Make most of the methods in nsCSSStyleSheet non-virtual. (Bug 239008) r=dbaron 2010-05-11 13:41:48 -07:00
Craig Topper
0712e1b438 Inline a few methods in nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
55e9fbfa98 DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Peter Van der Beken
34f855c0b2 Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
L. David Baron
dcc4af33b9 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
L. David Baron
f67d8257ba Get rid of (void) C-isms in nsStyleCoord. (Bug 363249) r=bzbarsky 2010-05-11 08:49:44 -07:00
L. David Baron
97f744099a Add calc() support for 'font-size' property, which is the only property for which percents are computed to lengths in nsRuleNode. (Bug 363249) r=bzbarsky 2010-05-11 08:49:44 -07:00
L. David Baron
a834b40a01 Add calc() support for lengths in text-shadow and -moz-box-shadow. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron
454d6dd6d0 Add calc() support for the easiest cases: properties that take lengths but not percentages and take simple values only (-moz-column-rule-width, -moz-column-width, letter-spacing, word-spacing, marker-offset, outline-offset, border-spacing). (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron
36456511ee Fix property alphabetization errors in property_database.js. 2010-05-11 08:49:43 -07:00
L. David Baron
ba2f2edc7b Add mechanism for clamping computation of calc() to nonnegative values. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron
e55e809d36 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
L. David Baron
f2c3ce7ef8 Implement serialization of calc() values. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron
328cba210e Implement parsing of calc(). (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron
1a7c32ce5f Add template-based mechanism for computing a calc() tree. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron
746829e4fe Implement storage of calc() expressions in nsCSSValue. (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
Peter Van der Beken
2390f94ae2 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst. 2010-04-19 17:41:39 +02:00
L. David Baron
c4eb38acd9 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky
fb534f9674 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
3f7bc45256 Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron 2010-04-30 09:12:06 -04:00