Benjamin Smedberg
7a084ac404
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
991a16d8bc
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Michael Ventnor
8d8b00c8e5
Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc
2009-01-09 13:29:38 +13:00
Zack Weinberg
0cc7758a9f
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-09 13:28:32 +13:00
Robert O'Callahan
fb7d95f1e9
Backed out changeset 5041ce453104
2009-01-08 23:19:21 +13:00
Zack Weinberg
440b3cac59
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-08 21:10:21 +13:00
Michael Ventnor
da9e4d7b4b
Bug 445741. Round rects consistently to avoid a gap between an element and its shadow. r+sr=roc
2009-01-05 13:41:01 +13:00
Michael Ventnor
81bf6790df
Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir
2008-12-06 19:54:36 +01:00
Michael Ventnor
8325d1cfe2
Bug 458031. Take dirty rect into account to limit box-shadow computation. r+sr=roc
2008-12-03 10:16:22 +13:00
Robert O'Callahan
0946f729ee
Bug 463952. Expand destArea according to CSS background-repeat *before* intersecting with bgClipArea, instead of after. r+sr=dbaron
2008-11-26 11:19:34 +13:00
Robert O'Callahan
2ad201e3df
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Zack Weinberg
4f543d7ed0
Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc
2008-10-30 12:54:58 +03:30
L. David Baron
e7ff044de6
Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:44 -07:00
L. David Baron
3d410b3fa9
Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:17 -07:00
Masayuki Nakano
77680216ee
Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc
2008-10-28 11:05:38 +09:00
L. David Baron
34a4887a9b
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2008-10-11 20:49:42 -04:00
L. David Baron
ef8e61306f
Fix glitches in border-image drawing. (Bug 449647) r=robarnold, sr=vlad
2008-10-07 15:10:19 -07:00
Zack Weinberg
a0a9cf6229
Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron]
2008-10-01 00:50:52 -05:00
Zack Weinberg
4a88677c9a
Bug 457617 - Remove one unused function and one vestigial function declaration from nsCSSRendering.cpp [r+sr=roc]
2008-10-01 00:43:02 -05:00
Robert O'Callahan
247c01e3bb
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
32d2314112
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Taras Glek
958b0a71cc
bug 457119: nuke nsCSSRendering::FillPolygon. r+sr=roc
2008-09-25 18:46:06 -07:00
Robert O'Callahan
ab507b7a60
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
e2ebf884de
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Vladimir Vukicevic
099e3af7df
b=450178; add generic 8-bit alpha box blur in thebes (patch from Eric Bulter); r=vlad
2008-09-25 12:53:09 -07:00
Vladimir Vukicevic
ec0a14faf6
b=455976; wrong extend mode used for macosx for border-image
2008-09-25 12:49:55 -07:00
Zack Weinberg
d6490a813c
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 2; r+sr=roc
2008-09-25 18:03:15 +02:00
Zack Weinberg
3c23960489
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc
2008-09-25 17:53:27 +02:00
Zack Weinberg
6e07dbd270
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00
Zack Weinberg
34c7b9ccd1
Bug 455217 - Selection colors for plain text files is wrong (white background, blue text instead of blue background, white text); "code" part; r+sr=dbaron
2008-09-19 19:06:46 +02:00
L. David Baron
c1a128dc55
Convert text-shadow and box-shadow storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
L. David Baron
5604eb1d12
Convert outline offset storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky
2008-09-12 20:45:37 -07:00
Zack Weinberg
10783b33d6
Bug 453566 - HTML element with rgba(0,0,0,0) background produces garbage on screen. r+sr=roc
2008-09-12 08:36:53 -07:00
Zack Weinberg
c0d565ccfa
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
Robert O'Callahan
ca815c8c3b
Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats
2008-09-11 12:24:16 +12:00
Robert O'Callahan
77f1eeb281
Bug 450350. Don't let the tiled vs single-image drawing path choice depend on the dirty area, since the rendering results can differ. r+sr=dbaron
2008-08-25 21:05:15 +12:00
Michael Ventnor
98ac1a87a4
Bug 447044 – First -moz-box-shadow not drawn when second one has large blur value. r=roc
2008-08-13 08:27:47 +02:00
Robert O'Callahan
4ae29503f5
Bug 449324. When an element has a solid border, clip background painting to the padding-rect so we don't bother trying to tile a repeating background under the border area. r+sr=vlad
2008-08-13 15:11:35 +12:00
Rob Arnold
5e2a617c8a
Implement Aero Glass effect support - bug 418454 r=vlad r=roc
2008-08-12 17:44:14 -07:00
Robert O'Callahan
5104514d8f
Bug 438987. Propagate background color correctly when the root element is a table. Relanding with a crash fix. r+sr=dbaron
2008-08-08 20:21:13 +12:00
Robert O'Callahan
11f74adf1a
Bug 438987, backing out
2008-08-08 15:34:43 +12:00
Robert O'Callahan
3de083aee1
Bug 438987. Propagate background color correctly when the root element is a table. r+sr=dbaron
2008-08-08 13:52:41 +12:00
Zack Weinberg
a293f973ab
Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad
2008-08-06 12:33:18 +02:00
Michael Ventnor
4feadbb042
Bug 448903. Fix bounds checking in blur code. r+sr=roc
2008-08-04 14:18:46 +12:00
Markus Stange
5ca403efdf
Bug 446463 - DrawWidgetBackground can't snap to pixels properly, remove translation. r+sr=roc.
2008-07-27 18:08:51 +02:00
Vladimir Vukicevic
5c476f5935
b=424423, border rendering is slow: Part 1; r+sr=roc
2008-07-23 10:25:23 -07:00
Andrew Smith
925ffa073b
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
f51a50d4ed
Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
2008-07-16 22:59:14 -07:00
Andrew Smith
97a13b7ef1
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
Michael Ventnor
3ad3493d50
Bug 444925 – Crash [@ nsContextBoxBlur::BoxBlurHorizontal] with mathml:munderover and text-shadow. r+sr=roc
2008-07-14 12:35:15 +02:00