2803 Commits

Author SHA1 Message Date
dbaron%dbaron.org
2f867218c6 Attempt to fix test failures from bug 382027.
git-svn-id: svn://10.0.0.236/trunk@233198 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 07:29:03 +00:00
dbaron%dbaron.org
084f9cd22e Fix accounting showing leak of CSS value types, and optimize CSS value constructors/destructors a bit. b=382027 r+sr=bzbarsky a1.9=roc
git-svn-id: svn://10.0.0.236/trunk@233194 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 06:47:32 +00:00
sharparrow1%yahoo.com
5f36586206 Bug 389224: Clipped objects are sometimes not fully redrawn after clipping. r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@233180 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 01:35:59 +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
fe5d6d86f0 Bug 393499: Clean up character lookup in nsCSSScanner. r=bzbarsky, sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@233090 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-26 02:20:27 +00:00
bzbarsky%mit.edu
0301c2e184 Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron
git-svn-id: svn://10.0.0.236/trunk@233038 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 22:20:25 +00:00
sharparrow1%yahoo.com
5b5dfe183a Bug 393286: Make nsCSSScanner::Read regularize newlines. r+sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232988 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 23:01:52 +00:00
sharparrow1%yahoo.com
ccecfafc90 Bug 393080: Make count and offset in nsCSSScanner unsigned. r+sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232867 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 17:32:59 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +00:00
sharparrow1%yahoo.com
13e2702914 Bug 392840: Get rid of nsCSSScanner::Unread. r+sr=bzbarsky, r+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232467 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 18:29:50 +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
84edc3c7eb Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232178 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 23:20: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
bzbarsky%mit.edu
a8dbbd9783 Fix up whitespace issue from checking in -w patch. No code change. Bug 390318
git-svn-id: svn://10.0.0.236/trunk@231864 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 22:17:20 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
sdwilsh%shawnwilsher.com
00767b27eb Bug 355789 - Use vista native uxtheme for menu rendering. Patch by Rob Arnold <robarnold@mozilla.com>. r=vladimir, a=[wanted-1.9]
git-svn-id: svn://10.0.0.236/trunk@231537 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 17:45:58 +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
dbaron%dbaron.org
7936a3c5f6 Remove a value for a property not listed in nsCSSPropList.h. b=258079 r+sr=bzbarsky a1.9=roc
git-svn-id: svn://10.0.0.236/trunk@231479 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 07:01:23 +00:00
jwalden%mit.edu
bb4834bf60 Bug 374635 - [Midas] Visited links are black, not purple. Patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=neil, sr=peterv, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231434 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 18:02:17 +00:00
bzbarsky%mit.edu
6824075bdd Fix EOF handling after an !important. Bug 390318, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231356 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:20:12 +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
8b81abaf10 Remove additional unused code from system font redesign, and add one comment. b=377947 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231035 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:41:37 +00:00
dbaron%dbaron.org
23ab448471 Make SetGenericFont not use aStartStruct-based computation since it's fundamentally incompatible with it. b=216456 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231030 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:32:19 +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
vladimir%pobox.com
f223a46fa8 b=339553, drawString enhancement for canvas, r=me; patch from robarnold
git-svn-id: svn://10.0.0.236/trunk@230947 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 18:21:35 +00:00
sharparrow1%yahoo.com
cf85fbccb8 Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230941 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:14:14 +00:00
bzbarsky%mit.edu
43d165c801 Avoid doing some work when initializing textfields. Bug 221150, patch by
peterv and a little bit me, r=me, sr=roc


git-svn-id: svn://10.0.0.236/trunk@230820 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 00:11:23 +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
69ad969c1d Avoid potential recursion into Compute*Data on the same rule node (for an inherited struct), which can cause a leak. Add bolder and lighter font-weight to CheckFontProperties. Fix incorrect propagation of generic fonts in ComputeFontData. b=383979 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230732 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 04:13:45 +00:00
bzbarsky%mit.edu
afdd80c5eb Have the rule take ownership of the parsed selector when we're done parsing it
instead of cloning the selector.  Bug 386123, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@230720 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 01:48:10 +00:00
martijn.martijn%gmail.com
313efcf942 Bug 386470 – <marquee contentEditable> should stop, r=peterv, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230673 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 22:02:57 +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
dbaron%dbaron.org
9597e8db18 Make CheckFontProperties consider font-size:larger and font-size:smaller as well. b=388548 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230593 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:57:35 +00:00
dbaron%dbaron.org
fb9626881b Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230592 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:56:56 +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
bzbarsky%mit.edu
25e31f9657 Checking in missing file. Bug 204140
git-svn-id: svn://10.0.0.236/trunk@230246 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 22:17:30 +00:00
bzbarsky%mit.edu
4738c3572d Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.


git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00