Commit Graph

486 Commits

Author SHA1 Message Date
Daniel Holbert
079b3fce84 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
3a9110b475 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
7ce7b1a471 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
c7a3ab87f0 Add calc() support for two properties I missed: outline-width and column-gap. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
790d600cf8 Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
Bobby Holley
d01a81875a Bug 592493 - Register border-images with the document image tracker.r=dbaron 2010-09-07 17:30:40 -07:00
Robert O'Callahan
cb6cdf18f6 Bug 584494 - Regression: Transform rotation testcase performs significantly worse - r=dbaron 2010-09-02 14:07:37 -04:00
L. David Baron
fab2dbd5c5 Cache non-percent margin and padding calc() on the style struct. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+ 2010-08-31 12:05:12 -04:00
L. David Baron
3a8af703e8 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
bd750d1204 Introduce nsStyleCoord::HasPercent to check for either a percent value or a calc() value containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Bobby Holley
75a4f75303 bug 512260 - part 6 - lock images in nsStyleList::SetListStyleImage.r=dbaron,a=blocker 2010-08-16 12:23:09 -04:00
Bobby Holley
5479d587de 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
bd60a74c3c 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
e8e8178204 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
de12df7b3f 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
Robert O'Callahan
0b7f75a585 Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
58a657801b Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
a25344de87 Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron 2010-08-13 15:33:37 +02:00
L. David Baron
a08510dddd Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
Matt Woodrow
ce4c015d9e Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron 2010-08-02 15:07:04 +12:00
Robert O'Callahan
c4a5fa80b8 Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
93ca51abca Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron 2010-07-16 09:07:53 +12:00
Jonathan Kew
355ace69be bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
L. David Baron
165afa3e6b 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
Boris Zbarsky
bfe2f2d659 Bug 569006. Skip probing for ::before/::after during reresolve if we're not redoing matching on kids, since those can't appear/disappear without either a reframe or a change in what selectors we match. r=dbaron 2010-06-18 12:23:05 -04:00
Craig Topper
d130af344a Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Daniel Holbert
6b4f3e3594 Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
77d0c31b84 Backed out changeset afcaf3670c21 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:59 -07:00
Daniel Holbert
b9619d3b5f Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc 2010-04-01 08:08:51 -07:00
Neil Deakin
0787ffc5a1 Bug 442228, add -moz-resize property to indicate that elements are resizable, r=dbaron 2010-03-19 07:49:33 -04:00
Jonathan Kew
03f25c8581 Bug 547267 followup - rename nsPresContext::GetLanguage to GetLanguageFromCharset for clarity. r=dbaron 2010-02-26 06:20:35 -08:00
Jonathan Kew
fc5c3afffb Bug 547267 - make langGroup in nsStyleVisibility respect document's Content-Language if available. r=dbaron 2010-02-25 20:34:38 -08:00
Jonathan Kew
6fc148747f 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
Boris Zbarsky
3ded10287c Bug 534808. Need to clear descendant intrinsic widths on height changes, due to replaced elements. r=dbaron 2009-12-29 15:13:54 -05:00
Robert Longson
d2e2db213e Bug 523576 - Fix compilation with disable-svg. r=dbaron 2009-12-12 19:43:34 +00:00
L. David Baron
c07d1a4948 Stop transitions when -moz-transition-property changes to a value that no longer includes the transitioning property. (Bug 525530) r=bzbarsky 2009-12-11 08:13:19 -08:00
Zack Weinberg
f788a00b30 Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes 2009-11-02 11:36:43 -08:00
Boris Zbarsky
b35036b450 Bug 522390 followup. Fix test orange 2009-10-29 23:43:52 -04:00
Boris Zbarsky
cf4ccce030 Bug 507764. No need to reflow on z-index changes. r=roc 2009-10-29 21:47:46 -04:00
Boris Zbarsky
a90ccf71ef Bug 522390. Fix percentage-height kids of scrollframes in quirks mode to deal with the height of the scrollframe becoming auto. r=dbaron 2009-10-29 21:47:43 -04:00
L. David Baron
9b9b01512c Add bug numbers for the FIXME comments in CSS transitions patches. (Bug 435441) 2009-10-15 17:23:19 -07:00
Daniel Holbert
7fed72b7df Bug 517882 follow-up: Reorder nsStyleText constructor's initializer list to fix build warning. r=dbaron 2009-10-14 19:42:03 -07:00
L. David Baron
708c855cdc Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky 2009-10-13 19:38:20 -07:00
L. David Baron
909f20c7c8 Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
Geoff Lankow
c222694ceb 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
3400b82fef 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
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Bobby Holley
464b4712e3 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Jonathan Watt
f5c7d20889 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Ryo Kawaguchi
877947a93e 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