Mounir Lamouri
02dcd4ad59
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
cababf0538
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
1b4176f2dc
Bug 604885 commit backout merge. a=backout
2010-12-21 07:43:48 +13:00
Chris Pearce
7b3410e272
Bug 604885 - backout 00cabcc7d182 a=backout
2010-12-21 07:42:41 +13:00
Mihai Sucan
215e61a4b2
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
2c5b4a64dc
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
8ef4f2a1d5
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
b857423fb5
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
2e73d2b24f
Bug 605125 (1/5) - Add :-moz-ui-valid pseudo-class. r=bz a=jst
2010-11-24 00:54:29 +01:00
Mounir Lamouri
f047fa2dbd
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
261a755de9
Bug 605124 (1/5) - Add :-moz-ui-invalid pseudo-class. r=bz a=bsmedberg
2010-11-24 00:48:18 +01:00
Mounir Lamouri
18a60e943d
Bug 609016 - Remove default style for :invalid. r=bz a=bsmedberg
2010-11-24 00:47:26 +01:00
L. David Baron
6808a1e824
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
476d1363df
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
03f0b98a1e
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
9a2f4154dd
Bug 617971 nsStyleAnimation::ExtractComputedValue leaks pair when StyleCoordToCSSValue fails.
...
r=bz a=bz
2010-12-10 10:31:37 -08:00
L. David Baron
ac228b186b
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
597dd0c5a7
back out about:startup due to crashes during mochitests (a89f24bf1798) a=bustage
2010-12-08 03:43:33 -06:00
Daniel Brooks
115293a267
Bug 593743 - about:startup page showing historical startup timings; final merge with trunk. ui-r=beltzner feedback=mak77 r=mossop sr=vlad a=bsmedberg
2010-12-07 22:10:14 -06:00
Daniel Brooks
37d3c66f90
about:startup - merge vlad's review comments with the trunk
...
--HG--
rename : testing/mochitest/runtests.py.in => testing/mochitest/runtests.py
2010-11-23 09:49:19 -06:00
Daniel Brooks
4e4c6fce15
about:startup - merge with trunk
2010-10-24 16:24:58 -05:00
L. David Baron
88c9a20f8d
Add test for nsStyleAnimation::ComputeDistance. (Bug 598099) r=bzbarsky a2.0=blocking-betaN
2010-10-23 16:31:55 -07:00
L. David Baron
8cb1c8371d
Change distance computation for transforms so that distance ratios match interpolation. (Bug 598099) r=bzbarsky a2.0=blocking-betaN
2010-10-23 16:31:55 -07:00
L. David Baron
2a41b9c1dc
Make AnimValuesStyleRule::MapRuleInfoInto check that property hasn't been filled in yet, so that it cascades correctly and interacts correctly with nsStyleSet::ResolveStyleByAddingRules. (Bug 598099) r=bzbarsky a2.0=blocking-betaN
2010-10-23 16:31:55 -07:00
L. David Baron
606f3325dc
Revert code changes from changeset 1640dcbf1d4c (bug 541406), and add embed:-moz-focusring too, now that bug 542595 is fixed. r=roc
2010-10-23 16:31:55 -07:00
Daniel Brooks
7961ced955
about:startup - merge with trunk
2010-09-27 05:38:17 -05:00
Daniel Brooks
45773d35d8
about:startup - merge with trunk
2010-09-21 15:06:04 -04:00
L. David Baron
7b399c630c
Add NS_FINAL_CLASS annotations to rule classes. r=bzbarsky Add virtual that I missed on nsCSSGroupRule. (Bug 596140) a=me
2010-09-18 12:15:31 -07:00
L. David Baron
c8b09f7d85
Eliminate all virtual functions from nsCSSRule to eliminate its vtable pointer. (Bug 596140) r=bzbarsky a2.0=roc
2010-09-18 11:43:17 -07:00
L. David Baron
5e6ca7ce7e
Save a word in nsCSSStyleRule on 32-bit systems by merging mWasMatched into one bit of mLineNumber. (Bug 596140) r=bzbarsky a2.0=roc
2010-09-18 11:43:17 -07:00
L. David Baron
f13a8c3dc3
Make NBSP an identifier character per resolution of CSS 2.1 issue 196. (Bug 591589) r=bzbarsky a2.0=roc
2010-09-18 11:43:17 -07:00
L. David Baron
f9f83b43d4
Remove another piece of code I missed when removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking
2010-09-17 12:29:53 -07:00
Mounir Lamouri
2900163868
Bug 557087 (3/6) - Make layout aware of the new disabled state rule. r=dbaron a=sicking
...
--HG--
extra : rebase_source : 9e7d0a515c3f1bcacdcccc906c611849654ab484
2010-09-19 03:43:15 +02:00
Timothy Nikkel
d4615fd0e6
Bug 593262. The stop/reload button is chasing me. Keep running from it. r=roc a=fix a test
...
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 00:43:26 -05:00
Boris Zbarsky
668eb611a1
Bug 594737. Disabled selects with size and multiple should still look disabled. r=dbaron
2010-09-15 12:40:11 -07:00
Boris Zbarsky
f7eeb3d973
Bug 592698. We might not have a presshell by this point, so null-check it. r=dbaron
2010-09-15 12:40:11 -07:00
L. David Baron
4219ac310a
Add test for animation of calc() values of background-position and background-size. (Bug 520234, bug 594934) a=tests
2010-09-15 08:11:27 -07:00
L. David Baron
c8d807ef1f
Remove null-checks for infallible array allocations. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:27 -07:00
L. David Baron
63b684953a
Add a fallible version of nsCSSValue::Array::Create. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
2cd46b5b84
Allow calc() as an intermediate common animation unit for background-position and background-size. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
26b2700a1e
Allow calc() as an intermediate common animation unit between lengths, percentages, and calc(). (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
c885417e47
Add CSS property bit for which properties have stored calc() in style structs. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
dd9ab05cf6
Extract calc() values in nsStyleAnimation when needed. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
c9bc69a037
Add calc() unit to nsStyleAnimation::Value. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
06bd2147cd
Support calc() on background-position, background-size, -moz-transform-origin, and background-image gradient stop positions. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
...
(Note: this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
2010-09-15 08:11:26 -07:00
L. David Baron
d79b3f75c2
Change storage of background-size and background-position to allow percentages and lengths. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
2010-09-15 08:11:26 -07:00
Robert Longson
d796beb26c
Bug 489871 - CSS comments should not be allowed in presentation attribute values. r=dbaron a=roc
...
--HG--
extra : rebase_source : 7a41fca1422a024934839ebe0c50cc479223915f
2010-12-05 20:37:39 +00:00
Daniel Holbert
59aec5e3a8
Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc
...
--HG--
extra : rebase_source : b4048d8fbde522f05a01df693887e0e26a5afb97
2010-12-05 13:17:29 +00:00
Ehsan Akhgari
1bd8b7c9e7
Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+
2010-11-24 13:31:52 -05:00
Boris Zbarsky
ce4d032cff
Bug 608914 part 2. Get rid of some temporary strings now that we can AppendFloat to an nsAString. r=dbaron
2010-11-30 13:18:15 -05:00