85 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
350149c44f Landing files that somehow got missed. Bug 397427.
git-svn-id: svn://10.0.0.236/trunk@238048 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 22:11:08 +00:00
bzbarsky%mit.edu
19f3323d77 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


git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +00:00
dbaron%dbaron.org
c75c58f58e Add real test for the nsCSSValue regression caught on Monday only by an unexpected pass. b=382027
git-svn-id: svn://10.0.0.236/trunk@233493 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 17:07:09 +00:00
sharparrow1%yahoo.com
882da1d03f Additional CSS parsing tests for bugs 393286 and 393499.
git-svn-id: svn://10.0.0.236/trunk@233160 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 20:49:09 +00:00
sharparrow1%yahoo.com
8a0c2c2633 Bug 387511: CSs scanner causes parse error for URLs starting with a codepoint > 255. r+sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232372 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 03:39:23 +00:00
sharparrow1%yahoo.com
518c5214fb Bug 390399: Add some general (non-property-specific) parsing tests. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232295 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 22:05:22 +00:00
bzbarsky%mit.edu
62a3c58937 Fix computed style for relative offsets when they're specified in |ch| units.
Bug 391034, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232245 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 23:19:26 +00:00
bzbarsky%mit.edu
086311b8df Fix a few more issues with eSyleUnit_Chars in computed style. Bug 391221,
r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232060 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 18:44:39 +00:00
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
tor%cs.brown.edu
0722ee44b2 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@231040 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:57:43 +00:00
dbaron%dbaron.org
977315b181 Mark tests passing that were fixed by bug 389464.
git-svn-id: svn://10.0.0.236/trunk@230995 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:01:32 +00:00
dbaron%dbaron.org
1a0669a4e8 Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230988 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 23:14:47 +00:00
dbaron%dbaron.org
5db8d4d5a2 Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230750 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 15:27:11 +00:00
dbaron%dbaron.org
c197ae5ec7 Clean up empty gNoComputedStyle lists.
git-svn-id: svn://10.0.0.236/trunk@230601 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 19:57:15 +00:00
dbaron%dbaron.org
a74fb3af48 Don't test properties whose values overlap with others.
git-svn-id: svn://10.0.0.236/trunk@230600 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 19:56:35 +00:00
dbaron%dbaron.org
24d2facf62 Add hooks to get correct computed value for logical box properties.
git-svn-id: svn://10.0.0.236/trunk@230599 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 19:56:13 +00:00
dbaron%dbaron.org
05fc7a6d65 Remove unused gNoComputedValue variable.
git-svn-id: svn://10.0.0.236/trunk@230595 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:59:14 +00:00
dbaron%dbaron.org
c43accf129 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
git-svn-id: svn://10.0.0.236/trunk@230594 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:58:37 +00:00
tor%cs.brown.edu
03bf68f490 Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@230571 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 14:20:28 +00:00
roc+%cs.cmu.edu
a9b24741e2 Bug 364680. Intrinsic widths for columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@230345 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 02:21:44 +00:00
bzbarsky%mit.edu
acfa524a2e Landing tests that somehow never made it into the tree.
git-svn-id: svn://10.0.0.236/trunk@230342 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 00:26:41 +00:00
dbaron%dbaron.org
84a9054ef8 Add test that the nsRuleNode::Compute*Data functions don't touch aStartStruct when they shouldn't.
git-svn-id: svn://10.0.0.236/trunk@229862 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 23:50:47 +00:00
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