Commit Graph

520 Commits

Author SHA1 Message Date
L. David Baron
c6bd080a7b Check consistency before returning 'border' shorthand. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
b5ffda36db 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
90d8532b35 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
c56c851ea5 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
e6e2f9494e Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash. 2008-12-04 09:57:18 -08:00
L. David Baron
971d17c3fd Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc 2008-12-04 08:09:52 -08:00
L. David Baron
04005c945f Fix assertion about being too late to set quirks style sheet. (Bug 450191) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
46a07b04fe Use a host that we proxy to the local server so that the test doesn't require network access. (Bug 466102) r+sr=bzbarsky a=tests 2008-11-25 13:27:53 -08:00
Boris Zbarsky
127f56f241 Bug 458381 followup: tests and a code fix for a problem the tests caught. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
L. David Baron
5fb743947b Correct mochitest for bug 461266. 2008-11-02 13:14:06 -08:00
L. David Baron
4a237eb465 Don't eat up too much when we hit an error in the last media query in a list. (Bug 461266) r+sr=bzbarsky 2008-11-02 11:44:56 -08:00
L. David Baron
be30aedd5b Add a preference for visited link support. (Bug 147777) r+sr=bzbarsky 2008-10-21 09:15:03 +02:00
Markus Stange
85e0b205be Bug 450939 - Add -moz-window-shadow CSS property, r+sr=dbaron 2008-10-14 16:44:25 +02:00
L. David Baron
e59e69dd3b Fix issues with parsing of media query lists that have bad queries in them. (Bug 454226) r+sr=bzbarsky 2008-10-11 20:49:42 -04:00
L. David Baron
58c68f214a Handle serialization of inherit and -moz-initial for shorthand properties correctly, and refuse to serialize most unspecifiable cases of shorthands. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:20 -07:00
L. David Baron
16f9ced174 Add a flags table for CSS properties. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
Zack Weinberg
2d3209e41d Bug 450652 – Style system changes to support CSS3 border-radius – basic test cases (part 3) [r+sr=dbaron] 2008-10-01 00:52:12 -05:00
Keith Schwarz
48a87265ac Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
L. David Baron
b5a478e061 Ensure we always skip to the next close parenthesis if a media query expression parse fails. (Bug 454227) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
Robert Kaiser
720062e552 bug 454513 - browser_bug453896.js fails on all SeaMonkey unit test boxes, remove event listeners added by the tests when they aren't needed any more, r=dbaron 2008-09-11 02:07:52 +02:00
L. David Baron
8b1fb3a9e2 Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky 2008-09-09 06:43:10 -07:00
L. David Baron
210a4684ba Correctly handle window resizes when one dimension is zero. (Bug 453759) r+sr=roc 2008-09-08 06:41:36 -07:00
L. David Baron
9ff382b51d Change evaluation of media queries like (width) where actual values are lengths; treat zero lengths as false in such cases, per http://lists.w3.org/Archives/Public/www-style/2008Aug/0190.html and spec clarification. (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
4627664235 Make min-/max- prefixed media features without values be parse errors, per http://lists.w3.org/Archives/Public/www-style/2008Sep/0002.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
b4c73c1583 Update to new parsing rules for grid media query per http://lists.w3.org/Archives/Public/www-style/2008Aug/0191.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
Zack Weinberg
c475a8c8bd Bug 389406 – initial value for 'quotes' property is stored incorrectly and not reachable by -moz-initial; r+sr=dbaron 2008-08-19 10:18:58 -04:00
Boris Zbarsky
e46c14183f Bug 449447. Reuse the caching GetNthIndex for first/last/onlyChild selectors 2008-08-18 12:47:12 -04:00
Rob Arnold
23698fa904 last set of y1/y4 tests in acid3 test 46 (media queries) fail on Windows - bug 448132 r=vlad 2008-08-14 09:48:09 -07:00
Robert O'Callahan
b2c0de7471 Bug 230555. Support white-space:pre-line. r+sr=dbaron 2008-08-12 20:31:56 +12:00
Zack Weinberg
4a312173f9 Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-10 22:13:49 +01:00
Dave Townsend
0aa1ee1345 Backed out Bug 441469 due to Tp regressions 2008-08-10 00:07:59 +01:00
Zack Weinberg
af751d9b0a Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-07 19:15:40 -04:00
L. David Baron
debed4846b Make the -moz-column-rule-color test not assume that inputs have the same 'color' as divs. (Bug 271586) r=Ventnor 2008-08-04 16:10:05 -07:00
L. David Baron
06471ec4f7 Oops, used the wrong todo function. 2008-07-26 12:56:49 -07:00
L. David Baron
c1a0b63c6c Mark two test items as known to fail on Windows; failure filed as bug 448132. 2008-07-26 10:58:24 -07:00
L. David Baron
a412906fd9 Handle effects of medium feature changes on XBL style sheets. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
6debcd0db4 Tests for css3-mediaqueries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
0169af2ccf Make ParsePositiveVariant restrict integers too, which affects existing call for -moz-column-count. (Bug 156716) r=bzbarsky sr=roc 2008-07-26 09:14:48 -07:00
Simon Montagu
0185f285af Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
L. David Baron
42c45fec0f Add bug number (446226) for todo tests from bug 325064. 2008-07-19 16:03:45 -07:00
Zack Weinberg
63dfaebf8b Change CSS parser to close constructs open at end-of-file by changing ExpectSymbol not to fail on EOF when expecting one of }, ), ], or ;. (Bug 325064) r+sr=dbaron 2008-07-19 15:52:09 -07:00
Michael Ventnor
d200b4c6a4 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
7d3343e0fa Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
86c186dbd8 Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
269c2d355a Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
L. David Baron
3b1ac9f515 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r=fantasai sr=bzbarsky 2008-07-13 13:57:38 -07:00
Ryan A. C
496f972497 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 20:34:53 +02:00
Ryan A. C
08f210332e Backed out changeset 9718a9421ee3 2008-07-11 16:30:30 +02:00
Ryan A. C
999c32a6ee Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 16:23:26 +02:00
Michael Ventnor
b3e218a0a8 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Elika J. Etemad (fantasai) ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
940a66474d Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron (tests) 2008-06-10 17:27:00 -07:00
L. David Baron
6bcc3a9a1f Count U+000C as a whitespace character for separating class attributes. (Bug 437915) r=bzbarsky sr=sicking 2008-06-10 17:27:00 -07:00
L. David Baron
0b369f2ea1 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
36d201c8f8 Implement the computed value of text-shadow in the style system. (Bug 10713) r+sr=dbaron 2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
977091d498 b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
c91ce9a492 Backed out changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows). 2008-06-03 16:42:13 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
e3a5368590 Implement the computed value of text-shadow in the style system. b=10713 r+sr=dbaron 2008-06-03 15:25:31 -07:00
L. David Baron
e943265e81 Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
L. David Baron
07877d20da Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Daniel Glazman ext:(%20and%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
0474b185bc Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
reed@reedloden.com
3cbc4b60ae Bug 417178 - "Google reader does not show subscribed topics in ff3b3 at certain zoom levels" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=mconnor] 2008-03-24 21:55:47 -07:00
dbaron@dbaron.org
5223033580 Fix buggy test; rgb() non-% arguments are required to be integers. a=tests 2008-03-13 08:24:22 -07:00
dbaron@dbaron.org
d4071f04fc Test selector serialization too. 2008-03-09 18:10:03 -07:00
dbaron@dbaron.org
2273879236 Separate the tests so that they really test what they were intended to test. 2008-03-08 14:41:47 -08:00
dbaron@dbaron.org
20eca0f4d0 Unbreak test that I broke while addressing review comments. a=test-only 2008-03-08 14:22:09 -08:00
dbaron@dbaron.org
2fd8318753 Fix greediness of A ~ B C selector matching. b=420814 r+sr=bzbarsky a=beltzner 2008-03-05 16:06:15 -08:00
dbaron@dbaron.org
6f9a1f75f7 Update properties that are ignored when 'Allow pages to choose their own colors' is unchecked for the splitting of left/right border properties and the introduction of start/end border properties. b=419167 Patch by Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=beltzner 2008-03-05 16:03:50 -08:00
dbaron@dbaron.org
d98a9e860e Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+ 2008-02-26 18:02:20 -08:00
dbaron@dbaron.org
8fe3b28ddb Do string appending in chunks rather than one character at a time in GatherIdent and ParseString. Allow EOF to terminate strings, per CSS 2.1. b=311566 Patch by Alfred Kayser <alfredkayser@gmail.com>, with some review comments addressed by me. r+sr=dbaron a=blocking1.9+ 2008-02-21 17:37:04 -08:00
roc+@cs.cmu.edu
60a9f80a00 Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep 2008-02-19 18:07:48 -08:00
dbaron@dbaron.org
86016167d9 Increase size of non-default pixel value of line-height since current was occasionally the default. b=418190 a=Tests (not part of default build). 2008-02-18 22:19:55 -08:00
dbaron@dbaron.org
e3536c41e1 Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418 2008-02-18 22:17:07 -08:00
mats.palmgren@bredband.net
42d92989cd Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep 2008-02-16 20:45:58 -08:00
dbaron@dbaron.org
8c3dc27a13 Make the minimum font size preference leave font-size:0 untouched. b=401046 r+sr=bzbarsky a=schrep 2008-02-09 11:15:09 -08:00
jag@tty.nl
6b4aa39072 Bug 333308: make clean and make distclean miss various files. r=bsmedberg, a=schrep 2008-02-09 02:37:42 -08:00
dbaron@dbaron.org
e25ad078b7 Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep 2008-02-08 11:51:41 -08:00
roc+@cs.cmu.edu
85a5b1a95d Bug 363183. Fix getComputedStyle left/top/width/height for tables. r+sr=dbaron 2008-01-29 13:53:09 -08:00
roc+@cs.cmu.edu
c1ee4f20fd Bug 412901. getComputedStyle should return actual border widths (i.e. including round-to-device-pixels that happens during style resolution and layout). r+sr=dbaron 2008-01-26 15:54:39 -08:00
bzbarsky@mit.edu
8bc568cac8 Fix bug 405818: need to copy the original sheet URI when cloning. r+sr=dbaron, a=schrep. 2008-01-21 20:26:01 -08:00
jwalden@mit.edu
8d1b1d2a9c Bug 346690 - Add support for the 'none' keyword for the CSS cursor property. r=dbaron, sr=mats, a=schrep 2008-01-18 10:39:49 -08:00
dwitte@stanford.edu
7e454eebf6 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 12:56:49 -08:00
roc+@cs.cmu.edu
ab982faa16 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
96da482e7e backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
c816d4ca4f Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
dbaron@dbaron.org
5a7a8d066f Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
bzbarsky@mit.edu
7c9a883878 Landing files that somehow got missed. Bug 397427. 2007-10-23 15:11:08 -07:00
bzbarsky@mit.edu
26d7ccd742 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
dbaron@dbaron.org
2dad2a0ef4 Add real test for the nsCSSValue regression caught on Monday only by an unexpected pass. b=382027 2007-08-31 10:07:02 -07:00
sharparrow1@yahoo.com
3aad428093 Additional CSS parsing tests for bugs 393286 and 393499. 2007-08-27 13:49:09 -07:00
sharparrow1@yahoo.com
653cd064c3 Bug 387511: CSs scanner causes parse error for URLs starting with a codepoint > 255. r+sr=bzbarsky, a=dbaron 2007-08-19 20:39:22 -07:00
sharparrow1@yahoo.com
a9643b482d Bug 390399: Add some general (non-property-specific) parsing tests. r+sr+a=dbaron 2007-08-17 15:05:22 -07:00
bzbarsky@mit.edu
3a5ca8509a Fix computed style for relative offsets when they're specified in |ch| units. Bug 391034, r+sr+a=dbaron 2007-08-16 16:19:25 -07:00
bzbarsky@mit.edu
e34a7049e1 Fix a few more issues with eSyleUnit_Chars in computed style. Bug 391221, r+sr+a=dbaron 2007-08-14 11:44:39 -07:00
ginn.chen@sun.com
d0ed3cca65 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
Olli.Pettay@helsinki.fi
bd0b7ea6d7 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
e8dba5a1b4 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
tor@cs.brown.edu
c9776f2873 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
dbaron@dbaron.org
0b092f6fbe Mark tests passing that were fixed by bug 389464. 2007-07-25 17:01:32 -07:00
dbaron@dbaron.org
5bf1dff4fa Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky 2007-07-25 16:12:38 -07:00
dbaron@dbaron.org
f2ea9d4a0e Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky 2007-07-24 08:27:11 -07:00
dbaron@dbaron.org
4b93f9ebc0 Clean up empty gNoComputedStyle lists. 2007-07-22 12:57:15 -07:00
dbaron@dbaron.org
3586987792 Don't test properties whose values overlap with others. 2007-07-22 12:56:35 -07:00
dbaron@dbaron.org
f1bb8b5fce Add hooks to get correct computed value for logical box properties. 2007-07-22 12:56:13 -07:00
dbaron@dbaron.org
13ca5bbce6 Remove unused gNoComputedValue variable. 2007-07-22 10:59:14 -07:00
dbaron@dbaron.org
16033c063e Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky 2007-07-22 10:58:37 -07:00
tor@cs.brown.edu
d04fa35ca9 Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron 2007-07-21 07:20:25 -07:00
roc+@cs.cmu.edu
e4a9fc667f Bug 364680. Intrinsic widths for columns. r+sr=dbaron 2007-07-19 19:21:43 -07:00
bzbarsky@mit.edu
ba5321bfbc Landing tests that somehow never made it into the tree. 2007-07-19 17:26:41 -07:00
dbaron@dbaron.org
39d965ec69 Add test that the nsRuleNode::Compute*Data functions don't touch aStartStruct when they shouldn't. 2007-07-12 16:50:13 -07:00
dbaron@dbaron.org
50e1f6947c Try fixing Windows test failure; consistent computed values for line-height: normal require constant font metrics. 2007-07-11 16:42:35 -07:00
dbaron@dbaron.org
ad89d87a35 Add tests for bugs 357614 and 387615. 2007-07-11 15:25:00 -07:00
dbaron@dbaron.org
a88bb8603c Make test_inherit_computation test the Compute*Data functions for eStyleUnit_Inherit. 2007-07-11 15:23:03 -07:00
dbaron@dbaron.org
df3358641f Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron 2007-07-04 11:51:16 -07:00
dbaron@dbaron.org
3f93d36016 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 11:28:56 -07:00
mats.palmgren@bredband.net
783c6f54e4 Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron 2007-06-06 10:56:18 -07:00
martijn.martijn@gmail.com
b2271f92be Bug 383030 - Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron 2007-06-03 14:15:45 -07:00
dbaron@dbaron.org
2b1fd9533c Add bug numbers._dont_use_document_colors.html 2007-05-16 18:56:18 -07:00
dbaron@dbaron.org
d68116d96c Add test for always-use-my-colors preference. b=58048 2007-05-16 18:51:30 -07:00
dbaron@dbaron.org
70f9b787c2 Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
bzbarsky@mit.edu
3555233146 Followup tweak for bug 379809, r=dbaron 2007-05-16 09:03:05 -07:00
masayuki@d-toybox.com
906193abd3 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
bzbarsky@mit.edu
8dbc1ad3a7 Back out part of the last change which is not actually correct 2007-05-15 20:39:36 -07:00
bzbarsky@mit.edu
5b76206034 Apparently we can't handle "thin" here yet. 2007-05-15 20:33:04 -07:00
bzbarsky@mit.edu
c64c0e9a5a Change round-trip testing for specified sub-properties of a shorthand to setthem all before looking at computed style, since, for example, the specifiedfont-family affects the computed line-height if the specified line-height is"normal". Bug 379809, r=dbaron 2007-05-15 20:03:34 -07:00
dbaron@dbaron.org
466cca9f63 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky 2007-05-14 22:13:49 -07:00
dbaron@dbaron.org
c30d86b408 Remove known failure fixed by patches in bug 379741. 2007-05-10 23:50:35 -07:00
dbaron@dbaron.org
39c21c098a Don't put null coords in nsStyleCoords when they have the same meaning as some other coord type. b=379741 r+sr=bzbarsky 2007-05-10 22:58:34 -07:00
mats.palmgren@bredband.net
3bda9b50af Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 23:56:14 -07:00
mats.palmgren@bredband.net
e0ab9504a0 Backing out bug 379906 to fix orange. 2007-05-07 23:25:04 -07:00
mats.palmgren@bredband.net
288915b584 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 22:46:37 -07:00
dbaron@dbaron.org
72aade210a Fix the description of the serialize+parse tests. 2007-05-05 10:06:49 -07:00
bzbarsky@mit.edu
3b3e228945 Comment out test for now until I can debug it. Bug 379809. 2007-05-05 00:05:18 -07:00
dbaron@dbaron.org
b48962a233 Fix bad string comparison preventing 'none' and 'initial' values of 'counter-increment' and 'counter-reset' from being parsed correctly. b=379555 r+sr=dbaron Patch by Daniel Holbert <dholbert@mozilla.com>. 2007-05-03 17:05:16 -07:00
dbaron@dbaron.org
ace3611ec9 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
bzbarsky@mit.edu
663c96c764 When we have a url() value that doesn't give us an imgIRequest (e.g. couldn'tcreate nsIURI, URI load blocked by security manager, etc), make sure to stillpick up the fallback value for cursor. Bug 379440, r+sr=dbaron 2007-05-02 23:33:13 -07:00
bzbarsky@mit.edu
63aeadb19b Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
bzbarsky@mit.edu
9717e53272 This test passes now. 2007-04-30 21:31:06 -07:00
bzbarsky@mit.edu
c51b87ebce Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-26 21:43:06 -07:00
dbaron@dbaron.org
1550d44209 Add test for computed style on elements with frames as well. 2007-04-25 16:27:36 -07:00
bzbarsky@mit.edu
7e52b169fd min-width/height should not affect computed max-width or max-height. Both ofthem should affect computed width and height, though. Bug 371042, r+sr=dbaron 2007-04-23 00:04:33 -07:00
dbaron@dbaron.org
e9e8f3e38b Test copy constructors of nsStyleStruct. 2007-04-20 17:17:29 -07:00
dbaron@dbaron.org
b774028305 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-20 17:16:52 -07:00
dbaron@dbaron.org
4343a26485 Fix setting of prereqs so it doesn't interfere with testing initial values properly. 2007-04-19 20:41:05 -07:00
dbaron@dbaron.org
d900b59311 Add tests for computed values. 2007-04-18 19:49:44 -07:00
dbaron@dbaron.org
028b212457 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
dbaron@dbaron.org
4336f5d51a Add comment explaining some of the test. 2007-04-17 11:57:35 -07:00
dbaron@dbaron.org
28f0026e63 Better express that failures in one of the system font cases depend on what the system fonts actually are. 2007-04-17 11:01:17 -07:00
dbaron@dbaron.org
ef8dec477f Add code to know which failures to expect in test_value_storage.html (whether to call todo_is or is), and turn on the test. 2007-04-17 10:06:23 -07:00
dbaron@dbaron.org
387c0c061c Fix values for -moz-box-sizing too. 2007-04-17 01:01:22 -07:00
dbaron@dbaron.org
df3603a369 Fix values for -moz-float-edge. 2007-04-17 00:56:33 -07:00
dbaron@dbaron.org
961e3a1e34 Work towards getting test_value_storage running. 2007-04-17 00:41:44 -07:00
dbaron@dbaron.org
15a42a08bb Work in progress on a test for value storage and serialization. 2007-04-16 21:45:49 -07:00
dbaron@dbaron.org
b865d6cfdb Add tests that exercise nsCSSDeclaration::ToString. 2007-04-16 20:50:30 -07:00
dbaron@dbaron.org
d51921f72b Finish up adding initial and other values sections to property database, and test for their presence. 2007-04-16 18:07:22 -07:00
dbaron@dbaron.org
ba44c08179 Add tests for invalid values in the property database, and add cases fixed in bug 258080. 2007-04-15 15:29:35 -07:00
dbaron@dbaron.org
5138fbff1b Test for inherit and initial on shorthand properties as well. b=258080 2007-04-15 15:28:07 -07:00
dbaron@dbaron.org
bda8a4f932 Add work in progress for tests of CSS property parsing and data computation. 2007-04-15 15:27:14 -07:00
dbaron@dbaron.org
4ff6796341 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky 2007-04-15 15:25:20 -07:00
dbaron@dbaron.org
9c685f8824 Fix regression that caused the SVG properties not to be listed. b=375388 2007-04-09 15:42:43 -07:00
dbaron@dbaron.org
543be2506f Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky 2007-03-30 15:02:09 -07:00
neil@parkwaycc.co.uk
38e47073c0 Fix SeaMonkey Mac tinderbox cross-compilation bustage b=375388 r=bsmedberg 2007-03-26 11:17:02 -07:00
dbaron@dbaron.org
d41a6b0881 Add tests for parsing, storage, and serialization of inherit and -moz-initial values. 2007-03-25 22:54:44 -07:00
asqueella%gmail.com
175cc8c7a3 add mochitest for bug 373293 ("Style attribute is "transparent;" (missing property name)")
p=Ryan Jones <sciguyryan@gmail.com>
r=dbaron
2007-03-12 05:59:13 +00:00
bzbarsky%mit.edu
6b73f9fe10 Disable the tests again. %^%$^$%^%$ test tinderbox. :( 2007-03-06 18:09:12 +00:00
bzbarsky%mit.edu
030911a3b7 Let's try running the full test again, for kicks 2007-03-06 17:04:15 +00:00
bzbarsky%mit.edu
1ef38dab70 Skipping tests that are failing for no reason I can see. 2007-03-06 07:55:09 +00:00
bzbarsky%mit.edu
1761fcd8e3 Add test for bug 372770 and fix minor space issue with geting the "background"
property when background-position is not set.  r+sr=dbaron
2007-03-06 06:59:39 +00:00
sayrer%gmail.com
c6a62893db making some of these todo(). see regressions detailed in bug 371061. 2007-02-20 22:38:45 +00:00
sayrer%gmail.com
4bbb89f0c0 Bug 368994. move some more tests. r=dbaron 2007-02-20 22:18:09 +00:00
bzbarsky%mit.edu
167347dbb5 Refactor some repetitive computed style code. Bug 365932, r+sr=dbaron 2007-02-20 18:43:16 +00:00