bzbarsky@mit.edu
9fba31f8f1
Implement hixie's first-line proposal: only inherit properties that inherit by default from ::first-line. Inherit the reset properties from its style parent (which is the node that we'd inherit from if the ::first-line were not there). Bug 395623, r+sr=dbaron, a=beltzner
2007-11-07 09:13:00 -08:00
reed@reedloden.com
7093135550
Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner]
2007-10-31 11:51:49 -07:00
dbaron@dbaron.org
f31056a796
Make boxes that have non-box non-block children wrap all their children in a block. b=321402 r+sr=roc, a=blocking1.9+/M9
2007-10-25 16:30:49 -07:00
bzbarsky@mit.edu
8ea081ef12
Landing files that somehow got missed. Bug 397427.
2007-10-23 15:11:08 -07:00
bzbarsky@mit.edu
a892964caa
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
2007-10-23 14:56:41 -07:00
tor@cs.brown.edu
736d473ea9
Bug 399289 - leak of nsBaseURLParser with svg paint. r+sr+a=dbaron
2007-10-19 08:36:15 -07:00
neil@parkwaycc.co.uk
32d272346f
Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc
2007-10-19 01:51:27 -07:00
tor@cs.brown.edu
13a39acf8b
Backout of 399289.
2007-10-15 11:59:22 -07:00
tor@cs.brown.edu
4bb61b5b4d
Bug 399289 - leak of nsBaseURLParser with svg paint. r=dbaron, sr=roc, a=dbaron
2007-10-15 09:37:04 -07:00
bzbarsky@mit.edu
095485d001
Fix bug 345609. r+sr+a=roc
2007-10-12 11:37:51 -07:00
tglek@mozilla.com
4cbdc93612
Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
2007-10-09 17:00:05 -07:00
reed@reedloden.com
8c5774bb0e
Bug 394844 - "nsCSSParser.cpp: aSkipWS parameter of ExpectEndProperty and GetURLToken can be removed as it is always PR_TRUE" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=dbaron]
2007-10-08 16:17:14 -07:00
dbaron@dbaron.org
d8addc0ca6
Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc
2007-10-08 16:11:01 -07:00
dbaron@dbaron.org
5540e78a6b
Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc
2007-10-08 14:58:22 -07:00
jwalden@mit.edu
847ceab9ed
Bug 393757 - Don't report CSS style errors for identifiers designated as vendor-specific by the CSS spec. This means we won't report errors for things like _width or for any of the -khtml-, -webkit-, -o-, -ms-, etc. properties, cutting down on error console spam a touch. r+sr+a=dbaron
2007-10-03 21:58:27 -07:00
reed@reedloden.com
7def00014d
Bug 389685 - "Empty style attribute generates strange css warning" [p=elif (sharparrow1) r+sr+a1.9=dbaron]
2007-10-03 20:20:36 -07:00
dholbert@cs.stanford.edu
949b9acd6d
Backing out patch for Bug 396984 -- its issues will be addressed via Bug 240117. (see comments 27-28 on Bug 396984)
2007-10-03 13:04:32 -07:00
dholbert@cs.stanford.edu
b8c2b948c0
Bug 396984 - Fix GTK textfield border-width 2px/3px discrepancy. Patch by Michael Ventnor <ventnor.bugzilla@yahoo.com.au>, r/sr/a=roc
2007-10-02 14:25:59 -07:00
dholbert@cs.stanford.edu
5b71f0e1c9
Bug 382147: Make disabled button border-width match enabled buttons. r=roc sr=roc blocking1.9=joshmoz
2007-10-01 09:40:35 -07:00
dbaron@dbaron.org
bb4db035a7
Fix leak of nsCSSValueList. b=397149 r+sr=bzbarsky a=roc
2007-09-27 09:28:14 -07:00
dbaron@dbaron.org
d429be6646
Always delete the old content array so that we run destructors. b=397022 r+sr=bzbarsky a=roc
2007-09-27 09:27:48 -07:00
dbaron@dbaron.org
07fa5e0002
Remove comment about exceptions that no longer exist thanks to bug 386640.
2007-09-27 09:26:22 -07:00
martijn.martijn@gmail.com
6eaa672aef
Bug 376948 - Useless margin-top rules in quirk.css for form?, r+sr+a=dbaron
2007-09-20 09:54:11 -07:00
roc+@cs.cmu.edu
421c1e9048
Bug 386759. Text inputs should use text-rendering:optimizeLegibility
2007-09-18 05:14:46 -07:00
timeless@mozdev.org
c0948a8fd5
Bug 393144 consistently use NS_THEME_NONE r=bz, r=bz, r=dbaron, sr=bz, a=dbaron
2007-09-05 03:27:06 -07:00
dbaron@dbaron.org
ef74fe1b6d
Add real test for the nsCSSValue regression caught on Monday only by an unexpected pass. b=382027
2007-08-31 10:07:02 -07:00
dbaron@dbaron.org
3124eee44d
Attempt to fix test failures from bug 382027.
2007-08-28 00:29:03 -07:00
dbaron@dbaron.org
224bef07a3
Fix accounting showing leak of CSS value types, and optimize CSS value constructors/destructors a bit. b=382027 r+sr=bzbarsky a1.9=roc
2007-08-27 23:47:32 -07:00
sharparrow1@yahoo.com
b4892925e2
Bug 389224: Clipped objects are sometimes not fully redrawn after clipping. r+sr=roc, a=dbaron
2007-08-27 18:35:59 -07:00
sharparrow1@yahoo.com
4ded1d172a
Additional CSS parsing tests for bugs 393286 and 393499.
2007-08-27 13:49:09 -07:00
sharparrow1@yahoo.com
60c3597caa
Bug 393499: Clean up character lookup in nsCSSScanner. r=bzbarsky, sr+a=dbaron
2007-08-25 19:20:27 -07:00
bzbarsky@mit.edu
9d83d9e503
Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron
2007-08-24 15:20:24 -07:00
sharparrow1@yahoo.com
02d501373b
Bug 393286: Make nsCSSScanner::Read regularize newlines. r+sr=bzbarsky, a=dbaron
2007-08-23 16:01:52 -07:00
sharparrow1@yahoo.com
a44bf5795e
Bug 393080: Make count and offset in nsCSSScanner unsigned. r+sr=bzbarsky, a=dbaron
2007-08-22 10:32:59 -07:00
masayuki@d-toybox.com
5cf046b40d
Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
6b0b848b3c
Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron
2007-08-21 19:57:06 -07:00
sharparrow1@yahoo.com
0f4595bc4a
Bug 392840: Get rid of nsCSSScanner::Unread. r+sr=bzbarsky, r+a=dbaron
2007-08-21 11:29:50 -07:00
sharparrow1@yahoo.com
fe56700772
Bug 387511: CSs scanner causes parse error for URLs starting with a codepoint > 255. r+sr=bzbarsky, a=dbaron
2007-08-19 20:39:22 -07:00
sharparrow1@yahoo.com
22ce8f8c37
Bug 390399: Add some general (non-property-specific) parsing tests. r+sr+a=dbaron
2007-08-17 15:05:22 -07:00
bzbarsky@mit.edu
046590ae4f
Fix computed style for relative offsets when they're specified in |ch| units. Bug 391034, r+sr+a=dbaron
2007-08-16 16:19:25 -07:00
bzbarsky@mit.edu
41ac6d8100
Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
2007-08-15 16:20:25 -07:00
bzbarsky@mit.edu
04da343c4a
Fix a few more issues with eSyleUnit_Chars in computed style. Bug 391221, r+sr+a=dbaron
2007-08-14 11:44:39 -07:00
bzbarsky@mit.edu
df7a28db36
Fix up whitespace issue from checking in -w patch. No code change. Bug 390318
2007-08-10 15:17:20 -07:00
bzbarsky@mit.edu
fed4b01d91
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
2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
7c7a8cb92e
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
2007-08-07 18:16:09 -07:00
sdwilsh@shawnwilsher.com
1cc9a1b6ce
Bug 355789 - Use vista native uxtheme for menu rendering. Patch by Rob Arnold <robarnold@mozilla.com>. r=vladimir, a=[wanted-1.9]
2007-08-06 10:45:57 -07:00
ginn.chen@sun.com
6f5f621c9e
Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore
2007-08-05 20:22:32 -07:00
dbaron@dbaron.org
444bdc7296
Remove a value for a property not listed in nsCSSPropList.h. b=258079 r+sr=bzbarsky a1.9=roc
2007-08-04 00:01:23 -07:00
jwalden@mit.edu
1de0b8ac3c
Bug 374635 - [Midas] Visited links are black, not purple. Patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=neil, sr=peterv, a=dbaron
2007-08-03 11:02:17 -07:00
bzbarsky@mit.edu
718c18f740
Fix EOF handling after an !important. Bug 390318, r+sr+a=dbaron
2007-08-02 14:20:11 -07:00
Olli.Pettay@helsinki.fi
33d9adc753
Backing out bug 275196, xml:id, to fix tp regression
2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
2bb3360e9f
Bug 275196, xml:id, r=sicking, sr=dbaron
2007-07-26 05:22:01 -07:00
tor@cs.brown.edu
820e8ee7ab
Bug 383184 - Implement SVG lighting filters.
...
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
dbaron@dbaron.org
75805da55c
Remove additional unused code from system font redesign, and add one comment. b=377947 r+sr=bzbarsky
2007-07-25 23:41:37 -07:00
dbaron@dbaron.org
09ff2914f8
Make SetGenericFont not use aStartStruct-based computation since it's fundamentally incompatible with it. b=216456 r+sr=bzbarsky
2007-07-25 23:32:19 -07:00
dbaron@dbaron.org
c6705e7afa
Mark tests passing that were fixed by bug 389464.
2007-07-25 17:01:32 -07:00
dbaron@dbaron.org
0198f88736
Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky
2007-07-25 16:12:38 -07:00
vladimir@pobox.com
dbabc87f82
b=339553, drawString enhancement for canvas, r=me; patch from robarnold
2007-07-25 11:21:34 -07:00
sharparrow1@yahoo.com
4fd6f0aaf2
Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
2007-07-25 10:14:13 -07:00
bzbarsky@mit.edu
75962c91a3
Avoid doing some work when initializing textfields. Bug 221150, patch by
...
peterv and a little bit me, r=me, sr=roc
2007-07-24 17:11:22 -07:00
dbaron@dbaron.org
42e7c661f1
Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky
2007-07-24 08:27:11 -07:00
dbaron@dbaron.org
dd85abf19e
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
2007-07-23 21:13:45 -07:00
bzbarsky@mit.edu
9e2949a08c
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
2007-07-23 18:48:10 -07:00
martijn.martijn@gmail.com
09456c5cbd
Bug 386470 - <marquee contentEditable> should stop, r=peterv, sr=bzbarsky
2007-07-23 15:02:57 -07:00
dbaron@dbaron.org
06cac4a033
Clean up empty gNoComputedStyle lists.
2007-07-22 12:57:15 -07:00
dbaron@dbaron.org
83c5a8d6ff
Don't test properties whose values overlap with others.
2007-07-22 12:56:35 -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
0c2de25894
Remove unused gNoComputedValue variable.
2007-07-22 10:59:14 -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
dbaron@dbaron.org
0025130d35
Make CheckFontProperties consider font-size:larger and font-size:smaller as well. b=388548 r+sr=bzbarsky
2007-07-22 10:57:35 -07:00
dbaron@dbaron.org
3945296b61
Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky
2007-07-22 10:56:56 -07:00
tor@cs.brown.edu
258529672e
Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
2007-07-21 07:20:25 -07:00
roc+@cs.cmu.edu
83ad8cbb2c
Bug 364680. Intrinsic widths for columns. r+sr=dbaron
2007-07-19 19:21:43 -07:00
bzbarsky@mit.edu
8533c28e06
Landing tests that somehow never made it into the tree.
2007-07-19 17:26:41 -07:00
bzbarsky@mit.edu
963ed9bb46
Checking in missing file. Bug 204140
2007-07-18 15:17:30 -07:00
bzbarsky@mit.edu
d5a5f68231
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.
2007-07-18 14:56:57 -07:00
sharparrow1@yahoo.com
d467bd3101
Restore includes t fix bustage.
2007-07-18 09:54:57 -07:00
sharparrow1@yahoo.com
4c4a041283
Remove unused code; no bug. rs=bzbarsky.
2007-07-18 09:39:53 -07:00
kherron@fmailbox.com
45dd411a17
Bug 337771 - Native -moz-appearance work for menus and toolbars on Windows XP. Patch by Simon Bünzli <zeniko@gmail.com>. r=emaijala, sr=bzbarsky.
2007-07-14 08:11:37 -07:00
dbaron@dbaron.org
eace483739
Add test that the nsRuleNode::Compute*Data functions don't touch aStartStruct when they shouldn't.
2007-07-12 16:50:13 -07:00
bzbarsky@mit.edu
3f4c992470
Make attribute changes that also cause a state change properly reresolve style
...
when a selector uses both the state and the attribute. Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
dbaron@dbaron.org
65a76a0e0e
Try fixing Windows test failure; consistent computed values for line-height: normal require constant font metrics.
2007-07-11 16:42:35 -07:00
dbaron@dbaron.org
136be06cdd
Add tests for bugs 357614 and 387615.
2007-07-11 15:25:00 -07:00
dbaron@dbaron.org
759b9dd40e
Don't check for namespaced attributes when checking which attributes have case-insensitive values. b=387615 r+sr=bzbarsky
2007-07-11 15:24:19 -07:00
dbaron@dbaron.org
af2188d840
Make test_inherit_computation test the Compute*Data functions for eStyleUnit_Inherit.
2007-07-11 15:23:03 -07:00
bzbarsky@mit.edu
6ca8674b9d
Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv
2007-07-11 12:44:27 -07:00
neil@parkwaycc.co.uk
314a7d97d4
Followup to bug 348748 to fix the alignment of trailing backslashes in macros
...
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
dbaron@dbaron.org
cec2d446c0
Reverse the list of which HTML attributes have case-sensitive values for the CSS attribute selector (i.e., list the ones whose values are case-insensitive instead, so new attributes are case sensitive by default). b=357614 Patch by Niels Leenheer (rakaz) <niels.leenheer@gmail.com>. r+sr=dbaron
2007-07-10 16:23:05 -07:00
jwalden@mit.edu
12e960c504
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
sharparrow1@yahoo.com
00900e8169
Bug 387044: cleanup string usage in nsCSSParser. r+sr=bzbarsky
2007-07-05 18:21:56 -07:00
dbaron@dbaron.org
2e7a7d753d
Remove unused copy constructors. b=386809 r+sr=bzbarsky
2007-07-04 11:52:27 -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
c805e6c7ac
Propagate the principal responsible an image load all the way to
...
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there. Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
gavin@gavinsharp.com
c5fce4809d
Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron
2007-07-03 06:59:02 -07:00
peterv@propagandism.org
02b7a30529
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0919df3f05
Backing out to fix orange.
2007-06-27 16:21:05 -07:00
peterv@propagandism.org
e15f728720
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 15:29:45 -07:00
roc+@cs.cmu.edu
8f9197e293
Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron
2007-06-26 19:31:35 -07:00
dbaron@dbaron.org
fc585c1948
Make marquee work again when direction is rtl, by working around changes to range of offsetLeft. b=336736 Patch by Daniel Holbert <dholbert@mozilla.com>. r=martijn sr=dbaron
2007-06-18 16:21:56 -07:00
bzbarsky@mit.edu
6dfa9d7b1b
Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
...
285140, r+sr=dbaron
2007-06-15 22:09:51 -07:00