Commit Graph

723 Commits

Author SHA1 Message Date
John Daggett
6e4652a0a0 Bug 472237 - check for null user font set before using. r+sr=dbaron 2009-01-07 13:45:41 +09:00
Boris Zbarsky
0e1f66b41d merge backout of bug 437366. 2009-01-05 17:05:03 -05:00
Boris Zbarsky
a9607d9d3b Backed out changeset f87b46d44d22 (bug 437366) 2009-01-05 17:04:28 -05:00
Olli Pettay
d30fae3581 Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron 2009-01-05 18:26:59 +02:00
Dave Camp
d4f7aed7eb Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
c3150e042c Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Dão Gottwald
98ef582b97 Bug 471923 - kill tab-left-edge and tab-right-edge -moz-appearance values. r+sr=roc 2009-01-04 15:01:48 +01:00
L. David Baron
d11612b0aa Distinguish clip:rect(auto,auto,auto,auto) from clip:auto as the spec requires. (Bug 372063) r+sr=bzbarsky 2008-12-29 10:07:38 -05:00
L. David Baron
805646bab5 Reject 0 as a value for -moz-column-count. (Bug 471341) r+sr=bzbarsky 2008-12-29 10:07:38 -05:00
L. David Baron
eed7111013 Fix handling of 'orienation' feature in print-preview. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
2424598a74 Prevent posting media query changed events during construction. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
020fe687d6 Expect percentages to be unsupported for -moz-column-width. I'm not sure why I made it as it is, since they were never supported in either our implementation or the spec. 2008-12-29 10:07:36 -05:00
Daniel.S
22c17349ea Adding crashtest 2008-12-28 12:14:28 -08:00
Boris Zbarsky
650f225952 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2008-12-28 12:07:58 -08:00
L. David Baron
8458c5b6b6 Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
d67ed87895 Better handling of overflowing integer values. (Bug 440230) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
6958d78491 Readd test for computed style for large integers (even though patch was backed out). (Bug 470769) r+sr=bzbarsky 2008-12-23 09:06:59 -05:00
L. David Baron
e8b56749f3 Backed out changeset 441f119f1a0c (Bug 470769) due to failures in layout/style/test/test_bug365932.html 2008-12-23 11:11:51 -05:00
L. David Baron
1362acfc3f Fix computed style for large integers by using double instead of float. (Bug 470769) r+sr=bzbarsky 2008-12-23 09:06:59 -05:00
L. David Baron
e32d92f667 Enforce the restriction that values of stroke-miterlimit are greater than 1, rather than just using ParsePositiveVariant. (Bug 470706) r=jwatt sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
22b6db3f79 Reject duplicate keywords for 'text-decoration'. (Bug 470704) r+sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
4dabb0d03e Disallow negative values on -moz-box-ordinal-group, since it's stored in an unsigned integer and clearly intended to be only positive. (Bug 470703) r=enndeakin sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
81919802f0 Rewrite the shorthand condensation code in nsCSSDeclaration::ToString. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
8d30a03f05 Don't say that the font or background shorthands are present when the properties that they reset but can't otherwise specify are not their initial values. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
5eb3c08c33 Condense box property four side shorthands in value getters, just as in serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
fd19b3e628 Suppress serialization of -moz-use-text-color in border shorthand in property getters just like we do in declaration serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
72e8b9505a Check consistency before returning 'border' shorthand. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
83e1e59019 Remove comment that should have been removed in bug 160403. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:56 -05:00
L. David Baron
8e85e47bd1 Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
L. David Baron
c88d4b23d5 Fix bugs in handling of inherit, initial, and none for -moz-border-*-colors. (Bug 389404) r+sr=bzbarsky 2008-12-23 09:06:56 -05:00
Mats Palmgren
af8c8dd1c3 Remove redundant declaration. b=431705 r+sr=roc 2008-12-18 10:03:38 +01:00
Robert O'Callahan
ed66190092 Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
L. David Baron
10fdc6c423 Put 'thin' in the initial_values section instead of the other_values section for border shorthands, since the width should be 0px when border-style is none. 2008-12-16 17:11:38 -08:00
L. David Baron
d5257cf612 Fix properties that incorrectly applied to :first-letter or :first-line. (Bug 469227) r+sr=bzbarsky 2008-12-12 10:59:03 -08:00
L. David Baron
e3b670c240 Don't mark properties as applying to first-line / first-letter if there were comments if those properties were implicitly ignored by the old code either through never being used, or through another (*-style) property being ignored. (Bug 469227) r+sr=bzbarsky 2008-12-12 10:59:03 -08:00
L. David Baron
a0c80a0fdb Replace mechanism for restricting the properties that apply to :first-line and :first-letter. (Bug 469227) r+sr=bzbarsky 2008-12-12 10:59:03 -08:00
L. David Baron
0734469567 Disable -moz-transform and -moz-transform-origin for :first-line and :first-letter pseudo-elements. (Bug 466845) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-12 10:59:03 -08:00
John Daggett
4e18b0296a Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
Markus Stange
66dd342081 Bug 468498 - Add color -moz-mac-disabledtoolbartext for disabled text in toolbars. r=roc 2008-12-09 17:48:51 +01:00
L. David Baron
39812fadae Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+ 2008-12-08 08:08:05 -08:00
L. David Baron
7fc92bad7f Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc 2008-12-07 13:58:07 -08:00
Mats Palmgren
c3e7f32e2e Inherit -moz-box-ordinal-group to special frames and use a stable sorting algorithm (mergesort). b=431705 r+sr=roc 2008-12-07 19:11:30 +01:00
L. David Baron
089b1db23d Use a local stack rather than the call stack in SkipUntil to avoid excessive recursion. (Bug 432561) r+sr=bzbarsky 2008-12-07 10:00:43 -08:00
Daniel
fbe43dde38 Bug 458588 - drop -moz-outline* aliases. r+sr=dbaron 2008-12-07 14:36:47 +01:00
Masatoshi Kimura
a682e0d618 Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Serge Gautherie
d275aec025 Backed out changeset: f3663178d2e2 2008-12-06 14:22:33 +01:00
Daniel
4ef89e9db6 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; remove the aliases; r+sr=dbaron 2008-12-06 13:59:26 +01:00
Markus Stange
0a9202e6cc Bug 450800 - Add -moz-appearance: searchfield on Mac OS X; general NSCell drawing cleanup. r=smichaud sr=roc 2008-12-06 12:40:58 +01:00
Karl Tomlinson
f091bb1b37 b=458169 @font-face { src: url() } for Linux. r=roc 2008-12-06 12:19:27 +13:00
Daniel Holbert
03c259e522 Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura
2171389689 Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
Zack Weinberg
1e1e399d77 Bug 460217 - handle @font-face block without family name correctly in nsCSSRuleProcessor - r+sr=dbaron 2008-12-04 21:01:37 -08:00
L. David Baron
e2343835b0 Merge backout of changeset 7b553bbed53d (bug 302561) due to chrome test crash. 2008-12-04 09:57:44 -08:00
L. David Baron
90b976fe34 Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash. 2008-12-04 09:57:18 -08:00
L. David Baron
399b58f316 Make 'width', 'height', and 'aspect-ratio' features use the page size when printing. (Bug 466559) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
3e2cdc7772 Remove some unreachable stub code for en (half an em) and cap (cap-height metric of font) units that we never create. (Bug 458878) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
85dd73ebd3 Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc 2008-12-04 08:09:52 -08:00
Boris Zbarsky
882c93dc0b Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
Peter Van der Beken
4dfab39eb6 Fix for bug 458397 (Memory leak during TopSite Test on http://www.grono.net). r=bent, sr=jst. 2008-11-27 18:44:26 +01:00
Robert O'Callahan
e2d6438f48 Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
John Daggett
0d24013534 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
Brad Lassey
ea8dd114d1 backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp. 2008-11-26 12:20:26 -05:00
Robert O'Callahan
6dd228bfdc Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
L. David Baron
49d3fcc1ac Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
88620d4af0 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
8be0d9e6b5 Fix assertion about being too late to set quirks style sheet. (Bug 450191) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
03bdd4f9f2 Use a host that we proxy to the local server so that the test doesn't require network access. (Bug 466102) r+sr=bzbarsky a=tests 2008-11-25 13:27:53 -08:00
Boris Zbarsky
091edfd4c7 Bug 462458. Update @charset detection to spec changes. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
Boris Zbarsky
695687d1fe Bug 458381 followup: tests and a code fix for a problem the tests caught. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
John Daggett
e5a0f4c565 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Markus Stange
f780ec066b Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01:00
Boris Zbarsky
70c50466ec Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron 2008-11-02 21:29:51 -05:00
Robert O'Callahan
89f50618e0 Bug 460240. box-shadow style changes sometimes need a REFLOW hint, so ensure we don't return prematurely with VISUAL before we check the box-shadow styles. r+sr=dbaron 2008-11-03 13:58:46 +13:00
L. David Baron
4c3aa3c79d Correct mochitest for bug 461266. 2008-11-02 13:14:06 -08:00
L. David Baron
e56f086139 Don't eat up too much when we hit an error in the last media query in a list. (Bug 461266) r+sr=bzbarsky 2008-11-02 11:44:56 -08:00
Bernd
62d4cebdde bug 258377 remove inline on PeekStyleData so that it can be called from the layout library r/sr=bzbarsky 2008-11-01 09:52:29 +01:00
Mats Palmgren
7c3274fca7 Bug 461239. Be a bit more careful with unsigned arithmetic. r+sr=bzbarsky 2008-10-29 13:40:04 -07:00
John Daggett
f37b60578a Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
L. David Baron
f51451f805 Add nsCSSProps::PropHasFlags to address bzbarsky's review comments. (Bug 461731) r+sr=bzbarsky 2008-10-27 10:55:51 -07:00
L. David Baron
4147baac6c Make a CSS property bit for whether serialized value lists should use commas. (Bug 461731) r+sr=bzbarsky 2008-10-27 10:55:47 -07:00
Zack Weinberg
b7aed62d25 Bug 228856 - [FIX] \0 in CSS is ignored; r+sr=dbaron 2008-10-23 18:29:24 +02:00
Peter Van der Beken
f3f2a880fb Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
L. David Baron
e8d28f69fd Add a preference for visited link support. (Bug 147777) r+sr=bzbarsky 2008-10-21 09:15:03 +02:00
Boris Zbarsky
aeb1b899c8 Bug 460323. Do a better job of maintaining our invariants. r+sr=peterv 2008-10-20 16:33:03 -04:00
Boris Zbarsky
a1f18eb0e6 Bug 460664. Reset prop inheritance should skip first-line even if the whole struct is inheriting. r+sr=dbaron 2008-10-20 12:14:25 -04:00
L. David Baron
4e36e9f4dd Fix bustage. (Bug 460440) 2008-10-20 14:20:10 +02:00
L. David Baron
ed02e34f0a Convert tabs to spaces. 2008-10-20 14:07:09 +02:00
L. David Baron
12fe22cbdd Fix failure to propagate aInherited result of nsRuleNode::CalcLength. (Bug 460440) r=kschwarz sr=bzbarsky 2008-10-20 14:07:09 +02:00
L. David Baron
408718d854 Remove additional chunk of code that should have been removed in bug 238072. (Bug 460029) r+sr=bzbarsky 2008-10-20 14:07:08 +02:00
Daniel
6c57ef3165 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; m-c part; r=(gavin.sharp + myk) sr=bzbarsky 2008-10-18 00:46:15 +02:00
Mats Palmgren
4fb98e2548 Crashtest for bug 456196, by Martijn Wargers <martijn.martijn@gmail.com>. 2008-10-17 10:13:34 +02:00
Mats Palmgren
e16b0a1810 Use iterative algorithms when cloning and deleting lists. b=456196 r+sr=dbaron 2008-10-17 10:13:16 +02:00
Simon Montagu
78759c8bb2 Bug 453468: fix regression in wrap attribute in textareas from bug 99457. r+sr=dbaron 2008-10-16 14:34:10 -07:00
Daniel
9a041f597e Bug 457208 - Useless border rules for input[type=image] in quirk.css; r+sr=dbaron 2008-10-16 03:28:37 +02:00
Boris Zbarsky
249662589d No need to have virtual methods on nsCSSStyleSheetInner. There's only one such class. r+sr=dbaron 2008-10-15 16:24:45 -04:00
Boris Zbarsky
e4ee9e31f8 Bug 458381. The empty string should represent the null namespace even for the default @namespace rule (no prefix case). r+sr=dbaron 2008-10-15 16:23:21 -04:00
Markus Stange
1ffda30624 Bug 450939 - Add -moz-window-shadow CSS property, r+sr=dbaron 2008-10-14 16:44:25 +02:00
L. David Baron
32f6ec029a Fix issues with parsing of media query lists that have bad queries in them. (Bug 454226) r+sr=bzbarsky 2008-10-11 20:49:42 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Zack Weinberg
2f3912b498 Bug 458463 - Rename nsStyleFont::mFlags to ::mGenericID and stop treating it like a bitfield; r+sr=dbaron 2008-10-10 16:56:18 +02:00
L. David Baron
da279d65ba Handle serialization of inherit and -moz-initial for shorthand properties correctly, and refuse to serialize most unspecifiable cases of shorthands. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:20 -07:00
L. David Baron
1b8d969f23 Add CSS_PROPERTY_DIRECTIONAL_SOURCE property flag. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
L. David Baron
84312b4cfc Add a flags table for CSS properties. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
L. David Baron
af15ff1f65 Fix warnings about breaking strict aliasing rules by making mChildren a union. (Bug 458813) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
L. David Baron
4259ea23ac Fix warnings about CascadeSheetRulesInto being declared but not defined. (Bug 458813) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
Boris Zbarsky
b28b834ff8 Bug 456484. Kids of an inline-block that has overflow:'something other than visible' should not necessarily shrink-wrap. r+sr=roc 2008-10-07 14:53:22 -04:00
Boris Zbarsky
76173c2650 Bug 452969. Drop native theming for controls that inherit user-specified values. r+sr=dbaron 2008-10-07 14:53:22 -04:00
Justin Dolske
c7a8de4b6c Bug 448909 - Need more controls WHATWG Video tag. r=mconnor, r=bz 2008-10-01 01:00:22 -07:00
Zack Weinberg
24671e743c Bug 450652 – Style system changes to support CSS3 border-radius – basic test cases (part 3) [r+sr=dbaron] 2008-10-01 00:52:12 -05:00
Zack Weinberg
4515cc1d4e Bug 450652 – Style system changes to support CSS3 border-radius – parser changes (part 2) [r+sr=dbaron] 2008-10-01 00:51:40 -05:00
Zack Weinberg
1b9f5190da Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron] 2008-10-01 00:50:52 -05:00
John Daggett
b38e8d3c90 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Robert O'Callahan
09cfc5fa8c Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-10-01 13:51:05 +13:00
Daniel
7655de15e3 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
Daniel
0bdce961ba Bug 413141 - drop -moz-opacity alias. r+sr=dbaron 2008-10-01 01:16:52 +02:00
Robert O'Callahan
337c852320 Backing out bug 455984 to see if it fixed Tp crashes 2008-10-01 00:28:20 +13:00
Robert O'Callahan
0a5a34cbab Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-09-30 21:47:20 +13:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Keith Schwarz
b7fa826c9b Bug 455138 - Bug 435293 landed failing tests; r=(dbaron + roc) sr=dbaron 2008-09-22 20:59:37 +02:00
Keith Schwarz
bec94a358a Bug 456213 - -moz-transform matrix function with percentages confuses X and Y translate components; r+sr=dbaron 2008-09-21 07:14:52 +02:00
Neil Rashbrook
150fe2417b Remove <CR>s (to fix cross-compilation bustage) rs=bsmedberg,gavin,roc,smontagu b=372802 2008-09-20 20:45:25 +01:00
Serge Gautherie
7aec19eff6 Bug 455265 - Default Y parameter for -moz-transform:translate differs from Apple's proposal; additional comment nit; r+sr=dbaron 2008-09-20 18:55:27 +02:00
Keith Schwarz
46919a1417 Bug 455265 - Default Y parameter for -moz-transform:translate differs from Apple's proposal; r+sr=dbaron 2008-09-20 18:52:12 +02:00
Keith Schwarz
84c0d267ff Bug 455445 - -moz-transform skew() function should accept two parameters, and second should default to zero; r+sr=dbaron 2008-09-20 18:39:12 +02:00
Keith Schwarz
c45964315c Bug 455403 - -moz-transform translate functions result in incorrect origin; v5; r+sr=dbaron 2008-09-20 16:39:31 +02:00
Arpad Borsos
18fcddc20b Bug 451909 - kill MOZ_XUL_APP now that all apps set it; files removal; r=ted.mielczarek 2008-09-20 15:54:40 +02:00
Arpad Borsos
d0e70a51bf Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
L. David Baron
b8d9d3e2ed Backed out changeset aab6b12f4a2b (Bug 455403) due to reftest failures from landing patches in the wrong order, and unexplained reftest hangs. 2008-09-19 16:04:34 -07:00
Keith Schwarz
89a6316c50 Fix incorrect composition of translations with other transforms by making matrix multiplication code clearer, clarifying which matrices are for column vectors and which are for row vectors, and fixing incorrect matrix type conversions. (Bug 455403) r+sr=dbaron 2008-09-19 10:14:54 -07:00
Markus Stange
5078d96132 Bug 448767 - Add -moz-system-metric(mac-graphite-theme), r=vlad sr=dbaron 2008-09-17 18:23:58 +02:00
Markus Stange
aa90cdcdab Bug 449833 - Add platform colors -moz-mac-chrome-active and -moz-mac-chrome-inactive, r=josh sr=roc 2008-09-17 13:45:30 +02:00
Arpad Borsos
f428038a86 Bug 454475 - Fix "unhandled enumeration value" warnings in layout/; r+sr=roc 2008-09-16 13:25:35 +02:00
Markus Stange
d28fe1e136 Bug 439354 - OS X toolbar background doesn't have a good gradient, part 1 / 3, r=hwaara sr=roc 2008-09-16 10:21:06 +02:00
Arpad Borsos
eef0edf9d5 Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
Arpad Borsos
db0328223b Bug 451909 - kill MOZ_XUL_APP now that all apps set it; 'jar.mn' part; r=ted.mielczarek 2008-09-15 15:19:32 +02:00
Keith Schwarz
dc907e1ec7 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
L. David Baron
654a5d7d6a Ensure we always skip to the next close parenthesis if a media query expression parse fails. (Bug 454227) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
968afa5766 Comments about use of foreground color. 2008-09-12 20:45:37 -07:00
L. David Baron
d52fc20544 Use consistent terms in comments describing nsStyleCoord values (length -> coord). (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
a56edce6be Convert text-shadow and box-shadow storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
b4d9cdbfa1 Convert border spacing storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
b9c298d240 Convert outline offset storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
e51753f728 Fix use of incorrect variable, and harmless but valgrind-noisy use of variables in incorrect order. (Bug 455093) 2008-09-12 20:45:37 -07:00
Zack Weinberg
0f68a207ca Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
Robert O'Callahan
539a029252 Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Robert Kaiser
e3cf823f2f bug 454513 - browser_bug453896.js fails on all SeaMonkey unit test boxes, remove event listeners added by the tests when they aren't needed any more, r=dbaron 2008-09-11 02:07:52 +02:00
Zack Weinberg
be8953654b bug 452518: move private functions out of nsCSSScanner.h. r+sr=dbaron 2008-09-09 21:38:29 -07:00
Zack Weinberg
b4eb771b96 bug 452278: CSSParserImpl::InitScanner() never fails; remove checks. r+sr=dbaron 2008-09-09 21:38:26 -07:00
Zack Weinberg
f3752b90cb bug 452275: eliminate aErrorCode argument to most nsCSSScanner/nsCSSParserImpl functions. r+sr=dbaron 2008-09-09 21:38:14 -07:00
Boris Zbarsky
e2a7d5fe50 Bug 449171. Fix bogus assertion. r+sr=dbaron 2008-09-09 21:39:38 -04:00
Boris Zbarsky
57b680de9c Fixing orange. Bug 183348 2008-09-09 16:16:21 -04:00
Boris Zbarsky
0e3727f2be Bug 183348 followup: rename the args in the header too. 2008-09-09 14:32:27 -04:00
Boris Zbarsky
c9c0698d6a Bug 183348. Fix cloning of sheets with @import rules. Also fixes bug 290018, bug 436261, bug 444723, bug 445415. r+sr=dbaron 2008-09-09 14:08:11 -04:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Dave Townsend
3919bf60ce Bug 391728: No placeholder for disabled plugins. r=jst, r=josh, sr=bz 2008-09-09 16:43:21 +01:00
L. David Baron
fa9533f8cf Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky 2008-09-09 06:43:10 -07:00
timeless@mozdev.org
d7b1467727 merging unrelated change (three of two)
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:02:33 +02:00
timeless@mozdev.org
b0c349250f Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
L. David Baron
b648585b1d Correctly handle window resizes when one dimension is zero. (Bug 453759) r+sr=roc 2008-09-08 06:41:36 -07:00
Arpad Borsos
1f62482141 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
L. David Baron
4d83879649 Change evaluation of media queries like (width) where actual values are lengths; treat zero lengths as false in such cases, per http://lists.w3.org/Archives/Public/www-style/2008Aug/0190.html and spec clarification. (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
54d29eda1e Make min-/max- prefixed media features without values be parse errors, per http://lists.w3.org/Archives/Public/www-style/2008Sep/0002.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
ffb24827c5 Update to new parsing rules for grid media query per http://lists.w3.org/Archives/Public/www-style/2008Aug/0191.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
Zack Weinberg
83829cd801 Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron 2008-09-06 06:56:23 -07:00
Boris Zbarsky
ecd6b938cf Bug 452238. Remove unused imports collection code. r+sr=dbaron 2008-09-05 21:10:35 -04:00
Boris Zbarsky
d080316010 Bug 451053. Move nsMutationGuard into a shared location and use it to assert some invariants. r+sr=sicking 2008-09-05 13:39:19 -04:00
Serge Gautherie
e9783ae60e Bug 78388 - Fix uses of |new nsAutoString / nsCAutoString| in RuleProcessorData, r+sr=dbaron 2008-08-28 17:38:34 +02:00
stefanh@inbox.com
80d194e392 Backing out bug 439354 (changesets a2709097171f and b54001303198) and the dependent bug 449833 (changeset 2b246e03252b) due to perf regressions on Leopard talos boxen. 2008-08-27 21:40:25 +02:00
Markus Stange
dfef653bfc Bug 449833 - Need a platform color for chrome background on Mac OS X. r=josh, sr=roc. 2008-08-27 18:07:36 +02:00
Markus Stange
0cf3fb1f64 Bug 439354 - OS X toolbar background doesn't have a good gradient. Part 1 (widget). r=hwaara, sr=roc. 2008-08-27 17:45:24 +02:00
Benjamin Smedberg
a28cb29d53 Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron 2008-08-27 10:58:50 -04:00
Zack Weinberg
1567a739fa Bug 389406 – initial value for 'quotes' property is stored incorrectly and not reachable by -moz-initial; r+sr=dbaron 2008-08-19 10:18:58 -04:00
Kai Liu
2a52878fa6 Allow theme CSS to distinguish between themed and non-themed in Windows - bug 431666 r=vlad r=dbaron 2008-08-18 10:33:08 -07:00
Boris Zbarsky
fbb19aff3d Bug 449447. Reuse the caching GetNthIndex for first/last/onlyChild selectors 2008-08-18 12:47:12 -04:00
Robert O'Callahan
0f9e4e319d Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky 2008-08-18 13:16:42 +12:00
Rob Arnold
5365bd2929 last set of y1/y4 tests in acid3 test 46 (media queries) fail on Windows - bug 448132 r=vlad 2008-08-14 09:48:09 -07:00
Kai Liu
34454bbe97 Bug 448704 – Eliminate <gripper> as an independent element. r=vlad/dbaron/enndeakin 2008-08-13 08:15:27 +02:00
Rob Arnold
f6bda8fda0 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
Robert Longson
fc1670f89f bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron 2008-08-12 15:02:22 +01:00
Robert O'Callahan
fba2d206f6 Bug 230555. Support white-space:pre-line. r+sr=dbaron 2008-08-12 20:31:56 +12:00
Simon Montagu
a5b28931ef Bug 449555. Disable word-wrap for single-line widgets, r+sr=roc 2008-08-11 18:16:41 +03:00
Zack Weinberg
8b64ed0aa9 Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-10 22:13:49 +01:00
Dave Townsend
55fc35f46f Backed out Bug 441469 due to Tp regressions 2008-08-10 00:07:59 +01:00
Zack Weinberg
da518d1e9a Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-07 19:15:40 -04:00
Robert O'Callahan
e6245e9ce2 Bug 238072 backout 2008-08-07 22:22:08 +12:00
Robert O'Callahan
8ad3721594 Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron 2008-08-07 13:18:24 +12:00
L. David Baron
c93f4b674e Don't printf CSS errors to standard output. (Bug 449429) r+sr=bzbarsky 2008-08-06 10:58:14 -07:00
L. David Baron
42a9d4fd96 Assert when we set the quirk style sheet after building rule cascades. (Bug 448281) r+sr=bzbarsky 2008-08-06 10:42:56 -07:00
L. David Baron
f697859e2c Only rebuild rule cascades on medium feature change if they've already been built before. (Bug 448281) r+sr=bzbarsky 2008-08-06 10:42:56 -07:00
Robert O'Callahan
aa8fb5c224 Bug 447567. Instead of brutally wiping out effects properties whenever the style context changes for an SVG frame (which wouldn't work for non-SVG frames), create a new style change hint to handle it. r=longsonr,sr=dbaron 2008-08-06 12:55:07 +12:00
Rob Arnold
02f6da6fec -moz-system-metric selector doesn't update when the theme changes - bug 447045 r+sr=dbaron 2008-08-05 13:02:43 -07:00
L. David Baron
91fc742fba Make the -moz-column-rule-color test not assume that inputs have the same 'color' as divs. (Bug 271586) r=Ventnor 2008-08-04 16:10:05 -07:00
L. David Baron
17cd72dbc6 Merge Quotes and CounterData storage types into ValuePairList. (Bug 322475) r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
L. David Baron
5669044619 Untabify the few lines with tabs in nsStyleStruct.h 2008-08-04 15:15:11 -07:00
L. David Baron
f1effe4a52 Label types of nsStyleCoord and nsStyleSides. b=443057 r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
Serge Gautherie
7735b1b7ab Bug 448110 – |--disable-svg| does not build
p=sgautherie Av1 r/sr=jonas Cv1 r=dbaron
2008-08-01 22:23:27 +01:00
Boris Zbarsky
4a8827b86c Bug 448161. Don't crash when getting computed style for a link that's not in the document 2008-07-31 17:16:56 -07:00