Malini Das
840353c068
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
L. David Baron
915e327832
In contexts where the CSS parser accepts numbers and lengths, treat unitless zero as a number rather than a length. (Bug 595648) r=bzbarsky,dholbert a=blocking2.0:betaN+
...
This patch has the side-effect of changing the representation of '0'
values in properties added by SVG to use the number representation
rather than the length representation. This requires marking the
stroke-dashoffset:0 test in test_value_computation.html as known to
fail, since computed style code now returns 0 rather than 0px, and also
requires changing some inputs and results in some SMIL tests (which
seems like it's showing a bug that we can't interpolate between
equivalent values when we ought to be able to do so).
2010-12-30 12:59:33 -05:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
00f202c9fa
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
...
This was generated with the command:
LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
s/-moz-border-radius/border-radius/gi;
s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron
ef5b336bef
Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
43a5959fe5
Fix missing frame in style system mochitests. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
822acffa8e
Add a 'display:block' prerequisite for 'width' property tests so that calc() tests will actually have a percentage basis and thus actually test the code. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
Karl Tomlinson
1a34a67e20
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
bd3965a189
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
97fb16931a
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
0416726311
Use SimpleTest.executeSoon instead of setTimeout for iteration of properties/descriptors.
2009-03-31 12:37:40 -07:00
L. David Baron
27a418d856
Make getComputedStyle() for 'outline-width' return values in pixels even when keywords are used. (Bug 474184) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
L. David Baron
035b03d92f
Fix parsing of 'none' values in 'list-style' shorthand. (Bug 474135) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
L. David Baron
8de3730b1a
Distinguish clip:rect(auto,auto,auto,auto) from clip:auto as the spec requires. (Bug 372063) r+sr=bzbarsky
2008-12-29 10:07:38 -05:00
L. David Baron
6bd9daf309
Reject 0 as a value for -moz-column-count. (Bug 471341) r+sr=bzbarsky
2008-12-29 10:07:38 -05:00
L. David Baron
f10c50903f
Expect percentages to be unsupported for -moz-column-width. I'm not sure why I made it as it is, since they were never supported in either our implementation or the spec.
2008-12-29 10:07:36 -05:00
L. David Baron
85f4d492d8
Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc
2008-12-27 20:58:14 -05:00
L. David Baron
598bd8a6d1
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
427848e627
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
dbaron@dbaron.org
8be6aada8f
Fix buggy test; rgb() non-% arguments are required to be integers. a=tests
2008-03-13 08:24:22 -07:00
dbaron@dbaron.org
06cac4a033
Clean up empty gNoComputedStyle lists.
2007-07-22 12:57:15 -07:00
dbaron@dbaron.org
a304a18648
Add hooks to get correct computed value for logical box properties.
2007-07-22 12:56:13 -07:00
dbaron@dbaron.org
bf20f0218b
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
258529672e
Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
2007-07-21 07:20:25 -07:00
dbaron@dbaron.org
9edabebb5d
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
bzbarsky@mit.edu
dc1cbb9318
Apparently we can't handle "thin" here yet.
2007-05-15 20:33:04 -07:00
dbaron@dbaron.org
5f00b2fc87
Remove known failure fixed by patches in bug 379741.
2007-05-10 23:50:35 -07:00
dbaron@dbaron.org
d3e5030079
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
bzbarsky@mit.edu
fc7dda61db
This test passes now.
2007-04-30 21:31:06 -07:00
bzbarsky@mit.edu
c594c9357c
Implement "content: none". Bug 378535, r+sr=dbaron
2007-04-26 21:43:06 -07:00
dbaron@dbaron.org
0afe6b1523
Add test for computed style on elements with frames as well.
2007-04-25 16:27:36 -07:00
dbaron@dbaron.org
8ffd0d3f56
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
894b30cc8d
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
9e908f16ce
Add tests for computed values.
2007-04-18 19:49:44 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
dbaron%dbaron.org
c03f31ddb6
Fix buggy test; rgb() non-% arguments are required to be integers. a=tests
2008-03-13 15:24:22 +00:00
dbaron%dbaron.org
66cd6029f3
Clean up empty gNoComputedStyle lists.
2007-07-22 19:57:15 +00:00
dbaron%dbaron.org
58982ad447
Add hooks to get correct computed value for logical box properties.
2007-07-22 19:56:13 +00:00
dbaron%dbaron.org
d6624afd98
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 17:58:37 +00:00
tor%cs.brown.edu
1f4a683b99
Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
2007-07-21 14:20:28 +00:00
dbaron%dbaron.org
9d498d4cf6
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 18:51:40 +00:00
bzbarsky%mit.edu
17f64f5c99
Apparently we can't handle "thin" here yet.
2007-05-16 03:33:04 +00:00
dbaron%dbaron.org
1d3b67c82f
Remove known failure fixed by patches in bug 379741.
2007-05-11 06:50:35 +00:00
dbaron%dbaron.org
e4c1237c80
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-04 00:05:16 +00:00
bzbarsky%mit.edu
350cb2d547
This test passes now.
2007-05-01 04:31:06 +00:00
bzbarsky%mit.edu
7b47f9c52e
Implement "content: none". Bug 378535, r+sr=dbaron
2007-04-27 04:43:06 +00:00
dbaron%dbaron.org
33f47f8c84
Add test for computed style on elements with frames as well.
2007-04-25 23:27:36 +00:00
dbaron%dbaron.org
904dd421f8
A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky
2007-04-21 00:16:52 +00:00
dbaron%dbaron.org
ef9f14109c
Fix setting of prereqs so it doesn't interfere with testing initial values properly.
2007-04-20 03:41:05 +00:00
dbaron%dbaron.org
13abd70351
Add tests for computed values.
2007-04-19 02:49:44 +00:00