John Daggett
f9e721b5df
Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron.
2009-01-13 14:16:58 +09:00
Jesse Ruderman
118aad7d87
Add crashtest
2009-01-12 16:24:44 -08:00
Benjamin Smedberg
08c8aadf40
Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
...
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05:00
Benjamin Smedberg
24e7cb1f78
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
Phil Ringnalda
b6fe1a7700
Builds are neccesary, even if you can spell necessary, and even in a CLOSED TREE
2009-01-11 00:46:35 -08:00
L. David Baron
f493486819
Address my own review comment: Restore IsTransparent() check, which should restore old behavior for background-images when printing backgrounds is disabled. (Bug 456219) r=zwol
2009-01-10 08:37:01 -08:00
L. David Baron
931397a7d2
More tests for outside cases for rule 3.
2009-01-10 08:28:15 -08:00
Mats Palmgren ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
b06807d54b
Put the root element in the undisplayed map so that we reconstruct it when it has its 'display' changed from 'none' to something else. (Bug 283686) r+sr=bzbarsky
2009-01-10 08:28:15 -08:00
Benjamin Smedberg
50621e4f9f
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
d0b948876f
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
Dave Townsend
0587e6973b
Backed out changeset fe759e3fd895 from bug 469613 due to mochitest failures
2009-01-09 13:46:45 +00:00
Markus Stange
061513f78b
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
2009-01-09 10:05:24 +01:00
Michael Ventnor
318cfd2e10
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
dacf4ab104
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-09 13:28:32 +13:00
Robert O'Callahan
cca5e6840b
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2009-01-09 13:23:28 +13:00
Robert O'Callahan
ec55ad45cf
Bug 440149. Don't break after empty text at the start of the line, even if we're past the available width. r=smontagu
2009-01-09 13:13:45 +13:00
Robert O'Callahan
28a011aa13
Bug 467481. Don't reorder the children of listboxbody frames using their ordinals. r+sr=bzbarsky
2009-01-09 13:11:30 +13:00
L. David Baron
c5748176c1
Make reftest test for assertions on individual tests. (Temporarily disabled until tinderboxes set up and manifests annotated.) (Bug 472557) r=Waldo
2009-01-08 13:50:21 -08:00
Mats Palmgren
6d4b0667d0
DEBUG: Make nsBlockFrame::List really print the overflow lines. b=472193 r+sr=roc
2009-01-08 22:17:53 +01:00
Uri Bernstein
def95c60da
Set mMaintainRange to null when there is no selection. b=470212 r=mats sr=roc
2009-01-08 22:17:49 +01:00
Robert O'Callahan
6b943be957
Backed out changeset 5041ce453104
2009-01-08 23:19:21 +13:00
Zack Weinberg
25f522098f
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
...
--HG--
extra : rebase_source : ec710fd6f83332fcecaa926b1f0ec07e4d2e3635
2009-01-08 21:10:21 +13:00
Robert O'Callahan
f708c8026e
Bug 425981. Make first-letter frame wrapping build its own frame constructor state to ensure it's for the correct place in the frame tree. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 7dd5de3f6b2a9e83994d7023d4cfafce205e9376
2009-01-08 21:07:51 +13:00
John Daggett
a984a545e8
change crashtest for 472237 to use local font
2009-01-08 17:36:24 +09:00
Boris Zbarsky
95874e95d3
Bug 472500. Allow generated content on XUL frames. r+sr=roc
2009-01-07 18:22:08 -05:00
Boris Zbarsky
835c17ffde
Bug 472501. Add XUL namespace checks in some more places where they're needed, and make the XBL suppression of child frame processing work for all frames, not just XUL. r=enndeakin, sr=roc
2009-01-07 18:22:05 -05:00
L. David Baron
ae1b0746fd
Split insert-rule-1 into two tests, each of which inserts only one rule, so that we can remove reftest-wait at the right time and make the test reliable. (Bug 472267)
...
--HG--
rename : layout/reftests/font-face/insert-rule-1.html => layout/reftests/font-face/insert-rule-1a.html
rename : layout/reftests/font-face/insert-rule-1.html => layout/reftests/font-face/insert-rule-1b.html
2009-01-07 14:37:01 -08:00
Robert O'Callahan
4659c94f44
Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad
2009-01-07 21:31:36 +13:00
John Daggett
6e4652a0a0
Bug 472237 - check for null user font set before using. r+sr=dbaron
2009-01-07 13:45:41 +09:00
Jesse Ruderman
22cd32241d
Add five crashtests
2009-01-06 16:47:56 -08:00
Boris Zbarsky
709cd54c51
Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc
2009-01-06 17:29:50 -05:00
L. David Baron
ae71ba3f9c
Change code for handling out-of-nscoord-range values from NS_NOTREACHED to NS_WARNING. (Bug 472218) r+sr=roc
2009-01-06 15:21:00 -08:00
L. David Baron
56e0a57776
Fix tests to match what they should have been testing, and fix nsFloatManager behavior to match what the old code actually did as far as considering floats at the side that did not protrude into the containing block. (Bug 472252) r+sr=roc
2009-01-06 15:21:00 -08:00
L. David Baron
add2ce5a81
Add nsTArray<E>::TruncateLength, which is like SetLength, except only allows shortening of the array. (Bug 191448) r=bsmedberg
2009-01-06 15:21:00 -08:00
Neil Rashbrook
5c47786c30
Bug 249141 Incorrect ellipsis width calculation when all text cropped from right r=Enn sr=roc
2009-01-06 21:35:18 +00:00
Benjamin Smedberg
720c4f5577
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Neil Deakin
7dd8ac103b
Bug 342619, don't resize context menus when they would fit on the screen, r+sr=roc
2009-01-06 14:21:23 -05:00
Boris Zbarsky
6925343822
Bug 472322. Don't treat non-XUL listboxbody/listitem specially in XUL frame construction. r=enndeakin, sr=roc
2009-01-06 14:18:04 -05:00
Boris Zbarsky
1ce2a69367
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
Markus Stange
f58c5b74f4
Fix failing reftest for bug 470711
2009-01-06 18:21:17 +01:00
Henrik Skupin
3082428fd8
Reftest for bug 462233, r=bzbarsky
2009-01-06 16:46:40 +01:00
Markus Stange
edf46137eb
Reftest for bug 470711, r=roc
2009-01-06 16:46:19 +01:00
Robert O'Callahan
fc6a9b80a5
Disable reftests with random failures (probably) exposed by invalidation-reftest system
2009-01-06 21:54:02 +13:00
Robert O'Callahan
ab2262d328
Disable failing invalidation+zooming test
...
--HG--
extra : rebase_source : 3876a220b4fc20e8d88622a895193edf6a7069ef
2009-01-06 15:32:55 +13:00
Boris Zbarsky
7663cfbf76
Bug 291854. Push float containing blocks inside ProcessChildren. r+sr=roc
2009-01-05 20:54:32 -05:00
Robert O'Callahan
b4af72fc54
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
Boris Zbarsky
60aefffa14
Bug 472138. Push CreateAnonymousFrames into ProcessChildren. r+sr=roc
2009-01-05 17:25:33 -05:00
Boris Zbarsky
e240a880db
Bug 472138. Eliminate unused or unnecessary CreateAnonymousFrames args. r+sr=roc
2009-01-05 17:25:31 -05:00
Boris Zbarsky
0e1f66b41d
merge backout of bug 437366.
2009-01-05 17:05:03 -05:00
Boris Zbarsky
a9607d9d3b
Backed out changeset f87b46d44d22 (bug 437366)
2009-01-05 17:04:28 -05:00