L. David Baron
6d7a1b6c6a
Lower the level in the cascade of animations. (Bug 653645) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
9f0f3f6deb
Assert that we destroy ElementAnimations/ElementTransitions through its Destroy() method. (Bug 653644) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
aa3677a93e
Add additional test for @-moz-document regexp() case-sensitivity (after discussion in bug 653495).
2011-04-30 15:16:19 -07:00
L. David Baron
a1b0cfc70a
Convert use of zoom API in style system mochitests to SpecialPowers. (Bug 653461, patch 3) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
3f21fee119
Convert use of DOMWindowUtils in style system mochitests to SpecialPowers. (Bug 653461, patch 2) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
1f7739e466
Convert use of preferences API in style system mochitests to SpecialPowers. (Bug 653461, patch 1) r=bzbarsky
2011-04-30 15:16:18 -07:00
L. David Baron
6c68aef211
Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky
2011-04-28 10:21:37 -07:00
L. David Baron
2ee5bebdb6
Don't set mNeedsRefreshes to false when we get two refreshes at the same time stamp. (Bug 651456) r=bzbarsky
2011-04-28 10:21:36 -07:00
L. David Baron
f0c3913fba
Remove incorrect nulling out of members that duplicates the correct code in Shutdown. (Bug 652385) r=bzbarsky
2011-04-28 10:21:36 -07:00
Mike Hommey
faec066224
Bug 590181 part 1 - Fix tests to avoid rounding errors. Original patch from jlebar. r=dbaron
2011-04-28 15:48:59 +02:00
Jonathan Kew
66f00dfb18
bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron
2011-04-28 06:04:45 +01:00
Kyle Huey
9b98dbcd7b
Backed out changeset 72430b4913e4
2011-04-27 20:12:27 -04:00
Boris Zbarsky
37892c4076
Bug 652301. Show focus outlines on all focusable things in HTML, not just on a whitelist of them. r=dbaron
...
The :-moz-focusring style comes first so we don't have to do the :not() and :-moz-any() matching at all for the common case.
--HG--
extra : rebase_source : 330a9f4ba38a6613d3bd43f404325ea4dfcae789
2011-04-27 16:52:23 -04:00
Boris Zbarsky
c051e42fd5
Bug 649163. Stop refcounting the return values from GetCSSParsingEnvironment, where possible. r=dbaron
...
--HG--
extra : rebase_source : 13d75f3954dd1597d58f7741ac8cfc4de51ebe46
2011-04-27 16:53:49 -04:00
Craig Topper
a96af92a84
Bug 648925 - Part 4: DeCOMtaminate GetDOMRule and GetDOMRuleWeak. r=bzbarsky
2011-04-07 23:36:09 -07:00
Craig Topper
17f74aee24
Bug 648925 - Part 3: Factor some common method bodies into css::Rule. r=bzbarsky
2011-04-11 19:46:35 -07:00
Craig Topper
0a33ba66bb
Bug 648925 - Part 2: Make several css::Rule methods non-virtual and inline. r=bzbarsky
2011-04-07 20:51:25 -07:00
Craig Topper
c3d4c659c7
Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky
2011-04-07 18:23:46 -07:00
Yury
fed2749368
Bug 451165. Fix ParseColorString to report errors when there's garbage at the end of the color. r=dbaron
2011-05-05 17:12:04 -04:00
Masayuki Nakano
1adf21f3e7
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
L. David Baron
3b5f6cea92
Reduce scope of :hover quirk: make it apply normally if it has a class selector, and be quirky (only apply to links) only when actually global. (Bug 197686) r=bzbarsky
2011-04-22 18:36:24 -07:00
L. David Baron
5f05f9582d
Should check link-related bits before reusing style context for root element. (Bug 652268) r=bzbarsky
2011-04-22 18:36:24 -07:00
L. David Baron
303db68634
unicode-bidi should inherit into ::-moz-cell-content, ::-moz-anonymous-block, ::-moz-anonymous-positioned-block, and ::-moz-fieldset-content. (Bug 604294) r=bzbarsky
2011-04-22 18:36:24 -07:00
L. David Baron
4e3e6d8813
Fix css3-animations handling of properties that are not present in all keyframes to match WebKit and generally be more sensible. (Bug 649400) r=bzbarsky
...
This inverts the relationship between segments and properties in the
animation data structures: now each property has a set of segments,
since the segments differ between properties.
Furthermore, we now handle inability to interpolate between values by
dropping the entire property rather than dropping a single segment.
2011-04-22 18:36:23 -07:00
L. David Baron
9536083ea6
Use saner index names in nsAnimationManager. (Bug 649400) r=bzbarsky
2011-04-22 18:36:23 -07:00
Mounir Lamouri
84203d9e11
Merge cedar with mozilla-central.
2011-04-22 15:25:11 +02:00
L. David Baron
dad5a358cd
Add diagnostic for nested @-rules that are ignored. (Bug 652014) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
72447213b1
Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
eac95bc5f3
Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
...
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
L. David Baron
a6378ab35a
Allow null media query cache key in some places. (Bug 542058, patch 2) r=bzbarsky
2011-04-21 20:17:31 -07:00
L. David Baron
a9d5f524ee
Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
...
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
L. David Baron
6242cc7dee
Share code to compute timing functions. (Bug 651801, patch 2) r=bzbarsky
2011-04-21 20:17:30 -07:00
L. David Baron
c52e471a70
Share code to count the length of the transition/animation property array. (Bug 651801, patch 1) r=bzbarsky
2011-04-21 20:17:30 -07:00
David Zbarsky
a0b813679f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
2af4853be5
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
732897cc3f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Zack Weinberg
3929b6bfdd
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
8648dcc368
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
a7b4f1246b
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
a66b612e32
Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones
2011-04-19 15:07:22 +12:00
Mounir Lamouri
48776b91cf
Merge cedar with mozilla-central.
2011-04-18 17:16:20 +02:00
Masatoshi Kimura
61c4d352fa
Bug 650653 - Fix test_ident_escaping.html and test_parse_ident.html when using DBCS locales. r=dbaron
2011-04-17 23:13:15 +02:00
Dão Gottwald
9291640652
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2011-04-17 21:53:25 +02:00
Zack Weinberg
ef90e52c10
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
b6b73ad75a
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
c49f97544f
Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics.
2011-04-07 18:05:25 -07:00
Zack Weinberg
9f143f420f
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Jonathan Kew
212f73b280
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Boris Zbarsky
21298d6c2c
Bug 645491 part 2. Speed up changes to id attributes on pages with lots of id selectors. r=dbaron
...
The basic idea is to only match against id selectors which might matter by keeping track of them in a hashtable instead of a flat list. We still need to use a flat list for possibly-negated id selectors, unfortunately.
2011-04-12 19:57:48 -07:00
Boris Zbarsky
bc1513cc89
Bug 645491 part 1. Rename ClassSelector to AtomSelector. r=dbaron
...
We're going to use this same data structure for id selectors too, so the old name doesn't make sense any more.
2011-04-12 19:57:42 -07:00
Ms2ger
c36fc1ab40
Backed out changeset 3f82f25d7334
2011-04-12 14:28:53 +02:00
Jonathan Kew
9765228219
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Boris Zbarsky
dc5c9278fb
Fix 32-bit mac opt bustage, bug 435442, r=dbaron
2011-04-12 01:12:12 -07:00
L. David Baron
d177e3432d
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
719d41cdd2
Fire animation events at the correct times. (Bug 435442, patch 14) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
b250994f5e
Instead of incorrectly setting nsComputedDOMStyle's mOuterFrame and mInnerFrame when we have a pseudo-element to the element's frames, leave them null. (Bug 435442, patch 13) r=bzbarsky
...
Note: tested by the pseudo-element tests in patch 14.
2011-04-11 23:18:44 -07:00
L. David Baron
88867baa75
Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
fe7e5ee602
Factor some common testing code into animation_utils.js. (Bug 435442, patch 10) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
cfe954e0bc
Make AnimValuesStyleRule::AddEmptyValue infallible. (Bug 435442, patch 8) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
32f7f568a9
Refactor some parts of nsTransitionManager into common base class to be shared with AnimationManager. (Bug 435442, patch 7) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
914379bb82
Add support for cascading of keyframes rules. (Bug 435442, patch 6) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
608bc593d5
Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
fbdb8e966b
Fix style rule inheritance macros. (Bug 435442, patch 4) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
d941f41200
Clean up handling of CSSOM modifications to rules that are non-child descendants of a sheet. (Bug 435442, patch 3) r=bzbarsky
...
This fixes handling of a number of cases:
1. Modifications to a style rule inside a group rule now trigger
GetRuleCascades.
2. A sheet that has been (potentially) modified is reliably marked as
such, and thus never cloned.
2011-04-11 23:18:43 -07:00
L. David Baron
ae52e328b6
Share implementation of GetCSSParsingEnvironment so we can use it for both style rules' declarations and keyframe rules' declarations. (Bug 435442, patch 2) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
fa6f166e61
Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
7bee896472
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00
Craig Topper
a34a1d0043
Bug 577976 - Part 6: Add cast to resolve ambiguity in case 'using' isn't supported by compiler, r=bzbarsky
2011-04-06 00:11:42 -07:00
Craig Topper
25cb0ebb8b
Bug 645956 - Part 5: Remove NS_NewCSSCharsetRule, r=bzbarsky
2011-03-22 23:20:09 -07:00
Craig Topper
88c6cab4da
Bug 645956 - Part 4: Move CSSCharsetRule to header file and put in css namespace, r=bzbarsky
2010-08-07 22:34:19 -07:00
Craig Topper
f6a3dfccf4
Bug 645956 - Part 3: Remove NS_NewCSSNamespaceRule, r=bzbarsky
2011-03-22 22:23:04 -07:00
Craig Topper
de8f5093de
Bug 645956 - Part 2: Remove NS_NewCSSImportRule, r=bzbarsky
2011-03-22 22:22:59 -07:00
Craig Topper
6096667acd
Bug 645956 - Part 1: Remove NS_NewCSSStyleRule, r=bzbarsky
2011-03-22 19:56:47 -07:00
Craig Topper
8bbf26beb9
Bug 577976 - Part 5: Remove AddRef from GetStyleSheet, r=bzbarsky
2010-08-07 22:33:15 -07:00
Craig Topper
d78fcbd193
Bug 577976 - Part 4: Move AddRef/Release back to nsCSSRule, r=bzbarsky
2011-03-17 22:18:08 -07:00
Craig Topper
8ef5f341e8
Bug 577976 - Part 3: Rename nsCSSRule and put in css namespace, r=bzbarsky
...
--HG--
rename : layout/style/nsCSSRule.h => layout/style/Rule.h
2011-03-06 19:59:03 -08:00
Craig Topper
f7b0f4c555
Bug 577976 - Part 2: Remove forwarding methods to nsCSSRule from Rule classes, r=bzbarsky
2010-08-07 22:30:57 -07:00
Craig Topper
82982dab9b
Bug 577976 - Part 1: Make nsCSSRule inherit from nsICSSRule and remove inheritance of nsICSSRule from other classes, r=bzbarsky
2011-03-28 20:21:20 -07:00
Craig Topper
de9bd6698d
Bug 577974 - Part 4: DeCOM and de-virtualize methods in GroupRule, r=bzbarsky
2010-08-07 22:29:28 -07:00
Craig Topper
81dc782eed
Bug 577974 - Part 3: Rename nsCSSDocumentRule and nsCSSMediaRule, r=bzbarsky
2011-03-17 22:18:08 -07:00
Craig Topper
3265d1070e
Bug 577974 - Part 2: Remove nsICSSGroupRule, r=bzbarsky
...
--HG--
rename : layout/style/nsICSSGroupRule.h => layout/style/GroupRule.h
2010-08-07 22:28:33 -07:00
Craig Topper
2f31a02e26
Bug 577974 - Part 1: Rename CSSGroupRuleListImpl. r=bzbarsky
2010-08-07 22:23:17 -07:00
Mats Palmgren
fd82cd9682
Bug 640272 - Check load status for border images before trying to render them. r=bzbarsky
2011-04-04 13:41:02 +02:00
Mats Palmgren
fd833c66a3
Bug 645423 - Don't poison nsRuleData in --enable-valgrind builds. r=dbaron
2011-04-04 13:41:02 +02:00
Chris Leary
347b8d483b
Merge tracemonkey to mozilla-central.
2011-03-31 15:47:46 -07:00
Paul Biggar
cfb2a6aebf
Bug 643548: Remove mozalloc_undef_macro_wrappers hack from JS engine. (r=luke,rs=brendan)
...
mozalloc_undef_macro_wrappers are brittle and have side-effects that are hard
to debug and fix. The alternative is the just stick an underscore on the end of
malloc, free, etc, which is a comparatively small burden.
2011-03-31 01:14:12 -07:00
Masayuki Nakano
fcb9c01bf9
Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron
2011-03-31 21:27:03 +09:00
Masayuki Nakano
4ac1042cce
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
Ehsan Akhgari
2c668ef797
Merge cedar into mozilla-central
2011-03-30 13:53:35 -04:00
Simon Montagu
4587536cef
Remove UTF-32 encoder and decoder. Bug 604317, r=emk
2011-03-30 08:35:34 +02:00
L. David Baron
6d2667f933
Add test for bug 583219. r=bzbarsky
2011-03-29 20:46:13 -07:00
L. David Baron
b431403ede
Don't call SetSheet with a null sheet. (Bug 645951) r=bzbarsky
2011-03-29 20:46:12 -07:00
Florian Quèze
821b553af9
Bug 591341 - Add color keywords for default text and background colors. r=dbaron
2011-03-30 11:28:05 +02:00
Ehsan Akhgari
692c3a0600
Merge cedar into mozilla-central
2011-03-29 10:39:07 -04:00
L. David Baron
a1b15c117e
Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky
2011-03-28 16:07:27 -07:00
L. David Baron
6964725cc6
Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
90eaa47be4
Move nsCSSCornerSizes from nsCSSStruct.h/cpp to nsCSSValue.h/cpp. (Bug 645620, patch 3) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
4bd09b8961
Remove nsCSSDataBlock::kOffsetTable, which is no longer needed. (Bug 645620, patch 2) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
9e22f77798
Replace use of nsCSS* structs in nsCSSExpandedDataBlock with an array of nsCSSValue. (Bug 645620, patch 1) r=bzbarsky
...
Note that this increases the size of nsCSSExpandedDataBlock by three
nsCSSValues for the three non-CSS properties.
2011-03-28 16:07:26 -07:00
Jonas Sicking
7f14c5ec51
Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug
2011-03-28 13:18:45 -07:00
Ms2ger
3c41948d77
Bug 562701, part c: Use Element in nsStyleAnimation::ComputeValue; r=dbaron
2011-03-28 12:51:59 -04:00
Daniel Holbert
04f492c512
Bug 645750: Remove unused variables 'variantMask' and 'table' from nsCSSParser. r=dbaron
2011-03-29 09:53:09 -07:00
Boris Zbarsky
af7837cf56
Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
fbfff8a404
Bug 598832 part 15. Make RuleProcessorData not inherit from TreeMatchContext anymore, so we can decouple the lifetimes. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
bc9f691318
Bug 598832 part 14. Make RuleProcessorData a stack-only class. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
7a803c365b
Bug 598832 part 13. Stop using RuleProcessorData in the DOM-exposed selector-matching methods. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
b65ed4354f
Bug 598832 part 12. Stop using RuleProcessorData in SelectorMatchesTree. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
d48e457cc2
Bug 598832 part 11. Stop caching the parent content pointer and the element pointer; just use the passed-in aElement. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
22bd1cff27
Bug 598832 part 10. Stop caching information about the element's attributes; just get it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
2e4df29640
Bug 598832 part 9. Stop caching the element's local name; just get it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
69b3dc14e0
Bug 598832 part 8. Move NodeMatchContext higher up the callstack, so that we don't have to call IsLink as much. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
b7cf0b4cf6
Bug 598832 part 7. Stop caching the content state of elements; just reget it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
be4156dd55
Bug 598832 part 6. Stop caching the language of elements; just reget it from the DOM as needed. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
3b5cba5436
Bug 598832 part 5. Move caching of nth-index stuff to the TreeMatchContext. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
8d93a3554b
Bug 598832 part 4. Move tracking of whether we're in quirks mode to the TreeMatchContext. r=dbaron
2011-03-29 13:29:20 -04:00
Boris Zbarsky
206e01b948
Bug 598832 part 3. Stop keeping track of whether the node or document is HTML in the RuleProcessorData. r=dbaron
2011-03-29 13:29:20 -04:00
Boris Zbarsky
a691fa82b9
Bug 598832 part 2. Move tracking of the scope root to the TreeMatchContext. r=dbaron
2011-03-29 13:29:20 -04:00
Boris Zbarsky
4e6bf4af7c
Bug 598832 part 1. Move TreeMatchContext out to where things other than the rule processor can get at it. r=dbaron
2011-03-29 13:29:20 -04:00
timeless@mozdev.org
d1aead5bd7
Bug 577914 mark DEBUG only variables as ifdef DEBUG in layout
...
r=dbaron
2010-07-11 15:47:45 +03:00
Boris Zbarsky
af44e6fc9b
Bug 643945. Use a <button type='button'>, not an <input type='button'>, for the dropmarker in a <select>. r=ehsan
2011-03-25 21:05:56 -04:00
L. David Baron
a7344b2af9
Backout changeset f406ffe65c08 (Bug 620931 part 1) for causing bug 644790.
2011-03-24 21:07:53 -07:00
L. David Baron
28afc65780
Merge layout work from projects/birch, part 4. a=rs
2011-03-24 14:36:14 -07:00
Boris Zbarsky
bba3fb39d7
Bug 602341 part 7. Fix serialization of tree selectors. r=dbaron
2011-03-23 17:25:42 -04:00
L. David Baron
5cebe2c042
Merge layout work from projects/birch, part 3. a=smaug
2011-03-24 08:38:19 -07:00
Mike Hommey
2fbedf06e8
Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg
2011-03-24 15:27:37 +01:00
Boris Zbarsky
c4ed99a66d
Bug 606087. Don't reframe if overflow styles change on inlines. r=dbaron. Test changes by Alexander Surkov, r=marco.zehe
2011-03-23 09:56:58 -04:00
Boris Zbarsky
6a1bc5f4b4
Bug 602341 part 6. Make pseudoclass atoms private to nsCSSPseudoClasses. r=dbaron
2011-03-23 09:52:25 -04:00
Boris Zbarsky
6cfa5555c3
Bug 602341 part 5. Get rid of some pseudoclass atoms in the CSS parser. r=dbaron
2011-03-23 09:52:25 -04:00
Boris Zbarsky
7f04a7d94e
Bug 602341 part 4. Drop the nsIAtom arguments to AddPSeudoClass. r=dbaron
2011-03-23 09:52:25 -04:00
Boris Zbarsky
8cdfaea14d
Bug 602341 part 3. Get rid of the mAtom member of nsPseudoClassList. r=dbaron
2011-03-23 09:52:25 -04:00
Boris Zbarsky
f677f9d256
Bug 602341 part 2. Switch tree pseudoelements to using an nsAtomList (mClassList, to be exact), not an nsPseudoClassList (mPseudoClassList), for their list of atoms. r=dbaron
2011-03-23 09:52:25 -04:00
Boris Zbarsky
d133473456
Bug 602341 part 1. Switch the pseudoclass Has*Arg functions from atoms to pseudoclass types. r=dbaron
2011-03-23 09:52:24 -04:00
L. David Baron
710e58f66c
Fix Windows optimized bustage from bug 636039 patch 15: use placement new in a loop instead of using placement new[].
2011-03-18 14:02:44 -07:00
L. David Baron
b455d1fb83
Remove changes that should have been removed from bug 636039 patch 14 when I revised by 636039 patch 13.
2011-03-18 14:02:44 -07:00
L. David Baron
5aed3e0c4a
Fix bustage from bug 636039, patch 13, by not trying to access stub entries in kOffsetTable for the CSS_PROP_STUB_NOT_CSS entries. (Bug 636039)
2011-03-17 21:58:26 -07:00
L. David Baron
a089e0afb6
Fix Windows bustage by using the alloca-inclusion incantation from jstracer.cpp. (Bug 636039)
2011-03-17 20:43:06 -07:00
L. David Baron
8ff298d446
Make nsCachedStyleData store arrays of nsStyleStruct*, and use style struct IDs for faster access to those arrays. (Bug 639231, patch 3) r=bzbarsky
2011-03-17 20:14:32 -07:00
L. David Baron
52152cb738
Fix indentation. (Bug 639231, patch 2) r=bzbarsky
2011-03-17 20:14:32 -07:00
L. David Baron
c50f6e81a4
Keep reset and inherited style struct IDs separate. (Bug 639231, patch 1) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
401e3dc9b6
Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky
...
I tested manually that after:
(a) removing the |ruleData.mValueOffsets[aSID] = 0;| in
nsRuleNode::WalkRuleTree
(b) removing the NS_ABORT_IF_FALSE(aRuleData->mValueOffsets[aSID] == 0,
...) from nsRuleNode::CheckSpecifiedProperties and
UnsetPropertiesWithoutFlags
that we crash dereferencing the poison address in a SetCoord call inside
nsRuleNode::ComputeTextResetData
2011-03-17 20:14:31 -07:00
L. David Baron
c12115ab74
Make test_property_database.html give all the errors rather than throwing an exception for the first missing longhand property. (Bug 636039, patch 18) r=bzbarsky
...
The main fix is in the first of the three for loops modified, but the
new structure of that one seems like an improvement worth applying to
the other two.
2011-03-17 20:14:31 -07:00
L. David Baron
a71cf7e9a9
Remove now unused nsRuleData* structs. (Bug 636039, patch 17) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
71d08383cb
Remove Moz prefixes from names of subproperty tables. (Bug 636039, patch 16) r=bzbarsky
...
This fixes the FIXME introduced in patch 4.
2011-03-17 20:14:31 -07:00
L. David Baron
ec0055aa6b
Instead of stack-allocating nsRuleData* structs in separate methods for each style struct, allocate an array of nsCSSValue using alloca. (Bug 636039, patch 15) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
fce790e6bb
Add index and count data for the properties that need to be computed for each style struct. (Bug 636039, patch 14) r=bzbarsky
...
This adds a second occurrence of the ugliest pattern of nsCSSPropList.h
inclusion.
2011-03-17 20:14:31 -07:00
L. David Baron
032ddb90c8
Make the three CSS_PROP_INCLUDE_NOT_CSS properties much more like normal CSS properties, and (importantly) give them property IDs in the longhand range. Replace CSS_PROP_INCLUDE_NOT_CSS with CSS_PROP_STUB_NOT_CSS for callers that need stubs. (Bug 636039, patch 13) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
ed2a690b21
Remove now-unneeded parameters to COMPUTE_START_{INHERITED,RESET}. (Bug 636039, patch 12) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
eaaf37ca08
Convert nsRuleNode::Compute*Data to property getters instead of accessing struct members. (Bug 636039, patch 11) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
ec99680d49
Correct checks that were for the wrong pseudo-property (script-level vs. script-size-multiplier). (Bug 636039, patch 10) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
612e7dd7b0
Remove unused *AtOffset methods. (Bug 636039, patch 9) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
ad7b7cc2ed
Convert custom style rules to property getters instead of accessing struct members. (Bug 636039, patch 8) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
3a63faa598
Add nsRuleData::ValueForBackgroundColor, etc., methods for each CSS property. (Bug 636039, patch 5) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
49daed21e9
Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
f9e49f5a38
Don't bloat nsCSSTable for members that only need to exist in nsRuleDataTable. (Bug 636039, patch 3) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
982559da8c
Correct comment describing nsRuleData::ValueFor. (Bug 636039, patch 2) r=bzbarsky
...
nsRuleData::ValueFor does not return null; it checks conditions that
would cause it to do so with NS_ABORT_IF_FALSE. Callers are required to
check mSIDs.
2011-03-17 20:14:30 -07:00
Boris Zbarsky
e11dc52475
Bug 641856. column-rule needs to work even when overflow is not visible. r=roc
2011-03-17 13:41:52 -04:00
Craig Topper
cc19a1ceb0
Bug 577002 Part 3: Make various ImportRule functions non-virtual and cleanup some return types. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
f73d0bfb43
Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky
...
--HG--
rename : layout/style/nsICSSImportRule.h => layout/style/ImportRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
7028de1f22
Bug 577002 Part 1: Rename CSSImportRuleImpl to mozilla::css::ImportRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
5046fee8c2
Bug 576877 Part 3: De-virtualize methods in NameSpaceRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
5fd4236789
Bug 576877 Part 2: Remove nsICSSNameSpaceRule. r=bzbarsky
...
--HG--
rename : layout/style/nsICSSNameSpaceRule.h => layout/style/NameSpaceRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
5e8ebdc87a
Bug 576877 Part 1: Rename CSSNameSpaceRuleImpl to mozilla::css::NameSpaceRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
L. David Baron
6f8a7f7e04
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
276bc2fc4e
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
5c5dffb84a
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
5602457863
Fix incorrect indentation in nsCSSScanner::NextURL. (Bug 604179, patch 4) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
7366e14023
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
34a94f8d55
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
3ec2ecbf58
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
c96353bbd5
Bug 576831 part 6. DeCOMtaminate some StyleRule method signatures. r=bzbarsky.
2011-03-10 21:50:20 -05:00
Craig Topper
3bf4843751
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
678b9c7c11
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
952a977004
Bug 576831 part 3. Rename CSSImportantRule to mozilla::css::ImportantRule. r=bzbarsky
2011-03-10 21:48:26 -05:00
Craig Topper
d5233e065b
Bug 576831 part 2. Rename DOMCSSStyleRuleImpl to mozilla::css::DOMCSSStyleRule. r=bzbarsky
2011-03-10 21:47:52 -05:00
Craig Topper
1f6006c1f6
Bug 576831 part 1. Rename CSSStyleRuleImpl to mozilla::css::StyleRule. r=bzbarsky
2011-03-10 21:47:08 -05:00
L. David Baron
3e524dfc64
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
Boris Zbarsky
a5dd83ec8b
Bug 608759. Stop calling ContentEnumFunc through a function pointer; just call it directly. r=dbaron
2011-03-07 12:45:25 -05:00
L. David Baron
949c14cb64
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
0f0c809126
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
9b37832256
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
2f73995ced
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
08ab704b49
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
92c4c1e812
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
1b6756da8d
Separate the non-property parsed in ParseSingleValueProperty. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
43d08d340f
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
2167602644
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
a9819c7c68
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
2819c13fc2
Bug 585867 part 5. Remove outparam and AddRef from all property getters. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
84d57dbce1
Bug 585867 part 4. Make SetValueToStyleImage return void. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
c4ca67ca74
Bug 585867 part 3. Make AppendCSSValue infallible. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
6d62c4f051
Bug 585867 part 2. Make SetToRGBAColor return void. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
163123815e
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
Boris Zbarsky
f777ddac6c
Bug 616137. Skip to the nearest ']' when parsing an attr selector fails. r=dbaron
2011-03-04 10:27:02 -05:00
L. David Baron
f2adcfab27
-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
df33781268
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
008e6b6207
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
81285a506b
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
471f66cce0
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
c1f0fe176f
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
Boris Zbarsky
cbc1af6201
Bug 635286. Fix dynamic handling of :not() inside :-moz-any(). r=dbaron, a=dbaron
2011-02-24 13:42:15 -05:00
L. David Baron
4520f10e49
Merge layout work from projects/birch, part 1. a=bsmedberg
2011-03-23 12:36:08 -07:00
Brad Lassey
7f36eddd1d
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
Jonathan Kew
448ebf5098
bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner
2011-01-05 21:48:48 +00:00
Boris Zbarsky
5579a836d1
Bug 631352. Changes to @lang need to restyle all descendants. r=dbaron, a=blocker
2011-02-08 16:30:57 -05:00
Ehsan Akhgari
a9128640d0
Bug 573960 - Make the bordercolor attribute on table elements work again; r=bernd a=blocking-betaN+
2011-01-31 16:23:01 -05:00
Boris Zbarsky
c84c8c9e2d
Bug 631682. Make sure to start background image loads for the root element when we compute its style and decide to construct a frame. r+a=dbaron
2011-02-04 22:43:13 -05:00
Zack Weinberg
eadfd13629
Bug 631615: suppress CSS parser diagnostics in ParseSelectorString. r=dbaron a2.0=dbaron
2011-02-04 14:17:00 -08:00
Ehsan Akhgari
57a2e9ff40
Bug 630564 - Ctrl+Shift+X in the location bar in RTL mode should change the text alignment in addition to directionality; r=roc a=blocking-final+
2011-02-03 01:31:14 -05:00
Jeff Walden
f15d2639f5
Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan
2011-01-22 17:46:22 -08:00
Jeff Walden
985dbafd23
Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity
2011-01-23 03:12:28 -08:00
Jeff Walden
ca2ed756b9
Another round of orange fixes, sigh. r=orange yet again
2011-01-23 00:12:05 -08:00
Ehsan Akhgari
2dcbc3ab6b
Bug 581536 - Resizer direction doesn't handle dynamic changes correctly; r=bsbarsky a=blocking-betaN+
...
--HG--
rename : layout/reftests/forms/textarea-rtl.html => layout/reftests/forms/textarea-rtl-dynamic-attr.html
rename : layout/reftests/forms/textarea-rtl.html => layout/reftests/forms/textarea-rtl-dynamic-style.html
extra : rebase_source : c12e9bcce6d2af527d15fe2f78a80f056888846c
2010-12-10 19:25:25 -05:00
Ryan VanderMeulen
e78b9c64f8
Bug 586130 - Warning C4099 fixes (layout). r=dholbert a=bsmedberg
2011-01-20 19:49:09 -08:00
Boris Zbarsky
ee47b08c79
Backed out changeset 4e9a62d516ef (bug 573960) on suspicion of causing test orange.
2011-01-18 22:58:44 -05:00
Daniel Kirsch
0d22818c8f
Bug 573960. When bordercolor is set, it should also be used as the table grid color. r=fantasai, a=blocker
2011-01-18 21:20:35 -05:00
Boris Zbarsky
20d4516c3b
Bug 625434. Make sure we don't get into a situation where we're failing to gc the ruletree for a page. r=dbaron, a=blocker
2011-01-18 21:20:35 -05:00
Neil Deakin
2672504f59
Bug 489303, show resizer when statusbar is hidden, r=roc,gavin a=blocking
2011-01-17 09:35:32 -05:00
L. David Baron
89fdb8f658
Make this test more reliable given imperfect timers, to fix TEST-UNEXPECTED-FAIL that has happened once so far. (Bug 613888) a=tests
2011-01-15 10:24:41 -08:00
L. David Baron
dd702c0785
Correctly fix up the parentage of child sheets when removing the primary nsCSSStyleSheet from an nsCSSStyleSheetInner. (Bug 623351) r=bzbarsky a2.0=blocking
2011-01-14 19:57:53 -08:00
SHIMODA Hiroshi ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
c1a13fedf3
Add test for transitionend events firing for transitions that, prior to bug 613888, were canceled right before completing. r=bzbarsky a2.0=blocking
2011-01-14 19:57:53 -08:00
L. David Baron
3ffcee0937
Don't cancel transitions that are almost completed (and round to their final value) when we get an unrelated style change. (Bug 613888) r=bzbarsky a2.0=blocking
2011-01-14 19:57:53 -08:00
Boris Zbarsky
da2cad4e60
Bug 589615 part 2. Rename the HTML preshint level to just the preshint level, since it's the only preshint level now. r=dbaron, a=dbaron
2011-01-14 21:14:41 -05:00
Boris Zbarsky
670b84a67f
Bug 589615 part 1. Get rid of the non-HTML preshint level. r=dbaron
2011-01-14 21:14:41 -05:00
Ehsan Akhgari
c740c0cd64
Bug 620906 - Back out part of bug 289384 to make sure that scrollbars work in CKEditor fields again; r=roc a=blocking-final+
2011-01-11 16:00:44 -05:00
L. David Baron
92d417dc17
Fix backwards handling of zero-duration transitions. (Bug 622461) r=bzbarsky a2.0=blocking2.0:betaN
2011-01-04 10:10:54 -05:00
Robert O'Callahan
a352316479
Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
7684e2b15c
Bug 593604. Part 5: Mark CSS gradient images as opaque when all their stops are opaque. r=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
L. David Baron
639cdb33d9
Correct handling of unitless zero in calc() expressions. (Bug 595648) r=bzbarsky a=blocking2.0:betaN+
...
This ensures that we treat a unitless zero as a number rather than a
length inside of calc() expressions. This causes both the acceptance of
previously-rejected expressions (such as -moz-calc(0 * 1em)) and the
rejection of previously-accepted ones (such as -moz-calc(0 + 1em)).
2010-12-30 12:59:33 -05:00
L. David Baron
c64142dd70
In contexts where the CSS parser accepts numbers and lengths, treat unitless zero as a number rather than a length. (Bug 595648) r=bzbarsky,dholbert a=blocking2.0:betaN+
...
This patch has the side-effect of changing the representation of '0'
values in properties added by SVG to use the number representation
rather than the length representation. This requires marking the
stroke-dashoffset:0 test in test_value_computation.html as known to
fail, since computed style code now returns 0 rather than 0px, and also
requires changing some inputs and results in some SMIL tests (which
seems like it's showing a bug that we can't interpolate between
equivalent values when we ought to be able to do so).
2010-12-30 12:59:33 -05:00
Brian Birtles
4a591481a9
Bug 607537 - SVG SMIL: Support paint servers an animation values; r=dholbert,dbaron; a=roc
2010-12-29 10:31:14 +09:00
Gavin Sharp
c3c52e4815
Back out 0ab0603bea99 (bug 489303) due to suspected Txul regression, a=backout
2010-12-25 14:55:35 -05:00
Neil Deakin
8be581fb19
Bug 489303 - No resizer since the statusbar is gone, r=gavin+roc, a=b
2010-12-21 13:19:00 -08:00
Mounir Lamouri
2db721d9de
Bug 612752 - Change :-moz-ui-invalid default style when the invalid element is focused. r=dbaron ui-r=limi a=blocking-final
...
--HG--
rename : layout/reftests/css-ui-invalid/default-style/button-ref.html => layout/reftests/css-ui-invalid/default-style/button-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/button.html => layout/reftests/css-ui-invalid/default-style/button-focus.html
rename : layout/reftests/css-ui-invalid/default-style/input-ref.html => layout/reftests/css-ui-invalid/default-style/input-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/input.html => layout/reftests/css-ui-invalid/default-style/input-focus.html
rename : layout/reftests/css-ui-invalid/default-style/select-ref.html => layout/reftests/css-ui-invalid/default-style/select-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/select.html => layout/reftests/css-ui-invalid/default-style/select-focus.html
rename : layout/reftests/css-ui-invalid/default-style/textarea-ref.html => layout/reftests/css-ui-invalid/default-style/textarea-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/textarea.html => layout/reftests/css-ui-invalid/default-style/textarea-focus.html
2010-12-21 19:58:04 -05:00
Serge Gautherie
91b6fa83fb
Bug 558705 - [Debug] mochitests-4: intermittent "test_value_cloning.html | Test timed out."; (Av1) Increase timeout factor to 4 from 3.
...
r=dbaron a=(test only).
2010-12-21 03:08:23 +01:00
Chris Pearce
47a2b0344d
Bug 604885 commit backout merge. a=backout
2010-12-21 07:43:48 +13:00
Chris Pearce
375bf0b33c
Bug 604885 - backout 00cabcc7d182 a=backout
2010-12-21 07:42:41 +13:00
Mihai Sucan
743a3b1798
Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 3; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0
2010-12-20 12:21:59 -04:00
timeless@mozdev.org
6a6349fb74
Bug 619785 - nsComputedDOMStyle::DoGetMozBackgroundSize leaks valY when it has problems with valX, r+a=bz
2010-12-16 14:01:00 -08:00
Chris Pearce
59be19ffa4
Bug 604885 - Don't render video controls outside of css-specified width/height. r=roc a=blocking2.0
2010-11-25 07:34:56 +13:00
Mounir Lamouri
4de2de0492
Bug 613249 - <output> should have :-moz-ui-invalid and :-moz-ui-valid applying. r=bz a=jst
...
--HG--
rename : layout/reftests/css-invalid/output/output-invalid.html => layout/reftests/css-ui-invalid/output/output-invalid.html
rename : layout/reftests/css-invalid/output/output-ref.html => layout/reftests/css-ui-invalid/output/output-ref.html
rename : layout/reftests/css-invalid/output/output-valid.html => layout/reftests/css-ui-invalid/output/output-valid.html
rename : layout/reftests/css-invalid/output/reftest.list => layout/reftests/css-ui-invalid/output/reftest.list
rename : layout/reftests/css-invalid/output/style.css => layout/reftests/css-ui-invalid/output/style.css
rename : layout/reftests/css-valid/output/output-invalid.html => layout/reftests/css-ui-valid/output/output-invalid.html
rename : layout/reftests/css-valid/output/output-ref.html => layout/reftests/css-ui-valid/output/output-ref.html
rename : layout/reftests/css-valid/output/output-valid.html => layout/reftests/css-ui-valid/output/output-valid.html
rename : layout/reftests/css-valid/output/reftest.list => layout/reftests/css-ui-valid/output/reftest.list
rename : layout/reftests/css-valid/output/style.css => layout/reftests/css-ui-valid/output/style.css
2010-11-24 11:13:05 +01:00
Mounir Lamouri
61f840e803
Bug 605125 (1/5) - Add :-moz-ui-valid pseudo-class. r=bz a=jst
2010-11-24 00:54:29 +01:00
Mounir Lamouri
e8c1608b9d
Bug 609017 - Default style for :-moz-ui-invalid. r=bz ui-r=limi a=sicking
2010-11-24 00:51:43 +01:00
Mounir Lamouri
43f2b81daa
Bug 605124 (1/5) - Add :-moz-ui-invalid pseudo-class. r=bz a=bsmedberg
2010-11-24 00:48:18 +01:00
Mounir Lamouri
d01b5c5d84
Bug 609016 - Remove default style for :invalid. r=bz a=bsmedberg
2010-11-24 00:47:26 +01:00
L. David Baron
c27c71fdbe
For transition reversing computations, ensure valuePortion is within 0.0-1.0. (Bug 611238) r=bzbarsky a=blocking2.0:final
...
Without the change to ensure that valuePortion is nonnegative, duration
might become negative, which it's not allowed to be. Without this
change, this can happen when a transition starts off moving into
negative value space, which happens when y1 in the timing function is
negative. The result that we want should come from using the absolute
value (rather than clamping to zero): if we reverse the transition when
it's in this negative space, we want the same movement we'd get if it
were the same distance into positive value space, just in the opposite
direction.
Additionally, I'm clamping valuePortion to be at most 1. This affects
"bouncy" transitions where the timing function's y2 is greater than
one. This is less critical, but ensures the invariant that a transition
will never take longer than its specified time, which seems like a good
thing to ensure.
I believe doing this computation at this stage is preferable to doing it
before the multiplication by oldPT.mReversePortion, since we should be
clamping the value within the range of the complete transition, not just
relative to the most recent reverse.
2010-12-16 08:53:17 -08:00
L. David Baron
1ee276beab
Remove comment that I forgot to remove in the previous patch (which fixed the issue it was pointing out). (Bug 617372) a2.0=tests
2010-12-16 08:53:17 -08:00
Mark Finkle
45373efb36
Bug 618016 - Make a new media query for device orientation [r=dbaron a=blassey]
2010-12-10 13:35:36 -05:00
timeless@mozdev.org
9f3c6ae963
Bug 617971 nsStyleAnimation::ExtractComputedValue leaks pair when StyleCoordToCSSValue fails.
...
r=bz a=bz
2010-12-10 10:31:37 -08:00
L. David Baron
3a0e6c6e3f
Make style system mochitests handle cases where initial font family is sans-serif. (Bug 617372) a2.0=tests
2010-12-09 20:38:53 -08:00
Daniel Brooks
5d4df79b2c
back out about:startup due to crashes during mochitests (a89f24bf1798) a=bustage
2010-12-08 03:43:33 -06:00