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
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
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
Vivien Nicolas
edaa05f5dd
Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec]
2011-02-28 19:06:29 +01:00
Jesse Ruderman
3b3b006244
Bug 386690 - add crashtest. a=NPOTB
2011-02-27 21:12:29 -08:00
Karl Tomlinson
c027046942
test for bug 634556 a=test
...
--HG--
extra : transplant_source : %F919%0D%5C%FC%06%87%21.%7C9%A2%A5%14%CCe%EC%9A%C0
2011-02-28 08:32:08 +13:00
Joel Maher
d8a540587e
Bug 636641 remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB
2011-02-26 13:19:56 -05:00
Matt Woodrow
5a9d39c5e9
Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc
2011-02-25 11:55:23 +13:00