Commit Graph

5404 Commits

Author SHA1 Message Date
L. David Baron
8748f13aaf Make the quirks mode line height algorithm's check for bullets check whether there's a bullet rather than checking whether it's an HTML LI. (Bug 179596) r=roc 2009-08-10 19:48:42 -07:00
L. David Baron
7cc38c6fe9 When a block without lines has a bullet, give the line we fake its full line height. (Bug 179596) r=roc 2009-08-10 19:48:42 -07:00
Jonas Sicking
5f2141f841 Back out bug 431098 2009-08-10 16:40:29 -07:00
L. David Baron
9cec8d1994 Remove InspectorCSSUtils, part 4: Remove nsIInspectorCSSUtils and nsInspectorCSSUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
86aa2537d6 Remove InspectorCSSUtils, part 3: Remove the trivial methods and replace their callers with appropriate internal calls. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
a55abf81a2 Remove InspectorCSSUtils, part 2: Move remaining substantive code to inDOMUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
48c0c7d6aa Remove InspectorCSSUtils, part 1: Move GetStyleContextForContent to nsComputedDOMStyle. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
6c506cbb10 Run output of debug builds through fix-linux-stack/fix-macosx-stack. (Bug 385248) r=ted 2009-08-10 15:52:29 -07:00
L. David Baron
bcebc6f79b Add more parameters to nsStyleSet::ResolveStyleForRules. (Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
7fed030a73 Make computed style (and canvas text styling, which shares the same code) avoid using style data that was influenced by pseudo-elements. (Bug 505515) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
18c275e977 Add flags to pseudo-elements, and add one that says which ones are expected to contain elements. (Bug 505515) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
debaa63092 Make style contexts know whether they have data from a pseudo-element. (Bug 505515, Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
Daniel Holbert
b2cd896422 Bug 508692: Fix build warning - rename nsSubDocumentFrame method so it doesn't hide inherited method (s/GetMargin/GetMarginAttributes/) r=dbaron 2009-08-10 12:42:53 -07:00
Serge Gautherie
6ef7cd8550 Bug 504480 - runtests.py.in needs to do a '-silent' run first, as runreftest.py does; (Bv1) Fix runtests.py.in, Sync' runreftest.py; r=ted.mielczarek 2009-08-10 18:33:31 +02:00
Boris Zbarsky
37602b8380 Bug 508050. Make sure to reparent views when pulling overflows from our prevsibling. r=roc 2009-08-10 10:54:22 -04:00
Boris Zbarsky
0763ee7f97 Bug 509170. Correctly invalidate the canvas frame on resizes of the root element. r=roc 2009-08-10 10:54:22 -04:00
Boris Zbarsky
7abc642822 Bug 509155. Don't store outline structs in the rule tree if outline-color:inherit is set on the root element. r=dbaron 2009-08-10 10:54:22 -04:00
Boris Zbarsky
8beca21b20 Bug 509156. Don't assert on GetUniqueStyleData calls if we're using our parent's struct before the call. r=dbaron 2009-08-10 10:54:21 -04:00
Boris Zbarsky
0dfb4b8059 Bug 508900. Fix assertion due to us not unsetting all the bits we should unset. r=dbaron 2009-08-10 10:54:21 -04:00
Jesse Ruderman
56d3eef776 Bug 509269 - reftest should deal with missing root. r=dbaron. May fix 468211-3 orange, too. 2009-08-08 17:50:50 -07:00
Jesse Ruderman
c1ef11731a Add crashtests for bug 463350, bug 473278, and bug 493118 2009-08-08 16:00:38 -07:00
Jesse Ruderman
6125a23696 Add crashtest for bug 460900 2009-08-08 16:00:33 -07:00
Jesse Ruderman
de49b52e4c Add crashtest for bug 420785 2009-08-08 15:32:58 -07:00
Jesse Ruderman
e6dacb0ff2 Add crashtest for bug 403148 2009-08-08 15:32:54 -07:00
Jesse Ruderman
8d34f7c669 Add reftest for bug 398682 2009-08-08 15:32:52 -07:00
Jesse Ruderman
d3576f5e58 Add reftest for bug 398095 2009-08-08 15:17:40 -07:00
Jesse Ruderman
8649aa61cd Bug 424780 - Typing into <select> dropdown can cause nsStringBuffer leak. r=sicking 2009-08-08 15:00:26 -07:00
L. David Baron
1233c40b2d Call InvalidateColumns more often. (Bug 506871) r=roc 2009-08-07 14:17:02 -07:00
Timothy Nikkel
312cc0762c Bug 497519 part 2. Only do special handling for legends whose content parnt is an HTML fieldset. bzbarsky 2009-08-07 15:51:25 -04:00
Timothy Nikkel
bb8491a3fd Bug 497519 part 1. Clear the undisplayed map correctly in the presence of XBL. r=dbaron,bzbarsky 2009-08-07 15:51:25 -04:00
Boris Zbarsky
f7cd534013 Bug 415394. Don't let the listbox row-munging kill our block wrapper, if we have one. r=dbaron 2009-08-07 15:51:25 -04:00
Wan-Teh Chang
f7beea55b8 Merge 2009-08-07 08:57:53 -07:00
Benjamin Smedberg
96f048b425 Fix static-analysis bustage by using treehydra instead of dehydra. My theory is that the dehydra type cache is becoming confused by GCC tree GC which is reusing tree pointers for different types. 2009-08-07 11:16:26 -04:00
Masayuki Nakano
f9802cc670 Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc 2009-08-08 00:11:17 +09:00
Boris Zbarsky
47a8214709 Bug 508919. Stop leaking nsStyleBorder objects. r=dbaron 2009-08-07 10:38:44 -04:00
Robert O'Callahan
a4fec52cd4 Bug 506615. XUL decks should not have wididgets. r=dbaron 2009-07-30 14:54:42 +12:00
Michael Ventnor
8ae6cd75f4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky
8c97ee0a3d Bug 507487: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 2: fix RuleHash to hash tag selectors twice when needed. r=dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky
92589bee61 Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron 2009-08-01 08:53:40 -07:00
L. David Baron
84a64e5bc2 Bug 434733: Additional tests. 2009-08-01 08:53:40 -07:00
Makoto Kato
292748dbba Bug 434733: Don't apply width on colgroups to columns that have their own width. r=dbaron 2009-08-01 08:53:40 -07:00
L. David Baron
a24f75b42e Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky
--HG--
rename : layout/style/nsIStyleRuleProcessor.h => layout/style/nsRuleProcessorData.h
2009-08-01 08:53:40 -07:00
L. David Baron
6fb9ce56f5 Don't resolve a new context for the root when we're computing rem units for the root. (Bug 478321) r=bzbarsky 2009-08-01 08:53:40 -07:00
L. David Baron
ee5e6740c7 Merge backout of changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:40:17 -07:00
L. David Baron
36c7b60c0c Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
Dão Gottwald
bf4108370b Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
61ed5fe1e2 Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Jeff Walden
9fcfc548de Linux scaling behavior differs from elsewhere, so this test doesn't fail there (followup to bug 189519 to hopefully reopen a CLOSED TREE) 2009-07-30 15:40:12 -07:00
Shawn Wilsher
a725e79692 Merge for back out of changeset 8506b25206cf (bug 504311) because the test added uses enablePrivilege which hangs tinderbox asking for privileges. Trying to fix a CLOSED TREE. 2009-07-30 13:17:18 -07:00
Shawn Wilsher
d1706205b3 Backed out changeset 8506b25206cf (bug 504311) because the test added uses enablePrivilege which hangs tinderbox asking for privileges. 2009-07-30 13:16:15 -07:00
David Zbarsky
eab4105f16 Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
Boris Zbarsky
f2936464e5 Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Boris Zbarsky
6e2c80851a Bug 496500. Don't try to interrupt on lines we're not actually reflowing, since during a resize on Windows HasPendingInputEvent returns true while the mouse is down. r+sr=roc 2009-07-30 11:53:36 -04:00
Robert O'Callahan
44f0df34e5 Backing out bug 506615 to fix mochitest failures 2009-07-30 22:06:23 +12:00
Robert O'Callahan
c4703dc12d Backed out changeset c353fe809be0 2009-07-30 22:06:02 +12:00
Alexander Surkov
bfc59d9a35 Bug 452564 - can't create accessibles for table children when visibility style of table is changed, r=ginn.chen, sr=roc 2009-07-30 15:55:51 +08:00
Robert O'Callahan
b029d9ac28 Bug 504311. Don't reframe text when white-space changes between preformatted values, or between non-preformatted values. r=bz
--HG--
extra : rebase_source : 7f545ad1d85bcda74d18d9308539b45149a4a194
2009-07-30 15:02:22 +12:00
Robert O'Callahan
82ace80f84 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Robert O'Callahan
feb5fde3fc Bug 506304. Walk all the way up to the nearest widget when computing event coordinates for windowless plugins. r=bz
--HG--
extra : rebase_source : be25ce5ffbae7c90cf0b211ae818046873b6e09a
2009-07-30 14:56:52 +12:00
Robert O'Callahan
ad539ed40b Bug 506615. XUL decks should not have wididgets. r=dbaron
--HG--
extra : rebase_source : 5d6728b11a121565f828f27e8abed5e0172aa069
2009-07-30 14:54:42 +12:00
Robert O'Callahan
b26bf31d5e Bug 467914. GetOverflowRectRelativeToSelf shouldn't always expect a preEffectsBBox. r=dbaron
--HG--
extra : rebase_source : cc6cd0bf3f4b11785b85baeaf74bd9ef7725c42f
2009-07-30 14:48:13 +12:00
Boris Zbarsky
4d29dd668e This test is testing stuff that is just not true anymore now 2009-07-29 22:28:29 -04:00
Timothy Nikkel
24844a2db3 Bug 504269. background color of iframe not drawn on print. r+sr=roc 2009-07-29 18:10:50 -04:00
Timothy Nikkel
c28e754020 Bug 503814. iframe contents shifted slightly due to rounding issue. r+sr=roc 2009-07-29 18:10:50 -04:00
Timothy Nikkel
6788e65ce3 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Neil Deakin
5303f25260 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
Boris Zbarsky
209e31bf48 Relanding bug 496823 in the hopes that it's not causing the XP Txul issue.
--HG--
extra : rebase_source : 593d43b5c229e077e4454d848dba59265dee6b58
2009-07-29 08:53:27 -04:00
Jonathan Griffin
5be7c83a1a add reftest for bug 467472 2009-07-28 17:26:39 -07:00
Boris Zbarsky
b4eb9b7084 Backed out changeset 622a29736f33 to see whether bug 496823 causes the WinXP Txul regression.
--HG--
extra : rebase_source : 450a2a83442a2326e303f97ad82d8213fbe11490
2009-07-28 14:35:28 -04:00
Boris Zbarsky
d5f00639ad Make this test actually test the right thing 2009-07-28 13:19:17 -04:00
Boris Zbarsky
cc46915a25 Followup for bug 504221 to fix debug orange. Have to hold on to an object, not a reference, if the thing passed in might be a temporary. 2009-07-28 11:04:45 -04:00
Boris Zbarsky
2a109b5e0a Bug 504975. Go back to overriding HandleMultiplePress on various XUL frames. r=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
a2aaeadc49 Bug 504972. Remove some redundant code. r=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
5fefb45a48 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
9d47a166af Bug 504221 part 11. Switch the {ib}-split list munging to nsFrameList. r=fantasai,roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
cddaf1831c Bug 504221 part 10. Switch the first-line frame list munging to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
dca83c78dc Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
c749fe8981 Bug 504221 part 8. Make CreateAnonymousColFrames saner. r=bernd, sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
b5d9390d06 Bug 504221 part 7. Make nsFrameItems inherit from nsFrameList. rfantasai, r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
31d4329c40 Bug 504221 part 6. Switch nsBlockFrame::AddFrames to nsFrameList. r=fantasai,roc 2009-07-28 08:51:10 -04:00
Boris Zbarsky
db6ff446ab Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky
a345d5a408 Bug 504221 part 4. Switch MarkFramesForDisplayList to nsFrameList. r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky
b0259fd19b Bug 504221 part 3. Switch overflowFrames storage to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky
14796e6173 Bug 504221 part 2. Switch ReparentFrameViewList to nsFrameList. r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky
58ab0561e4 Bug 504221 part 1. Introduce framelist slice and enumerator classes and make the framelist versions of nsFrameList::AppendFrames/InsertFrames return a slice for the new frames. r=fantasai, r+sr=roc 2009-07-28 08:51:08 -04:00
Chris Pearce
01dab2e3fe Backout bug 502259 2009-07-28 16:30:11 +12:00
liucougar@gmail.com
642e174ae6 Bug 502259 - Make delete at end of paragraph work r+cpearce,sr+peterv 2009-07-28 14:04:36 +12:00
John Daggett
bee17b7b11 Bug 493976. Comment out Arabic tests on Windows which cause timeouts. 2009-07-27 15:41:56 -10:00
Ryo Kawaguchi
f8f1c8c15b Bug 506409: Merge Draw*ImageInternal methods into their Draw*Image callers, and fix a comment in imgIContainer.idl. patch=ryo r=roc 2009-07-27 16:48:13 -07:00
Daniel Holbert
bea913e356 Add missing reftest files for bug 506096 2009-07-27 13:54:30 -07:00
Daniel Holbert
447c7e4618 Bug 506096: In SVG Animation (SMIL), make sure to visit the underlying base value for first half of duration, in discrete-mode "to" animations. r+sr=roc 2009-07-27 13:52:19 -07:00
Timothy Nikkel
7d61af065e Bug 506602. fix "warning: recurring into frame construction" when there isn't anything wrong. r=bzbarsky 2009-07-27 13:19:58 -04:00
Michael Kohler
404670f1f3 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Boris Zbarsky
34df7918a4 Bug 496823. Blocks can implement GetLastChild() much faster than by just getting first child and iterating its siblings. r=roc 2009-07-26 21:27:32 -04:00
Robert O'Callahan
9b800f0c9f Bug 371839. Some simple selection rendering tests. r=bzbarsky
--HG--
extra : rebase_source : b90d4b4eb7d17cc32ab2b9cacc7b54c6a72b209f
2009-07-27 10:07:22 +12:00
Robert O'Callahan
4ef62fb0ed Bug 371839. Remove ParentDisablesSelection, which is effectively unused. r=bzbarsky
--HG--
extra : rebase_source : 920c501f033e026709ec15792cadbb2f24462a0a
2009-07-27 10:06:30 +12:00
Robert O'Callahan
14dbcb0874 Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Robert O'Callahan
fb7ad45e60 Bug 371839. Remove useless SetSelected implementations. r=bzbarsky
--HG--
extra : rebase_source : 57629a43328f3dbc97a5d0595186a32150722db4
2009-07-27 10:03:16 +12:00
Robert O'Callahan
520e8ceae9 Bug 505743. Fix nsHTMLScrollFrame::InvalidateInternal to not take the 'invalidation in scrollbar' path when there is no scrollbar. r=dbaron
--HG--
extra : rebase_source : 8709cdba8ea6f9776b61ff935c1c850573caff3a
2009-07-27 09:29:01 +12:00
Robert O'Callahan
274e556b1d Bug 505667. Don't need to check INVALIDATE_NOTIFY_ONLY in nsHTMLScrollFrame::InvalidateInternal. r=dbaron
--HG--
extra : rebase_source : fa04db29e722a9aea7aaf54c783d07c432d79cad
2009-07-27 09:27:54 +12:00