Commit Graph

91 Commits

Author SHA1 Message Date
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
bzbarsky@mit.edu
6bea7ead90 Comment out test for now until I can debug it. Bug 379809. 2007-05-05 00:05:18 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
64c3e5df8a Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
bzbarsky@mit.edu
685a823789 Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron 2007-05-04 22:30:10 -07:00
dbaron@dbaron.org
258af67040 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
dbaron@dbaron.org
7dc7c89d6c Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
bzbarsky@mit.edu
73bb8b2e6d When we have a url() value that doesn't give us an imgIRequest (e.g. couldn'tcreate nsIURI, URI load blocked by security manager, etc), make sure to stillpick up the fallback value for cursor. Bug 379440, r+sr=dbaron 2007-05-02 23:33:13 -07:00
bzbarsky@mit.edu
5a139c8a8d Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
bzbarsky@mit.edu
07a89fd883 Fix assert to not fire when it shouldn't. Bug 379405, r+sr=dbaron 2007-05-01 19:25:50 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
1414308296 Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
bzbarsky@mit.edu
3e48c43b01 This test passes now. 2007-04-30 21:31:06 -07:00
bzbarsky@mit.edu
a47578fd0a Fixing parsing of opacity components of rgba() and hsla() that are out of the0 <= x <= 1 range. Bug 379316, r+sr=dbaron 2007-04-30 20:50:31 -07:00
joshmoz@gmail.com
463084360e remove duplicate line of a CSS rule from forms.css. r/sr=dbaron 2007-04-30 18:51:47 -07:00