Commit Graph

235 Commits

Author SHA1 Message Date
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