Commit Graph

25016 Commits

Author SHA1 Message Date
Daniel.S
7bb22adca4 Bug 477462: Create tests for margin collapsing, phase 3. r=dbaron 2009-08-14 14:59:45 -07:00
Hashem Masoud
b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Neil Rashbrook
157c6529e0 Bug 510323 Multiline <select> doesn't ignore middle clicks correctly r=smaug 2009-08-14 11:59:24 +01:00
Robert O'Callahan
b8e126f83c Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron 2009-08-13 19:09:51 -07:00
Robert O'Callahan
4ddd47e32d Bug 507334, part 1: Remove nsDisplaySummary optimization, since it introduces extra display items that would disable the optimizations in part 2. r=dbaron 2009-08-13 19:09:50 -07:00
L. David Baron
1af3c0529c Don't resolve a bogus non-element parent when we don't need to and it confuses things. (Bug 510071) r=bzbarsky 2009-08-13 19:09:49 -07:00
Markus Stange
f2ba84dee3 Bug 510149 - Changes to nsLayoutUtils::GetFrameTransparency. r=roc
--HG--
extra : rebase_source : 024d18340b423827524eb725d961d0907b90338d
2009-08-14 10:08:13 +12:00
Felipe Gomes
b0e97d0c8b Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug 2009-08-13 13:54:09 -07:00
Olli Pettay
f35e90abbe Bug 508373 - Generated content may cause reference loops, r=roc 2009-08-13 22:29:42 +03:00
Timothy Nikkel
b59153150f Bug 508927. Assuming that the binding parent of the listboxbody content is the listbox content (and hence parent of listitems) is just wrong. Use ChildIterator instead to access the XBL nodes of the listboxbody content and get the frame constructor to pass the listboxbody frame the right container. r=bzbarsky, a=beltzner for CLOSED TREE 2009-08-13 11:38:22 -04:00
Olli Pettay
bfc896c351 Bug 503639 - [Mac OS X] Right-click on menu from folder from bookmark bar triggers context menu, r=enn
--HG--
extra : rebase_source : 8d7d4a2ae4a5cf9fca6f7b4961b9ebd5ba79255f
2009-08-13 12:11:42 +03:00
Arpad Borsos
498f72af15 Bug 509380 - Optimize nsPeekOffsetStruct for memory usage; r+sr=roc 2009-08-10 09:47:11 +02:00
Jesse Ruderman
68b319d377 Add reftest for default width and height of <canvas> (bug 291285, bug 293225) 2009-08-12 20:07:02 -07:00
Timothy Nikkel
5d073a4d86 Bug 500063. "ASSERTION: Already have an undisplayed context entry for aContent" while running leak tests. r=bzbarsky 2009-08-12 18:35:28 -04:00
L. David Baron
e44eaaded8 Add additional test for :first-letter extension across pseudo-elements, and note failures with bug number now that bug has been filed. 2009-08-12 15:20:52 -07:00
Bobby Holley
920b3a1b0a Orange fix for bug 507902 tests. r=jwalden 2009-08-13 00:15:24 +02:00
Markus Stange
df51e1d007 Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc
--HG--
extra : rebase_source : fdf898d51147231f33df507d28d927924dc465b8
2009-08-13 08:48:30 +12:00
Boris Zbarsky
60dcec90a6 Adding some tests 2009-08-12 16:34:32 -04:00
Peter Van der Beken
144462aae3 Fix for bug 500850 (Make inline style use wrapper cache and slimwrappers), add unlinking. r/sr=bz.
--HG--
extra : rebase_source : ec60be3645c020dd171e0ea4866759d6a508799c
2009-08-10 16:15:49 +02:00
Bobby Holley
2958db9e76 Tests for bug 507902.r=joe 2009-08-12 16:23:39 +02:00
Bobby Holley
4275f152b5 Bug 507902 - nsImageFrame static Icon Loads should not use the mListener of the first instantiated nsImageFrame.r=bz,joe 2009-08-12 16:23:38 +02:00
Neil Deakin
d01476b77a Bug 230081, use proper cursors for frameset border resizing, r=dbaron 2009-08-12 10:03:35 -04:00
Olli Pettay
5575b12b86 Bug 501257 - Implement HTML 5's HTMLElement.classList property, p=sylvain.pasche@gmail.com, r=smaug, sr=sicking
--HG--
extra : rebase_source : cbbd5a5679af57f97122082213f44491431d87e3
2009-08-12 11:55:14 +03:00
timeless@mozdev.org
75dff8d71f Bug 507367 incorrect null check in nsSVGPatternFrame::GetTargetGeometry
r=jwatt
2009-08-12 11:49:55 +02:00
timeless@mozdev.org
3c817bcdd3 Bug 506645 nsTypedSelection::AddItem doesn't always null check aOutIndex
r=smaug
2009-08-12 11:49:55 +02:00
timeless@mozdev.org
0fcff0c86c Bug 506628 deadcode in nsPluginInstanceOwner::ProcessEventX11Composited
r=karlt
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
ce03efff0f Bug 506627 find_dest_id abuses XQueryTree
r=karlt
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
58d9ac5cce Bug 506258 nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree doesn't seem to use anchorFrame or anchorFrameOffset
r=roc
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
532204e19d Bug 506251 BuildTextRunsScanner::AssignTextRun does not use lastContent
r=roc
2009-08-12 11:49:54 +02:00
Karl Tomlinson
b7026b73e3 fix for ambiguous sqrt from dc8ef04fc953 b=297467
--HG--
extra : rebase_source : 79cea2a70f177f0d6709ec3c97b228ece1b4b48b
2009-08-12 12:04:42 +12:00
Michael Kohler
4b7c87c984 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Boris Zbarsky
1950f2e7c4 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
72e0fc455e 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
0489e01337 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
8bab94a96a 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
36956c156b Bug 371839. Remove useless SetSelected implementations. r=bzbarsky
--HG--
extra : rebase_source : 57629a43328f3dbc97a5d0595186a32150722db4
2009-07-27 10:03:16 +12:00
Robert O'Callahan
96958ecaea 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
df568d1074 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
Robert O'Callahan
075323ed3e Bug 505912. Trust the widget visibility in UpdateWidgetArea. r=dbaron
--HG--
extra : rebase_source : 4c6e1b2366b430763cce546ab0e26576705a0ca3
2009-07-27 09:17:43 +12:00
Olli Pettay
b6c65c4a7d Bug 375928, r=roc, sr=neil 2009-07-26 15:15:11 +03:00
John Daggett
82611359e3 Bug 493976. Move around Arabic reftest to see if it's the cause of reftest timeout problems. 2009-07-24 10:39:17 -10:00
Boris Zbarsky
09eadb9ca6 Bug 505482. Make sure to not leave frames on overflow lists when we interrupt reflow. Also fixes bug 478527 and bug 496742. r=roc 2009-07-24 09:32:32 -04:00
Frédéric Wang
e13641fddf b=297467 menclose r=karlt rs=roc 2009-05-29 13:08:35 +02:00
Jonathan Griffin
1a040ce855 Add invalidate reftest for bug 237766. r=dbaron 2009-08-11 10:58:12 -07:00
Jeff Walden
1fb19be474 Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Zack Weinberg
d859d678de Bug 486065. Hack nsCSSOffsetState::InitOffsets to zero out computed padding and borders when the scrollbar size is zero. r=dbaron
--HG--
extra : rebase_source : 92bcaee46ded00722e3fc86b4ca538e5f90f16ef
2009-07-30 15:43:22 +12:00
Ms2ger
ecce403995 Bug 506552. Fix testcase doctype. r=dbaron
--HG--
extra : rebase_source : ee371dbb3106880b1609e0d69d1824a3edb7a91e
2009-07-30 15:27:24 +12:00
John Daggett
b03ad17222 Bug 499621. Fix synthetic bolding of downloadable fonts on Windows. r=jkew 2009-07-23 11:22:24 -10:00
L. David Baron
db8021d58c Destroy frame properties right after destroying the frame tree so they're destroyed before the style set. (Bug 399994) r=roc 2009-07-23 07:40:18 -04:00
Jonathan Watt
24c8671d83 Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-23 10:35:59 +02:00
John Daggett
bef34be58f Bug 496573. Fix font load failure for fonts with family/fullname mismatch. r=vlad 2009-07-22 22:08:23 -10:00
Boris Zbarsky
8266b6450a Bug 503467. Rearrange the code a bit in ParseNumber to make it more readable. r=dbaron 2009-07-22 21:35:07 -04:00
Boris Zbarsky
2f720dd92d Bug 491180. <button> should not clip overflowing contents. r=roc 2009-07-22 21:31:45 -04:00
Boris Zbarsky
fc08f55e51 Bug 502447. Make sure to recompute the viewport scrollbar flags early enough during root frame setup. r=roc 2009-07-22 21:31:44 -04:00
timeless@mozdev.org
fea2f9d71a Bug 504172 useless null check of first in nsXULPopupManager::Rollup
r=roc
2009-07-22 17:31:02 -05:00
Robert O'Callahan
ce92341f20 Remove accidentally commited .rej files 2009-07-22 17:06:12 +12:00
Robert O'Callahan
0f6f6ce677 Bug 339548. Part 15: test overlaying an opaque-background table over a plugin. 2009-07-22 12:45:16 +12:00
Robert O'Callahan
0ed9805957 Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron 2009-07-22 12:45:14 +12:00
Robert O'Callahan
933f110f1a Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan
e992230f78 Bug 352093. Part 14: Make content IFRAMEs windowless. r=bzbarsky 2009-07-22 12:45:11 +12:00
Robert O'Callahan
a756d86e22 Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Robert O'Callahan
27214ea85d Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
787d778e09 Bug 352093. Part 9: make context menu event coordinates be relative to the widget for the widget for the top of the view hierarchy. r=dbaron 2009-07-22 12:45:08 +12:00
Robert O'Callahan
2d683e020f Bug 352093. Part 8: Fix view returned for eToplevelWindowCoordinates. r=bzbarsky 2009-07-22 12:45:07 +12:00
Robert O'Callahan
2bbd9b8c6e Bug 352093. Part 7: nsXULPopupManager should store coordinates relative to GetRootWidget to avoid confusion. r=enndeakin 2009-07-22 12:45:06 +12:00
Robert O'Callahan
2d3b9c390a Bug 352093. Part 6: make GetScreenRect work when appunits-per-dev-pixel varies up the frame tree. r=dbaron 2009-07-22 12:45:06 +12:00
Robert O'Callahan
f14e143e57 Bug 352093. Part 4: IME code should use GetRootWidget so it works with documents that don't have their own widgets. r=masayuki 2009-07-22 12:45:05 +12:00
Robert O'Callahan
f474c72e3b Bug 339548. Part 11: tests for complex plugin clipping. 2009-07-22 12:45:02 +12:00
Robert O'Callahan
2f9e8221d8 Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms. 2009-07-22 12:45:02 +12:00
Robert O'Callahan
dce2b0d98a Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Robert O'Callahan
3da1f8631b Bug 352093. Part 1: Add view parameter to nsViewManager::DispatchEvent so we can target view system events to widget-less documents. r=bzbarsky 2009-07-22 12:44:59 +12:00
Robert O'Callahan
12c9748167 Bug 339548. Part 6: Uninline IsMovingFrame so nsDisplayList.h doesn't have to include nsLayoutUtils.h. r=dbaron 2009-07-22 12:44:57 +12:00
Robert O'Callahan
2148628fd6 Bug 339548. Part 7: Create nsLayoutUtils::IsAncestorFrameCrossDoc. r=dbaron 2009-07-22 12:44:56 +12:00
Robert O'Callahan
f18d65c6a2 Bug 339548. Part 5: Support an accurate mode for display lists computing visible regions. r=dbaron 2009-07-22 12:44:56 +12:00
Robert O'Callahan
16f8bf9ac4 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Robert O'Callahan
cd388d6051 Bug 339548. Part 1: Factor out FindContainerView. 2009-07-22 12:44:53 +12:00
Robert O'Callahan
a26d44577d Bug 505186. Don't add useless nsDisplayReflowCount items to display lists in debug builds. r=bzbarsky 2009-07-22 12:44:52 +12:00
Robert O'Callahan
bec635e65d Bug 505184. When 'deflation' of the background area is not required, paint table backgrounds using a dedicated nsDisplayBackground instead of the multipurpose nsDisplayTableBorderBackground. r=fantasai 2009-07-22 12:44:52 +12:00
Robert O'Callahan
53a0bb6bba Bug 505184. Expose nsFrame::DisplayBackgroundUnconditional so we can easily create an nsDisplayBackground elsewhere. r=dbaron 2009-07-22 12:44:51 +12:00
Robert O'Callahan
4f7139b194 Bug 505184. Remove unused aBorder parameter to PaintBackgroundLayout. r=dbaron 2009-07-22 12:44:50 +12:00
Robert O'Callahan
309225cfa5 Bug 500632. Suppress invalidation caused by parts inside collapsed scrollbars. r=dbaron 2009-07-22 12:44:49 +12:00
Jonathan Watt
61f9fb8341 Backout bug 435356 to fix nsSVGMatrix leaks. 2009-07-22 00:55:48 +02:00
Jonathan Watt
8add7634fb Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-21 22:34:37 +02:00
Daniel Holbert
a40faedad1 Bug 479166: rename variable "computedPaginatedHeight" to "computedUnpaginatedHeight" and reduce its scope, and also fix some build warnings, all in nsTableCellFrame. r=bernd 2009-07-21 13:05:49 -07:00
Olli Pettay
26b1eb0ee3 bug 501900, r+sr=roc 2009-07-21 14:59:46 +03:00
Olli Pettay
d6f0680d20 bug 503699, r+sr=roc 2009-07-21 14:58:30 +03:00
Joe Drew
2aa59235f2 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Steven Michaud
c55209062c [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
L. David Baron
ba06d41e98 Also block -moz-box-shadow when using document-specified colors is disabled, and fix a testing error with the patch for text-shadow. (Bug 503188) r=bzbarsky 2009-07-20 07:04:42 -04:00
L. David Baron
0c97593d39 Add tests for cloning of media queries. (Would have caught bug 504032.) 2009-07-20 07:04:42 -04:00
Boris Zbarsky
3e8397c185 Bug 504032. Make sure to copy mIsEmpty when cloning media lists. r=dbaron 2009-07-17 23:47:38 -04:00
Simon Montagu
e1d91ed29b Ensure that block elements with display changed to inline are formatted as bidi embeddings. Bug 503957, r=dbaron 2009-08-11 00:16:20 -07:00
Felipe Gomes
f694038dde Bug 503042 - Implement a way to detect a touch enabled device. r=vlad, sr=dbaron 2009-08-10 19:59:06 -07:00
L. David Baron
08e90a1a5b Make lines with only a bullet take up height. (Bug 179596 / Bug 507187) r=roc 2009-08-10 19:48:42 -07:00
L. David Baron
af28c93900 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
814000c9e5 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
fbd09820fd Back out bug 431098 2009-08-10 16:40:29 -07:00
L. David Baron
eacfdf386b Remove InspectorCSSUtils, part 4: Remove nsIInspectorCSSUtils and nsInspectorCSSUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
a97b2f066a 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
0777df2200 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
8befa369a6 Remove InspectorCSSUtils, part 1: Move GetStyleContextForContent to nsComputedDOMStyle. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
863d371153 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
da3ed02210 Add more parameters to nsStyleSet::ResolveStyleForRules. (Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
8a55dca08c 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
1f2c562740 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
c46fca41b6 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
d7268d95e2 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
90d18014ce 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
2a08719d6b 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
0b7287a7e6 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
294d2e51ec 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
3a7c74d351 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
20e4f93193 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
7a7e78b40f 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
15f353dc91 Add crashtests for bug 463350, bug 473278, and bug 493118 2009-08-08 16:00:38 -07:00
Jesse Ruderman
f5c860500e Add crashtest for bug 460900 2009-08-08 16:00:33 -07:00
Jesse Ruderman
13a73e0e0d Add crashtest for bug 420785 2009-08-08 15:32:58 -07:00
Jesse Ruderman
22a651b89e Add crashtest for bug 403148 2009-08-08 15:32:54 -07:00
Jesse Ruderman
fa58b4d16c Add reftest for bug 398682 2009-08-08 15:32:52 -07:00
Jesse Ruderman
de261ae255 Add reftest for bug 398095 2009-08-08 15:17:40 -07:00
Jesse Ruderman
62b746b5dd Bug 424780 - Typing into <select> dropdown can cause nsStringBuffer leak. r=sicking 2009-08-08 15:00:26 -07:00
L. David Baron
2a1001c588 Call InvalidateColumns more often. (Bug 506871) r=roc 2009-08-07 14:17:02 -07:00
Timothy Nikkel
c6c0ae66f9 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
c20df0835f 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
5be8c26635 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
43845b217a Merge 2009-08-07 08:57:53 -07:00
Benjamin Smedberg
f64f98647c 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
1300347b88 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
589bd34dc6 Bug 508919. Stop leaking nsStyleBorder objects. r=dbaron 2009-08-07 10:38:44 -04:00
Robert O'Callahan
cc3fc234ee Bug 506615. XUL decks should not have wididgets. r=dbaron 2009-07-30 14:54:42 +12:00
Michael Ventnor
f89f2766b4 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
51d7da3c19 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
1a6e5fcda6 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
e01619e223 Bug 434733: Additional tests. 2009-08-01 08:53:40 -07:00
Makoto Kato
63a9fda84f 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
7fbb9db0a5 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
fdf121fa7c 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
d823ebd44b 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
389de5e6db Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
Dão Gottwald
26c7b3a525 Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
9b44f1f16c Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Jeff Walden
2b4a5aebd7 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
John Daggett
ce8b0492c3 Adding more reftest fonts (no effect on build) 2009-08-07 14:20:26 +09:00
Zack Weinberg
0ba4e791f3 Add reftest from http://lists.w3.org/Archives/Public/www-style/2009Jun/0164.html since it is also fixed by bug 476856. 2009-08-05 17:45:49 -07:00
L. David Baron
8eaa31bacd Additional mochitests for URL parsing, from bug 337287 (and related to bug 476856) 2009-08-05 17:45:49 -07:00
L. David Baron
5de91850ca Rewrite parsing of CSS url() function to make it more like the tokenization that's described in the spec. (bug 476856, though originally written for bug 337287) r=bzbarsky 2009-08-05 17:45:49 -07:00
L. David Baron
291831c13b Import the css3-namespace test suite. 2009-08-05 17:45:49 -07:00
Jeff Walden
5764ccc414 Mark several reftests as random for now; behavior is almost certainly deterministic, but I only have two sets of tinderbox results now and don't have time to watch the tree after they all report, so I'm marking them all bad until I have time to revisit them later tonight. r=orange
--HG--
extra : rebase_source : d6e5439da06b83396f784f56b50acff769ff1148
2009-08-05 17:12:45 -07:00
Jeff Walden
bccfe5ff78 Bug 508325 - "ABORT: negative scaling factors must be handled manually". r=roc 2009-08-05 15:34:27 -07:00
Robert O'Callahan
318e20f771 Backout bug 504524 due to test failure 2009-08-05 17:33:51 +12:00
Robert O'Callahan
797febec23 Backed out changeset 77787eb64629 2009-08-05 17:33:17 +12:00
Robert O'Callahan
d1458eda48 Disable failing test 2009-08-05 17:22:24 +12:00
Jacek Caban
05db2636cf Bug 506034. Fixed loop on MinGW where wchar_t-char is unsigned. r=dbaron
--HG--
extra : rebase_source : def42dc23a878639a3251fdb681a9c138d16fa37
2009-08-05 14:39:05 +12:00
Robert O'Callahan
1e621e52ea Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz
--HG--
extra : rebase_source : 0e294beea796a58b16273fbfb64d777a8f40e225
2009-08-05 14:38:52 +12:00
Robert O'Callahan
2496b1ab4e Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Robert O'Callahan
6a86c83e25 Bug 506304. Support synthesized mouse events being sent to windowless plugins, support reporting mouse event coordinates from the test plugin, and add tests for mouse events. r=josh
--HG--
extra : rebase_source : 5c97644a6db8454f759bbeab7a1e06295aca8325
2009-08-05 13:36:37 +12:00
Robert O'Callahan
54036c8405 Bug 508115. Don't reparent the views for popups, since they should always have the root view as their parent. r=dbaron
--HG--
extra : rebase_source : 1d8057694cde33a56fdabb57d51c9ff600c904a0
2009-08-05 09:58:46 +12:00
Markus Stange
8f20569aa3 Test for bug 507947, r=roc 2009-08-05 11:20:58 +12:00
L. David Baron
a8f1170400 Avoid flushing during media query evaluation. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
L. David Baron
f14734d0e5 Add assertions that the rule walker is at the root. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
Jesse Ruderman
4471bb22f9 Add reftest for bug 420790 2009-08-03 22:05:39 -07:00
Boris Zbarsky
f41da52115 Bug 508057. Make sure to drop the ref to the observer when clearing our cached tree images. r=joedrew 2009-08-03 23:06:34 -04:00
Boris Zbarsky
77cf0876b7 Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 21:22:13 -04:00
liucougar@gmail.com
b8bff67c98 Bug 502259. Make delete at end of paragraph work. r=cpearce 2009-08-04 09:46:48 +12:00
Boris Zbarsky
c2160da7ef Backed out changeset 25462849adcc (bug 502288) to get some talos cycles for the tracemonkey merge without this patch in.
--HG--
extra : rebase_source : bff86f8ab792af6109b1862d601e2ba560dc4ba1
2009-08-03 15:10:09 -04:00
Boris Zbarsky
c5c9132dbb Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 13:38:42 -04:00
Boris Zbarsky
b7b105f657 Bug 502942. Make fieldsets use their content's last-line baseline. r=dbaron 2009-08-03 10:42:59 -04:00
Boris Zbarsky
ebf60c1e45 Bug 494283. Unregister our placeholder if someone forgot to. r=dbaron 2009-08-03 10:42:57 -04:00
liucougar@gmail.com
b6c50499eb Bug 438840. Page-up/page-down in editable content should scroll the innermost scrollable region containing the caret, not the root. r=roc
--HG--
extra : rebase_source : 096868b13160a3c197387cf5e44fb7892b3b23ca
2009-08-03 14:18:57 +12:00
Timothy Nikkel
acef07d89c Bug 494546. Make all containing block reconstruction async. r=dbaron
--HG--
extra : rebase_source : 4b28a43808c1ab6b64bff848f03ac5a0354bff51
2009-08-03 14:18:31 +12:00
Robert O'Callahan
421cab991c Bug 506874. Don't temporarily remove ranges from the selection while we alter the frame state. Also adds a bunch of selection tests. r=smaug
--HG--
extra : rebase_source : 5d4fd55728e1167cc57451b5c80a46643191678b
2009-08-03 14:12:57 +12:00
Robert O'Callahan
36a3e5dda7 Bug 504311. Test.
--HG--
extra : rebase_source : 3df96915b133a9926310757ed0415beaefd635a3
2009-08-03 13:59:18 +12:00
Robert O'Callahan
d26efdf2da Bug 504311. Don't reframe text when white-space changes between preformatted values, or between non-preformatted values. r=bz
--HG--
extra : rebase_source : 35015fafdb92544eea6bcc572122b0c2cda4305c
2009-07-30 15:02:22 +12:00
Daniel Holbert
45cf11272c Bug 507695: Remove unneeded #includes from nsStyleContext.cpp. r=dbaron 2009-08-02 15:32:06 -07:00
Chris Pearce
15a744f86f Bug 501535 - Don't update poster attribute on <audio> elements, only on <video>. r+/sr+ roc. 2009-07-07 14:02:06 +12:00
fantasai
ed9e1a5bd5 Bug 389462 - columns don't reflow on resize r=roc 2009-07-06 18:23:24 -07:00
Mark Finkle
523fca9cea Bug 500208: select element should update label when script changes selection, r=bzbarsky 2009-07-06 09:39:54 -04:00
Kyle Huey
7c208fa431 Bug 492205. Remove IsRootElementFrame. r=roc 2009-07-04 22:00:10 +12:00
Robert O'Callahan
9a74ca04eb Bug 501878. Don't suppress whitespace-only SVG text frames. r+sr=bzbarsky 2009-07-04 21:56:20 +12:00
Robert O'Callahan
54e00abced Bug 501100. Convert print preview tests to chrome tests. r=martijn
--HG--
rename : layout/base/tests/test_bug396024.html => layout/base/tests/chrome/bug396024_helper.xul
rename : layout/base/tests/test_bug482976.html => layout/base/tests/chrome/bug482976_helper.xul
rename : layout/base/tests/test_printpreview.html => layout/base/tests/chrome/printpreview_helper.xul
2009-07-04 21:50:43 +12:00
Robert O'Callahan
3d716eda0a Bug 500912. Remove realTimeDrag flag, it's always true. r=bzbarsky 2009-07-04 21:47:59 +12:00
Robert O'Callahan
cae225728f Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt 2009-07-04 21:47:15 +12:00
Timothy Nikkel
8f1f1d1fd5 Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Graeme McCutcheon
928b7c1dbc Add a mochitest-based reftest and remove the previously disabled reftest for bug 263683. r=roc 2009-07-03 21:12:06 +01:00
Olli Pettay
864363eab3 Bug 490196, r+sr=roc 2009-07-02 17:47:00 +03:00
Mats Palmgren
0d2ecc07c9 Fix build error when MOZ_MEDIA isn't defined. b=500988 r=roc 2009-07-02 11:57:35 +02:00
Josh Aas
426cb69c6f Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Simon Montagu
0eeb3c144c Make fluid continuations between adjacent text frames with the same directionality. Bug 499538, r+sr=roc 2009-07-01 00:16:26 -07:00
Josh Aas
245392b64c Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Masayuki Nakano
a9ad59ba64 Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc 2009-07-01 01:52:16 +09:00
Olli Pettay
80837507f7 Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
Josh Aas
92354e3fc0 Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Boris Zbarsky
756f2edcf9 Fixing some formatting issues with the test 2009-06-29 21:40:17 -04:00
Boris Zbarsky
5a059117d3 Bug 500905. Don't try to create text frames for textnodes that don't have frames if their parent frame's parent type is not block. That way we won't reconstruct the row, for example, if a cell is reframed and has whitespace next to it. Also fix WipeContainingBlock to not reframe in that case anyway. r+sr=roc 2009-06-29 21:39:55 -04:00
Josh Aas
4cf18dc361 Windows bustage fix for bug 500889. 2009-06-29 15:38:09 -04:00
Josh Aas
709717d358 Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
David Bolter
047c8ca2a3 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Jonathan Griffin
212692622f Test for bug 460240. r=roc 2009-06-29 18:24:34 +02:00
Alexander Surkov
fff2439827 Bug 437980 - 9 tests fail in table_indexes.html chrome test file, r=marcoz, davidb, bernd 2009-06-29 18:54:26 +08:00
Daniel Holbert
ab655b31be Bug 465651: Move ReflowOverflowContainerChildren earlier in nsBlockFrame::Reflow. r+sr=roc 2009-06-28 20:56:13 -07:00