masayuki@d-toybox.com
a17a03f2ea
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
295ac223f1
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
bd3a0402f5
Bug 392840: Get rid of nsCSSScanner::Unread. r+sr=bzbarsky, r+a=dbaron
2007-08-21 11:29:50 -07:00
sharparrow1@yahoo.com
862051c004
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
d9a7aa54b9
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
edb68ef0b7
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
71c361ac5f
Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
2007-08-15 16:20:25 -07:00
bzbarsky@mit.edu
345f09029c
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
1cd5504611
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
96ec7b6a69
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
73073f4f3b
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
bbac20edf7
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
9a8c1632f4
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
acdb55d6ca
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
b9b7bfc04a
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
21fd3a72bb
Fix EOF handling after an !important. Bug 390318, r+sr+a=dbaron
2007-08-02 14:20:11 -07:00
Olli.Pettay@helsinki.fi
81c89897e3
Backing out bug 275196, xml:id, to fix tp regression
2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682
Bug 275196, xml:id, r=sicking, sr=dbaron
2007-07-26 05:22:01 -07:00
tor@cs.brown.edu
57371777f8
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
51a28fed8b
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
c265e46582
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
12cfbf536b
Mark tests passing that were fixed by bug 389464.
2007-07-25 17:01:32 -07:00
dbaron@dbaron.org
24fb2d19fe
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
7c12866d18
b=339553, drawString enhancement for canvas, r=me; patch from robarnold
2007-07-25 11:21:34 -07:00
sharparrow1@yahoo.com
fb3a8889db
Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
2007-07-25 10:14:13 -07:00
bzbarsky@mit.edu
38a4896ea0
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
c2ab442683
Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky
2007-07-24 08:27:11 -07:00
dbaron@dbaron.org
e0f7d67706
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
1287c748a6
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
bf7e1a46af
Bug 386470 - <marquee contentEditable> should stop, r=peterv, sr=bzbarsky
2007-07-23 15:02:57 -07:00
dbaron@dbaron.org
96ccb2946c
Clean up empty gNoComputedStyle lists.
2007-07-22 12:57:15 -07:00
dbaron@dbaron.org
bba4c7f4c7
Don't test properties whose values overlap with others.
2007-07-22 12:56:35 -07:00
dbaron@dbaron.org
bcde3b4813
Add hooks to get correct computed value for logical box properties.
2007-07-22 12:56:13 -07:00
dbaron@dbaron.org
4b82f11407
Remove unused gNoComputedValue variable.
2007-07-22 10:59:14 -07:00
dbaron@dbaron.org
6f3e04c270
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
0dd1f4d010
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
63a3524fc1
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
7b793ae7ab
Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
2007-07-21 07:20:25 -07:00
roc+@cs.cmu.edu
86d69d1566
Bug 364680. Intrinsic widths for columns. r+sr=dbaron
2007-07-19 19:21:43 -07:00
bzbarsky@mit.edu
4f18dd903d
Landing tests that somehow never made it into the tree.
2007-07-19 17:26:41 -07:00
bzbarsky@mit.edu
82a84b3be7
Checking in missing file. Bug 204140
2007-07-18 15:17:30 -07:00
bzbarsky@mit.edu
a6139746d4
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
8682593e76
Restore includes t fix bustage.
2007-07-18 09:54:57 -07:00
sharparrow1@yahoo.com
e34fe8fa93
Remove unused code; no bug. rs=bzbarsky.
2007-07-18 09:39:53 -07:00
kherron@fmailbox.com
fda0e634fc
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
67311c9ab9
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
a4c90a1d9d
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
785d177d0e
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
2a24493b83
Add tests for bugs 357614 and 387615.
2007-07-11 15:25:00 -07:00
dbaron@dbaron.org
74b69a02d4
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
e7cd6b9ed9
Make test_inherit_computation test the Compute*Data functions for eStyleUnit_Inherit.
2007-07-11 15:23:03 -07:00
bzbarsky@mit.edu
a7014a42ea
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
11ed13d71f
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
2920d58187
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
e3c4baccae
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
0238495104
Bug 387044: cleanup string usage in nsCSSParser. r+sr=bzbarsky
2007-07-05 18:21:56 -07:00
dbaron@dbaron.org
ef7fb8545a
Remove unused copy constructors. b=386809 r+sr=bzbarsky
2007-07-04 11:52:27 -07:00
dbaron@dbaron.org
2be70ea82e
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
bdded13f7c
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
a60fe167e5
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
76a2c4d37f
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5
Backing out to fix orange.
2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979
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
26f439cf9b
Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron
2007-06-26 19:31:35 -07:00
dbaron@dbaron.org
39a48943d0
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
4742664b10
Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
...
285140, r+sr=dbaron
2007-06-15 22:09:51 -07:00
dbaron@dbaron.org
00f940f9de
Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky
2007-06-12 11:28:56 -07:00
mats.palmgren@bredband.net
39f5613641
Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron
2007-06-06 10:56:18 -07:00
martijn.martijn@gmail.com
8bf4d21602
Bug 383030 - Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron
2007-06-03 14:15:45 -07:00
bzbarsky@mit.edu
f5f6fbc39c
Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking
2007-05-30 18:42:48 -07:00
sharparrow1@yahoo.com
e98fa1cc43
Bug 237770: Mozilla fails to ignore 'float' property even though 'position: absolute' is set. r=dbaron, sr=bzbarsky.
2007-05-22 22:55:03 -07:00
joshmoz@gmail.com
3a52820c7e
remove camino-specific CSS from forms.css. b=381539 r=cbarrett sr=dbaron
2007-05-22 12:44:01 -07:00
dbaron@dbaron.org
4fdff9f2af
Block outline-color for always use my colors pref. b=380924 r+sr=bzbarsky
2007-05-17 23:02:57 -07:00
joshmoz@gmail.com
861dd29eb5
this camino-only CSS is no longer necessary after bug 370282 landed. r/sr=roc
2007-05-17 20:15:04 -07:00
dbaron@dbaron.org
471819ac98
Add bug numbers._dont_use_document_colors.html
2007-05-16 18:56:18 -07:00
dbaron@dbaron.org
cdc8086606
Add test for always-use-my-colors preference. b=58048
2007-05-16 18:51:30 -07:00
dbaron@dbaron.org
ba164cc517
Fix some debugging code. b=380825 r+sr=bzbarsky
2007-05-16 14:17:45 -07:00
dbaron@dbaron.org
326dbd88d2
Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky
2007-05-16 14:17:21 -07:00
dbaron@dbaron.org
8d20e3f29b
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
2007-05-16 14:10:31 -07:00
dbaron@dbaron.org
5d44540384
Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky
2007-05-16 14:08:51 -07:00
bzbarsky@mit.edu
e8a960c0a8
Fix regression bug 380842: allow block-display generated content on table cellsand captions again. r+sr=dbaron
2007-05-16 09:57:28 -07:00
bzbarsky@mit.edu
01da3bef40
Followup tweak for bug 379809, r=dbaron
2007-05-16 09:03:05 -07:00
masayuki@d-toybox.com
cae88bda36
Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
2007-05-16 08:51:37 -07:00
bzbarsky@mit.edu
1492416482
Back out part of the last change which is not actually correct
2007-05-15 20:39:36 -07:00
bzbarsky@mit.edu
9a024b3234
Apparently we can't handle "thin" here yet.
2007-05-15 20:33:04 -07:00
bzbarsky@mit.edu
6f8670aed8
Change round-trip testing for specified sub-properties of a shorthand to setthem all before looking at computed style, since, for example, the specifiedfont-family affects the computed line-height if the specified line-height is"normal". Bug 379809, r=dbaron
2007-05-15 20:03:34 -07:00
dbaron@dbaron.org
0b1ce291e2
Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky
2007-05-14 22:13:49 -07:00
dbaron@dbaron.org
3e2d05ec11
Remove known failure fixed by patches in bug 379741.
2007-05-10 23:50:35 -07:00
dbaron@dbaron.org
6becb79be4
Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
6375aad92f
Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky
2007-05-10 23:01:31 -07:00
dbaron@dbaron.org
ce027d98d6
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
2007-05-10 23:00:26 -07:00
dbaron@dbaron.org
49f0460769
Don't put null coords in nsStyleCoords when they have the same meaning as some other coord type. b=379741 r+sr=bzbarsky
2007-05-10 22:58:34 -07:00
joshmoz@gmail.com
41cf3b9332
Use small control type for radio buttons and checkboxes in HTML. On Windows and Linux this has no effect because small and normal are the same thing, but it means we can differentiate on Mac OS X where they are not. b=380056 r/sr=roc
2007-05-09 12:17:17 -07:00
mats.palmgren@bredband.net
0006aa95d7
Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
2007-05-07 23:56:14 -07:00
mats.palmgren@bredband.net
3100ae9cba
Backing out bug 379906 to fix orange.
2007-05-07 23:25:04 -07:00
mats.palmgren@bredband.net
68c21e9819
Fix an assertion when setting a 'quotes' property value. b=379906 r+sr=dbaron
2007-05-07 23:00:37 -07:00
mats.palmgren@bredband.net
8368c269c8
Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
2007-05-07 22:46:37 -07:00
joshmoz@gmail.com
b8a5d1d3bf
remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc
2007-05-07 18:20:11 -07:00
joshmoz@gmail.com
289921ae56
Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc
2007-05-06 19:06:58 -07:00
dbaron@dbaron.org
7e729aa8a8
Fix the description of the serialize+parse tests.
2007-05-05 10:06:49 -07:00