Commit Graph

1191 Commits

Author SHA1 Message Date
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Robert O'Callahan
160bdca11d Bug 476062. Instead of turning off -moz-appearance when an element has a box-shadow, just ignore the box-shadow. r+sr=dbaron
--HG--
extra : rebase_source : 68e79ec44afd089b93870a5d87ea549d5f04b9d6
2009-04-01 14:07:18 +13:00
L. David Baron
fa0ce94791 Don't mess with the max_script_run_time pref since the mochitest harness now does that for us. 2009-03-31 12:37:40 -07:00
L. David Baron
5195ec80b9 Use SimpleTest.executeSoon instead of setTimeout for iteration of properties/descriptors. 2009-03-31 12:37:40 -07:00
L. David Baron
1eebde3c7c Add some tests for invalid values of 'font-family' (related to bug 481502) 2009-03-31 12:37:40 -07:00
Boris Zbarsky
cf70121b81 Bug 486044. Make sure to pass the right principal to CreateSheet even in the non-document sheet case. r+sr=sicking 2009-03-31 15:04:01 -04:00
Boris Zbarsky
94fc769f37 Bug 457809 preliminary. Fix this test so it doesn't fail when we preload the sheet. r+sr=dbaron 2009-03-30 11:25:35 -04:00
Robert Longson
7235fc714e Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Robert O'Callahan
6c5c6bf95d Bug 476062. Author-applied 'box-shadow' should cause elements to drop their native look. r+sr=dbaron
--HG--
extra : rebase_source : 6f5dfac238eb19be1b38cdd612e5dda8ac457e57
2009-03-18 13:32:08 +13:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Zack Weinberg
5438fdd2e3 Bug 480582 - contenteditable=true breaks mouse pointer hover style for unrelated image links. r+sr=peterv 2009-03-16 12:55:03 +01:00
Boris Zbarsky
e70f4fe5fa Bug 480065. Make chrome registry not mess with inline stylesheets. r=bsmedberg, sr=dbaron 2009-03-10 09:52:23 -04:00
Boris Zbarsky
4a887e84bf Bug 482394. Drop the aForStyling check in IsHTMLLink/IsLink: if we change the link state, we need to start tracking the link. r+sr=dbaron 2009-03-10 09:51:34 -04:00
L. David Baron
60b0f45a27 Add tests to check case (2) for shorthands in nsCSSDeclaration::GetValue. 2009-03-09 16:14:34 -07:00
L. David Baron
5cad407b70 Add some simple tests for units (since code coverage output showed we weren't testing serialization of all of them). 2009-03-09 16:14:34 -07:00
L. David Baron
6a0f29123b Add tests for font descriptors that are equivalent to test_value_storage and test_property_syntax_errors. 2009-03-09 16:14:34 -07:00
L. David Baron
a330032938 Avoid crashing on fontFaceRule.style.getPropertyValue('font-family') when there's no font-family descriptor. (Bug 482148) r=zweinberg 2009-03-09 16:14:34 -07:00
L. David Baron
d2e251ca18 Remove internal support for units that were never in CSS (feet, miles, meters, kilometers, didots, ciceros). (Bug 482146) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
L. David Baron
d8a2ce67e9 Reject non-positive values for widows and orphans. (Bug 481826) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
L. David Baron
b7b6d499e0 Rename ParsePositiveVariant to ParseNonNegativeVariant. (Bug 481826) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
L. David Baron
83f40d6f76 Fix serialization bugs with text-decoration:-moz-anchor-decoration. (Bug 481596) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
3d2df2d306 Remove unreachable code, since text-decoration:none is not stored as an enumerated value. (Bug 481595) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
1f8dd0c308 Test more values for 'content' property. (These tests require the three previous patches to pass.) (Bug 481591) 2009-03-06 13:05:01 +09:00
L. David Baron
26b11568f1 Fix serialization of the list-style-type part of counter values. (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
51f584ed03 Append the list-style-type part of counters correctly in computed style. (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
2a6e824389 Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
2c5823d0a2 nsCSSDeclaration::ValueAppended is never called on shorthands, so it doesn't need code to handle them. (Bug 481594) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
76244e5752 Quote and escape contents of url() when serializing. (Bug 478160) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
L. David Baron
85db46d98c Change nsStyleUtil::EscapeCSSString to nsStyleUtil::AppendEscapedCSSString, since almost all callers prefer append behavior anyway. (Bug 478160) r+sr=bzbarsky 2009-03-06 13:05:00 +09:00
L. David Baron
9b6231dd4d Add test for CSS property priority (!important) preservation. (This fixes the fact that we don't have any tests covering expansion of compressed blocks with !important declarations, and also tests a bit more while I'm there.) 2009-03-05 12:49:30 +09:00
L. David Baron
8dddfe9001 Add test for blocking of -moz-border-*-colors based on code coverage output. 2009-03-05 12:49:30 +09:00
L. David Baron
3221bf3c26 I don't need to see the rule hash debugging output anymore. 2009-02-24 16:14:46 -08:00
L. David Baron
5b92fdde71 Fix outparam static analysis warnings in nsComputedDOMStyle by actually assigning to the outparam. (Bug 479433) r+sr=bzbarsky 2009-02-24 16:14:46 -08:00
L. David Baron
90bffc1901 Flush layout earlier in getComputedStyle(). (Bug 454276) r+sr=bzbarsky 2009-02-24 16:14:45 -08:00
L. David Baron
5d12dd078d Call SetPropertyBit(background_color) when we set data for that property, on the off chance it will fix the intermittent layout/reftests/bugs/289480.html orange. (Bug 322475) 2009-02-20 10:50:25 -08:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron
f83c362f04 Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky 2009-02-19 13:55:48 -08:00
L. David Baron
edb9eef663 Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky 2009-02-19 13:55:48 -08:00
L. David Baron
fbfdfa7f2f Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky 2009-02-19 13:55:48 -08:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
069668891e Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
18d6af2e5e Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
c584b934a5 Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
c975c73581 Remove MOZ_COUNT_CTOR/MOZ_COUNT_DTOR from nsStyleBackground::Layer because the copy constructor is now used. (Bug 322475) 2009-02-18 18:04:03 -08:00
L. David Baron
d1a6f338ef Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky 2009-02-18 17:13:26 -08:00
L. David Baron
16e5c26806 Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky 2009-02-18 17:13:26 -08:00
L. David Baron
f83cbead32 Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky 2009-02-18 17:13:25 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Zack Weinberg
41b6ec0b09 Bug 473815 - Improve diagnostics for malformed @font-face rules; r+sr=dbaron 2009-02-12 05:15:56 +01:00
Michael Ventnor
a9bf64c109 Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky
--HG--
extra : rebase_source : 03d1be9b5742e8d17114aaeb0b5de20d61926d51
2009-02-11 14:19:37 +13:00
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Michael Ventnor
b480b09ba3 Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron 2009-02-10 21:45:13 +13:00
L. David Baron
5fe09edd17 Remove nsStyleContext::DumpRegressionData, code that uses it, and code that exists only for it. (Bug 477522) r+sr=bzbarsky 2009-02-09 20:36:54 -08:00
Jesse Ruderman
311d0419e4 Skip long-url-list-stack-overflow.html because it keeps timing out. See bug 477490. 2009-02-08 09:15:15 -08:00
Jesse Ruderman
2e1fda752f Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744 2009-02-07 21:33:31 -08:00
L. David Baron
f5e3d83ef8 Typesafe helpers for nsCSSDataBlock::StorageFor. (Bug 475214) r+sr=bzbarsky 2009-02-06 08:52:13 -08:00
L. David Baron
6aa3560e5f Eliminate nsCSSDeclaration::GetValueOrImportantValue. (Bug 475214) r+sr=bzbarsky 2009-02-06 08:52:13 -08:00
L. David Baron
b2fd7dcdca Make serialization handle system fonts and the font shorthand better. (Bug 475214) r+sr=bzbarsky 2009-02-06 08:52:12 -08:00
Boris Zbarsky
6f9a0da875 Bug 299837. Implement text-align:end. r+sr=dbaron 2009-02-05 22:48:30 -05:00
Boris Zbarsky
f47d90d8f4 Bug 475986. Make text-align:start work on <html:th> correctly. r+sr=dbaron 2009-02-05 22:48:29 -05:00
Neil Rashbrook
ddc5a6ba6d VC7.1 bustage fix for bug 183348 r+sr=bz 2009-02-05 09:38:51 +00:00
L. David Baron
bba8cd7162 Ensure correct alignment for nsCSSValue objects inside nsCSSValue::Array. (Bug 476345) r+sr=bzbarsky 2009-02-04 21:15:52 -08:00
L. David Baron
e8cf2bfb83 Merge backout of changeset d9eff1fb5e60 (bug 476345) due to Windows bustage. 2009-02-04 14:39:40 -08:00
L. David Baron
fcbf73fc67 Backed out changeset d9eff1fb5e60 (bug 476345) due to Windows bustage. 2009-02-04 14:39:23 -08:00
L. David Baron
d15db11845 Ensure correct alignment for nsCSSValue objects inside nsCSSValue::Array. (Bug 476345) r+sr=bzbarsky 2009-02-04 13:24:17 -08:00
L. David Baron
00c1feec23 Merge backout of changeset eec3076f3bab (Bug 474655, Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called) because we trigger the warning too much ourselves (Bug 475311) 2009-02-04 13:23:16 -08:00
L. David Baron
1f32659f3e Backed out changeset eec3076f3bab (Bug 474655, Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called) because we trigger the warning too much ourselves (Bug 475311) 2009-02-04 13:22:45 -08:00
Boris Zbarsky
af1c0f1ef2 Make legends display:block by default when they're not in a fieldset. Bug 476063 2009-02-04 12:18:47 -05:00
Arpad Borsos
829f9f024a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky
553227508e 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
L. David Baron
8eb7aff884 Rename aInherited/inherited to aCanStoreInRuleTree/canStoreInRuleTree. (Bug 476598) r+sr=bzbarsky 2009-02-04 13:24:18 -08:00
L. David Baron
1854f68bbb Reverse the boolean meaning of inherited/aInherited. (This patch, without the next patch to rename things, makes the code make less sense.) (Bug 476598) r+sr=bzbarsky 2009-02-04 13:24:18 -08:00
L. David Baron
d36ea26331 Make the aInherited parameters to Compute*Data const. (Bug 476598) r+sr=bzbarsky 2009-02-04 13:24:18 -08:00
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
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
Chris Double
04f0124c61 Bug 447639. Update <video> and <audio> elements for spec changes, and add tests. r+sr=roc 2008-07-29 21:55:27 -07:00
Ian Neal
2cc0239904 Bug 447776 – Hang with word-wrap: break-word and width: 0px
with testcase and crashtests
p=smontagu r/sr=roc
2008-07-27 17:43:07 +01:00
L. David Baron
10550d9783 Oops, used the wrong todo function. 2008-07-26 12:56:49 -07:00
L. David Baron
1b8a316bcf Mark two test items as known to fail on Windows; failure filed as bug 448132. 2008-07-26 10:58:24 -07:00
L. David Baron
c5235e21f2 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
080104f972 Handle effects of medium feature changes on XBL style sheets. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
32887daf7c Fold DoParseMediaList into ParseMediaList, since it is no longer necessary now that we don't do special parsing for media lists in HTML. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
65e07556a4 Tests for css3-mediaqueries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
4eda4573f0 Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc 2008-07-26 09:14:49 -07:00
L. David Baron
07bbfcbe0b Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
b2fc2a6576 Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
e513131988 Remove pointless null checks that are extremely unlikely to fail. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
f710c3519e Implement Media Queries, part 2: infrastructure for dynamic change handling at the rule cascade and style sheet level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
10045a5167 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
72ddca652d Make ParsePositiveVariant restrict integers too, which affects existing call for -moz-column-count. (Bug 156716) r=bzbarsky sr=roc 2008-07-26 09:14:48 -07:00
L. David Baron
cdddadd3f6 Don't do special parsing for media lists in HTML: match parentheses, even across commas, and allow media queries through. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Simon Montagu
0dd0a7f5ba Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Boris Zbarsky
4c507815b8 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
L. David Baron
a8ab4310a8 Add bug number (446226) for todo tests from bug 325064. 2008-07-19 16:03:45 -07:00
Zack Weinberg
a92b3b3f9f Change CSS parser to close constructs open at end-of-file by changing ExpectSymbol not to fail on EOF when expecting one of }, ), ], or ;. (Bug 325064) r+sr=dbaron 2008-07-19 15:52:09 -07:00
Michael Ventnor
8aeed81515 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02:00
Zack Weinberg
3197060cbd Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Zack Weinberg
58cf580d4a Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-15 14:31:36 -07:00
Zack Weinberg
2103ba64ef Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-15 14:31:36 -07:00
L. David Baron
9569f5f6cf Skip test for 439184 since it "times out". 2008-07-13 15:56:51 -07:00
L. David Baron
9c6ae66188 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
bc2be41d00 Make rule node children destruction happen in a queue from the root rule node (or root of the subtree being destroyed) rather than using recursion. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
4db60cdcb8 Replace nsRuleList with a next sibling pointer on the rule node itself (saving one word in the normal linked list case, and wasting one in the hash table case). (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
aca5c25858 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r=fantasai sr=bzbarsky 2008-07-13 13:57:38 -07:00
Martijn Wargers [mw22]
7b01aadc2e Bug 441703 - "direction attribute of marquee should be case-insensitive (for selector matching)" [r+sr=dbaron] 2008-07-12 05:30:39 -05:00
Michael Ventnor
33b9fe5f1e Bug 444237 - "Crash with -moz-box-shadow: -moz-initial on input" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-12 03:52:32 -05:00
Boris Zbarsky
08b2582c2c Bug 444838. Correctly stringify all tokens instead of asserting on some. r+sr=dbaron 2008-07-11 18:49:46 -04:00
Boris Zbarsky
6b004dbd8a Bug 433374. Fix bogus assert. r+sr=dbaron 2008-07-11 17:13:01 -04:00
Boris Zbarsky
e873433760 Make sure to not call Pushback(-1) on EOF error conditions. Bug 422868, r+sr=dbaron 2008-07-11 17:02:16 -04:00
Boris Zbarsky
76bf4a8d60 :root should only match the documentElement, not random nodes in
disconnected fragments.  Bug 422868, r+sr=dbaron
2008-07-11 17:01:22 -04:00
Ryan A. C.
40017f1b0e Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 20:34:53 +02:00
Ryan A. C.
d28cd96e68 Backed out changeset 9718a9421ee3 2008-07-11 16:30:30 +02:00
Ryan A. C.
8fa9043b87 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 16:23:26 +02:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Mats Palmgren
63055f51b5 Always paint text-decoration:blink in non-dynamic (print/preview) contexts. b=153092 r+sr=roc 2008-07-08 18:18:32 +02:00
Michael Ventnor
3a7677bb26 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Daniel Holbert
c1057f3265 comment-only typo fix: delcaration -> declaration 2008-07-03 14:28:39 -07:00
L. David Baron
df1b22e4c5 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
Zack Weinberg
74a4ba6923 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
Johnny Stenback
f9dab07ed0 Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com 2008-07-01 15:46:12 -07:00
L. David Baron
8030cac4e8 Backed out changeset f6b609b0af6e 2008-06-17 16:10:53 -07:00
Zack Weinberg
8368d7844f Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units. (Bug 363706) r=roc sr=dbaron 2008-06-17 14:37:56 -07:00
Simon Montagu
dfcf9f51e9 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
Elika J. Etemad (fantasai) ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
3c5629d317 Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron (tests) 2008-06-10 17:27:00 -07:00
Michael Ventnor
e408c9ec6d Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron 2008-06-10 17:27:00 -07:00
L. David Baron
a20d5c2d5a Count U+000C as a whitespace character for separating class attributes. (Bug 437915) r=bzbarsky sr=sicking 2008-06-10 17:27:00 -07:00
L. David Baron
3b97746336 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
171196af8b Implement the computed value of text-shadow in the style system. (Bug 10713) r+sr=dbaron 2008-06-05 16:06:34 -07:00
Jesse Ruderman
aa5325e1db Don't call SelectorMatches on document fragments (test). (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
L. David Baron
5a1568d3a8 Don't call SelectorMatches on document fragments. (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
0b3d9b76cc b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
a7d8670d1d Backed out changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows). 2008-06-03 16:42:13 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
752ec1f3fa Implement the computed value of text-shadow in the style system. b=10713 r+sr=dbaron 2008-06-03 15:25:31 -07:00
L. David Baron
65434311b9 Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
L. David Baron
3c90f5b30e Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Daniel Glazman ext:(%20and%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
15d0bac2c3 Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
7c41e65422 Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
53f51289fe Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
8a92bdecfb Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
reed@reedloden.com
36791e9cf4 Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
gavin@gavinsharp.com
87340c1304 Bug 427045: Pull out correct toolbar colors in Vista themes (land hunk that was forgotten during the initial landing), patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-05-01 20:50:03 -07:00
gavin@gavinsharp.com
8030141361 Bug 429849: marquee text not on one line , part of this line on top and second part on bottom, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 10:09:09 -07:00
gavin@gavinsharp.com
651c262512 Bug 427045: Pull out correct toolbar colors in Vista themes, patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-04-29 12:27:23 -07:00
vladimir@pobox.com
b58a1af929 b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 16:12:45 -07:00
roc+@cs.cmu.edu
3047d1cf87 Bug 429188. Support CSS colors for 'odd tree row' and 'even tree row' on all platforms. patch by stefanh@inbox.com, r+sr=roc,r=gavin,a=beltzner 2008-04-24 01:08:33 -07:00
jruderman@hmc.edu
600c3fc204 Add crashtest 2008-04-22 21:54:40 -07:00
vladimir@pobox.com
5b4f07a7fa backing out 2008-04-20 01:24:42 -07:00
vladimir@pobox.com
1cc55575d3 b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-19 23:42:00 -07:00
bzbarsky@mit.edu
d0934d18ac display:block legends should still shrink-wrap. Bug 428423, tests by dholbert, r=dholbert, sr=dbaron, a=beltzner 2008-04-16 09:07:27 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
martijn.martijn@gmail.com
5b51041386 Workaround patch for bug 413027 - Marquee height is sized too small, clipping text vertically, r+sr=roc, a=beltzner 2008-04-10 16:09:16 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
reed@reedloden.com
6f305370b3 Bug 426660 - "Allow Firefox themes to change based on the OS theme" [p=ehsan.akhgari@gmail.com (Ehsan Akhgari [ehsan]) r=vlad sr=dbaron a=blocking1.9+] 2008-04-08 11:36:53 -07:00
dholbert@cs.stanford.edu
d4e585ef8e Bug 389949, first patch: Use POINTS_PER_INCH_FLOAT in place of magic number '72.0f'. Basically cosmetic -- shouldn't change our behavior at all. r+sr=vlad, a=blocking1.9+ 2008-04-07 17:27:10 -07:00
masayuki@d-toybox.com
3ea5191188 Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner 2008-03-29 14:25:15 -07:00
stefanh@inbox.com
d0fc5ed166 Bug 420726 - Use system background color for odd tree rows. ui-r=beltzner, r=josh+Mano, sr=roc, a1.9=beltzner. 2008-03-29 04:43:31 -07:00
reed@reedloden.com
9d3d47e5fe Bug 417178 - "Google reader does not show subscribed topics in ff3b3 at certain zoom levels" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=mconnor] 2008-03-24 21:55:47 -07:00
reed@reedloden.com
afc1413921 Back out Robert O'Callahan's patch from bug 417178 due to mochitest failure. 2008-03-24 01:41:13 -07:00
reed@reedloden.com
11f6a8b813 Bug 417178 - "Google reader does not show subscribed topics in ff3b3 at certain zoom levels" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=mconnor] 2008-03-24 00:29:30 -07:00
jst@mozilla.org
14b80d26bc Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu 2008-03-22 09:50:47 -07:00
bzbarsky@mit.edu
7b83e29004 Don't use fieldset pref widths as min widths, since pref widths can be unconstrained. Incidentally makes it possible for text to legends to wrap if the page wants it to. Bug 404123 and bug 354502, r+sr=dbaron, a=beltzner. 2008-03-14 13:48:23 -07:00
reed@reedloden.com
170c0984dc Bug 395454 - "[Mac] Have one file, scrollbars.css" [p=mozcbarrett@gmail.com (Colin Barrett [cbarrett]) r=Enn r=Neil sr=roc a1.9=damons] 2008-03-14 08:24:50 -07:00
stefanh@inbox.com
7984e34c0c Bug 421814 - Use HITheme to draw backgrounds for groupboxes. r=josh+Mano, sr=roc, a1.9=dsicore. 2008-03-13 13:24:29 -07:00
dbaron@dbaron.org
3bc7dd28e0 Fix buggy test; rgb() non-% arguments are required to be integers. a=tests 2008-03-13 08:24:22 -07:00
dbaron@dbaron.org
a03c0aa905 Don't do floating point assignment from uninitialized data, since it can crash. b=422011 r+sr=bzbarsky a=damon 2008-03-12 15:05:27 -07:00
dbaron@dbaron.org
b76ec670c5 Test selector serialization too. 2008-03-09 18:10:03 -07:00
dbaron@dbaron.org
93fe3229b3 Separate the tests so that they really test what they were intended to test. 2008-03-08 14:41:47 -08:00
dbaron@dbaron.org
b8aa468035 Unbreak test that I broke while addressing review comments. a=test-only 2008-03-08 14:22:09 -08:00
reed@reedloden.com
5e3b4d1415 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
dbaron@dbaron.org
6dfd3f8a50 Give radio buttons and checkboxes a useful baseline, and switch checkboxes from text-bottom to baseline alignment (to match radios). b=402940 r+sr=bzbarsky a=blocking1.9+ 2008-03-07 09:57:34 -08:00
dbaron@dbaron.org
4b445ab6b3 Fix greediness of A ~ B C selector matching. b=420814 r+sr=bzbarsky a=beltzner 2008-03-05 16:06:15 -08:00
dbaron@dbaron.org
7003061847 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
dbaron@dbaron.org
d2fe1a813b Update properties that are ignored when 'Allow pages to choose their own colors' is unchecked for the splitting of left/right border properties and the introduction of start/end border properties. b=419167 Patch by Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=beltzner 2008-03-05 16:03:50 -08:00
vladimir@pobox.com
4aa4bceacd b=419383, extract native vista toolbar styles and expose to themes ; r+sr=roc; a=beltzner 2008-02-28 21:10:38 -08:00
dbaron@dbaron.org
a6ec36aaa1 Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+ 2008-02-26 18:02:20 -08:00
Olli.Pettay@helsinki.fi
67622f2077 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
reed@reedloden.com
eda8f31292 Bug 419080 - "build with undefined CSS_REPORT_PARSE_ERRORS broken" [p=romaxa@gmail.com (romaxa) r+sr=bzbarsky a1.9=beltzner] 2008-02-23 23:39:47 -08:00
dbaron@dbaron.org
a8bab33238 Do string appending in chunks rather than one character at a time in GatherIdent and ParseString. Allow EOF to terminate strings, per CSS 2.1. b=311566 Patch by Alfred Kayser <alfredkayser@gmail.com>, with some review comments addressed by me. r+sr=dbaron a=blocking1.9+ 2008-02-21 17:37:04 -08:00
bzbarsky@mit.edu
e350c3c66c Use width, not min-width, for empty selects. Plays nicer with author styling. Bug 315296, r+sr=dbaron, a=beltzner 2008-02-21 14:00:29 -08:00
mozilla@weilbacher.org
ef664eb10c Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner 2008-02-21 00:37:27 -08:00
reed@reedloden.com
19f6599309 Bug 415810 - "Respect the user's settings of icons in menus" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc r=Enn a1.9=schrep] 2008-02-20 02:12:33 -08:00
roc+@cs.cmu.edu
407f4669ea Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep 2008-02-19 18:07:48 -08:00
jag@tty.nl
2fbcb59ed7 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
dbaron@dbaron.org
3a69ad63b4 Increase size of non-default pixel value of line-height since current was occasionally the default. b=418190 a=Tests (not part of default build). 2008-02-18 22:19:55 -08:00
dbaron@dbaron.org
cafaf208a1 Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418 2008-02-18 22:17:07 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
mats.palmgren@bredband.net
36bbfec789 Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep 2008-02-16 20:45:58 -08:00
masayuki@d-toybox.com
cb5c20d581 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
reed@reedloden.com
2c86c6b910 Bug 406474 - "Native GTK look for toolbar arrows" [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner] 2008-02-14 21:28:44 -08:00
bzbarsky@mit.edu
829593eb9a Change the nsICSSParser::Parse() API so that we don't hand out a stylesheet; require a stylesheet to be set before calling Parse(). Bug 404315, r+sr=dbaron, a=beltzner 2008-02-14 20:21:57 -08:00
jruderman@hmc.edu
36c9b1134b Fix bug 414851: let white-space:nowrap inherit into buttons. r+sr=bz, a=schrep 2008-02-11 09:11:52 -08:00
dbaron@dbaron.org
8967a5c8bd Stop using -moz-float-edge for list items, but offset the bullet position in the presence of floats. b=413840 (and numerous others) r+sr=roc a=blocking1.9+ 2008-02-10 13:49:24 -08:00
dbaron@dbaron.org
64a3f7435c Make the minimum font size preference leave font-size:0 untouched. b=401046 r+sr=bzbarsky a=schrep 2008-02-09 11:15:09 -08:00
jag@tty.nl
77b084dde7 Bug 333308: make clean and make distclean miss various files. r=bsmedberg, a=schrep 2008-02-09 02:37:42 -08:00
dbaron@dbaron.org
791502ac20 Make CSS namespace identifiers case sensitive to match change in spec. b=416106 r+sr=bzbarsky a=schrep 2008-02-08 11:57:22 -08:00
dbaron@dbaron.org
1cfa9dcca9 Make changes in table-layout cause a reframe. b=367375 r+sr=bzbarsky a=schrep 2008-02-08 11:56:03 -08:00
dbaron@dbaron.org
632c70328b Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
dbaron@dbaron.org
0fd2f5d010 Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep 2008-02-08 11:51:41 -08:00
jruderman@hmc.edu
1b5588a6cc Add crashtest! 2008-02-03 22:00:36 -08:00
reed@reedloden.com
bc84c9f211 Bug 413961 - "chrome://global/skin/arrow/* icons don't show up in high contrast mode" [p=masa141421356@gmail.com (Masahiro Yamada) ui-r=faaborg a1.9b3=beltzner] 2008-02-02 15:05:53 -08:00
roc+@cs.cmu.edu
d0663a11d3 Bug 363183. Fix getComputedStyle left/top/width/height for tables. r+sr=dbaron 2008-01-29 13:53:09 -08:00
reed@reedloden.com
39a8f2021a Bug 413945 - "Text on HTML buttons is invisible on hover with HighContrastInverse Theme" [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=schrep] 2008-01-26 20:34:24 -08:00
reed@reedloden.com
8dd5e9d735 Bug 413274 - ""ASSERTION: How can this ever happen?: '*aUnconstrainedSize <= scriptLevelSize'"" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=beltzner] 2008-01-26 19:55:40 -08:00
roc+@cs.cmu.edu
29dfaab10a Bug 412901. getComputedStyle should return actual border widths (i.e. including round-to-device-pixels that happens during style resolution and layout). r+sr=dbaron 2008-01-26 15:54:39 -08:00
reed@reedloden.com
1c0d24e0cc Bug 413272 - "HTML SELECT does not show selected item in windows "selected text" style - recent regression" (use new CSS system color for html select options) [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a=blocking1.9+] 2008-01-24 01:31:44 -08:00
reed@reedloden.com
1e4d3ec292 Bug 413198 - "Make layout.css.report_errors apply to debug build text terminal (stderr)" [p=matt@nightrealms.com (Matthew Cline) r+sr=dbaron a1.9=schrep] 2008-01-22 03:52:27 -08:00
bzbarsky@mit.edu
2641f01d3d Fix bug 405818: need to copy the original sheet URI when cloning. r+sr=dbaron, a=schrep. 2008-01-21 20:26:01 -08:00
jruderman@hmc.edu
00d631a16a Add crashtest 2008-01-20 16:12:55 -08:00
bzbarsky@mit.edu
3b4de565f4 Adding test 2008-01-20 10:05:39 -08:00
jwalden@mit.edu
afd9df39fb Bug 346690 - Add support for the 'none' keyword for the CSS cursor property. r=dbaron, sr=mats, a=schrep 2008-01-18 10:39:49 -08:00
bzbarsky@mit.edu
a0a4bcad25 Add an internal security-check-less method for adding rules to stylesheets to fix bug 386939. r+sr=dbaron 2008-01-17 21:23:44 -08:00
reed@reedloden.com
1c92a2eaf9 Bug 404825 - "Bookmark folders in Personal Toolbar" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep] 2008-01-17 02:24:31 -08:00
reed@reedloden.com
7298f80eb7 Bug 412281 - "[GTK] Unfocused options list looks like focused ones" (use -moz-cellhighlight* for non focused selects) [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=schrep] 2008-01-17 02:22:34 -08:00
roc+@cs.cmu.edu
d41bc8dced Bug 411603 crashtest 2008-01-13 13:00:49 -08:00
roc+@cs.cmu.edu
9aeb2ba406 Bug 411603. Avoid circular definition and infinite recursion by interpreting 'scriptminsize' in em/ex units as relative to the parent font size. r+sr=dbaron 2008-01-13 12:57:03 -08:00
dwitte@stanford.edu
48b1fc2eb4 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 12:56:49 -08:00
dwitte@stanford.edu
c2ab021e88 use nsAutoTArray for nsCSSDeclaration::mOrder. b=410357, r+sr=dbaron, a=blocking1.9+ 2008-01-10 12:13:24 -08:00
martijn.martijn@gmail.com
3e60d596aa Bug 407016 - Marquee GetMinWidth() is no longer 0 after bug 402567 landed, r=dholbert, sr=bzbarsky, a=blocking1.9 2008-01-09 04:43:44 -08:00
roc+@cs.cmu.edu
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
09582c48ae backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
jruderman@hmc.edu
7fbce6ec77 Add crashtest. 2008-01-06 15:47:02 -08:00
reed@reedloden.com
1d602b3c42 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
sayrer@gmail.com
43999e482b Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
dwitte@stanford.edu
b677a88807 (final) relanding since this has no Ts impact. 2007-12-21 16:56:28 -08:00
dwitte@stanford.edu
da912e42cd reverting change. 2007-12-21 07:02:13 -08:00
reed@reedloden.com
be87af14d3 Bug 399545 - "<textbox type="number"> spin buttons look wrong with some GTK themes" (add GTK theming for spinner and spinner-textfield) [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner] 2007-12-21 03:30:00 -08:00
dwitte@stanford.edu
332de77638 reland part of bug 407442. 2007-12-21 03:22:18 -08:00
reed@reedloden.com
3927f9b31d Bug 406330 - "Winstripe and Gnomestripe look bad in RTL mode" (Fix gnomestripe rtl) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=Ryan a=blocking-firefox3+] 2007-12-21 03:17:01 -08:00
dwitte@stanford.edu
e1f9209274 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
2b31364ac3 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
63050186f2 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
8b3567b59d backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
3b75d76adb implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
jruderman@hmc.edu
cf798e4015 Your mother was a hamster and your father smelt of crashtests! 2007-12-17 22:33:13 -08:00
jruderman@hmc.edu
b3a5a3dce7 Add crashtest 2007-12-17 22:31:39 -08:00
jruderman@hmc.edu
177ec15108 Add crashtests 2007-12-17 22:30:20 -08:00
jruderman@hmc.edu
d8c8208146 Add crashtests related to old form hack 2007-12-16 18:50:58 -08:00
jruderman@hmc.edu
c6966cc18c 2003 called. It wants its crashtest back. 2007-12-15 20:57:11 -08:00
dbaron@dbaron.org
e5d35c002d Use the existing linked list structure while sorting rules instead of using temporary arrays. b=408295 r+sr=sicking a=dsicore 2007-12-14 14:59:20 -08:00
jonas@sicking.cc
5378dfb532 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
jonas@sicking.cc
2c8a4bad88 Bug 408135: Get rid of unnecessary array churning in nsCSSRuleProcessor::GetRuleCascade. r/sr=dbaron 2007-12-13 16:24:39 -08:00
jruderman@hmc.edu
c11a5c3f7e Add a few crashtests. 2007-12-12 22:44:00 -08:00
martijn.martijn@gmail.com
06c6e5f3ee Bug 406073 - OnMouseOver and OnMouseOut Dysfunctional On Marquee, r=bzbarsky, sr=roc, a=beltzner 2007-12-12 06:56:57 -08:00
dmose@mozilla.org
a7aaa3bf1f Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
masayuki@d-toybox.com
db9a1f0734 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
bzbarsky@mit.edu
44e2c1e61f Don't do arithmetic with unconstrained widths when reflowing comboboxes. Bug 363858, r+sr=dbaron 2007-12-02 22:41:38 -08:00
reed@reedloden.com
f1b1304be3 Bug 363696 - "Crash [@ nsHTMLReflowState::ComputeContainingBlockRectangle] with file upload control in xul" [p=kinetik@flim.org (Matthew Gregan) r=bzbarsky sr=roc a=blocking1.9+] 2007-11-26 19:35:50 -08:00
longsonr@gmail.com
c60c40f199 Bug 398105 - Removing xlink:href attribute from svg:a does not update elements influenced by :link styles. r+sr=bzbarsky,a1.9=tor 2007-11-23 01:43:49 -08:00
jonas@sicking.cc
136308d144 bug 384612: Remove script from scrollbar XBL binding. r/sr=dbaron 2007-11-19 12:08:20 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
dbaron@dbaron.org
d73292f9d0 Make 'vertical-align' work on 'display: inline-table'. b=404030 r+sr=bzbarsky a=blocking1.9+ 2007-11-17 14:33:09 -08:00
bzbarsky@mit.edu
5ee6e45f66 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
dbaron@dbaron.org
579235bed6 Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
bzbarsky@mit.edu
086bfe7160 We can destroy style contexts during ruletree reconstruct. Bug 403454, r+sr=dbaron 2007-11-14 22:13:48 -08:00
bzbarsky@mit.edu
e6e261a470 Implement hixie's first-line proposal: only inherit properties that inherit by default from ::first-line. Inherit the reset properties from its style parent (which is the node that we'd inherit from if the ::first-line were not there). Bug 395623, r+sr=dbaron, a=beltzner 2007-11-07 09:13:00 -08:00
reed@reedloden.com
b360da4efd Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner] 2007-10-31 11:51:49 -07:00
dbaron@dbaron.org
30ac4ad5bf Make boxes that have non-box non-block children wrap all their children in a block. b=321402 r+sr=roc, a=blocking1.9+/M9 2007-10-25 16:30:49 -07:00
bzbarsky@mit.edu
445a9b64c8 Landing files that somehow got missed. Bug 397427. 2007-10-23 15:11:08 -07:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
tor@cs.brown.edu
c7e1505c64 Bug 399289 - leak of nsBaseURLParser with svg paint. r+sr+a=dbaron 2007-10-19 08:36:15 -07:00
neil@parkwaycc.co.uk
d3fd192a81 Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc 2007-10-19 01:51:27 -07:00
tor@cs.brown.edu
279a22522f Backout of 399289. 2007-10-15 11:59:22 -07:00
tor@cs.brown.edu
3334812330 Bug 399289 - leak of nsBaseURLParser with svg paint. r=dbaron, sr=roc, a=dbaron 2007-10-15 09:37:04 -07:00
bzbarsky@mit.edu
d6ddf5aec3 Fix bug 345609. r+sr+a=roc 2007-10-12 11:37:51 -07:00
tglek@mozilla.com
fdf793303e Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
reed@reedloden.com
f11e2ac243 Bug 394844 - "nsCSSParser.cpp: aSkipWS parameter of ExpectEndProperty and GetURLToken can be removed as it is always PR_TRUE" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=dbaron] 2007-10-08 16:17:14 -07:00
dbaron@dbaron.org
7415f81dc3 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc 2007-10-08 16:11:01 -07:00
dbaron@dbaron.org
1c49aa6978 Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc 2007-10-08 14:58:22 -07:00
jwalden@mit.edu
4bde7b5023 Bug 393757 - Don't report CSS style errors for identifiers designated as vendor-specific by the CSS spec. This means we won't report errors for things like _width or for any of the -khtml-, -webkit-, -o-, -ms-, etc. properties, cutting down on error console spam a touch. r+sr+a=dbaron 2007-10-03 21:58:27 -07:00
reed@reedloden.com
a7f28960d6 Bug 389685 - "Empty style attribute generates strange css warning" [p=elif (sharparrow1) r+sr+a1.9=dbaron] 2007-10-03 20:20:36 -07:00
dholbert@cs.stanford.edu
079f238fc8 Backing out patch for Bug 396984 -- its issues will be addressed via Bug 240117. (see comments 27-28 on Bug 396984) 2007-10-03 13:04:32 -07:00
dholbert@cs.stanford.edu
07e659f6fc Bug 396984 - Fix GTK textfield border-width 2px/3px discrepancy. Patch by Michael Ventnor <ventnor.bugzilla@yahoo.com.au>, r/sr/a=roc 2007-10-02 14:25:59 -07:00
dholbert@cs.stanford.edu
e2823ee8c1 Bug 382147: Make disabled button border-width match enabled buttons. r=roc sr=roc blocking1.9=joshmoz 2007-10-01 09:40:35 -07:00
dbaron@dbaron.org
f9914cd5b5 Fix leak of nsCSSValueList. b=397149 r+sr=bzbarsky a=roc 2007-09-27 09:28:14 -07:00
dbaron@dbaron.org
e997f08c07 Always delete the old content array so that we run destructors. b=397022 r+sr=bzbarsky a=roc 2007-09-27 09:27:48 -07:00
dbaron@dbaron.org
f11b24b470 Remove comment about exceptions that no longer exist thanks to bug 386640. 2007-09-27 09:26:22 -07:00
martijn.martijn@gmail.com
b3e6ea2033 Bug 376948 - Useless margin-top rules in quirk.css for form?, r+sr+a=dbaron 2007-09-20 09:54:11 -07:00
roc+@cs.cmu.edu
e8289ba12e Bug 386759. Text inputs should use text-rendering:optimizeLegibility 2007-09-18 05:14:46 -07:00
timeless@mozdev.org
7ce7e8401d Bug 393144 consistently use NS_THEME_NONE r=bz, r=bz, r=dbaron, sr=bz, a=dbaron 2007-09-05 03:27:06 -07:00
dbaron@dbaron.org
5518da3f51 Add real test for the nsCSSValue regression caught on Monday only by an unexpected pass. b=382027 2007-08-31 10:07:02 -07:00
dbaron@dbaron.org
85722de549 Attempt to fix test failures from bug 382027. 2007-08-28 00:29:03 -07:00
dbaron@dbaron.org
7b0d849066 Fix accounting showing leak of CSS value types, and optimize CSS value constructors/destructors a bit. b=382027 r+sr=bzbarsky a1.9=roc 2007-08-27 23:47:32 -07:00
sharparrow1@yahoo.com
2c1936f084 Bug 389224: Clipped objects are sometimes not fully redrawn after clipping. r+sr=roc, a=dbaron 2007-08-27 18:35:59 -07:00
sharparrow1@yahoo.com
7b65e5cdfe Additional CSS parsing tests for bugs 393286 and 393499. 2007-08-27 13:49:09 -07:00
sharparrow1@yahoo.com
b10694182d Bug 393499: Clean up character lookup in nsCSSScanner. r=bzbarsky, sr+a=dbaron 2007-08-25 19:20:27 -07:00
bzbarsky@mit.edu
82d377683c Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron 2007-08-24 15:20:24 -07:00
sharparrow1@yahoo.com
f6d7f34d38 Bug 393286: Make nsCSSScanner::Read regularize newlines. r+sr=bzbarsky, a=dbaron 2007-08-23 16:01:52 -07:00
sharparrow1@yahoo.com
e37155ba7f Bug 393080: Make count and offset in nsCSSScanner unsigned. r+sr=bzbarsky, a=dbaron 2007-08-22 10:32:59 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
sharparrow1@yahoo.com
bd3a0402f5 Bug 392840: Get rid of nsCSSScanner::Unread. r+sr=bzbarsky, r+a=dbaron 2007-08-21 11:29:50 -07:00
sharparrow1@yahoo.com
862051c004 Bug 387511: CSs scanner causes parse error for URLs starting with a codepoint > 255. r+sr=bzbarsky, a=dbaron 2007-08-19 20:39:22 -07:00
sharparrow1@yahoo.com
d9a7aa54b9 Bug 390399: Add some general (non-property-specific) parsing tests. r+sr+a=dbaron 2007-08-17 15:05:22 -07:00
bzbarsky@mit.edu
edb68ef0b7 Fix computed style for relative offsets when they're specified in |ch| units. Bug 391034, r+sr+a=dbaron 2007-08-16 16:19:25 -07:00
bzbarsky@mit.edu
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
bzbarsky@mit.edu
345f09029c Fix a few more issues with eSyleUnit_Chars in computed style. Bug 391221, r+sr+a=dbaron 2007-08-14 11:44:39 -07:00
bzbarsky@mit.edu
1cd5504611 Fix up whitespace issue from checking in -w patch. No code change. Bug 390318 2007-08-10 15:17:20 -07:00
bzbarsky@mit.edu
96ec7b6a69 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
sdwilsh@shawnwilsher.com
bbac20edf7 Bug 355789 - Use vista native uxtheme for menu rendering. Patch by Rob Arnold <robarnold@mozilla.com>. r=vladimir, a=[wanted-1.9] 2007-08-06 10:45:57 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dbaron@dbaron.org
acdb55d6ca Remove a value for a property not listed in nsCSSPropList.h. b=258079 r+sr=bzbarsky a1.9=roc 2007-08-04 00:01:23 -07:00