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

3869 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 059370bc1e whitespace-only: clean up trailing whitespace in nsCSSProps.cpp & nsRuleNode.cpp 2009-10-12 23:35:57 -07:00
Taras Glek a39d7b167b Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Boris Zbarsky 6e2a9eda6e Bug 520421. HasAttributeDependentStyle is broken on HTML for cased attribute selectors. r=dbaron 2009-10-12 12:27:51 -04:00
L. David Baron 34e4fdab5b Oops, sign of error_direction needs to change only for its second use. (Bug 435441) 2009-10-10 11:01:12 -07:00
L. David Baron a026b136b1 Allow more error in bezier computation to fix random orange. 2009-10-10 10:02:32 -07:00
L. David Baron 1b1657a25a Make transitions test more reliable by measuring the positions of transitions relative to a pair of reference linear transitions, and testing the progress of those reference linear transitions with considerably more latitude. (Bug 435441) 2009-10-09 19:11:09 -07:00
Daniel Holbert ccf6146f82 Bug 520485, patch 3 of 5: add support for 'font-size-adjust' property in nsStyleAnimation. r=dbaron 2009-10-08 18:30:51 -07:00
Daniel Holbert 09183e45eb Bug 520485, patch 1 of 5: add support for float values in nsStyleAnimation. r=dbaron 2009-10-08 18:30:49 -07:00
Taras Glek 223502e19f Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek 9ec79636b9 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
L. David Baron 5e524532d0 Increase test tolerance to try to fix random orange. 2009-10-08 08:13:49 -07:00
L. David Baron 030a5a4a87 Revert 9ef12a27ab14 and c87e6a6a41bb (patches 6 and 7 from bug 435441) which are no longer needed after bug 520396. 2009-10-07 22:10:58 -07:00
L. David Baron 85ea814467 Add tests for :-moz-tree-* pseudo-elements. (Bug 521044) 2009-10-07 20:22:42 -07:00
L. David Baron 76e92e0d78 Existing callers call IsCSS2PseudoElement on non-pseudo-elements (in particular, anon boxes), so we need to make that not assert and be deterministic. (Bug 521044) r=bzbarsky 2009-10-07 20:22:42 -07:00
L. David Baron 85ff985f02 Fix serialization of tree pseudo-elements with arguments. (Bug 521044) r=bzbarsky 2009-10-07 20:22:42 -07:00
L. David Baron d0aa2104e4 Parse pseudo-elements into their own pointer so we don't have to go through the trouble of removing them from the pseudo-class list. (Bug 520848) r=bzbarsky 2009-10-07 20:22:42 -07:00
L. David Baron a6a8677c1d Make parsing of tree pseudo-elements do proper parenthesis matching. (Bug 521044) r=bzbarsky 2009-10-07 20:22:42 -07:00
L. David Baron c74b02d8a8 Add per-property tests for CSS transitions to test the code in nsStyleAnimation. (Bug 435441, Bug 504652) 2009-10-07 20:22:42 -07:00
L. David Baron 3bab7291fd Eliminate nsStyleAnimation::StoreComputedValue. (Bug 520396) r=dholbert,bzbarsky 2009-10-07 20:22:42 -07:00
L. David Baron 9d968722a4 Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
L. David Baron 331f6211df Fix comment in nsStyleStruct.h about value types for -moz-column-gap. 2009-10-07 20:22:42 -07:00
jhorak@redhat.com cf3ff9bcf7 Bug 509671 - Remove icons from buttons due to Gnome changes. r=roc,gavin 2009-10-06 16:20:59 +02:00
Boris Zbarsky 0c8107ac94 Bug 519905. Avoid some QIs to nsWrapperCache. r=peterv 2009-10-05 19:16:22 -04:00
Mark Finkle 05ae567782 Bug 520341: Implement a way to detect a pre-Fremantle Nokia Maemo tablet, r=roc 2009-10-04 21:31:26 -04:00
Daniel Holbert 661f659e2c Bug 520325: Extend nsStyleAnimation to support "none" value. r=dbaron 2009-10-03 15:16:16 -07:00
Daniel Holbert 513f5a6863 Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00
L. David Baron 6063b4accf Make nsStyleSet use nsRuleWalker objects on the stack rather than in a member variable. (Bug 492675) r=bzbarsky 2009-10-02 14:06:42 -07:00
L. David Baron 228d52dbc8 Add missing SetLevel call that is caught by assertions once the following patch lands. (Bug 492675) r=bzbarsky 2009-10-02 14:06:41 -07:00
Nochum Sossonko c844f8ba54 Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron 2009-10-02 08:22:18 +02:00
Robert O'Callahan d02e15eb86 Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
David Zbarsky 51cc52c705 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
L. David Baron f33c659eb8 Reset the rule walker before calling NS_NewStyleContext. (Bug 513741) r=bzbarsky 2009-09-29 12:24:18 -07:00
David Zbarsky a2fdb9327f Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Geoff Lankow d7242ee072 Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron 2009-09-26 13:23:47 -07:00
Boris Zbarsky 6b31a00338 Bug 516286. No need to clear ancestor intrinsic widths on top/left/right/bottom changes anymore. r=dbaron 2009-09-24 13:59:43 -04:00
Boris Zbarsky 751e9657f6 Bug 514773. Don't trigger rulenode gc unless we have rulenodes to gc. r=dbaron 2009-09-24 13:59:43 -04:00
Markus Stange 213ef99eda Bug 517412 - 64 Bit fixes for nsLookAndFeel.mm. Also removes some unused colors. r=josh, r=dbaron 2009-09-22 20:03:17 +12:00
Peter Van der Beken bf196f6805 Fix for bug 508780 (Stop using tearoff from quickstubs for nsDOMCSSDeclaration/nsComputedDOMStyle), part 2. r=jst.
--HG--
extra : rebase_source : 31cf92522c323b3acf062903a4e5c33ed568230c
2009-09-18 15:09:55 +02:00
Jonathan Kew 217665fa17 Bug 507970, part 2: implement support for downloadable WOFF fonts, r=jdaggett
--HG--
extra : rebase_source : e68c49d2dbea815e453f9ab52ba89bd9127d3f51
2009-08-30 14:55:24 +01:00
L. David Baron 4fbf8eb539 Add bug number for FIXME comment. 2009-09-16 12:01:18 -07:00
Mats Palmgren 0741d79bb3 Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Bobby Holley 92e80175ef Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Zack Weinberg e65a77e1b7 Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Daniel Holbert 438f5c2b31 Add UncomputeValue method to nsStyleAnimation, for converting computed values into specified values. (Bug 504652) r=dbaron 2009-09-11 09:29:23 -07:00
L. David Baron 2118edd8d0 Pass style rule to post-resolve callbacks. (Maybe not the long term approach for CSS transitions, but easiest right now.) (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron 9f71f85f89 Allow multiple post-resolve callbacks. (Maybe not the long term approach for CSS transitions, but easiest right now.) (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron 43c996d573 Separate nsCSSPropertySet out from nsCSSDataBlock so that it can be used elsewhere (for transitions). (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron 0d8bd0108e Add support for animation of nsStyleSVGPaint values to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron 18b6ceba62 Add support for animation of color values (conversion of nscolor values to nsStyleCoord and animation of eStyleUnit_Color nsStyleCoords) to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron 0c71491f1a Add support for color values to nsStyleCoord so nsStyleAnimation can animate colors. (Bug 504652) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron a3ab3a9576 Add support for animation of nscoord values to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron ff828ff3db Add support for animation of nsStyleCoord and nsStyleSides values to nsStyleAnimation. (Bug 504652) r=dbaron sr=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron 9c1425d293 Rewrap long argument lists to CSS_PROP macros. Whitespace changes only. (Bug 504652) 2009-09-11 06:46:36 -04:00
L. David Baron cc33bf78c1 Add fields to nsCSSPropList.h for style struct offset and animation type. (Bug 504652) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron 497371739e Add stylestruct_ parameter to CSS_PROP macro. (Bug 504652) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron aae983acb3 Remove unneeded detail == eRuleNone check. (Bug 114100) r=bzbarsky 2009-09-11 06:46:35 -04:00
Daniel Holbert 926ff8faec Bug 504652, patch 1: create nsStyleAnimation utility class for shared animation & interpolation code. r=dbaron 2009-09-10 12:03:36 -07:00
Alfred Kayser 6e494268a7 Bug 483977 - nsCSSScanner: Simplify IsDigit. r+sr=dbaron 2009-09-04 14:25:27 +02:00
Daniel Holbert be3cd74db2 Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz 2009-09-02 17:28:37 -07:00
Jesse Ruderman 8a9fb4d41e Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman 305909d6eb Add crashtests 2009-08-27 19:48:20 -07:00
Jonathan Watt 6dcdab69f3 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Robert O'Callahan 33674be94b Backing out patch for bug 497495 2009-08-26 14:50:16 -07:00
Robert O'Callahan 2824c696a7 Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Timothy Nikkel 68cafc2b14 Bug 511323. The anonymous block frame that a combobox control frame creates to display the selected option when not dropped down shouldn't inherit the background color of the combobox because it leads to duplicate backgrounds.
--HG--
extra : rebase_source : 23c293381e850974836b07b30352b2780f3f495e
2009-08-26 09:33:37 -07:00
Zack Weinberg 7167944a1b Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Benjamin Smedberg 28fb767bd1 Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky 79edda8c98 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky ac5c73f4b2 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Steffen Wilberg b0ac6eb5a1 Bug 221602: Don't ship comm.jar, final nail. r=bsmedberg
--HG--
extra : rebase_source : e345a68817d6909cc93bec65df23c015b2797f32
2009-08-21 21:26:02 +02:00
Ryo Kawaguchi 3ec02d1d9c Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
Zack Weinberg 91bb3d310f Bug 511147: Avoid the slow greedy-operator path for A > B ~ C selectors. r=dbaron 2009-08-20 14:52:47 -07:00
Brian Birtles ecaea885b1 Bug 507067: Fix GetAnimVal and GetBaseVal's handling of em/ex/etc. units inside display:none elements by using nsComputedDOMStyle's method for resolving style contexts for such elements. r=dbaron 2009-08-20 14:52:47 -07:00
Zack Weinberg 83a772fc35 Bug 443976: Parsing support for the unicode-range: descriptor in @font-face. r=dbaron 2009-08-20 14:52:47 -07:00
Zack Weinberg a692faca65 Fix parenthesis-matching while parsing format() function in @font-face src: descriptor. (Bug 511333) r=dbaron 2009-08-20 14:52:47 -07:00
L. David Baron 7b9d55736f Fix parenthesis-matching while parsing local() function in @font-face src: descriptor. (Bug 511333) r=zweinberg 2009-08-20 14:52:47 -07:00
Zack Weinberg 0ef95b6853 Fix DEBUG-only crash parsing empty 'src' descriptor of @font-face rule. (Bug 511304) r=dbaron 2009-08-20 14:52:47 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 04c29e4107 Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky 2009-08-20 14:52:47 -07:00
Zack Weinberg 7c8676e9b8 Bug 431948 - when skipping a malformed ruleset inside an @-rule, do not consume the close brace that ends the @-rule, lest we skip too much; r=dbaron 2009-08-19 15:11:30 +02:00
L. David Baron a9c01ebc9b Don't resolve a bogus non-element parent when we don't need to and it confuses things. (Bug 510071) r=bzbarsky 2009-08-13 19:09:49 -07:00
Peter Van der Beken d201b699db Fix for bug 500850 (Make inline style use wrapper cache and slimwrappers), add unlinking. r/sr=bz.
--HG--
extra : rebase_source : ec60be3645c020dd171e0ea4866759d6a508799c
2009-08-10 16:15:49 +02:00
Simon Montagu b49345ead0 Ensure that block elements with display changed to inline are formatted as bidi embeddings. Bug 503957, r=dbaron 2009-08-11 00:16:20 -07:00
Felipe Gomes e6c625c99a Bug 503042 - Implement a way to detect a touch enabled device. r=vlad, sr=dbaron 2009-08-10 19:59:06 -07:00
L. David Baron c1189a0cf2 Remove InspectorCSSUtils, part 4: Remove nsIInspectorCSSUtils and nsInspectorCSSUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron 4539fc3d42 Remove InspectorCSSUtils, part 3: Remove the trivial methods and replace their callers with appropriate internal calls. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron 901645c875 Remove InspectorCSSUtils, part 2: Move remaining substantive code to inDOMUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron eed3ca3fad Remove InspectorCSSUtils, part 1: Move GetStyleContextForContent to nsComputedDOMStyle. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron 5d0c906bc1 Add more parameters to nsStyleSet::ResolveStyleForRules. (Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron f5c6dbc773 Make computed style (and canvas text styling, which shares the same code) avoid using style data that was influenced by pseudo-elements. (Bug 505515) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron c4b4a52298 Add flags to pseudo-elements, and add one that says which ones are expected to contain elements. (Bug 505515) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron d0949cbd05 Make style contexts know whether they have data from a pseudo-element. (Bug 505515, Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
Boris Zbarsky ff669f2a49 Bug 509155. Don't store outline structs in the rule tree if outline-color:inherit is set on the root element. r=dbaron 2009-08-10 10:54:22 -04:00
Boris Zbarsky c2d39b219a Bug 509156. Don't assert on GetUniqueStyleData calls if we're using our parent's struct before the call. r=dbaron 2009-08-10 10:54:21 -04:00
Boris Zbarsky 7f7f2917fc Bug 508919. Stop leaking nsStyleBorder objects. r=dbaron 2009-08-07 10:38:44 -04:00
L. David Baron 13ae179b0c Additional mochitests for URL parsing, from bug 337287 (and related to bug 476856) 2009-08-05 17:45:49 -07:00
L. David Baron 19e0871ec3 Rewrite parsing of CSS url() function to make it more like the tokenization that's described in the spec. (bug 476856, though originally written for bug 337287) r=bzbarsky 2009-08-05 17:45:49 -07:00
L. David Baron 9bf6ae7e34 Avoid flushing during media query evaluation. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
L. David Baron d83a7eb763 Add assertions that the rule walker is at the root. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
Boris Zbarsky 2f617666a5 Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 21:22:13 -04:00
Boris Zbarsky bc251345f9 Backed out changeset 25462849adcc (bug 502288) to get some talos cycles for the tracemonkey merge without this patch in.
--HG--
extra : rebase_source : bff86f8ab792af6109b1862d601e2ba560dc4ba1
2009-08-03 15:10:09 -04:00