Commit Graph

64127 Commits

Author SHA1 Message Date
Dão Gottwald
46b4b32c95 Bug 637159 - Clean up the fix / workaround for bug 635252. r=neil 2011-03-23 12:36:25 +01:00
Dão Gottwald
0aab105aba Bug 638431 - Hover feedback missing for disabled splitmenus. r=gavin 2011-03-23 12:36:13 +01:00
Dão Gottwald
fd52967140 Bug 639286 - Replace thick transparent border on tabs with proper CSS padding. r=fryn 2011-03-23 12:35:50 +01:00
Dão Gottwald
329c813aa2 Bug 608628 - Remove obsolete aMask parameter from tabbrowser's addProgressListener method. r=gavin 2011-03-23 12:35:21 +01:00
Dão Gottwald
c7ac959be9 Bug 463384 - "Tabbed mode" is an unnecessary complication. r=mano 2011-03-23 12:31:35 +01:00
Ehsan Akhgari
23d6dd6588 Back out changeset 905ba2a1095a (bug 597525) because it breaks accessibility tests 2011-03-22 17:42:45 -04:00
Alex Vincent
6dbd14b725 Bug 635835 - Crash with nsTreeWalker::NextNode setting currentNode as JS object from chrome; r=sicking 2011-03-22 16:45:11 -04:00
timeless@mozdev.org
1c426a893f Bug 615829 mCachedKeysCount/mExposeCacheUpdateStatus are initialized out of order in nsDOMOfflineResourceList::nsDOMOfflineResourceList
r=biesi
2011-03-22 16:42:56 -04:00
Hiroyuki Ikezoe
933c8ff787 Bug 582216 - Make sure that we set _scrollTarget in every case in order to address intermittent failures in tabbrowser overflow handling; r=dao 2011-03-16 18:01:34 -04:00
Cameron McCormack
b2938bb463 Bug 638756 - Stop occasional crashes when using mouse wheel when the Elantech touchpad hack is enabled r=jmathies 2011-03-16 12:08:53 +13:00
L. David Baron
34651d06fe Include the opening "url(" in URL and Bad_URL tokens (though the latter do not have a close paren), and make tokenization of url() function be noncontextual, as required by CSS. (Bug 604179, patch 7) r=bzbarsky
Note that tokenization of url-prefix() and domain() remains contextual.

Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-11 11:29:45 -06:00
L. David Baron
62b1274403 Include the close parenthesis in the URL token and make quoted URLs produce URL tokens rather than string tokens. (Bug 604179, patch 6) r=bzbarsky 2011-03-11 11:29:45 -06:00
L. David Baron
d2fff89944 Disallow control characters less than space inside unquoted url(), per spec. (Bug 604179, patch 5) r=bzbarsky 2011-03-11 11:29:44 -06:00
L. David Baron
d03d993c7b Fix incorrect indentation in nsCSSScanner::NextURL. (Bug 604179, patch 4) r=bzbarsky 2011-03-11 11:29:44 -06:00
L. David Baron
0041c7ae2e Move the consumption of beginning whitespace (for all forms) and ending whitespace (for the string form) inside url() into the tokenizer. (Bug 604179, patch 3) r=bzbarsky 2011-03-11 11:29:44 -06:00
L. David Baron
866f3aece4 Rename CSS tokens to be closer to the names of newly-added tokens (BAD_STRING, BAD_URI) in the CSS 2.1 tokenization. (Bug 604179, patch 2) r=bzbarsky 2011-03-11 11:29:44 -06:00
L. David Baron
d321398917 Use GatherURL in ParseNameSpaceRule and ParseImageRect, and rename GatherURL to ParseURLOrString for clarity. (Bug 604179, patch 1) r=bzbarsky
Note that this adds a missing UngetToken(), which affects the other
consumer of GatherURL, parsing of @import rules.
2011-03-11 11:29:44 -06:00
Craig Topper
d52db340a6 Bug 576831 part 6. DeCOMtaminate some StyleRule method signatures. r=bzbarsky. 2011-03-10 21:50:20 -05:00
Craig Topper
45ad1bbe6f Bug 576831 part 5. Make some methods that used to be virtual non-virtual. r=bzbarsky 2011-03-10 21:50:12 -05:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Craig Topper
5331afcc56 Bug 576831 part 3. Rename CSSImportantRule to mozilla::css::ImportantRule. r=bzbarsky 2011-03-10 21:48:26 -05:00
Craig Topper
2465d73b63 Bug 576831 part 2. Rename DOMCSSStyleRuleImpl to mozilla::css::DOMCSSStyleRule. r=bzbarsky 2011-03-10 21:47:52 -05:00
Craig Topper
40e645b9da Bug 576831 part 1. Rename CSSStyleRuleImpl to mozilla::css::StyleRule. r=bzbarsky 2011-03-10 21:47:08 -05:00
Gavin Sharp
509610b4b5 Bug 474718 - don't call the defaultDownloadsDirectory getter on prefpane initialization, since it might unnecessarily create the downloads folder. r=sdwilsh 2011-03-10 14:15:35 -05:00
Christian Ascheberg
ce59566a28 Bug 637212 - Bookmarks toolbar has an unwanted border in maximized windows with tabs on bottom, aero glass and a lightweight theme applied. r=dao 2011-03-25 11:09:23 +01:00
Ryan VanderMeulen
6d44bdaf8a Bug 620626 - Upgrade to Hunspell 1.3.2; r=ehsan 2011-03-24 21:23:56 -04:00
Ryan VanderMeulen
33a6c6d9ac Bug 620626 - Upgrade to Hunspell 1.3.1; r=smaug,ehsan 2011-03-24 20:14:47 -04:00
Rafael Ávila de Espíndola
8ebc10998d Bug 623116 - Add constructor for nsASCIICaseInsensitiveStringComparator (which inherits from nsStringComparator) to placate CLang; r=smontagu 2011-03-24 20:01:47 -04:00
Matheus Kerschbaum
255f1d6b3c Bug 634807 - Remove MOZ_PLAINTEXT_EDITOR_ONLY; r=khuey 2011-03-24 19:59:00 -04:00
Matheus Kerschbaum
45b3d3567e Bug 640031 - Remove MOZILLA_PLAINTEXT_EDITOR_ONLY; r=ehsan 2011-03-24 19:58:57 -04:00
Rafael Ávila de Espíndola
86507523c4 Bug 623123 - Add constructor for nsXULAppInfo (which inherits from nsIXULAppInfo) to placate CLang; r=bsmedberg 2011-03-24 19:29:29 -04:00
Rafael Ávila de Espíndola
0b547569dd Bug 623132 - Add constructor for nsCaseInsensitiveCStringComparator (which inherits from nsCStringComparator) to placate CLang; r=bsmedberg 2011-03-24 19:28:57 -04:00
Rafael Ávila de Espíndola
4b8cd0c2c8 Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg 2011-03-24 19:26:55 -04:00
bjarne@runitsoft,com
d902fada99 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed; r=(dwitte, jduell). 2011-03-24 16:45:07 -04:00
Boris Zbarsky
ef5a70b33c Bug 608759. Stop calling ContentEnumFunc through a function pointer; just call it directly. r=dbaron 2011-03-07 12:45:25 -05:00
Boris Zbarsky
be00decfac Bug 630127. Use a precise timer when we have animation frame callbacks. r=dbaron 2011-03-07 11:58:48 -05:00
Jeff Walden
4dce1d9ffa Bug 640072 - Convert properties of RegExp objects into true data properties, eliminating a use of shared-permanent properties. r=jorendorff 2011-03-05 15:29:30 -08:00
Jeff Walden
f1b6ce9142 Initialize a member variable in yarr/yarr/RegexParser.h if building with gcc 4.5 or later, because this compiler incorrectly claims the member variable might be used uninitialized. r=cdleary 2011-03-24 13:33:41 -07:00
Jeff Walden
6c7e38b13f Bug 644015 - js_GetArgsProperty doesn't look up properties of strict mode arguments objects correctly. r=dmandelin 2011-03-23 16:34:19 -07:00
L. David Baron
0c50a7e668 Use ParseSingleValueProperty for the components inside the 'transition' shorthand as well. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron
7d588db662 Make generic mechanism for parsing lists of single values with ParseVariant. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron
9576960b8d Drive the ParseVariant calls in ParseSingleValueProperty from data rather than a big switch. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron
f66feda91a Fix keyword table entries in nsCSSPropList and code in nsRuleNode to match those used in the parser. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron
36d847de86 Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron
1f77843f84 Separate properties that are parsed in ParseSingleValueProperty with something other than ParseVariant. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron
ca34183567 Separate the non-property parsed in ParseSingleValueProperty. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron
be4c804463 Disable parsing of 'marker', 'run-in', and 'compact' in a less hacky way. (Bug 636029) r=bzbarsky
This simply removes all the code for the values.  This removes a
special-case that would otherwise need to become more complicated in a
later patch in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
97c0bdb8a8 Add parse types for CSS properties so we don't parse them in one huge switch. (Bug 636029) r=bzbarsky
With this patch, every CSS property is required to have one of the parse
type values (CSS_PROPERTY_PARSE_{FUNCTION,VALUE,INACCESSIBLE}) in its
flag bits.  This avoids needing a switch in
CSSParserImpl::ParseProperty(nsCSSProperty).

Note that this reserves more space in CSS_PROPERTY_PARSE_PROPERTY_MASK
than appears to be necessary; that space will be used in a later patch
in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
185c0cd717 Make sure all properties in nsCSSPropList.h have useful values for the method_ field. (Bug 636039) r=bzbarsky
Note that these are unprefixed to be consistent with the similar
existing methods for other logical box properties.  Prefixing doesn't
matter for the dom property field of CSS_PROP_LIST_EXCLUDE_INTERNAL
properties, since dom property field of such properties is not exposed
to the Web.
2011-03-05 09:58:33 -08:00
Ehsan Akhgari
eaafa97906 Test case for bug 638596; r=roc 2011-03-04 13:44:25 -08:00