111 Commits

Author SHA1 Message Date
dbaron%dbaron.org
49970c0dee Try fixing Windows test failure; consistent computed values for line-height: normal require constant font metrics.
git-svn-id: svn://10.0.0.236/trunk@229771 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 23:42:35 +00:00
dbaron%dbaron.org
d825ea202c Add tests for bugs 357614 and 387615.
git-svn-id: svn://10.0.0.236/trunk@229759 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 22:25:07 +00:00
dbaron%dbaron.org
84fa251a4f Make test_inherit_computation test the Compute*Data functions for eStyleUnit_Inherit.
git-svn-id: svn://10.0.0.236/trunk@229756 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 22:23:03 +00:00
dbaron%dbaron.org
2f24fe473a Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron
git-svn-id: svn://10.0.0.236/trunk@229329 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 18:51:40 +00:00
dbaron%dbaron.org
0d40d0c7e0 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227883 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:29:11 +00:00
mats.palmgren%bredband.net
263b383ccf Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227593 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 17:56:18 +00:00
martijn.martijn%gmail.com
7382c8822c Bug 383030 – Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227437 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-03 21:15:46 +00:00
dbaron%dbaron.org
f80d6532de Add bug numbers._dont_use_document_colors.html
git-svn-id: svn://10.0.0.236/trunk@226555 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 01:56:18 +00:00
dbaron%dbaron.org
aadb55ba1f Add test for always-use-my-colors preference. b=58048
git-svn-id: svn://10.0.0.236/trunk@226553 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 01:51:52 +00:00
dbaron%dbaron.org
d6e7785ed1 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
git-svn-id: svn://10.0.0.236/trunk@226544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:10:32 +00:00
bzbarsky%mit.edu
22192fe466 Followup tweak for bug 379809, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@226524 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 16:03:05 +00:00
masayuki%d-toybox.com
605efe68cb Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +00:00
bzbarsky%mit.edu
36678c20ca Back out part of the last change which is not actually correct
git-svn-id: svn://10.0.0.236/trunk@226503 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:39:36 +00:00
bzbarsky%mit.edu
27adc40647 Apparently we can't handle "thin" here yet.
git-svn-id: svn://10.0.0.236/trunk@226502 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:33:04 +00:00
bzbarsky%mit.edu
600003a2c7 Change round-trip testing for specified sub-properties of a shorthand to set
them all before looking at computed style, since, for example, the specified
font-family affects the computed line-height if the specified line-height is
"normal".  Bug 379809, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@226498 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:03:34 +00:00
dbaron%dbaron.org
08ee109ec4 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226419 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 05:13:50 +00:00
dbaron%dbaron.org
16f8c3c566 Remove known failure fixed by patches in bug 379741.
git-svn-id: svn://10.0.0.236/trunk@226292 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:50:35 +00:00
dbaron%dbaron.org
22c6c8d70d Don't put null coords in nsStyleCoords when they have the same meaning as some other coord type. b=379741 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226287 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 05:58:34 +00:00
mats.palmgren%bredband.net
75d8703396 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226109 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 06:56:14 +00:00
mats.palmgren%bredband.net
b87f472365 Backing out bug 379906 to fix orange.
git-svn-id: svn://10.0.0.236/trunk@226108 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 06:25:04 +00:00
mats.palmgren%bredband.net
35c84837f8 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226106 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 05:46:37 +00:00
dbaron%dbaron.org
57c2f37df8 Fix the description of the serialize+parse tests.
git-svn-id: svn://10.0.0.236/trunk@225965 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 17:06:49 +00:00
bzbarsky%mit.edu
bdc5438d61 Comment out test for now until I can debug it. Bug 379809.
git-svn-id: svn://10.0.0.236/trunk@225954 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 07:05:18 +00:00
dbaron%dbaron.org
d2a2e4419b 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>.
git-svn-id: svn://10.0.0.236/trunk@225556 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 00:05:16 +00:00
dbaron%dbaron.org
03a83ad9f2 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
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
72fcefb872 When we have a url() value that doesn't give us an imgIRequest (e.g. couldn't
create nsIURI, URI load blocked by security manager, etc), make sure to still
pick up the fallback value for cursor.  Bug 379440, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225511 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 06:33:13 +00:00
bzbarsky%mit.edu
6e86d03b2e Stylesheets should know what their principal is, and it should be based on the
URI the sheet was loaded from, its certificate (if any) and the loader
principal, not just on the page the sheet is being applied to.  Propagate this
principal as the loading principal to @import loads from stylesheets.  Change
sheet access checks to use this principal instead of the sheet URI.  Bug
221428, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@225401 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 19:26:15 +00:00
bzbarsky%mit.edu
92ccf06bb6 This test passes now.
git-svn-id: svn://10.0.0.236/trunk@225323 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 04:31:06 +00:00
bzbarsky%mit.edu
afde507a3b Implement "content: none". Bug 378535, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225126 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:43:06 +00:00
dbaron%dbaron.org
06624000f4 Add test for computed style on elements with frames as well.
git-svn-id: svn://10.0.0.236/trunk@225051 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 23:27:36 +00:00
bzbarsky%mit.edu
5907b0a328 min-width/height should not affect computed max-width or max-height. Both of
them should affect computed width and height, though.  Bug 371042, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224874 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 07:04:33 +00:00
dbaron%dbaron.org
c0598fb2e1 Test copy constructors of nsStyleStruct.
git-svn-id: svn://10.0.0.236/trunk@224820 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 00:17:35 +00:00
dbaron%dbaron.org
0d353ca4ab A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224819 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 00:16:52 +00:00
dbaron%dbaron.org
acd20780ce Fix setting of prereqs so it doesn't interfere with testing initial values properly.
git-svn-id: svn://10.0.0.236/trunk@224776 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 03:41:05 +00:00
dbaron%dbaron.org
3796853d34 Add tests for computed values.
git-svn-id: svn://10.0.0.236/trunk@224720 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 02:49:44 +00:00
dbaron%dbaron.org
3480ec552c Fix regression of background-position serialization. b=258080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224700 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 20:41:15 +00:00
dbaron%dbaron.org
fed812ef3e Add comment explaining some of the test.
git-svn-id: svn://10.0.0.236/trunk@224640 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 18:57:35 +00:00
dbaron%dbaron.org
bec81846e0 Better express that failures in one of the system font cases depend on what the system fonts actually are.
git-svn-id: svn://10.0.0.236/trunk@224637 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 18:01:17 +00:00
dbaron%dbaron.org
2c38b293de 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.
git-svn-id: svn://10.0.0.236/trunk@224634 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 17:06:23 +00:00
dbaron%dbaron.org
a387a9cfd9 Fix values for -moz-box-sizing too.
git-svn-id: svn://10.0.0.236/trunk@224618 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 08:01:22 +00:00
dbaron%dbaron.org
a915ab740a Fix values for -moz-float-edge.
git-svn-id: svn://10.0.0.236/trunk@224617 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 07:56:33 +00:00
dbaron%dbaron.org
ec5ed84a90 Work towards getting test_value_storage running.
git-svn-id: svn://10.0.0.236/trunk@224616 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 07:41:44 +00:00
dbaron%dbaron.org
a86fd18a8a Work in progress on a test for value storage and serialization.
git-svn-id: svn://10.0.0.236/trunk@224608 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 04:45:49 +00:00
dbaron%dbaron.org
fd6cf47a03 Add tests that exercise nsCSSDeclaration::ToString.
git-svn-id: svn://10.0.0.236/trunk@224605 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 03:50:30 +00:00
dbaron%dbaron.org
15de1c9586 Finish up adding initial and other values sections to property database, and test for their presence.
git-svn-id: svn://10.0.0.236/trunk@224601 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 01:07:22 +00:00
dbaron%dbaron.org
7a03aabddf Add tests for invalid values in the property database, and add cases fixed in bug 258080.
git-svn-id: svn://10.0.0.236/trunk@224560 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:29:35 +00:00
dbaron%dbaron.org
4a8eb4f31f Test for inherit and initial on shorthand properties as well. b=258080
git-svn-id: svn://10.0.0.236/trunk@224559 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:28:07 +00:00
dbaron%dbaron.org
49da2344a6 Add work in progress for tests of CSS property parsing and data computation.
git-svn-id: svn://10.0.0.236/trunk@224558 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:27:14 +00:00
dbaron%dbaron.org
1337feb9b0 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224557 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:25:21 +00:00
dbaron%dbaron.org
3db6459bbb Fix regression that caused the SVG properties not to be listed. b=375388
git-svn-id: svn://10.0.0.236/trunk@224328 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 22:42:43 +00:00