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
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
Boris Zbarsky
0685bcc521
Bug 635286. Fix dynamic handling of :not() inside :-moz-any(). r=dbaron, a=dbaron
2011-02-24 13:42:15 -05:00
Jeff Walden
15fda24aa9
Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan
2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3
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
5ef527b523
Another round of orange fixes, sigh. r=orange yet again
2011-01-23 00:12:05 -08:00
L. David Baron
2b85e5bd4e
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
SHIMODA Hiroshi ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49ff43d268
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
c6323b36fe
Fix backwards handling of zero-duration transitions. (Bug 622461) r=bzbarsky a2.0=blocking2.0:betaN
2011-01-04 10:10:54 -05:00
L. David Baron
3c79fb9460
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
3efa9fabcc
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
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
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
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
Timothy Nikkel
b8932db7ab
Bug 593491. Load an external file instead of data URI to see if anything changes for random orange. a=test
2010-11-24 19:35:02 -06:00
L. David Baron
ef78257c0c
Animate skew in angle space rather than tangent space for interop and to avoid issues with infinite tangents. (Bug 606722) r=bzbarsky a2.0=blocking
2010-11-16 09:56:03 -08:00
Kyle Huey
99fecd3066
Backing out Bug 590181 since the GCC 4.5 upgrade failed on this CLOSED TREE
2010-11-11 12:36:01 -05:00
Justin Lebar
c50ec5e108
Bug 590181 - Part 1: Fix linux tests broken by GCC at -O3. r=dbaron
2010-09-29 14:32:17 -07:00
L. David Baron
ed2ce3bf01
Make 'bolder' and 'lighter' values of 'font-weight' be computed in the style system, per recent edits to CSS 2.1. (Bug 93725) r=jdaggett a2.0=joedrew
2010-11-10 07:49:52 -08:00
L. David Baron
850dc81ab2
Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew
2010-11-10 07:49:52 -08: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
Timothy Nikkel
a1e2c43c08
Bug 593491. Change the initial iframe URI to try to distinguish what is going on. a=test-only
2010-10-21 19:58:11 -05:00
Jim Mathies
e219504976
Bug 543910 - tests. r=dbaron, a=final.
2010-10-09 15:53:45 -05:00
L. David Baron
d94584cd11
Fix border-radius computed style code to reflect clamping adjustments that we make to border radius. (Bug 595651) r=bzbarsky a2.0=blocking2.0:betaN
2010-10-06 21:25:47 -07:00
L. David Baron
8bb7865fe4
Fix border-radius computed style code to reflect that percentage Y values are percentages of the box height. (Bug 595650) r=bzbarsky a2.0=blocking2.0:betaN
2010-10-06 21:25:47 -07:00
L. David Baron
29815e0d2c
Add a selector hack so that we can implement table border styles compatibly in CSS. (Bug 539880) Test by Geoff Lankow <geoff@darktrojan.net>. r=bzbarsky a2.0=blocking2.0:betaN
2010-10-06 21:25:47 -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
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
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
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
Josh Matthews
0984e327c5
Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
...
--HG--
extra : rebase_source : 3a477fe6eab09f693538008aafa9c8bf880597b1
2010-09-10 16:27:52 -04:00
Josh Matthews
37d6567b57
Backed out changeset ec2ffd935bd9 a=test-bustage
2010-09-11 21:04:09 -04:00
Josh Matthews
3576dc896d
Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
...
--HG--
extra : rebase_source : 1455dfbf13b66ac58cd2a66514c88adc76ff1a6c
2010-09-11 19:21:48 -04:00
L. David Baron
ced73624ca
Rename -moz-box-shadow to box-shadow: manual changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
L. David Baron
5859a14a99
Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
...
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron
fa356d0a17
Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:12 -07:00
Joel Maher
3b1fb9d8ce
Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB
2010-09-10 10:20:38 -07:00
Zack Weinberg
b8aabe9d10
Bug 451134 (2/2): switch to the official border-radius property names: by-hand changes. r=dbaron a2.0=blocking2.0:beta6
2010-09-09 08:21:48 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
...
This was generated with the command:
LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
s/-moz-border-radius/border-radius/gi;
s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron
4c8a8b3d3d
Add an invalid-value test for text-shadow that we already have for -moz-box-shadow. a2.0=tests
2010-09-09 08:21:46 -07:00
L. David Baron
7d8d7e59ed
Fix missing computation half of calc() for border-*-width. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
e06e2d58f5
Add calc() support for two properties I missed: outline-width and column-gap. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
7a6fa51b18
Negative values for stroke-dasharray should be rejected. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
f9bc2d9cef
Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
af2f9eff65
Fix missing frame in style system mochitests. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
8aaf22a0f4
Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:45 -07: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
L. David Baron
26ed2a5639
Add support for calc() to 'vertical-align' and 'text-indent'. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
ed01917887
Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
Timothy Nikkel
dbe82d94fd
Bug 549799. Open the hover test in a new window so things in the chrome don't trigger reflows during the test. r=roc
...
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-27 18:15:08 -05:00
L. David Baron
065207f2c7
Add support for calc() to the 'top', 'right', 'bottom', and 'left' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
b99a005c4c
Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837
Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
3fc44d5786
Fix computed style for percents for offset properties when the element doesn't have a frame. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
4bec3e8641
Add prerequisites for better testing of 'top', 'right', 'bottom', and 'left'. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
b1710a1d59
Add prerequisites for better testing of min/max-width/height properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
d742138a00
Add prerequisites for better testing of 'height'. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
Jonathan Kew
727aef0e67
bug 585718 - support -moz-font-feature-settings and -moz-font-language-override in nsCSSFontFaceStyleDecl::GetPropertyValue. r+a=dbaron
2010-08-23 11:32:03 +01:00
Zack Weinberg
bc4afbe28a
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
a5a3802007
Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
5922bd1bb5
Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Robert O'Callahan
dfbb28ab06
Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron
2010-08-13 21:58:02 +12:00
L. David Baron
810d004cf3
Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg
2010-08-15 08:42:29 -04:00
Robert O'Callahan
f8dc984ede
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
3df2a2ce8e
Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron
2010-08-13 15:33:37 +02:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
L. David Baron
86686305cb
Add a 'display:block' prerequisite for 'width' property tests so that calc() tests will actually have a percentage basis and thus actually test the code. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
fe0508e3b2
Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
248a3cdc5f
CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
Mark Banner
56fc2d488f
Bug 585734 Disable some c++ unit tests (TestCSSPropertyLookup, TestWinDND) in static builds due to compilation failures. r=khuey,a=test-only fix
2010-08-10 10:44:25 +01:00
Robert O'Callahan
f9627dc357
Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron
2010-08-13 21:58:02 +12:00
Joe Drew
e2f082fe40
Bug 572520: step 2.0, fix the visited image loading tests to poll for the images to load; just waiting for a draw isn't enough. r=dbaron
2010-07-28 14:51:37 -07:00
Boris Zbarsky
e52f354298
Bug 580685. We might not have a root element to resolve 'rem' against. r=dbaron
2010-07-22 17:33:37 -04:00
Zack Weinberg
76dbdde0f4
Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
...
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Jonathan Kew
1341e3f276
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
2010-07-13 21:30:42 +01:00
Boris Zbarsky
3e52abcca0
Bug 575467. Improve the detection of whether we're in the transition's initial state. r=dbaron
2010-07-08 09:50:33 -07:00
Neil Deakin
2fb7701cbe
Bug 553576, change -moz-resize to resize, r=dbaron
2010-07-05 10:41:04 -04:00
L. David Baron
f5249f9108
Implement animation of -moz-transform property. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
dde6ec680a
Add support for calc() expressions in translate functions of -moz-transform. (Bug 531344) r=bzbarsky
2010-07-02 21:18:56 -07:00
L. David Baron
5c276249e4
Fire transitionend events only for transitions on elements (not pseudo-elements). (Bug 537140) r=bzbarsky
2010-07-02 21:18:55 -07:00
Boris Zbarsky
b8fb52d415
Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron
2010-06-30 18:54:29 -07:00
L. David Baron
63c334d06c
Switch test_transitions_per_property to testing interpolation 1/4 of the way through instead of 1/2, so it will catch getting the halves backwards.
2010-06-26 11:58:06 -07:00
Boris Zbarsky
7f14719c4d
Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron
2010-06-23 00:46:27 -04:00
L. David Baron
6c86828ec0
Add test for bug 573255.
...
--HG--
extra : transplant_source : Y%E3o%C5%F1H8t%AF%3E%1Cu%5B%EA%E0%2B%27%08%EA%C2
2010-06-19 14:11:20 -07:00
Justin Wood
7eb105907c
Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
...
pending-feedback=jmaher
Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
L. David Baron
a4220ff996
Fix alphabetization of renamed properties in property_database.js. (Bug 549809)
2010-06-08 18:44:33 -07:00
L. David Baron
9a129faa59
Rename -moz-background-size to background-size. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
dde8361307
Support for background-clip and background-origin in the background shorthand. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
934c377eda
Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
308b0473d7
Add -moz-background-clip: content. (Bug 549809) r=roc
2010-06-08 18:44:32 -07:00
Joel Maher
c18ae0e88f
Bug 535922 - Genereate mobile specific browser chrome test package files r=ted
2010-05-27 13:01:37 -07:00
L. David Baron
a464130609
Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky
2010-05-14 22:01:45 -07:00
Craig Topper
cb8187eff9
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
L. David Baron
0f80044b20
Add calc() support for 'font-size' property, which is the only property for which percents are computed to lengths in nsRuleNode. (Bug 363249) r=bzbarsky
2010-05-11 08:49:44 -07:00
L. David Baron
88044130de
Add calc() support for lengths in text-shadow and -moz-box-shadow. (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
7af761111d
Add calc() support for the easiest cases: properties that take lengths but not percentages and take simple values only (-moz-column-rule-width, -moz-column-width, letter-spacing, word-spacing, marker-offset, outline-offset, border-spacing). (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
669adf681d
Fix property alphabetization errors in property_database.js.
2010-05-11 08:49:43 -07:00
Henri Sivonen
21b290df61
Make test_acid3_test46.html wait for onload. (orange fix)
2010-04-28 16:21:07 +03:00
L. David Baron
3bf47e289d
Make the test not fail when the transition has completed already but the event hasn't fired yet. (Bug 537573) a=philor for APPROVAL REQUIRED
2010-04-23 19:59:48 -07:00
L. David Baron
a681499b7e
Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky
2010-04-23 19:59:47 -07:00
L. David Baron
fa91f902a2
Make test_selectors continue when a parsing test fails.
2010-04-23 19:59:47 -07:00
L. David Baron
a079319f37
Clean up SkipUntil handling in parsing of pseudo-classes with arguments. (I haven't found any cases where this actually changes behavior, but it's needed for the next patch.) (Bug 544834) r=bzbarsky
2010-04-23 19:59:47 -07:00
L. David Baron
3b67d5db4a
Make the reset test in test_transitions.html deal with the possibility of massive skew between setTimeout and the clock. (Bug 539904)
2010-04-07 12:06:15 -07:00
L. David Baron
df8e44cdd9
When setTimeout fires much later than it should, which happens on unit test boxes a good bit, make test_transitions_events.html report a todo rather than a fail. (Bug 537573)
2010-04-06 22:50:06 -07:00
L. David Baron
9dc08b1cf0
Use the appropriate color based on visitedness for '-moz-column-rule-color'. (Bug 557580) r=roc
2010-04-06 19:03:12 -07:00
L. David Baron
d923cbe90a
Make nsStyleAnimation extract -moz-column-rule-color correctly. (Bug 557580) r=dholbert
2010-04-06 19:03:12 -07:00
Zack Weinberg
3fc693ef33
Bug 556661 bustage fix: test_priority_preservation.html updated to new semantics, augmented with further tests
2010-04-06 17:55:57 -07:00
L. David Baron
1a2961ba01
Avoid showing black when the if-visited style is transparent and the unvisited style is a color. (Bug 557584) r=bzbarsky
2010-04-06 15:32:52 -07:00
L. David Baron
430750684a
Add test for background image loading behavior for :visited links. (Bug 557287)
2010-04-06 12:42:41 -07:00
L. David Baron
9b9ef4a6b9
Make pseudo-classes-02 run using test_visited_reftests.html instead of the normal reftest harness. (Bug 147777) r=jwatt
2010-04-02 18:58:27 -07:00
L. David Baron
1141b26829
Add mochitests for getComputedStyle and querySelector(All) lying about :visited selectors. (Bug 147777)
2010-04-02 18:58:27 -07:00
L. David Baron
d93ae3417f
Add reftests for :visited handling in layout/reftests/css-visited/ and make them run through the mochitest harness (via layout/style/test/test_visited_reftests.html) rather than the reftest harness. (Bug 147777)
2010-04-02 18:58:27 -07:00
L. David Baron
c6cfc1d0a4
Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh
2010-04-02 18:58:25 -07:00
Daniel Glazman
15d5eeac70
:not() selector with no argument should be a parse error. (Bug 553805) r=dbaron
...
--HG--
extra : transplant_source : J%23a%3C%1EQ%13%F5%DBx%8E%83%A8%09%3A%E1%93t%AF%D2
2010-03-21 15:25:18 -04:00
Markus Stange
5fb3e948bb
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Neil Deakin
4f0034acef
Bug 442228, add -moz-resize property to indicate that elements are resizable, r=dbaron
2010-03-19 07:49:33 -04:00
Markus Stange
4a997d3554
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
L. David Baron
cd9171b59e
Add additional diagnostic output for diagnosing intermittent failure bug 537573.
2010-03-16 16:04:20 -07:00
Joel Maher
d050afae06
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:36 -08:00
Brad Lassey
bb55fe310f
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Henri Sivonen
337c239b98
Bug 546641 - Remove trailing from attribute value in test_parse_rule.html. r=roc.
...
--HG--
extra : rebase_source : 90abdd78f47d2b30d5e3fc2147b6d130fa61dc23
2010-03-09 15:03:29 +02:00
Kyle Huey
1d0289c601
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0
Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer
2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
Mark Banner
c54d4b13fb
Bug 549860 Fix non-libxul build bustage from bug 544112. r=ted over irc
2010-03-03 12:21:23 +00:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1e69ee7cc3
Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
L. David Baron
c3b73f1ff5
Make the 'border' shorthand reset -moz-border-image (per recent CSS WG decision) and -moz-border-*-colors. (Bug 482692) r=bzbarsky
2010-02-26 10:35:09 -08:00
Shawn Wilsher
17cfa3d578
Bug 461199 (Part 27) - Fix test_visited_pref.html so it passes with the new async isVisited API
...
r?dbaron
2010-02-24 08:37:03 -08:00
Shawn Wilsher
e9de968cff
Backed out changeset b0c9f8e50057
2010-02-18 09:50:59 -08:00
Shawn Wilsher
2fae1f0f51
Bug 461199 (Part 27) - Fix test_visited_pref.html so it passes with the new async isVisited API
...
r?dbaron
2010-02-17 14:04:33 -08:00
Justin Dolske
7af7ad098a
Bug 539828 - Need CSS pseudoclass for crashed plugins. r=dbaron
2010-02-09 17:05:31 -08:00
L. David Baron
6670d61a56
Work around dependency problem for host_ListCSSProperties.o to fix current random orange. (Bug 544720)
2010-02-06 16:59:29 -08:00
L. David Baron
e69f98bf37
No longer need to null-check domProp in style system mochitests now that bug 374216 has landed.
2010-02-06 14:36:05 -08:00
Daniel Holbert
4a9a1b3347
In test_property_database.html, split up a 3-part check into separate checks, to elucidate new randomorange in test_property_database.html
2010-02-06 13:24:00 -08:00
Robert Longson
79ae710023
Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc
2010-02-06 13:46:54 +00:00
L. David Baron
66eda80913
Appropriately escape CSS identifiers when serializing. (Bug 543428) r=bzbarsky
2010-02-04 12:49:29 -08:00
Zack Weinberg
78db9dba3f
Bug 528096: unexpected-token error recovery paths in the CSS parser need to UngetToken() before calling SkipUntil(), for correct behavior when the unexpected token is ( [ { or FUNCTION. r=dbaron
2010-01-27 16:20:05 -08:00
Zack Weinberg
ab052b17a8
Bug 536603 potential fix: in httpd.js, the server socket's queue limit should be larger than the browser-side max number of connections per server. r=jrmuizel
2010-01-18 18:12:39 -08:00
Zack Weinberg
bee097ea73
Back out instrumentation for bug 536603 and re-disable test
2010-01-18 14:54:56 -08:00
Zack Weinberg
ef69f941b3
Extensive debugging instrumentation for bug 536603
2010-01-18 09:03:50 -08:00
Boris Zbarsky
1d3e09c88b
Adding bug 535806 test. r=dbaron
2010-01-13 11:37:54 -05:00
L. David Baron
515ee52627
Store transitions for one refresh cycle after they complete so that merging with a non-animation style change doesn't make us start a second transition to transition the last step. (Bug 537151) r=bzbarsky
2010-01-12 08:51:37 -08:00
Robert Longson
23ccf8ff6c
Bug 537609 - Change to SVG 1.2T stroke-dasharray parsing. r=dbaron
2010-01-06 08:51:45 +00:00
Markus Stange
7d68e3b7c5
Bug 527682 - Implement -moz-window-shadow values menu, tooltip and sheet. r=dbaron, r=dao, r=josh
2009-12-30 16:24:08 +01:00
L. David Baron
3f7224b908
Disable the intermittently-failing tests (bug 536603) for Mac only, which is where they're failing.
...
--HG--
extra : transplant_source : %E2%F1%F2%3A%86%C7%C57%7F%16B%16m%94%0D%D6%EDg%A7r
2009-12-25 22:31:17 -05:00
L. David Baron
6b21cbe1e5
Merge backout of changeset aabd98c04dc9 (debugging for bug 536603)
2009-12-24 22:17:21 -05:00
L. David Baron
a819f0b290
Backed out changeset aabd98c04dc9 (debugging for bug 536603)
2009-12-24 22:17:05 -05:00
L. David Baron
f723d1ddb6
Fix the opposite type of orange as the previous fix: make the case where the transition completes before the setTimeout fires much much less likely.
...
--HG--
extra : transplant_source : %82%01%8B%CB%7C%CF%AA%24XY%03%F2%03%BD%BB/zO%15%E6
2009-12-24 17:43:39 -05:00
L. David Baron
df4e925799
Add basic SJS debugging code for bug 536603.
...
--HG--
extra : transplant_source : %E4%AA%11pN%83Y2%B7%DAB%89%96V%DB%06%3C%04%F6%15
2009-12-24 09:22:48 -05:00
L. David Baron
751d555944
Remove debugging code for debugging bug 536603 (changeset 76e9dfaba122 and changeset 5275dda44819).
2009-12-24 08:44:44 -05:00
L. David Baron
0b044b907e
Debugging bug 536603: run tests twice to see if the problem is timing-related.
...
--HG--
extra : transplant_source : %0DU%3C%00%B5K%AF%99%1E%D8%C3W%CB%FDz%03b%DD%A9%82
2009-12-23 20:07:25 -05:00
L. David Baron
262d0bdc5b
Add debugging code to debug random orange bug 536603.
...
--HG--
extra : transplant_source : %C2%0E%04e%FBc%F2%ED%96%AA%81%A0%9F%EAd%12%2A%A3f%E3
2009-12-23 17:49:22 -05:00
L. David Baron
cbb3b13a8f
Tests for transitionend event. (Bug 531585)
2009-12-23 14:17:44 -05:00
Zack Weinberg
d148dd7f69
Bug 524223: Even in quirks mode, ignore linked stylesheets which were served with an inappropriate MIME type, if they're from a different origin than the requesting document or stylesheet.
2009-12-23 10:01:51 -08:00
Benjamin Smedberg
c2bbf9c677
Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html
2009-12-23 10:15:26 -05:00
L. David Baron
bc6e15ca56
Tests for transitionend event. (Bug 531585)
2009-12-23 06:35:46 -05:00
L. David Baron
09ff5f95d8
Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: part 3: main patch. (Bug 522643) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
218e356973
Add support for animation of 'background-position' and 'background-size'. (Bug 532307) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
67f4531d35
Add support for animation of 'visibility' to transitions (but make it a special case for transitions). (Bug 531942) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
24c692cc7f
Add support for animation of nsRect values. (Bug 520488) r=bzbarsky
2009-12-21 16:46:25 -05:00
Neil Rashbrook
e5f97bdf04
Bug 532617 -moz-background-size does not always get serialised r=dbaron
2009-12-15 21:40:38 +00:00
L. David Baron
8f42a4d123
Stop transitions when -moz-transition-property changes to a value that no longer includes the transitioning property. (Bug 525530) r=bzbarsky
2009-12-11 08:13:19 -08:00
L. David Baron
fb268b306d
Add support for animation of border-spacing and -moz-transform-origin. (Bug 524861) r=bzbarsky
2009-12-11 08:13:19 -08:00
L. David Baron
e1ed596d15
Add support for animation of -moz-column-rule-width. (Bug 524855) r=bzbarsky
2009-12-11 08:13:19 -08:00
L. David Baron
b59effdb59
Add support for animation of -moz-column-count. (Bug 524854) r=bzbarsky
2009-12-11 08:13:19 -08:00
L. David Baron
8b3ef8f42e
Add support for animation of -moz-box-flex. (Bug 524853) r=bzbarsky
2009-12-11 08:13:19 -08:00
Boris Zbarsky
b113c5b09c
Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron
2009-12-11 02:37:41 -05:00
Boris Zbarsky
e9f228c7d5
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
88da9222b1
Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron
2009-12-10 14:36:07 -08:00
L. David Baron
d0f535b30d
Add mechanism for an individual mochitest to say it needs a longer timeout. (Bug 527614) r=ted
2009-11-19 09:35:09 -08:00
L. David Baron
a74df9df58
Add a test for bug 517224.
2009-11-17 13:11:14 -08:00
L. David Baron
d7d8f0ef43
Fix computed values of 'font-weight' to report integers for bold (like for normal) and to report usable values for bolder/lighter. (Bug 173331, Bug 77882) r=bzbarsky
2009-11-14 19:16:59 -08:00
L. David Baron
d2de4eeb32
Put the 'normal' values for 'font-weight' and 'font-stretch' into the keyword tables. (Bug 522320) r=dholbert
2009-11-14 19:16:59 -08:00
L. David Baron
86466092b9
Add support for animation of font-weight and font-stretch. (Bug 528234) r=dholbert
2009-11-14 19:16:59 -08:00
L. David Baron
db2e10e435
Add support for interpolation of integer-valued properties (i.e., z-index) to nsStyleAnimation. (Bug 524808) r=dholbert
2009-11-12 17:40:05 -08:00
KUROSAWA, Takeshi
c1928a15f8
Remove support for -moz-alias, -moz-context-menu, -moz-copy and -moz-spinning values of the 'cursor' property, no longer needed because of the standard alias, context-menu, copy, and progress cursors. (Bug 487942) r=dbaron
2009-11-12 17:40:05 -08:00
L. David Baron
194436e18a
Bug 526402: Stop accepting unitless 0 for angles, times, and frequencies. r=zwol
2009-11-04 18:36:18 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dbd6355ce6
Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes
2009-11-02 11:36:43 -08:00
Gijs Kruitbosch
41ba1acfa5
Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
...
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
L. David Baron
e694a7d0fe
Add support for animation of -moz-{border,outline}-radius-*. (Bug 523450) r=dholbert
2009-10-28 20:22:27 -07:00
L. David Baron
0bc6a1f9f4
Add tests for correct behavior of CSS property values under cloning.
2009-10-28 20:22:27 -07:00
L. David Baron
5228cb6cef
Make test_transitions report either PASS or TODO for its timing-related tests since we just can't test timing on the unit test VMs. (Bug 522862)
2009-10-24 18:47:29 -04:00
Boris Zbarsky
a15350e46e
Bug 524175. Compute weight correctly again for selectors involving pseudo-elements, and fail parsing selectors with more than one pseudo-element. r=zwol
2009-10-23 21:41:59 -04:00
L. David Baron
0832157c6a
Add support for animation of stroke-dasharray to nsStyleAnimation. (Bug 523355) r=dholbert sr=bzbarsky
2009-10-21 10:17:40 -04:00
L. David Baron
27faacf80b
Add support for animation of text-shadow and -moz-box-shadow (the first complex value types that we animate). (Bug 523196) r=dholbert sr=bzbarsky
2009-10-21 06:53:46 -04:00
L. David Baron
863b69812a
Serialize type selectors with original case. (Bug 523341) r=bzbarsky
2009-10-21 06:53:46 -04:00
Boris Zbarsky
74eef1d572
Bug 523089. Fix serialization of [*|foo] selectors. r=dbaron
2009-10-20 13:27:47 -04:00
L. David Baron
547f5923a6
Increase transitions test bezier tolerance to 0.0015 since bug 522862 comment 0 has an example that requires it to be 0.0012. (Bug 522862, Bug 435441)
2009-10-17 10:56:38 -04:00
L. David Baron
48e18ed038
Add bug numbers for the FIXME comments in CSS transitions patches. (Bug 435441)
2009-10-15 17:23:19 -07:00
L. David Baron
5ed2b51cec
Add tests for media queries of system metrics. (Bug 522149)
2009-10-15 17:23:19 -07:00
L. David Baron
09ca90ac3c
Increase test tolerance to reflect observed errors in bug 435441 comments 103 and 105, and handle timer firing after 8 seconds (comment 104).
2009-10-14 17:51:38 -07:00
L. David Baron
b13bce9c1c
Add bug numbers for FIXME comments in transitions landing. (Bug 435441)
2009-10-13 19:38:20 -07:00
L. David Baron
2f1013d988
Add previously-skipped border and outline properties to nsStyleAnimation. (Bug 521292) r=dholbert, bzbarsky
2009-10-13 19:38:20 -07:00
L. David Baron
3721a39441
Oops, sign of error_direction needs to change only for its second use. (Bug 435441)
2009-10-10 11:01:12 -07:00
L. David Baron
5095db87e0
Allow more error in bezier computation to fix random orange.
2009-10-10 10:02:32 -07:00
L. David Baron
d74253a76d
Make transitions test more reliable by measuring the positions of transitions relative to a pair of reference linear transitions, and testing the progress of those reference linear transitions with considerably more latitude. (Bug 435441)
2009-10-09 19:11:09 -07:00
Daniel Holbert
ab77c7beaa
Bug 520485, patch 3 of 5: add support for 'font-size-adjust' property in nsStyleAnimation. r=dbaron
2009-10-08 18:30:51 -07:00
Daniel Holbert
22a5e591ce
Bug 520485, patch 1 of 5: add support for float values in nsStyleAnimation. r=dbaron
2009-10-08 18:30:49 -07:00
L. David Baron
35482a83e3
Increase test tolerance to try to fix random orange.
2009-10-08 08:13:49 -07:00
L. David Baron
d89495d9f4
Add tests for :-moz-tree-* pseudo-elements. (Bug 521044)
2009-10-07 20:22:42 -07:00
L. David Baron
86a7c76d23
Add per-property tests for CSS transitions to test the code in nsStyleAnimation. (Bug 435441, Bug 504652)
2009-10-07 20:22:42 -07:00
L. David Baron
125bd1103e
Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc
2009-10-07 20:22:42 -07:00
Nochum Sossonko
33de430128
Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron
2009-10-02 08:22:18 +02:00
Geoff Lankow
bd900ff5fd
Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron
2009-09-26 13:23:47 -07:00
L. David Baron
d8e13763a7
Rewrap long argument lists to CSS_PROP macros. Whitespace changes only. (Bug 504652)
2009-09-11 06:46:36 -04:00
L. David Baron
411bbcb6dd
Add fields to nsCSSPropList.h for style struct offset and animation type. (Bug 504652) r=bzbarsky
2009-09-11 06:46:36 -04:00
L. David Baron
74af0036e3
Add stylestruct_ parameter to CSS_PROP macro. (Bug 504652) r=bzbarsky
2009-09-11 06:46:36 -04:00
Jonathan Watt
ed42a30cb8
Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron.
2009-08-26 20:53:35 -07:00
Zack Weinberg
c62f969ab1
Bug 511147: Avoid the slow greedy-operator path for A > B ~ C selectors. r=dbaron
2009-08-20 14:52:47 -07:00
Zack Weinberg
63e2075a2a
Bug 443976: Parsing support for the unicode-range: descriptor in @font-face. r=dbaron
2009-08-20 14:52:47 -07:00
Zack Weinberg
6ade4eb7d1
Fix parenthesis-matching while parsing format() function in @font-face src: descriptor. (Bug 511333) r=dbaron
2009-08-20 14:52:47 -07:00
L. David Baron
325ccb4cf2
Fix parenthesis-matching while parsing local() function in @font-face src: descriptor. (Bug 511333) r=zweinberg
2009-08-20 14:52:47 -07:00
Zack Weinberg
f8cb071942
Fix DEBUG-only crash parsing empty 'src' descriptor of @font-face rule. (Bug 511304) r=dbaron
2009-08-20 14:52:47 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
219a2fe88e
Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky
2009-08-20 14:52:47 -07:00
L. David Baron
7fed030a73
Make computed style (and canvas text styling, which shares the same code) avoid using style data that was influenced by pseudo-elements. (Bug 505515) r=bzbarsky
2009-08-10 15:52:29 -07:00
L. David Baron
557af3af90
Additional mochitests for URL parsing, from bug 337287 (and related to bug 476856)
2009-08-05 17:45:49 -07:00
Michael Ventnor
8ae6cd75f4
Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron
2009-08-01 08:53:40 -07:00
David Zbarsky
92589bee61
Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron
2009-08-01 08:53:40 -07:00
L. David Baron
6fb9ce56f5
Don't resolve a new context for the root when we're computing rem units for the root. (Bug 478321) r=bzbarsky
2009-08-01 08:53:40 -07:00
L. David Baron
36c7b60c0c
Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out.
2009-07-31 09:39:53 -07:00
David Zbarsky
eab4105f16
Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron
2009-07-30 13:28:42 -04:00
Jeff Walden
a24a25ba2e
Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz
2009-05-28 11:09:05 -07:00
Neil Deakin
5303f25260
Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron
2009-07-29 14:33:53 -04:00
L. David Baron
f37119d1b9
Also block -moz-box-shadow when using document-specified colors is disabled, and fix a testing error with the patch for text-shadow. (Bug 503188) r=bzbarsky
2009-07-20 07:04:42 -04:00
L. David Baron
5a90c04a26
Add tests for cloning of media queries. (Would have caught bug 504032.)
2009-07-20 07:04:42 -04:00
L. David Baron
b7eb3046f3
Add tests for media query serialization.
2009-07-15 17:24:25 -07:00
L. David Baron
68d83ef535
Add tests for selector serialization and cloning.
2009-07-15 17:24:24 -07:00
L. David Baron
a03632381b
Block text-shadow when using document-specified colors is disabled. (Bug 503188) r=bzbarsky, roc
2009-07-15 17:24:24 -07:00
Boris Zbarsky
1426ced363
Adding test for bug 498559. r=dbaron
2009-07-09 19:53:00 -07:00
Boris Zbarsky
7382b846b1
Bug 498559. Speed up tokenizing numbers in CSS. r+sr=dbaron
2009-07-09 18:44:20 -07:00
L. David Baron
0d06184f97
Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky
2009-06-16 08:00:20 -07:00
Karl Tomlinson
1b9df1cee4
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
...
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
L. David Baron
75bc923978
Add test for CSS parsing of garbage at end of declarations. (Bug 390260)
2009-05-15 16:01:19 -07:00
L. David Baron
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
L. David Baron
8cfe105fbe
Drop use of JS 1.7 features so that this test can run on other browsers.
2009-05-06 13:46:01 -07:00
Daniel.S
3d66e90b81
Bug 487942 - Remove cursor: -moz-alias | -moz-cell | -moz-context-menu | -moz-copy | -moz-spinning; property_database.js update; r+sr=dbaron
2009-04-22 14:24:34 +02:00
Dão Gottwald
2b158c4a2f
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2009-04-10 10:24:24 +02:00
Robert Longson
7506754d85
Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc
2009-04-05 10:52:14 +01:00
L. David Baron
f533a6676b
Remove the CSS_PROP_NOTIMPLEMENTED macro, which hasn't been needed since bug 3247 landed. (Bug 486353) r+sr=bzbarsky
2009-04-02 07:55:50 -07:00
L. David Baron
fa0ce94791
Don't mess with the max_script_run_time pref since the mochitest harness now does that for us.
2009-03-31 12:37:40 -07:00
L. David Baron
5195ec80b9
Use SimpleTest.executeSoon instead of setTimeout for iteration of properties/descriptors.
2009-03-31 12:37:40 -07:00
L. David Baron
1eebde3c7c
Add some tests for invalid values of 'font-family' (related to bug 481502)
2009-03-31 12:37:40 -07:00
Robert Longson
7235fc714e
Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc
2009-03-21 15:36:38 +00:00
L. David Baron
60b0f45a27
Add tests to check case (2) for shorthands in nsCSSDeclaration::GetValue.
2009-03-09 16:14:34 -07:00
L. David Baron
5cad407b70
Add some simple tests for units (since code coverage output showed we weren't testing serialization of all of them).
2009-03-09 16:14:34 -07:00
L. David Baron
6a0f29123b
Add tests for font descriptors that are equivalent to test_value_storage and test_property_syntax_errors.
2009-03-09 16:14:34 -07:00
L. David Baron
d8a2ce67e9
Reject non-positive values for widows and orphans. (Bug 481826) r+sr=bzbarsky
2009-03-09 16:14:34 -07:00
L. David Baron
83f40d6f76
Fix serialization bugs with text-decoration:-moz-anchor-decoration. (Bug 481596) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
1f8dd0c308
Test more values for 'content' property. (These tests require the three previous patches to pass.) (Bug 481591)
2009-03-06 13:05:01 +09:00
L. David Baron
76244e5752
Quote and escape contents of url() when serializing. (Bug 478160) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
9b6231dd4d
Add test for CSS property priority (!important) preservation. (This fixes the fact that we don't have any tests covering expansion of compressed blocks with !important declarations, and also tests a bit more while I'm there.)
2009-03-05 12:49:30 +09:00
L. David Baron
8dddfe9001
Add test for blocking of -moz-border-*-colors based on code coverage output.
2009-03-05 12:49:30 +09:00
L. David Baron
fa9a21c33d
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 21:29:21 -08:00
L. David Baron
f83c362f04
Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky
2009-02-19 13:55:48 -08:00
L. David Baron
fbfdfa7f2f
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-19 13:55:48 -08:00
L. David Baron
2eb748571c
Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related.
2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
L. David Baron
a91aa25ab0
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
069668891e
Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
c584b934a5
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
51ef1de194
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
d1a6f338ef
Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky
2009-02-18 17:13:26 -08:00
L. David Baron
f83cbead32
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-18 17:13:25 -08:00
L. David Baron
366992262c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
Michael Ventnor
b480b09ba3
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
L. David Baron
b2fd7dcdca
Make serialization handle system fonts and the font shorthand better. (Bug 475214) r+sr=bzbarsky
2009-02-06 08:52:12 -08:00
Boris Zbarsky
6f9a0da875
Bug 299837. Implement text-align:end. r+sr=dbaron
2009-02-05 22:48:30 -05:00
L. David Baron
f8774a93ef
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
L. David Baron
4835f2a61a
Make getComputedStyle() for 'outline-width' return values in pixels even when keywords are used. (Bug 474184) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
L. David Baron
473a55f246
Fix parsing of 'none' values in 'list-style' shorthand. (Bug 474135) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
L. David Baron
7713595032
Avoid recursion when handling mNegations in CalcWeight. (Bug 473908) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
L. David Baron
a7223a0c21
Remove handling of comments inside CSS url() tokens. (Bug 473914) r+sr=bzbarsky
2009-01-16 19:44:20 -08:00
L. David Baron
286c54a127
Recheck media queries when changing text zoom since em units have changed. (Bug 473400) r+sr=bzbarsky
2009-01-16 13:32:08 -08:00
Olli Pettay
d30fae3581
Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron
2009-01-05 18:26:59 +02:00
L. David Baron
d11612b0aa
Distinguish clip:rect(auto,auto,auto,auto) from clip:auto as the spec requires. (Bug 372063) r+sr=bzbarsky
2008-12-29 10:07:38 -05:00
L. David Baron
805646bab5
Reject 0 as a value for -moz-column-count. (Bug 471341) r+sr=bzbarsky
2008-12-29 10:07:38 -05:00
L. David Baron
020fe687d6
Expect percentages to be unsupported for -moz-column-width. I'm not sure why I made it as it is, since they were never supported in either our implementation or the spec.
2008-12-29 10:07:36 -05:00
L. David Baron
8458c5b6b6
Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc
2008-12-27 20:58:14 -05:00
L. David Baron
6958d78491
Readd test for computed style for large integers (even though patch was backed out). (Bug 470769) r+sr=bzbarsky
2008-12-23 09:06:59 -05:00
L. David Baron
e8b56749f3
Backed out changeset 441f119f1a0c (Bug 470769) due to failures in layout/style/test/test_bug365932.html
2008-12-23 11:11:51 -05:00
L. David Baron
1362acfc3f
Fix computed style for large integers by using double instead of float. (Bug 470769) r+sr=bzbarsky
2008-12-23 09:06:59 -05:00
L. David Baron
e32d92f667
Enforce the restriction that values of stroke-miterlimit are greater than 1, rather than just using ParsePositiveVariant. (Bug 470706) r=jwatt sr=bzbarsky
2008-12-23 09:06:58 -05:00
L. David Baron
22b6db3f79
Reject duplicate keywords for 'text-decoration'. (Bug 470704) r+sr=bzbarsky
2008-12-23 09:06:58 -05:00
L. David Baron
4dabb0d03e
Disallow negative values on -moz-box-ordinal-group, since it's stored in an unsigned integer and clearly intended to be only positive. (Bug 470703) r=enndeakin sr=bzbarsky
2008-12-23 09:06:58 -05:00
L. David Baron
81919802f0
Rewrite the shorthand condensation code in nsCSSDeclaration::ToString. (Bug 376075) r+sr=bzbarsky
2008-12-23 09:06:57 -05:00
L. David Baron
8d30a03f05
Don't say that the font or background shorthands are present when the properties that they reset but can't otherwise specify are not their initial values. (Bug 376075) r+sr=bzbarsky
2008-12-23 09:06:57 -05:00
L. David Baron
5eb3c08c33
Condense box property four side shorthands in value getters, just as in serialization. (Bug 376075) r+sr=bzbarsky
2008-12-23 09:06:57 -05:00
L. David Baron
fd19b3e628
Suppress serialization of -moz-use-text-color in border shorthand in property getters just like we do in declaration serialization. (Bug 376075) r+sr=bzbarsky
2008-12-23 09:06:57 -05:00
L. David Baron
72e8b9505a
Check consistency before returning 'border' shorthand. (Bug 376075) r+sr=bzbarsky
2008-12-23 09:06:57 -05:00
L. David Baron
c88d4b23d5
Fix bugs in handling of inherit, initial, and none for -moz-border-*-colors. (Bug 389404) r+sr=bzbarsky
2008-12-23 09:06:56 -05:00
L. David Baron
10fdc6c423
Put 'thin' in the initial_values section instead of the other_values section for border shorthands, since the width should be 0px when border-style is none.
2008-12-16 17:11:38 -08:00
L. David Baron
7fc92bad7f
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-07 13:58:07 -08:00
L. David Baron
90b976fe34
Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:18 -08:00