Commit Graph

802 Commits

Author SHA1 Message Date
Steffen Wilberg
4cf7c6abc3 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
54bb0a0d80 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
c62f969ab1 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
60e3fae385 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
63e2075a2a Bug 443976: Parsing support for the unicode-range: descriptor in @font-face. r=dbaron 2009-08-20 14:52:47 -07:00
Zack Weinberg
6ade4eb7d1 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
325ccb4cf2 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
f8cb071942 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)
219a2fe88e 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
c6caffd207 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
26e64d8ffa 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
82ce2b89d6 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
13f33e2611 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
30a32157e7 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
9cec8d1994 Remove InspectorCSSUtils, part 4: Remove nsIInspectorCSSUtils and nsInspectorCSSUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
86aa2537d6 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
a55abf81a2 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
48c0c7d6aa Remove InspectorCSSUtils, part 1: Move GetStyleContextForContent to nsComputedDOMStyle. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
bcebc6f79b Add more parameters to nsStyleSet::ResolveStyleForRules. (Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
7fed030a73 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
18c275e977 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
debaa63092 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
7abc642822 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
8beca21b20 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
47a8214709 Bug 508919. Stop leaking nsStyleBorder objects. r=dbaron 2009-08-07 10:38:44 -04:00
L. David Baron
557af3af90 Additional mochitests for URL parsing, from bug 337287 (and related to bug 476856) 2009-08-05 17:45:49 -07:00
L. David Baron
7cff5f8599 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
c2612afa26 Avoid flushing during media query evaluation. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
L. David Baron
286bc4ac06 Add assertions that the rule walker is at the root. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
Boris Zbarsky
e2f39a9eac Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 21:22:13 -04:00
Boris Zbarsky
bc219716a8 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
Boris Zbarsky
ff75d6817f Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 13:38:42 -04:00
Robert O'Callahan
acd36f5672 Bug 504311. Don't reframe text when white-space changes between preformatted values, or between non-preformatted values. r=bz
--HG--
extra : rebase_source : 35015fafdb92544eea6bcc572122b0c2cda4305c
2009-07-30 15:02:22 +12:00
Daniel Holbert
5d0d5bb89c Bug 507695: Remove unneeded #includes from nsStyleContext.cpp. r=dbaron 2009-08-02 15:32:06 -07:00
Michael Ventnor
8ae6cd75f4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky
8c97ee0a3d Bug 507487: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 2: fix RuleHash to hash tag selectors twice when needed. r=dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky
92589bee61 Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron 2009-08-01 08:53:40 -07:00
L. David Baron
a24f75b42e Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky
--HG--
rename : layout/style/nsIStyleRuleProcessor.h => layout/style/nsRuleProcessorData.h
2009-08-01 08:53:40 -07:00
L. David Baron
6fb9ce56f5 Don't resolve a new context for the root when we're computing rem units for the root. (Bug 478321) r=bzbarsky 2009-08-01 08:53:40 -07:00
L. David Baron
ee5e6740c7 Merge backout of changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:40:17 -07:00
L. David Baron
36c7b60c0c Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
Dão Gottwald
bf4108370b Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
61ed5fe1e2 Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Shawn Wilsher
a725e79692 Merge for back out of changeset 8506b25206cf (bug 504311) because the test added uses enablePrivilege which hangs tinderbox asking for privileges. Trying to fix a CLOSED TREE. 2009-07-30 13:17:18 -07:00
Shawn Wilsher
d1706205b3 Backed out changeset 8506b25206cf (bug 504311) because the test added uses enablePrivilege which hangs tinderbox asking for privileges. 2009-07-30 13:16:15 -07:00
David Zbarsky
eab4105f16 Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
Robert O'Callahan
b029d9ac28 Bug 504311. Don't reframe text when white-space changes between preformatted values, or between non-preformatted values. r=bz
--HG--
extra : rebase_source : 7f545ad1d85bcda74d18d9308539b45149a4a194
2009-07-30 15:02:22 +12:00
Timothy Nikkel
24844a2db3 Bug 504269. background color of iframe not drawn on print. r+sr=roc 2009-07-29 18:10:50 -04:00
Timothy Nikkel
6788e65ce3 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Neil Deakin
5303f25260 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00