dbaron%dbaron.org
5333b54172
Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@225209 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-28 16:03:15 +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
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +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
bzbarsky%mit.edu
db4a0905b7
Round instead of truncating when converting a percentage color into an
...
integer. Bug 340613, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224859 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 22:03:30 +00:00
bzbarsky%mit.edu
9874eb5550
Move the Background struct to its new rightful place. Bug 378245, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224830 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 05:40:13 +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
bzbarsky%mit.edu
9b9e29922e
Stop blocking the parser on CSS stylesheet loads. We still block script
...
execution on them, however. Bug 84582, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@224813 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 22:59:18 +00:00
bzbarsky%mit.edu
8d22ae89ff
Don't use the same pseudo-element name to mean two different things. Bug
...
377824, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224808 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 21:27:02 +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
bzbarsky%mit.edu
03efa866b7
Change the way we determine the style context parent frame to skip css anon
...
boxes unless we're determining the style context parent for something that is
itself a css anon box (and is not a non-element frame). Fixes bug 323656
(which is where the patch is), bug 85872, bug 280610. As far as I can tell,
also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224561 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 23:14:27 +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
stuart.morgan%alumni.case.edu
e24bdae7f5
Bug 377110: Strip unnecessary rules from Camino-only forms.css. r=josh sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224476 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 23:02:37 +00:00
martijn.martijn%gmail.com
763e744b1b
Bug 377017 Javascript - crash on accessing a css rule after deleteRule() [@ nsCSSSelector::ToStringInternal], r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224450 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 16:23:43 +00:00
martijn.martijn%gmail.com
7aacaa506f
Bug 376891 <center><marquee direction=up/down></center> has different result in IE, r=dbaron, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@224443 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 14:54:34 +00:00
axel%pike.org
4f0bf16965
bug 361583, start using Preprocessor.py instead of preprocessor.pl in building Minefield, r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@224402 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 16:35:03 +00:00
longsonr%gmail.com
952bfbf92e
Bug 368836 - improve support for initial in SVG. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224397 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 08:27:27 +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
dbaron%dbaron.org
7c4a569eb6
Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@222660 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 22:02:10 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com >, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
dbaron%dbaron.org
30f83072c5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
sharparrow1%yahoo.com
783659454a
Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@222445 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:58:17 +00:00
neil%parkwaycc.co.uk
9fa26f93df
Fix SeaMonkey Mac tinderbox cross-compilation bustage b=375388 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@222414 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 18:17:02 +00:00
dbaron%dbaron.org
f86204e4f4
Add tests for parsing, storage, and serialization of inherit and -moz-initial values.
...
git-svn-id: svn://10.0.0.236/trunk@222386 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 05:54:44 +00:00
masayuki%d-toybox.com
7aac338174
Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
roc+%cs.cmu.edu
2da351febf
Bug 336682. Fix online/offline events to target and bubble propertly, and so that <body ononline= onoffline=> works. Patch by Chris Double, r+sr=jst,r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@221857 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 01:42:42 +00:00
asqueella%gmail.com
1d982e0495
add mochitest for bug 373293 ("Style attribute is "transparent;" (missing property name)")
...
p=Ryan Jones <sciguyryan@gmail.com >
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@221765 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 05:59:13 +00:00
asqueella%gmail.com
81e3a0b9ee
decomtaminate nsIXULPrototypeCache (bug 364329)
...
r=smaug, sr=roc
git-svn-id: svn://10.0.0.236/trunk@221763 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 05:53:33 +00:00
jruderman%hmc.edu
0010c3d6d2
Fix bug 373293, Style attribute is "transparent;" (missing property name). r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@221600 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 09:43:55 +00:00
dbaron%dbaron.org
535f44f6e4
Round the alpha component in computed style as well. b=372782 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@221563 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 18:44:45 +00:00
bzbarsky%mit.edu
a34962d513
Disable the tests again. %^%$^$%^%$ test tinderbox. :(
...
git-svn-id: svn://10.0.0.236/trunk@221393 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 18:09:12 +00:00
bzbarsky%mit.edu
aafa0f09cb
Let's try running the full test again, for kicks
...
git-svn-id: svn://10.0.0.236/trunk@221389 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 17:04:15 +00:00
bzbarsky%mit.edu
e7de512d98
Skipping tests that are failing for no reason I can see.
...
git-svn-id: svn://10.0.0.236/trunk@221374 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 07:55:09 +00:00
bzbarsky%mit.edu
42bd11798b
Add test for bug 372770 and fix minor space issue with geting the "background"
...
property when background-position is not set. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221372 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 06:59:39 +00:00