Commit Graph

137 Commits

Author SHA1 Message Date
Mounir Lamouri
5a2ef13b8f Bug 655065 - Add a -moz-orient CSS property. r=bz 2011-05-10 15:47:46 +02:00
Boris Zbarsky
6ae99aa202 Bug 597291. Create nsIURI objects lazily for nsCSSValue::URL, so that we don't pay the cost of creating the ones we don't actually need. r=dbaron
In the new setup, the mURL member of nsCSSValue::URL stores either the actual URI pointed to or the base URI; a boolean flag keeps track of which is stored.  Consumers use GetURI() to get the URI instead of raw access to mURI, and GetURI calls NS_NewURI as needed.
2011-05-11 11:28:53 -04:00
Jonathan Kew
420b112716 bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron 2011-05-04 12:14:50 +01:00
Masayuki Nakano
cc0623b6e3 Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky 2011-04-23 14:16:41 +09:00
L. David Baron
99635d0b74 Share code to compute timing functions. (Bug 651801, patch 2) r=bzbarsky 2011-04-21 20:17:30 -07:00
Robert O'Callahan
763a5f47a7 Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones 2011-04-19 15:07:22 +12:00
L. David Baron
7e86462271 ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
46a3aba4b3 Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky 2011-04-11 23:18:42 -07:00
L. David Baron
9f841c864a Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky 2011-04-11 23:18:42 -07:00
Masayuki Nakano
264109812b Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky 2011-03-31 21:26:35 +09:00
Robert O'Callahan
e946441ff1 Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
49d4e095a0 Bug 593604. Part 5: Mark CSS gradient images as opaque when all their stops are opaque. r=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Mats Palmgren
59244db4d6 "ASSERTION: We should have padding here" with abs pos, overflow:scroll. r=roc a=blocking2.0:final 2010-11-09 22:14:05 +01:00
Daniel Holbert
27a432d4a3 Bug 600574 part 2: Check for SVG images with viewBox in nsStyleBackground::Layer::RenderingMightDependOnFrameSize. r=bz r=longsonr a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
Daniel Holbert
59c52c95d8 Bug 600574 part 1: Move nsStyleBackground::Layer::RenderingMightDependOnFrameSize to .cpp file. r=bz a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
L. David Baron
06bd2147cd Support calc() on background-position, background-size, -moz-transform-origin, and background-image gradient stop positions. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
(Note:  this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
2010-09-15 08:11:26 -07:00
L. David Baron
d79b3f75c2 Change storage of background-size and background-position to allow percentages and lengths. (Bug 594934) r=bzbarsky a=blocking2.0:betaN 2010-09-15 08:11:26 -07:00
L. David Baron
8aaf22a0f4 Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:45 -07:00
Bobby Holley
dbade7f8ac Bug 592493 - Register border-images with the document image tracker.r=dbaron 2010-09-07 17:30:40 -07:00
L. David Baron
26ed2a5639 Add support for calc() to 'vertical-align' and 'text-indent'. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+ 2010-08-31 12:05:12 -04:00
L. David Baron
ed01917887 Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+ 2010-08-31 12:05:12 -04:00
L. David Baron
065207f2c7 Add support for calc() to the 'top', 'right', 'bottom', and 'left' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
b99a005c4c Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837 Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Bobby Holley
dc8b4d0852 bug 512260 - part 6 - lock images in nsStyleList::SetListStyleImage.r=dbaron,a=blocker 2010-08-16 12:23:09 -04:00
Bobby Holley
20c25243b6 bug 512260 - part 5 - make nsCursorImage::mImage private, add getter/setter, and lock images in the setter.r=dbaron,a=blocker 2010-08-16 12:19:26 -04:00
Bobby Holley
b3f5a9dc56 bug 512260 - part 4 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleContentData.r=dbaron,a=blocker 2010-08-06 13:27:01 -04:00
Bobby Holley
250fbc04bd bug 512260 - part 3 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleBackground.r=dbaron,a=blocker 2010-08-05 17:57:18 -04:00
Bobby Holley
6788ead45a bug 512260 - part 2 - Make ImageRenderer take a pointer to nsStyleImage rather than making a copy.r=dbaron,a=blocker 2010-08-05 17:30:19 -04:00
Markus Stange
3df2a2ce8e Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron 2010-08-13 15:33:37 +02:00
L. David Baron
ee89e22866 Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
L. David Baron
462a888804 Consolidate code for determining when widths and heights depend on a container. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
8e80eed347 Make the style struct store the specified transform list so that we can animate matching lists without matrix decomposition. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
timeless
83499da47b Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
timeless
97c43a3297 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
L. David Baron
1e8873bdf4 Make style contexts know if they are the if-visited style. (Bug 557287) r=bzbarsky 2010-04-06 12:42:41 -07:00
L. David Baron
4f2f50bd5a Add mechanism for separate style data for visited style. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Daniel Holbert
aa26889b7f Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
17d9b970b2 Backed out changeset afcaf3670c21 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:59 -07:00
Daniel Holbert
83bf8f3bd3 Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc 2010-04-01 08:08:51 -07:00
Neil Deakin
4f0034acef Bug 442228, add -moz-resize property to indicate that elements are resizable, r=dbaron 2010-03-19 07:49:33 -04:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
L. David Baron
24c692cc7f Add support for animation of nsRect values. (Bug 520488) r=bzbarsky 2009-12-21 16:46:25 -05:00
Zack Weinberg
d676634e05 Bug 532721: follow-up tweaks and bustage fix. r=roc 2009-12-15 19:01:01 -08:00
Zack Weinberg
09a37c1c23 Bug 532721: less conservative detection of gradients with size dependence. r=dbaron 2009-12-15 12:34:19 -08:00
Zack Weinberg
86ab0ff298 Bug 532721. Be aware that gradient background rendering depends on the size of the containing frame. r=dbaron 2009-12-16 09:08:59 +13:00
Robert Longson
819b6997d7 Bug 523576 - Fix compilation with disable-svg. r=dbaron 2009-12-12 19:43:34 +00:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00