Commit Graph

3421 Commits

Author SHA1 Message Date
Boris Zbarsky
294d2e51ec 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
3a7c74d351 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
589bd34dc6 Bug 508919. Stop leaking nsStyleBorder objects. r=dbaron 2009-08-07 10:38:44 -04:00
L. David Baron
8eaa31bacd Additional mochitests for URL parsing, from bug 337287 (and related to bug 476856) 2009-08-05 17:45:49 -07:00
L. David Baron
5de91850ca 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
a8f1170400 Avoid flushing during media query evaluation. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
L. David Baron
f14734d0e5 Add assertions that the rule walker is at the root. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
Boris Zbarsky
77cf0876b7 Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 21:22:13 -04:00
Boris Zbarsky
c2160da7ef 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
c5c9132dbb Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 13:38:42 -04:00
Robert O'Callahan
d26efdf2da 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
45cf11272c Bug 507695: Remove unneeded #includes from nsStyleContext.cpp. r=dbaron 2009-08-02 15:32:06 -07:00
Michael Ventnor
f89f2766b4 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
51d7da3c19 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
1a6e5fcda6 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
7fbb9db0a5 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
fdf121fa7c 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
d823ebd44b 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
389de5e6db Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
Dão Gottwald
26c7b3a525 Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
9b44f1f16c Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Shawn Wilsher
e780f1d450 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
0250f35c11 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
08428e456d Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
Robert O'Callahan
3a0de712cc 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
fd0c927820 Bug 504269. background color of iframe not drawn on print. r+sr=roc 2009-07-29 18:10:50 -04:00
Timothy Nikkel
21d72e721f Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Neil Deakin
69bd6c8514 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
Boris Zbarsky
8266b6450a Bug 503467. Rearrange the code a bit in ParseNumber to make it more readable. r=dbaron 2009-07-22 21:35:07 -04:00
L. David Baron
ba06d41e98 Also block -moz-box-shadow when using document-specified colors is disabled, and fix a testing error with the patch for text-shadow. (Bug 503188) r=bzbarsky 2009-07-20 07:04:42 -04:00
L. David Baron
0c97593d39 Add tests for cloning of media queries. (Would have caught bug 504032.) 2009-07-20 07:04:42 -04:00
Boris Zbarsky
3e8397c185 Bug 504032. Make sure to copy mIsEmpty when cloning media lists. r=dbaron 2009-07-17 23:47:38 -04:00
Peter Van der Beken
9a1d5b0850 Part 1 of fix for bug 500850 (Make inline style use wrapper cache and slimwrappers). r/sr=bz.
--HG--
extra : rebase_source : 21f9c86dc4024e0e23882226e8395d61d5b0c518
2009-07-13 13:14:57 +02:00
L. David Baron
ba2a418757 Add tests for media query serialization. 2009-07-15 17:24:25 -07:00
L. David Baron
f9881288ec Add tests for selector serialization and cloning. 2009-07-15 17:24:24 -07:00
L. David Baron
2962f5d981 Reformat the list of CSS properties by splitting macros into multiple lines to make the list easier to edit and merge. Whitespace changes only. pre-r=bzbarsky 2009-07-15 17:24:24 -07:00
L. David Baron
bb685a72b2 Block text-shadow when using document-specified colors is disabled. (Bug 503188) r=bzbarsky, roc 2009-07-15 17:24:24 -07:00
L. David Baron
9a168b3d35 Make whether a property should be ignored when page colors are disabled part of the property flags table. (Bug 503188) r=bzbarsky 2009-07-15 17:24:24 -07:00
Peter Van der Beken
ffbf9a7ae8 Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Boris Zbarsky
3421dd9616 Bug 498559 followup to clean up the code. r=dbaron 2009-07-09 20:36:57 -07:00
Boris Zbarsky
c0fb70dad7 Adding test for bug 498559. r=dbaron 2009-07-09 19:53:00 -07:00
Boris Zbarsky
8b4a6cb46a Bug 498559. Speed up tokenizing numbers in CSS. r+sr=dbaron 2009-07-09 18:44:20 -07:00
Boris Zbarsky
b5276441a8 Bug 498562. Skip the Expand/Compress cycle in the common case of inline style sets. r+sr=dbaron 2009-07-09 14:50:39 -07:00
Jeff Walden
1fb19be474 Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Timothy Nikkel
8f1f1d1fd5 Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Robert O'Callahan
fb3a1a19b2 Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
--HG--
extra : rebase_source : 2cd0b9d4bdfb47d8757efe0ca9983cbbcfca423c
2009-06-13 21:16:34 +12:00
Nochum Sossonko
e6276b0c40 Bug 333808 - safe mode should disable userContent.css and userChrome.css. r=bsmedberg, sr=bz 2009-06-22 13:34:41 +02:00
Boris Zbarsky
f0ebc1afd4 Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron 2009-06-16 15:05:12 -07:00
L. David Baron
44a6267b1d Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Arpad Borsos
9c8455122d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00