Commit Graph

57 Commits

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