2731 Commits

Author SHA1 Message Date
dbaron%dbaron.org
af7b36eed3 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
git-svn-id: svn://10.0.0.236/trunk@228272 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:22:09 +00:00
bzbarsky%mit.edu
d5faca0640 Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
285140, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@228160 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 05:09:51 +00:00
dbaron%dbaron.org
0d40d0c7e0 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227883 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:29:11 +00:00
mats.palmgren%bredband.net
263b383ccf Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227593 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 17:56:18 +00:00
martijn.martijn%gmail.com
7382c8822c Bug 383030 – Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227437 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-03 21:15:46 +00:00
bzbarsky%mit.edu
829c92df27 Add an API to observe all loads in a CSSLoader. Change XML prettyprinting to
not start layout till after the prettyprinter stylesheet is loaded, so we don't
reflow and reconstruct the whole thing twice.  Bug 380612, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@227308 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-31 01:42:48 +00:00
sharparrow1%yahoo.com
fe56577906 Bug 237770: Mozilla fails to ignore 'float' property even though 'position: absolute' is set. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@226857 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 05:55:03 +00:00
joshmoz%gmail.com
b1e595f3b3 remove camino-specific CSS from forms.css. b=381539 r=cbarrett sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226799 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 19:44:01 +00:00
dbaron%dbaron.org
18208893da Block outline-color for always use my colors pref. b=380924 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226607 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 06:02:57 +00:00
joshmoz%gmail.com
e2b41a002e this camino-only CSS is no longer necessary after bug 370282 landed. r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@226602 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 03:15:04 +00:00
dbaron%dbaron.org
f80d6532de Add bug numbers._dont_use_document_colors.html
git-svn-id: svn://10.0.0.236/trunk@226555 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 01:56:18 +00:00
dbaron%dbaron.org
aadb55ba1f Add test for always-use-my-colors preference. b=58048
git-svn-id: svn://10.0.0.236/trunk@226553 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 01:51:52 +00:00
dbaron%dbaron.org
4fd3c2d62f Fix some debugging code. b=380825 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226546 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:17:45 +00:00
dbaron%dbaron.org
d3fb79a11a Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226545 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:17:21 +00:00
dbaron%dbaron.org
d6e7785ed1 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
git-svn-id: svn://10.0.0.236/trunk@226544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:10:32 +00:00
dbaron%dbaron.org
e8bf2016b6 Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226543 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:08:51 +00:00
bzbarsky%mit.edu
9eca0b92d5 Fix regression bug 380842: allow block-display generated content on table cells
and captions again.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@226526 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 16:57:28 +00:00
bzbarsky%mit.edu
22192fe466 Followup tweak for bug 379809, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@226524 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 16:03:05 +00:00
masayuki%d-toybox.com
605efe68cb Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +00:00
bzbarsky%mit.edu
36678c20ca Back out part of the last change which is not actually correct
git-svn-id: svn://10.0.0.236/trunk@226503 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:39:36 +00:00
bzbarsky%mit.edu
27adc40647 Apparently we can't handle "thin" here yet.
git-svn-id: svn://10.0.0.236/trunk@226502 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:33:04 +00:00
bzbarsky%mit.edu
600003a2c7 Change round-trip testing for specified sub-properties of a shorthand to set
them all before looking at computed style, since, for example, the specified
font-family affects the computed line-height if the specified line-height is
"normal".  Bug 379809, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@226498 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:03:34 +00:00
dbaron%dbaron.org
08ee109ec4 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226419 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 05:13:50 +00:00
dbaron%dbaron.org
16f8c3c566 Remove known failure fixed by patches in bug 379741.
git-svn-id: svn://10.0.0.236/trunk@226292 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:50:35 +00:00
dbaron%dbaron.org
68aab90fcd Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226290 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:02:31 +00:00
dbaron%dbaron.org
80e25fa18a 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
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00
dbaron%dbaron.org
fd2e86c15a Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +00:00
dbaron%dbaron.org
22c6c8d70d Don't put null coords in nsStyleCoords when they have the same meaning as some other coord type. b=379741 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226287 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 05:58:34 +00:00
joshmoz%gmail.com
2a04b6e4c6 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
git-svn-id: svn://10.0.0.236/trunk@226204 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 19:17:18 +00:00
mats.palmgren%bredband.net
75d8703396 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226109 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 06:56:14 +00:00
mats.palmgren%bredband.net
b87f472365 Backing out bug 379906 to fix orange.
git-svn-id: svn://10.0.0.236/trunk@226108 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 06:25:04 +00:00
mats.palmgren%bredband.net
70c947e6af Fix an assertion when setting a 'quotes' property value. b=379906 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226107 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 06:00:37 +00:00
mats.palmgren%bredband.net
35c84837f8 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226106 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 05:46:37 +00:00
joshmoz%gmail.com
c9eb8390a6 remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc
git-svn-id: svn://10.0.0.236/trunk@226101 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 01:20:11 +00:00
joshmoz%gmail.com
9194c9b997 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
git-svn-id: svn://10.0.0.236/trunk@226018 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 02:06:59 +00:00
dbaron%dbaron.org
57c2f37df8 Fix the description of the serialize+parse tests.
git-svn-id: svn://10.0.0.236/trunk@225965 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 17:06:49 +00:00
bzbarsky%mit.edu
bdc5438d61 Comment out test for now until I can debug it. Bug 379809.
git-svn-id: svn://10.0.0.236/trunk@225954 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 07:05:18 +00:00
bzbarsky%mit.edu
3a2aee02f0 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225952 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:47:09 +00:00
bzbarsky%mit.edu
33b3f60e43 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +00:00
bzbarsky%mit.edu
1788f844d4 Make computed style handle "normal" for line-height by computing an actual
numeric height.  Bug 371041, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225943 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 05:30:10 +00:00
dbaron%dbaron.org
d2a2e4419b 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>.
git-svn-id: svn://10.0.0.236/trunk@225556 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 00:05:16 +00:00
dbaron%dbaron.org
03a83ad9f2 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
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
72fcefb872 When we have a url() value that doesn't give us an imgIRequest (e.g. couldn't
create nsIURI, URI load blocked by security manager, etc), make sure to still
pick up the fallback value for cursor.  Bug 379440, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225511 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 06:33:13 +00:00
bzbarsky%mit.edu
c6a333df55 Propagate a stylesheet's principal to the URI and Image CSSValues derived from
that sheet.  Bug 377091, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu
54342320f7 Fix assert to not fire when it shouldn't. Bug 379405, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225428 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 02:25:50 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(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


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
6e86d03b2e Stylesheets should know what their principal is, and it should be based on the
URI the sheet was loaded from, its certificate (if any) and the loader
principal, not just on the page the sheet is being applied to.  Propagate this
principal as the loading principal to @import loads from stylesheets.  Change
sheet access checks to use this principal instead of the sheet URI.  Bug
221428, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@225401 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 19:26:15 +00:00
bzbarsky%mit.edu
92ccf06bb6 This test passes now.
git-svn-id: svn://10.0.0.236/trunk@225323 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 04:31:06 +00:00
bzbarsky%mit.edu
e68352cec4 Fixing parsing of opacity components of rgba() and hsla() that are out of the
0 <= x <= 1 range.  Bug 379316, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225320 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 03:50:31 +00:00
joshmoz%gmail.com
ed9e12c278 remove duplicate line of a CSS rule from forms.css. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225313 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 01:51:47 +00:00