Граф коммитов

3254 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky bc1f671260 Bug 476063. Only do special fieldsetty stuff with <legend>s that are in a fieldset. r+sr=dbaron 2009-02-03 09:29:47 -05:00
John Daggett 4fa1e0a97e 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 53fb188c38 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 f563eeab75 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 d8da73cb1f 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 b81d7c8a40 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 38d578f649 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 dc21ccccd5 Bug 473933 Really fix crash caused by bug 441359 r+sr=bz a=beltzner 2009-01-28 11:22:08 +00:00
L. David Baron 3be38368d8 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 8b518903c1 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
L. David Baron f0ecf93e24 Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called. (Bug 474655) r+sr=bzbarsky 2009-01-22 17:28:14 -08:00
L. David Baron a16f1b0d6f Remove nsStyleContext::Equals, since it is unused. (Bug 474675) r+sr=bzbarsky 2009-01-22 17:28:14 -08:00
L. David Baron 879cadee1b Fix mismatch between new[] and delete. (Bug 376075) r+sr=bzbarsky 2009-01-22 17:28:14 -08:00
L. David Baron bebe5594c8 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 e5173ca99c Fix parsing of 'none' values in 'list-style' shorthand. (Bug 474135) r+sr=bzbarsky 2009-01-22 17:28:13 -08:00
Robert Longson 8cd6e2f5f7 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 ac63f0ffe2 Some additional tests for 'rem' unit from css3-values. (Bug 472195) 2009-01-20 13:58:48 -08:00
Keith Rarick 01dca56c79 Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron 2009-01-20 13:58:48 -08:00
Martijn Wargers 7a30e530d1 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 224321d82d Bug 462593. Cancel all outstanding font loads when the presshell is torn down. r=jdaggett 2009-01-19 22:21:29 +13:00
Robert O'Callahan dff214e0d3 Backed out changeset 9246fefef1cc 2009-01-17 23:58:34 +13:00
Robert Longson db4a4c8288 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 276740b97d 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 7e835827aa 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 e77bcd1f39 Avoid recursion when handling mNegations in CalcWeight. (Bug 473908) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
L. David Baron ec41673b0d Avoid recursion after parsing CSS comments. (Bug 473914) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
L. David Baron efad92425e Remove handling of comments inside CSS url() tokens. (Bug 473914) r+sr=bzbarsky 2009-01-16 19:44:20 -08:00
Zack Weinberg 2e3270b262 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 9dd8a0c775 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 cca2d5f9d3 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 ecc57f0920 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 807ef6f68c 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 bef510fdab Bug 473933 Fix crash exposed by regression from bug 441359 r+sr=sicking 2009-01-16 20:52:04 +00:00
Dave Camp 1e04293c7f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Dave Camp d92aa7006b Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp a925063a4f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Benjamin Smedberg 3498a5f86e 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 73a6fab34b 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 802d1a10c7 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 23fe0a5fab change crashtest for 472237 to use local font 2009-01-08 17:36:24 +09:00
John Daggett ed52e0fd79 Bug 472237 - check for null user font set before using. r+sr=dbaron 2009-01-07 13:45:41 +09:00
Boris Zbarsky 3ece79afd5 merge backout of bug 437366. 2009-01-05 17:05:03 -05:00
Boris Zbarsky 0bcbe89abc Backed out changeset f87b46d44d22 (bug 437366) 2009-01-05 17:04:28 -05:00
Olli Pettay 5820085a69 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 36ef1ae586 Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp 32154830af Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Dão Gottwald bbb863d309 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 749140f06a 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 c49887c8fd 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 d3adac3166 Fix handling of 'orienation' feature in print-preview. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00