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