Граф коммитов

1769 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 37934236d9 Bug 495385. Text inputs should set the white-space style of the anonymous inner div when that div is created, not later when it will trigger a restyle. r+sr=bzbarsky
--HG--
extra : rebase_source : bef3008f365592d754039e74bac0b428a8c84794
2009-06-13 21:16:27 +12:00
Neil Deakin fc4e632aa1 Bug 404766, right click on a bookmark menuitem closes it instead of opening another context menu, r+sr=roc 2009-06-12 14:23:16 -04:00
Robert O'Callahan d47464bb7b Bug 496840. Make dynamic insertion and removal of legends work in the presence of multiple legends. r+sr=bzbarsky
--HG--
extra : rebase_source : c11c9ac211575f01ac810eac7c1feb684ed76d7a
2009-06-12 14:01:05 +12:00
Neil Deakin c78cc06ad6 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen 5ce5655c12 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Robert O'Callahan d4bcb6458c Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner 2009-05-28 17:01:42 +12:00
Boris Zbarsky d03a116215 Bug 492387. Flush out content notifications before initing our editor. r+sr=jst 2009-05-19 10:49:57 -04:00
Karl Tomlinson 1a34a67e20 b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
Robert O'Callahan 2c7f8533bf Bug 463350. Don't allow fieldsets to break vertically. r+sr=dbaron
--HG--
extra : rebase_source : b40a725617805871f6c463f630099390749ca2a0
2009-05-08 13:55:22 +12:00
L. David Baron bd3965a189 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Bob Clary a3f2b448ea bug 378670 - mochikit test by Martijn Wargers. 2009-04-24 10:08:18 -07:00
Bob Clary 79e356924c bug 343510 - crash test by Martijn Wargers. 2009-04-24 10:08:13 -07:00
Bob Clary cc5e007233 bug 317502 - crash test by David Baron. 2009-04-24 10:08:09 -07:00
L. David Baron a41abfb92e Remove some unused AddRef/Release methods on frame classes. (Bug 488774) r+sr=roc 2009-04-22 10:13:48 -07:00
Olli Pettay a0e39130ad Bug 489224 - Printing doesn't print text field values, r+sr=roc 2009-04-22 12:35:45 +03:00
Dão Gottwald 22c6682386 Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2009-04-10 10:24:24 +02:00
Zack Weinberg 4908551014 Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc 2009-04-03 10:45:17 +02:00
Dão Gottwald 2be40fed8f Backed out changeset cc4fae01938c 2009-04-02 12:03:52 +02:00
Zack Weinberg 26daaa1428 Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc 2009-04-02 09:57:13 +02:00
Jeremy D. Lea d37e6bf09c Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Martijn Wargers 72f01993d8 Adding crashtest 2009-03-16 20:52:30 -04:00
Martijn Wargers 563e81691f Mochitest for bug 478219 2009-03-16 13:21:28 -04:00
Boris Zbarsky d430566602 Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking 2009-03-16 07:50:04 -04:00
Dão Gottwald 7c129c93b3 Backed out changeset 12e163f4f272 2009-03-16 15:00:57 +01:00
Boris Zbarsky 322820f523 Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking 2009-03-16 07:50:04 -04:00
Olli Pettay 75904cb6f2 Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Jonas Sicking d5a0ae67c7 Bug 431098: Make pressing 'cancel' in the file picker clear the file upload control. r/sr=bz
--HG--
extra : rebase_source : fb5a6deb1984475e55dd03ef7607044c5ce75bcb
2009-03-09 23:14:57 -07:00
Mats Palmgren 4f4d8a567d Remove unnecessary #includes. b=462203 r+sr=roc 2009-02-19 21:18:49 +01:00
Boris Zbarsky 66bd405efc Bug 400226. Do text redisplay as soon as it's safe, not after a trip to the event loop. r+sr=mats 2009-02-17 22:27:25 -05:00
Boris Zbarsky 178aac4c56 Bug 477700. Push a null JSContext around editor init, so it'll work no matter what JS is on the stack. r+sr=smaug 2009-02-16 09:11:41 -05:00
Jesse Ruderman 81b4a03e38 Add crashtests 2009-02-13 14:54:17 -08:00
Michael Ventnor 6784138b72 Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky
--HG--
extra : rebase_source : 03d1be9b5742e8d17114aaeb0b5de20d61926d51
2009-02-11 14:19:37 +13:00
Jesse Ruderman e0ff240014 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Michael Ventnor 7a2af3b188 Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron 2009-02-10 21:45:13 +13:00
Michael Ventnor 6718129c1f Bug 476308. Box-shadows for buttons should not capture events. r+sr=roc 2009-02-05 21:22:02 +13:00
Arpad Borsos 6db605f5b3 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Olli Pettay 05ae0408fc Bug 476097, ASSERTION: killing mutation events with <input type=file>, r+sr=bz 2009-01-31 14:34:01 +02:00
Michael Ventnor a989975f0c Bug 475197. box-shadow should work on file input controls. r+sr=roc
--HG--
extra : rebase_source : ca08ac21ddb8c27c7348f87f6963a03cf6fcfa46
2009-01-30 20:10:25 +13:00
Boris Zbarsky 4645fc0d5c Adding test for bug 457537 2009-01-29 20:33:55 -05:00
Boris Zbarsky c23dc0b48e Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc 2009-01-29 14:46:17 -05:00
Michael Ventnor 33dffbe3c7 Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code. r+sr=roc 2009-01-28 22:28:14 +13:00
Michael Ventnor 4ec03cb43f Bug 123836 - Implement indeterminate property on checkboxes and radio buttons - r=roc,jst sr=roc 2009-01-22 13:07:44 +13:00
Boris Zbarsky bfa1216f9d Bug 473390 part 6. Move the flag-setting for file controls out of the frame constructor and into the frame implementation. r+sr=roc 2009-01-19 13:31:32 -05:00
Boris Zbarsky 3479245849 Bug 473390 part 5. Move the checkbox and radio face style code out of the frame constructor and into those frames. r+sr=roc 2009-01-19 13:31:32 -05:00
Boris Zbarsky a71a7fc3a2 Bug 473390 part 3. Move some HTML frame construction assertions out of the frame constructor and into the relevant frame creation methods. r+sr=roc 2009-01-19 13:31:31 -05:00
Boris Zbarsky 42028dd8b5 Bug 473390 part 2. Call SetInitialChildList on HTML frames even if the child list is empty, to bring HTML in line with everything else. r+sr=roc 2009-01-19 13:31:31 -05:00
Benjamin Smedberg c0b8dd79be 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

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg 507daffc50 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 b0f322f21c 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
L. David Baron 53ac2c7d8b Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc 2009-01-04 19:39:54 -05:00