L. David Baron
815dc2c66f
Fix incorrect uses of aInherited rather than inherited so that we can make aInherited const. (Bug 476598) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
L. David Baron
ec7dae4083
Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called. (Bug 474655) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
03a5098541
Remove nsStyleContext::Equals, since it is unused. (Bug 474675) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
469a3f7e77
Fix mismatch between new[] and delete. (Bug 376075) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
4835f2a61a
Make getComputedStyle() for 'outline-width' return values in pixels even when keywords are used. (Bug 474184) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
L. David Baron
473a55f246
Fix parsing of 'none' values in 'list-style' shorthand. (Bug 474135) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
John Daggett
67113d5328
Bug 474704 - drop channel on cross-site load failure to avoid leak. r=bz,jonas, sr=jonas
2009-01-31 17:58:42 +09:00
L. David Baron
452186214b
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 20:39:23 -08:00
Boris Zbarsky
239d97217a
Bug 475268. Make sure to not set background without setting color in XML prettyprinting. r+sr=sicking
2009-01-29 22:31:24 -05:00
L. David Baron
e0a76520f3
Backed out changeset 24917a339f2e (bug 475128) because it didn't patch the IsRoot check nsRuleNode::Sweep, which it needs to.
2009-01-29 14:36:34 -08:00
L. David Baron
6fd6f6ba0f
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 12:39:19 -08:00
L. David Baron
f8774a93ef
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
Neil Rashbrook
1a853c6cd6
Bug 473933 Really fix crash caused by bug 441359 r+sr=bz a=beltzner
2009-01-28 11:22:08 +00:00
Robert Longson
44b1a9bfb1
Bug 472135. Invalidate markers using style system hints instead of doing an eager invalidation (which reacquires frames, breaking our one-shot nsSVGRenderingObservers setup). r+sr=roc
...
--HG--
extra : rebase_source : 48ab3b34460f5908bcec5c3e15a5d12f71496579
2009-01-22 14:02:40 +13:00
L. David Baron
f9baa933d4
Some additional tests for 'rem' unit from css3-values. (Bug 472195)
2009-01-20 13:58:48 -08:00
Keith Rarick
7073f11143
Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron
2009-01-20 13:58:48 -08:00
Martijn Wargers
fd853daca3
Bug 166591 - marquee created dynamically (e.g. innerHTML) is not rendered, r+sr=bzbarsky
2009-01-20 15:58:44 +01:00
Robert O'Callahan
7c7e1bfe9e
Bug 462593. Cancel all outstanding font loads when the presshell is torn down. r=jdaggett
2009-01-19 22:21:29 +13:00
L. David Baron
4de4bc61df
Make nsROCSSPrimitiveValue store ident values as nsCSSKeyword rather than nsIAtom*. (Bug 474712) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
d1dea6a86e
Eliminate all callers to forms of nsROCSSPrimitiveValue::SetIdent other than the one taking nsCSSKeyword. (Bug 474712) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
Robert O'Callahan
00e57b8380
Backed out changeset 9246fefef1cc
2009-01-17 23:58:34 +13:00
Robert Longson
4a4ce9e387
Bug 472135. Avoid re-getting the target marker frame in nsSVGMarkerProperty::DoUpdate --- that leads to infinite loops. Update things lazily instead via fake style changes. r+sr=roc
...
--HG--
extra : rebase_source : f90519e06842d6301e3a27eddb0cddd300b62db2
2009-01-16 21:20:29 +13:00
Michael Ventnor
0ec63aa6ad
Bug 472772. Introduce a separate combobox-text color because some GTK themes need it. r+sr=roc
...
--HG--
extra : rebase_source : 6e53173e0443d70b36ccbb9e90b60d573ed595d6
2009-01-16 21:18:49 +13:00
L. David Baron
ba1c5c080f
Avoid building user font set when handling units involving font metrics in media query expressions. (Bug 473892) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
L. David Baron
7713595032
Avoid recursion when handling mNegations in CalcWeight. (Bug 473908) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
L. David Baron
302859c42e
Avoid recursion after parsing CSS comments. (Bug 473914) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
L. David Baron
a7223a0c21
Remove handling of comments inside CSS url() tokens. (Bug 473914) r+sr=bzbarsky
2009-01-16 19:44:20 -08:00
Zack Weinberg
558eb1c7dd
Bug 473720: don't treat a parse error in a known CSS @-rule as an unknown @-rule r+sr=dbaron
2009-01-16 19:44:20 -08:00
Jeff Walden
7ce2e97cd7
Bug 473911 - Crash due to too much recursion in nsCSSDocumentRule::URL::~URL. r+sr=dbaron
2009-01-16 15:33:57 -08:00
L. David Baron
ae2d624d95
Add assertions to EndReconstruct that all style contexts have been reresolved. (Bug 473871) r+sr=bzbarsky
2009-01-16 13:32:09 -08:00
L. David Baron
bb123815cb
Put nsIDOMNSCSS2Properties in its own file to reduce risk of bumping the IID of the wrong interface. (Bug 473418) r+sr=jst
...
--HG--
rename : dom/public/idl/css/nsIDOMCSS2Properties.idl => dom/public/idl/css/nsIDOMNSCSS2Properties.idl
2009-01-16 13:32:09 -08:00
L. David Baron
286c54a127
Recheck media queries when changing text zoom since em units have changed. (Bug 473400) r+sr=bzbarsky
2009-01-16 13:32:08 -08:00
Neil Rashbrook
c9b780ffc5
Bug 473933 Fix crash exposed by regression from bug 441359 r+sr=sicking
2009-01-16 20:52:04 +00:00
Dave Camp
c12a3b0506
Bug 441359: Check script and css loads against the classifier. r+sr=jonas
2009-01-13 23:13:48 -08:00
Dave Camp
b18d454609
Backed out changeset 44890ee1d15f for leaks
2009-01-13 02:22:59 -08:00
Dave Camp
ca7e07e266
Bug 441359: Check script and css loads against the classifier. r+sr=jonas
2009-01-12 21:52:00 -08:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
John Daggett
a984a545e8
change crashtest for 472237 to use local font
2009-01-08 17:36:24 +09:00
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