Commit Graph

9751 Commits

Author SHA1 Message Date
Benjamin Smedberg
61f9c6a63e Bug 617539 - Fold in nsIFrameLoader_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:35 -04:00
Benjamin Smedberg
51ecdf79a2 Bug 617539 - Fold nsIContentViewer_MOZILLA_2_0_BRANCH, r=sicking 2011-03-25 11:03:34 -04:00
Benjamin Smedberg
c5cd1d7413 Bug 617539 - Integrate nsIFocusManager_MOZILLA_2_0_BRANCH back into the main interface, r=smaug 2011-03-25 11:03:33 -04:00
Benjamin Smedberg
d758fb0d7e Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:33 -04:00
L. David Baron
802da587ae Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
Ehsan Akhgari
7804c38300 Merge mozilla-central into cedar, in order to import work targetted at Firefox 4 into the tree 2011-03-23 19:18:30 -04:00
Ehsan Akhgari
ca95c68a1e Merge mozilla-central into cedar 2011-03-23 18:29:19 -04:00
Chris Pearce
21f7bd28a4 Bug 642695 - Remove debug printf in nsSVGForeignObjectFrame::DoReflow(). r=jwatt 2011-03-24 11:28:57 +13:00
Ehsan Akhgari
47cf269311 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04: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
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
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
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
Craig Topper
07e8b64cd1 Bug 585867 part 5. Remove outparam and AddRef from all property getters. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
aab3b367c9 Bug 585867 part 4. Make SetValueToStyleImage return void. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
04c3f87d46 Bug 585867 part 3. Make AppendCSSValue infallible. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
7dd8d4bedc Bug 585867 part 2. Make SetToRGBAColor return void. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
8a8824e583 Bug 585867 part 1. Remove OOM checks on the return value of GetROCSSPrimitiveValue and GetROCSSValueList. r=bzbarsky 2011-03-04 12:28:56 -05:00
L. David Baron
3c13d96f28 Condition should be d2d rather than winWidget. (Bug 635222) 2011-03-04 07:46:28 -08:00
Boris Zbarsky
1e753295f6 Bug 616137. Skip to the nearest ']' when parsing an attr selector fails. r=dbaron 2011-03-04 10:27:02 -05:00
Boris Zbarsky
151fe5976e Bug 621841. Clear restyle flags in frameset kids when we process them. r=dbaron 2011-03-04 10:27:02 -05:00
Boris Zbarsky
1782b07550 Bug 632907. Use Element more in the frame constructor. r=roc 2011-03-04 10:27:02 -05:00
Boris Zbarsky
f784386f4b Bug 614733. Do exponential backoff on throttled refresh drivers. r=dbaron 2011-03-04 10:27:02 -05:00
L. David Baron
69367d9bce Mark new test as failing on Windows due to rounding difference. (Bug 635222) 2011-03-03 21:42:31 -08:00
L. David Baron
a3f318836d Mark new test as failing on Mac due to rounding difference. (Bug 635222) 2011-03-03 18:58:37 -08:00
L. David Baron
4fcef65cfe -moz-box-ordinal-group should not accept 0, since the code that uses the property ignores values of 0. (Bug 636034) r=bzbarsky 2011-03-03 13:18:42 -08:00
L. David Baron
18e788b1a1 Correctly handle non-repeating radial gradients in which all stops are at the same position. (Bug 635222) r=roc 2011-03-03 13:18:42 -08:00
L. David Baron
34bc1403fe Fix nsXULScrollFrame parameter names that are named incorrectly and fix inconsistencies between .h and .cpp. (Bug 636307) r=ehsan 2011-03-03 13:18:42 -08:00
L. David Baron
31bb14549e Remove tracking of whether the font family comes from HTML, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
L. David Baron
4a7745e74d Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
L. David Baron
937df71675 Fix skipping of @-rules that are inside blocks to conform to new rule in CSS 2.1, which says that we must look for end-of-outer-block in addition to a semicolon or a block. (Bug 604175) r=bzbarsky
This fixes http://test.csswg.org/suites/css2.1/20110111/html4/at-rule-013.htm

Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
df01b98efe Make GatherMedia() stop at block or semicolon in invalid cases. (Bug 604172) r=bzbarsky
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
f597990bf0 Add missing UngetToken() for invalid contents of @charset rule. (Bug 604172) r=bzbarsky
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
a03ec13a60 Fix implementation of rules for auto margins on absolutely positioned elements; honor auto margins when only one margin is auto, even when the auto margin gets a negative value. (Bug 419100) r=roc
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
Boris Zbarsky
250488127b Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking 2011-03-23 10:45:21 -04:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Boris Zbarsky
9c5494abae Fix these tests to not break at smaller window widths or larger fonts. a=test-only 2011-03-18 22:15:14 -04:00
Steven Michaud
310a1f87bf Breakage fix for patch for bug 637367 (4da037fe27b0). a=breakage-fix 2011-03-18 15:27:20 -05:00
Steven Michaud
65c49866d2 Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner 2011-03-18 14:35:14 -05:00
Benjamin Stover
0b3ec6cfce Bug 642205 Followup: workaround for Android compiler bug r=tnikkel a=blocking-fennec CLOSED TREE 2011-03-17 15:48:47 -07:00
Joel Maher
c6cc559d6f Bug 636753 - annotate reftest manifests to note tests that fail on Android (2 of 2). r=dbaron a=test-only 2011-03-18 11:54:15 -04:00
Joel Maher
a2a84ed8a8 Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only 2011-03-18 11:54:13 -04:00
Benjamin Stover
4d0881f7a6 Bug 642205 Followup: Remove bogus assertion r=roc a=followup-for-blocking-fennec 2011-03-16 14:17:25 -07:00
Benjamin Stover
51e2e999ba Bug 642205 Do not build layers for asynchronous scrolling if element shouldn't be scrollable r=tn a=blocking-fennec 2011-03-16 13:18:35 -07:00
Kyle Huey
3037a2e752 Merge m-c to bs. 2011-03-13 09:57:04 -04:00
Mitchell Field
8a39ea72b9 Merge mozilla-central to build-system. 2011-03-13 04:21:37 +11:00
Phil Ringnalda
dcfcb67938 Bug 640889 - Disable test in debug Windows < Vista while work proceeds on making it pass with the XP resizer in the way, r=tn, a=test 2011-03-11 21:59:30 -08:00
Steven Michaud
472417e274 Bug 637367 - Add null checks to nsPluginInstanceOwner::DoCocoaEventDrawRect(). r=bsmedberg a=sayrer 2011-03-11 17:50:50 -06:00
Chris Jones
089d977534 Tests for bug 593243. a=b 2011-03-11 17:12:11 -06:00
Chris Jones
e4ac9c5928 Bug 593243: Clip invalidations to the displayport when one is set. r=tn 2011-03-11 17:12:11 -06:00
Joel Maher
3028732566 Bug 636641 - remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB 2011-03-11 09:15:34 -05:00
Joel Maher
368d8a0909 Bug 637660 - add sandbox.Android, and skip a few crashtests so we can run green on Android. r=dbaron, a=tests 2011-03-11 09:15:33 -05:00
Chris Jones
c1f6326631 Bug 637822: Translate invalidated content by the offset at which it was made valid. r=roc a=b 2011-03-11 01:58:29 -06:00
Mitchell Field
a7b458884e Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Olli Pettay
6696bada46 Bug 637621, allow selection collapse more often, r+a=jst
--HG--
extra : rebase_source : 216a2405f929ca00cc4982ebb39230b4f3018dc1
2011-03-02 16:55:12 +02:00
Alexander Surkov
34f2d0cb46 Bug 612872 - HAL/Supernova needs tweaks to our window emulation, r=davidb, sr=roc, a=davidb 2011-03-02 22:41:42 +08:00
Matt Woodrow
d23e549f03 Bug 637901 - Don't trash our cached ImageContainer unless the retained layer manager has changed. r=tnikkel a=blocking2.0 2011-03-02 21:53:27 +13:00
Ehsan Akhgari
ad28772950 Partially back out changeset 90b3dedc677d because changesets 502114bb31e8 and c1d77dbe4193 seem to have fixed those failures on trunk. rs=roc a=orange
--HG--
extra : rebase_source : 7c32134b2f3bf6ef147538a3191e3453d24859e9
2011-03-01 17:46:43 -08:00
Matt Woodrow
15bcf64fe6 Bug 637367 - Add null checks to DrawPlugin. r+a=roc 2011-03-02 11:36:09 +13:00
Timothy Nikkel
d3882f51c9 Bug 632423. Fix typo in reftest.list file. a=duh 2011-03-01 16:01:42 -06:00
Steven Michaud
e5b24adc59 Bug 627649 - [Mac] Some events incorrectly passed to a plugin that occur over the plugin. r=roc,josh a=blocking2.0final+ 2011-03-01 15:15:23 -06:00
Robert O'Callahan
52981696d3 Bug 632423. Enable subpixel AA when we draw into the opaque subrect of a surface. r=tnikkel a=beltzner 2011-03-01 14:32:23 -06:00
Chris Jones
dcae2bd7ad Bug 637278: Fix indentation. r=roc a=b 2011-03-01 12:27:35 -06:00
Chris Jones
b24d5d1e6d Bug 637278: INVALIDATE_NO_UPDATE_LAYER_TREE should subsume INVALIDATE_NO_THEBES_LAYERS. r=tn sr=roc 2011-03-01 12:27:35 -06:00
Olli Pettay
56d4d954cb Bug 630919, add collect and invalidate phases for tree ranges, r=enn+neil, a=jst
--HG--
extra : rebase_source : 0a714e7f3829f9641340e47a83f386ab7a0d0905
2011-03-01 14:23:26 +02:00
<Robert O'Callahan> roc@ocallahan.org
5166267748 Bug 636114 - Crash [@ PluginBackgroundSink::~PluginBackgroundSink() ]; r=jones.chris.g approval2.0=johnath 2011-03-01 08:54:37 -04:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Brad Lassey
715c879877 bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec 2011-03-10 23:33:43 -05:00
Benjamin Stover
6fc39e3260 Bug 618975 Follow-up: Fix for non-IPC builds and remove warning r=blassey a=fix-comm-builds 2011-03-15 18:58:28 -07:00
Benjamin Stover
a646bb5913 Bug 618975 Followup: bitrot and remove mDisplayport from nsDisplayScrollLayer r=cjones r=tn a=blocking-fennec 2011-03-09 13:35:27 -08:00
Benjamin Stover
e9b77710b0 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-15 16:20:19 -07:00
Ehsan Akhgari
03d0f42f3c Bug 642823 - Part 2: Correct the original test for selection.modify which tested explicitly for Windows-specific behavior; r=roc 2011-03-20 15:53:23 -04:00
Ehsan Akhgari
11ad8ed434 Bug 642823 - Make the behavior of nsISelection::Modify consistent for word selection across platforms by not eating spaces on any platform; r=roc 2011-03-20 15:49:06 -04:00
Ehsan Akhgari
b528286d7e Bug 639695 - Reconnect the HTML editor to the new presentation of a contenteditable document when it changes; r=roc
This fixes things such as the caret not showing up after the presshell for a
document containing a contenteditable element is recreated.
2011-03-11 18:45:20 -05:00
Ehsan Akhgari
c504ea4d07 Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc 2011-03-11 00:40:31 -05:00
Henri Sivonen
5bc865c4b0 Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00