Commit Graph

531 Commits

Author SHA1 Message Date
John Daggett
44a646f461 Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09:00
L. David Baron
bbbfcb0aa0 Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+ 2008-12-08 08:08:05 -08:00
Zack Weinberg
670d0e7f97 Bug 460217 - handle @font-face block without family name correctly in nsCSSRuleProcessor - r+sr=dbaron 2008-12-04 21:01:37 -08:00
L. David Baron
dd1a601348 Allow PostRebuildAllStyleData to be called with an aExtraHint. (Bug 458878) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
27bd6b26d3 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
df2c2a3e08 Don't assert when we call GetUserFontSet during frame construction. (Bug 466756) r+sr=bzbarsky a191=beltzner 2008-11-27 12:31:04 -08:00
John Daggett
7615338769 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
L. David Baron
828bdaa11a Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
e9dd8061a0 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
3c80bfb76d Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:02 -08:00
L. David Baron
c4710e88e5 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Boris Zbarsky
cb29e30ca0 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2009-01-06 14:17:05 -05:00
Robert O'Callahan
d7d9778991 Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron 2009-01-06 14:15:13 +13:00
Mats Palmgren
ea00d9ae0e Fix various mistakes in handling of mBorderImageLoaders. (Bug 446328) r+sr=dbaron 2008-10-28 14:38:37 -07:00
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
L. David Baron
250efc1f3d Merge backout of changeset 7f708623bf59 (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:35:18 -07:00
L. David Baron
e15d03d4ce Backed out changeset 7f708623bf59 (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:34:03 -07:00
Olli Pettay
0fb9d83d3e Bug 459663 - Crash [@ nsEventDispatcher::Dispatch], r+sr=roc 2008-10-18 23:10:19 +03:00
Robert O'Callahan
c23d96582e Bug 455988. Optimize MozAfterPaint so we never even dispatch an XPCOM event if there are no listeners. r=smaug,sr=mats 2008-10-16 10:06:32 +13: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
4ba74a72e0 Rename nsImageLoader to nsImageLoadNotifier, since it doesn't actually load images. (Bug 322475) r+sr=bzbarsky 2008-10-11 20:49:42 -04:00
Arpad Borsos
1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
9a95b73613 Bug 458984: dead stuff in nsPresContext r=roc 2008-10-09 13:46:43 -07:00
Brad Lassey
62875f296c Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc 2008-10-08 19:28:31 -04:00
John Daggett
6e43b8783a Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09: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
Robert O'Callahan
bee2844b64 Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Rob Arnold
2e4fe925a0 -moz-system-metric selector doesn't update when the theme changes - bug 447045 r+sr=dbaron 2008-08-05 13:02:43 -07:00
L. David Baron
233883e095 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
ba8ce13322 Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -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
Simon Montagu
5e37057a2d Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
34fdcdc3b9 b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 16:12:45 -07:00
7dec1246a5 backing out 2008-04-20 01:24:42 -07:00
a78898baf6 b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-19 23:42:00 -07:00
1c8607b1e0 Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
00aa454d3f Speed up page zoom by skipping the unnecessary resize reflow when we tell the viewmanager about its new size, since we plan to go ahead and do a full dirty reflow right after that. Bug 403660, patch by Daniel Brooks <db48x@yahoo.com>, r=bzbarsky, sr=roc 2008-01-28 20:10:59 -08:00
36e749a35a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
fd3e382209 backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
c325f84c55 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
e440c6b7cd Don't call GetViewManager() if 'mShell' is null. b=408216 r+sr=roc a=blocking1.9 2007-12-16 20:59:59 -08:00
f45eacc2c4 Bug 403067. mVisibleArea may get stale so use GetWindowDimensions() when we're going to do a SetWindowDimensions() with new dimensions. r+sr=dbaron 2007-12-11 18:27:00 -08:00
a34224c160 bug 405483: explicitly sync devicecontext scale to prescontext scale upon prescontext initialization, fixing bug where web pages would either be too small (with scrollbars in the middle of the viewport) or too big (with scrollbars offscreen) when loaded if the previous page loaded in that tab had a non-default full zoom value; r+sr=roc 2007-11-26 20:54:30 -08:00
5d1b5e99fa bug 385224: optimize performance of site-specific preferences; r=mconnor,roc 2007-11-26 00:35:22 -08:00
3285a45527 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
e6ee96dec0 Bug 391868 - "Page Source very small with meta charset=windows-1258" [p=chris@pearce.org.nz (Chris Pearce) r+sr=dbaron a=blocking1.9+] 2007-10-11 15:54:18 -07:00
3b6b080a64 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc 2007-10-08 16:11:01 -07:00