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