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

27714 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin d20855b708 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Neil Deakin e45ac3dd68 Bug 583255, don't involve views in tree offset computation, fixes inspector mouse events, r=roc,a=dbaron 2010-08-09 12:15:39 -04:00
Phil Ringnalda 097358c520 Backed out changeset ec28c1790e13 (bug 579621) for print preview test timeouts 2010-08-08 17:48:03 -07:00
Robert O'Callahan 1b1a7d673f Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel, a=blocker
--HG--
extra : rebase_source : 669b45a017fd52aa8106b98f6f8dd2d5ed846d4e
2010-08-04 21:40:00 -07:00
Timothy Nikkel 66f623ffab Merge back out of changeset 86e8ec17e532 (bug 584193). 2010-08-08 16:58:59 -05:00
Timothy Nikkel e022122398 Backed out changeset 86e8ec17e532 (bug 584193). 2010-08-08 16:58:40 -05:00
Jeff Muizelaar a4d9c2e288 Bug 585163. reftest: Adjust scales and text sizes to an exact representation. r=roc
This fixes the test with Direct2D. Inaccurate values for font_matrix come
from converting 6/60 into a float and then treating it as a double.
2010-08-08 15:54:27 -04:00
Jeff Muizelaar c832680e15 Bug 584515. Fix border-breaking-000-cols.xhtml on D2D. r=roc
We are running into rasterization inaccuracies here.

This test draws green circles on a green rectangle and assumes that the result
will be solid green.

Here's what happens with D2D:

D2D computes coverage values in floating point so assume that we get a coverage
of about 0.112399 or 0.112399*255 == 28.6

green (128/255 == 0.50196) is multiplied by the coverage to get 0.0564702 or
.0564702*255 == 14.39

the results of the pixel shader get rounded before blending. So we get
(r=0,g=14,b=0,a=29)

blending this OVER green gives:

14+(255-29)*128/255 == 127 instead of 128.

This doesn't happen with other backends because they typically use integer
coverage amounts.

We fix it by using '&nbsp' instead of '.'
2010-08-08 15:54:24 -04:00
Robert O'Callahan f972d43f24 Bug 584193. Allow print preview to work without its own widget. r=smaug 2010-08-08 13:49:07 -05:00
Timothy Nikkel 987f68275e Bug 579663. Part 9. Simplify ProcessDisplayItems because all items in a container layer have the same app units per dev pixel. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel 3b953e9755 Bug 579663. Part 8. Simplify FrameLayerBuilder::DrawThebesLayer because it does not have to deal with items at different AppUnitsPerDevPixel ratios. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel 14511d2a0b Bug 579663. Part 7. Assert AppUnitsPerDevPixel is constant in container layers. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel dbb5567320 Bug 579663. Part 6. Convert the update rect used for fixed backgrounds to the app units of the display root. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel e703905657 Bug 579663. Part 5. Make display zoom items create a container layer. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel 855ecf0e9a Bug 579663. Part 4. If the viewport frame has a container layer then we need to invalidate it too. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel 9499c419ae Bug 579663. Part 3. Use the right AppUnitsPerDevPixel for zoom items. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel 6f0c7d2b8b Bug 579663. Part 2. Be able to get the APDs out of display zoom items. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel 9645a5cf5c Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel b447591573 Bug 582754. Remove cross doc check in nsIFrame::GetOffsetTo. r=mats a=dbaron 2010-08-08 13:49:06 -05:00
Timothy Nikkel 8541cb5369 Bug 584617. Part 2. If we get passed an unusual backstop color we need to flush layers. r=roc a=dbaron 2010-08-08 13:49:07 -05:00
Timothy Nikkel 206bbfd8d6 Bug 584617. Part 1. Make sure that we don't use the overflow rect of the root frame instead of the dirty region when we are drawing ignoring viewport scrolling because that might be wrong. r=roc a=dbaron 2010-08-08 13:49:07 -05:00
Timothy Nikkel 6ed096006a Bug 584516. With linked view manager hierarchies we need to draw the print preview background on subdocument frames as well. r=roc 2010-08-08 13:49:07 -05:00
Robert Longson 0c22a67b47 Bug 577850 - A gradient applied to SVG Text element should render as if the objectBoundingBox spans the entire Text content. r=roc 2010-08-07 10:38:11 +01:00
Vladimir Vukicevic 3e15845966 b=574481; fix layers lifetime issues; part 6 - fix up some video frame bits; r=roc 2010-08-06 22:09:18 -07:00
Dave Townsend 4590036b45 Backed out changeset 8f8ee0543d0f from bug 580869 in the CLOSED TREE
--HG--
extra : rebase_source : 0bfba926d30e0d6fc80bccd4a5614b1532d9234b
2010-08-06 15:01:59 -07:00
Dave Townsend c3b7bf8b39 Backed out changeset 300036f6c90f from bug 580869 due to test failures
--HG--
extra : rebase_source : 03db1d0833857740d0e80fd12d56bbc4bd5121d2
2010-08-06 15:00:19 -07:00
Boris Zbarsky d2a229d925 Hacking around broken test or tree code for now to fix orange in CLOSED TREE 2010-08-06 14:38:21 -04:00
Boris Zbarsky 6c8d0591bf Bug 547342 followup. Need to make sure to flush even if we have a cached treebody. 2010-08-06 11:08:06 -04:00
Ehsan Akhgari 5bb93fdc23 Bug 580869 - bustage fix; irc stamp=bzbarsky 2010-08-06 10:49:32 -04:00
Ehsan Akhgari 9b8f299714 Bug 581585 - Cache the frame for caret; r=roc approval2.0=dbaron
--HG--
extra : rebase_source : 3043705ce2689532c40d6e0f1b023b55174e8a88
2010-07-26 20:05:14 -04:00
Ehsan Akhgari 5105968c9e Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
--HG--
extra : rebase_source : c04666fc452be4108ed717686086a5f7baba753d
2010-07-23 17:37:55 -04:00
Boris Zbarsky 67950dbf82 Bug 547342 real fix. Flush on ScrollToRow. r=enn 2010-08-05 14:39:39 -04:00
Boris Zbarsky 71030cb8d2 Bug 575336 part 5. Stop flushing out layout on the whole viewmanager tree when layout is flushed on a document and results in invalidates. r=roc 2010-08-05 14:39:39 -04:00
Boris Zbarsky be8b706b89 Bug 575336 part 3. Change the reftest harness to do its initial flush on all subframes, not just the root one. r=roc 2010-08-05 14:39:39 -04:00
Boris Zbarsky 2c088ca165 Bug 575336 part 1. Make sure to update the size of the current prescontext on style flush, so that media queries do the right thing. r=roc 2010-08-05 14:39:39 -04:00
L. David Baron 0782b28006 Bump assertion count on Windows; followup to bug 563584. 2010-08-05 23:01:07 -07:00
Craig Topper 62fbc28b95 Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
L. David Baron 7afdbd9a59 Rename float continuations to pushed floats. (Bug 563584, patch 33) r=roc
This patch was generated with the following sed commands on layout/generic/*.{h,cpp}: 's/FLOAT_CONTINUATION/PUSHED_FLOAT/g;s/FloatContinuation/PushedFloat/g;s/float continuation/pushed float/g' plus whitespace fixup where the frame state bits are defined.
2010-08-05 21:59:20 -07:00
L. David Baron 051d2eec64 Don't force availableHeight to be nonnegative, because doing so means that we'll place zero height blocks (including their non-zero-height contents) at the bottom of a page when there's not room (see nsHTMLReflowState::SetTruncated). (Bug 563584, patch 32) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 3060358b0c Add reftests for bug 563584. (Bug 563584, patch 31) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 0e4d5cd3d9 Set incomplete status when we have continuations that we shouldn't destroy. Fixes assertion on layout/generic/crashtests/469859-1.xhtml . (Bug 563584, patch 30) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 8b2e645003 Don't switch a constrained height to an unconstrained one due to infinite clearance. Fixes layout/reftests/bugs/563584-10b.html . (Bug 563584, patch 29) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 0cf99c197d Add comment describing mIsTopOfPage better. (Bug 563584, patch 28) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron bef2939650 Add testcase to check that mIsTopOfPage is false when reflowing blocks that have clearance. (There was originally a patch here, but it seems not to be needed, so now it's just tests.) (Bug 563584, patch 27) 2010-08-05 21:59:20 -07:00
L. David Baron b479bd2afc Don't split floats when we're not paginating. (Bug 563584, patch 26) Fixes assertion on layout/generic/crashtests/461294-1.html . r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 0d14c6f6b1 In a constrained height situation, we need to reflow anything with floats. (Bug 563584, patch 25) Fixes assertion on layout/generic/crashtests/408883-1.html . r=roc 2010-08-05 21:59:20 -07:00
L. David Baron e8ca3f4e21 Add bit to lines indicating that they may have a placeholder for a float that was pushed to the next line (and bump the child count up to 32 bits). (Bug 563584, patch 24) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 7e4d1acd95 Adjust reftest assertion manifests for churn in nscoord_MAX-related assertions (which includes 'computed overflow area' assertion, because of width wraparound in UnionRect making overflow area empty). (Bug 563584, patch 23) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron aebe67cb51 Pass correct *remaining* height to float manager, rather than the whole height of the content area. (Bug 563584, patch 22) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 509ea21148 Add checks to VerifyList that previous siblings match next siblings. (Bug 563584, patch 21) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 729eb4ac32 Remove aReflowStatus parameters made unnecessary by previous patch. (Bug 563584, patch 20) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron 5d647fbf31 Rename PushTruncatedPlaceholderLine since the remaining reasons for lines being truncated are related to being next to floats, not having truncated floats. (Bug 563584, patch 19) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron a918ee7979 Do the same for PlaceBelowCurrentLineFloats: don't propagate the truncation of a float into the line's reflow status. (Bug 563584, patch 18) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron f5631fb91d Don't propagate the float's reflow status through places that expect an inline's reflow status, to avoid the assertion for which bug 563584 was filed. This separates pushing of floats from pushing of lines, and allows first-in-flow floats to be pushed to the next page without their associated line. (Bug 563584, patch 17) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 87e57de265 Save float's next sibling since reflowing it could change the next sibling. (Bug 563584, patch 16) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 7811dafa89 Steal float back before reflowing it, in order to allow first continuation of a float to be pushed to the next page. (Bug 563584, patch 15) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 5e7f097aa8 nsBlockFrame::ReflowFloatContinuations doesn't need anything in AddFloat other than FlowAndPlaceFloat. (Bug 563584, patch 14) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 83f95abb0c Manage float continuations to-be-pulled by the next-in-flow better by keeping them in a separate frame list until they're actually pulled. (Bug 563584, patch 13) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron e24a4a847e Track which frames were float continuations that need to be pulled to the next block rather than figuring it out again when it's time to pull them. (This allows first-in-flows to be float continuations.) (Bug 563584, patch 12) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 1ac95d9fa8 Make nsFrameList::RemoveFramesAfter(nsnull) remove the whole list. (Bug 563584, patch 11.5) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 62189e853d Don't try to clear pushed floats when computing the final size of blocks. Fixes scrollbar on layout/reftests/bugs/563584-6-columns.html . (Bug 563584, patch 11) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 771fb25729 Add the optimization mentioned in the previous patch, so we don't have to iterate all floats to determine if one was split. (Bug 563584, patch 10) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron c804c1c09e Allow the float manager to record that a float has been pushed past a break. (Bug 563584, patch 9) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron f6db316887 Remove initialization to value that doesn't make much sense and never matters. (Bug 563584, patch 8) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 87bff25504 Use an AutoRestore to restore mY in nsBlockReflowState::FlowAndPlaceFloat. (Bug 563584, patch 7) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 8b608af7e0 When we're in columns (and therefore not splitting floats), push floats that don't fit to the next column. (Bug 563584, patch 6) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 5dbb4fc493 Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron 91606392a2 Make nsBlockReflowState::FlowAndPlaceFloat reflow the float after computing its vertical position, so we know how much height is actually available. (Bug 563584, patch 4) r=roc
Test coverage for this is in the future patch "Add reftests for bug 563584.".
2010-08-05 21:59:18 -07:00
L. David Baron 4af0ee515d Most of CanPlaceFloat is unnecessary given the float placement rules (in particular, that the top of a float cannot be higher than the top of any prior left or right float) and the fact that we now split floats. (Bug 563584, patch 3) r=roc 2010-08-05 21:59:18 -07:00
L. David Baron bf246f7401 Remove aForceFit/aRelaxHeightConstraint concept from float reflow, since we now split floats rather than push them to the next page (and correct propagation of nsHTMLReflowState::mFlags::mIsTopOfPage will force fitting when we need to). (Bug 563584, patch 2) r=roc 2010-08-05 21:59:18 -07:00
L. David Baron 367e34d52e Fix assertion about float manager state by restoring old float manager state when we place a float and then cancel that placement. (Bug 563584, patch 1) r=roc 2010-08-05 21:59:18 -07:00
L. David Baron 2f98d4b94d Fix processing of matrix() transform functions to handle calc() rather than asserting. (Bug 584569) r=bzbarsky 2010-08-05 21:59:18 -07:00
L. David Baron fdbe24a04c Remove the MOZ_WIDGET_TOOLKIT backwards-compatibility definition in the reftest condition sandbox. (Bug 570329) r=roc 2010-08-05 21:59:18 -07:00
Chris Jones 1014dfe1fe Bug 570620, part b: Fix a hidden header depedency and add a PresShell::GetLayerManager() helper. r=tn 2010-08-05 17:11:23 -05:00
Chris Jones f16c7feac5 Bug 570620, part a: Fix an assertion that will soon no longer hold and remove obsoleted already_AddRefed idiom in two places. r=roc 2010-08-05 17:11:23 -05:00
Boris Zbarsky 9e848ad2db Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron 2010-08-05 17:59:36 -04:00
Bobby Holley 926c1076f2 Bug 343515 - need API for tabbrowsers to tell docshells they're visible/hidden.r=gavin,sr=bz,a=blocker 2010-08-05 11:27:52 -04:00
Daniel Holbert 565ce0101d Bug 578786: Fix reftests for bug 491180 on Ubuntu 10.04. r=bz a=tests-only 2010-08-05 07:53:43 -07:00
Daniel Holbert b6ac7fe231 Bug 579492: Use dev pixels for screen rect in PresShell::PaintRangePaintInfo. r=roc a=dbaron 2010-08-05 07:53:43 -07:00
Jonathan Kew 4214a38f34 bug 581092 - use unrounded width when advancing x-position to draw RTL text run in canvas. r=vlad a=blocking2.0 2010-08-05 10:18:39 +01:00
Jonathan Kew ab9fd8664c bug 578118 - reduce font size in reftest to avoid D2D antialiasing irregularities. r=bas a=tests-only 2010-08-05 10:18:37 +01:00
Boris Zbarsky 062993e0ce Bug 577838. The first line baseline of a fieldset should be the first line baseline of its legend (if it has one), or of its content if it does not. r=dbaron 2010-08-04 22:40:19 -04:00
David Zbarsky 170437618c Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
Ehsan Akhgari 6ddaf2e6c3 Bug 578604 - Crash [@ nsTextControlFrame::SetInitialChildList(nsIAtom*, nsFrameList&) ] when print preview; r=roc a=blocking2.0+ 2010-08-04 22:13:57 -04:00
Kyle Huey 65b4e6c0c6 Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz 2010-08-02 15:19:04 -07:00
Zack Weinberg 9ccd63412b Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron 2010-08-04 12:27:05 -07:00
Zack Weinberg 19e2c4da92 Bug 338679: mark style declarations immutable if they are stringified. r=bzbarsky a=dbaron 2010-08-02 15:40:35 -07:00
Zack Weinberg 24feb13867 Bug 569719 part 16: Don't refcount declarations and data blocks; don't have style rules hold direct pointers to data blocks. r+a=dbaron 2010-07-23 11:00:52 -07:00
Zack Weinberg 4f39493716 Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron 2010-07-23 11:00:49 -07:00
Zack Weinberg 190abbabb0 Bug 569719 part 14: replace DeclarationChanged() with SetCSSDeclaration(), which takes the new declaration as an argument. r=dbaron 2010-07-23 11:00:47 -07:00
Zack Weinberg 99904c8b6e Bug 569719 part 13: move nsCSSParser methods that manipulate data blocks into the appropriate nsCSS*DataBlock classes. r=dbaron 2010-07-23 11:00:44 -07:00
Zack Weinberg 4a58609d8c Bug 569719 part 12: replace nsCSSParser::ClearTempData with explicit use of mTempData.ClearProperty (and make that method handle shorthands). r=dbaron 2010-07-23 11:00:42 -07:00
Zack Weinberg 143a4b55b1 Bug 569719 part 11: take the fast path in ParseProperty for !important replacing !important, as well as normal replacing normal. r=dbaron 2010-07-23 11:00:39 -07:00
Zack Weinberg 793c8d0dc0 Bug 569719 part 10: refactor parsing of !important and the end of a property declaration. r=dbaron 2010-07-23 11:00:37 -07:00
Zack Weinberg b184cb662d Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron 2010-07-23 11:00:34 -07:00
Zack Weinberg 785d0ccdde Bug 569719 part 7: Add AppendToString methods to nsCSSRect and friends as well, replacing Declaration::AppendStorageToString. r=dbaron 2010-07-23 11:00:29 -07:00
Zack Weinberg b0de4806b7 Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron 2010-07-23 11:00:27 -07:00
Zack Weinberg 2d38832142 Bug 569719 part 5: in nsCSSValueList and nsCSSValuePairList, convert Equal() to operator==, and remove unnecessary argument from Clone(). r=dbaron 2010-07-23 11:00:24 -07:00
Zack Weinberg aebfe9eed8 Bug 569719 part 4: Move nsCSSExpandedDataBlock::RuleDataPropertyAt into struct nsRuleData. r=dbaron 2010-07-23 11:00:21 -07:00
Zack Weinberg 85cd8e693c Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron 2010-07-23 11:00:19 -07:00
Robert O'Callahan 50f42b728b Bug 580834. Make nsLayoutUtils::GetActiveScrolledRoot stop at the nearest popup ancestor instead of asserting. r=tnikkel,a=dbaron 2010-08-13 22:03:51 +12:00
Robert O'Callahan e028060919 Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron 2010-08-13 22:01:58 +12:00
Robert O'Callahan 1f7b01e1c2 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron 2010-08-13 22:01:13 +12:00
Robert O'Callahan 82d45b530d Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron 2010-08-13 21:59:16 +12:00
Robert O'Callahan 339b3340da Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan d61b93538d Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan 085c8301ba Bug 537890. Part 6: Switch DPI dynamically when the window moves across screens or the screen mode changes. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan 4e69a7ecad Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan 46ae2ef8d0 Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan fd75e64333 Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan 8084cbbe6d Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Jeff Muizelaar 73cbe59a21 Bug 584400. cairo: Fix dash arrays with D2D
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00
Jim Mathies 258b0690f7 Bug 579421 - Title bar(window without body) appears at the upper left corner of monitor screen. r=roc. (CLOSED TREE) 2010-08-03 22:36:19 -07:00
Robert O'Callahan 692ed55c12 Bug 580494. Avoid creating an empty ThebesLayer when an inactive nsDisplayItem::BuildLayer returns null. r=tnikkel
--HG--
extra : rebase_source : a22225bb3b5c2bbc12ab2f9b50594083143dbdf0
2010-08-03 15:33:24 +12:00
Jeff Muizelaar 91cc82e49c Bug 518172. Fix the status of the 518172 reftests
I forgot to mark these reftests as passing after fixing
Bug 518172.
2010-08-02 11:04:36 -04:00
Felipe Gomes 9f58efac64 Bug 575328 - Fix for search suggestions box appears on wrong monitor in multiple monitor environment when window is maximized. r=enndeakin. 2010-08-02 10:06:04 -05:00
Felipe Gomes e2a618aa5f Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Robert O'Callahan cf14e5ee62 Fix reftest for bug 579349 2010-08-02 16:07:44 +12:00
Robert O'Callahan bb197a6e72 Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Matt Woodrow 104ade3438 Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron 2010-08-02 15:07:04 +12:00
Robert O'Callahan 24fd5553c9 Bug 582467. With accelerated layer backends, we should always treat video layers as active to avoid having to read back; no point in saving composition costs on those backends anyway. r=vlad 2010-08-02 15:06:58 +12:00
Robert O'Callahan 5286b29597 Bug 581317. DoApplyRenderingChangeToTree needs to invalidate the ThebesLayer contents of descendants. r=tnikkel 2010-08-02 15:06:58 +12:00
Robert O'Callahan 1524120859 Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel 2010-08-02 15:06:58 +12:00
Robert Sayre 61a58b84de Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Olli Pettay 44e12bf078 Bug 576075, stricter tree selection handling, r=enndeakin
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Olli Pettay 8ba02e0050 Bug 576070, stricter tree column handling, r=neil
--HG--
extra : rebase_source : 15c91e8cb1c07abb5a6348711bf9cca0d0c20aaf
2010-07-31 21:18:22 +03:00
Craig Topper 8662f7a74d Bug 579830 - Change nsCOMPtr<Element> to nsRefPtr<Element>. Change one location that was QIing to Element. r=bz a2.0=benjamin
--HG--
extra : rebase_source : db2a1a863ed6c646ef8eb850eaf93b64b4552be7
2010-07-30 20:44:45 -07:00
L. David Baron 7d7660f740 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
Craig Topper cdca710a52 Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper a710a36a06 Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper 2c93240c8e DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
L. David Baron b0ac8dc333 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Phil Ringnalda 09d6195bc9 Bug 569623 - Mark reftests/bidi/bidi-004.html, reftests/bidi/bidi-004-j.html and reftests/bidi/mirroring-02.html as passing on Linux, since the CentOS boxes where they failed are gone (relanding to fix bug 578286) a2.0=tests 2010-07-30 16:48:57 -07:00
L. David Baron 8285e45e4b Make zwnj-01 have a background color so that the SVG filter works correctly. (Bug 581081) r=jfkthame a2.0=tests 2010-07-30 16:48:57 -07:00
Makoto Kato ea3c3d0b50 Bug 578588 - Test suite may not work correctly on Win64 because navigator.platform is Win64. r=sayrer, a=Test Only 2010-07-30 17:18:45 +09:00
Kyle Huey 02f6c3eb51 Backed out changeset 9e87c3efc33b 2010-07-29 16:01:41 -07:00
Kyle Huey 330a1072b2 Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
2010-07-29 12:41:04 -07:00
Kyle Huey de6f5d1296 Bug 581868: Remove nsIPrivateDOMImplementation. r=jst
--HG--
extra : rebase_source : 4e329c8b48034db725a1120094ec721d607dcb85
2010-07-29 12:23:13 -07:00
Kyle Huey 48e10623c5 Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
--HG--
extra : rebase_source : f95ad3f21a95e354324e1524c378cad7146f3241
2010-07-29 12:22:16 -07:00
Timothy Nikkel 563e069ae6 Backed out changeset 9e290d196600 (bug 574621) for causing test failures. 2010-07-29 15:16:40 -05:00
Robert O'Callahan b6f426f863 Bug 574621. Make sure top level content documents get an opaque background. (patch modified to review comments by romaxa) r=tnikkel 2010-07-29 14:12:46 -05:00
Steffen Imhof 6729589680 Bug 578693 - Transport of key events to plugin in window-less case is incomplete for Qt backend r=dougt 2010-07-28 18:05:32 -07:00
Robert Sayre 802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Jeff Walden 82a3451969 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
L. David Baron d942fceb31 Clean up messy line thanks to new operator from bug 570912. (Bug 582111) r=bzbarsky 2010-07-28 16:43:53 -07:00
L. David Baron cd60aa35b8 Make the transitions style rule hold on to its values and thus preserve rule immutability. Do this by reusing the code for the covering style rule for both transitions style rule types. (Bug 582111) r=bzbarsky 2010-07-28 16:43:53 -07:00
David Zbarsky a4f8062126 Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Jeff Walden 5f201100e1 Back out b17c8b926585, seems to not work any more. :-\ 2010-07-27 18:23:30 -07:00
Jeff Walden 629a60bd96 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Ginn Chen d5b0c3ecd1 Bug 580546 FrameLayerBuilder.cpp failed to compile with Sun Studio 12 r=roc a=bsmedberg 2010-07-27 17:20:55 +08:00
Robert Longson d8318c4a74 Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson 03cd1f62f1 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Clint Talbert 65a508d873 Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher 2010-07-26 18:43:34 -07:00
Clint Talbert f960b0cffd Bug 573694 Optionally allow reftest harness to write output to log file for android r=dbaron 2010-07-26 18:43:33 -07:00
Bobby Holley 05c4b5b375 Bug 578511 - Canvas API to disable sync decoding of images.r=roc,sr=vlad 2010-07-26 17:20:45 -04:00
Kyle Huey ccc69fca65 Bug 508082: Implement a raw video decoder. Based on an earlier patch by Brad Lassey. r=doublec 2010-07-26 12:35:16 -07:00
Craig Topper 7f6bd7be85 Bug 580902 - Remove "using namespace mozilla;" from nsSVGElement.h and fixup the places that relied on it. r=jwatt 2010-07-25 17:25:38 -07:00
Timothy Nikkel e7fa0418df Bug 538308. Record that this crashtest asserts. 2010-07-25 14:27:01 -05:00
Timothy Nikkel 9fc2823e63 Bug 542136. Add crashtest. 2010-07-25 13:10:31 -05:00
Timothy Nikkel 991c464a6f Bug 538308. Add crashtest. 2010-07-25 13:10:31 -05:00
Timothy Nikkel 6666c1c1f6 Bug 489868. Add reftest. 2010-07-25 13:10:31 -05:00
Joe Drew 7b8cd77a78 Bug 572520: step 2.3: make the bug 445810 tests not assume that finishing the load of one image implies that all images have finished loading. r=dbaron 2010-07-28 14:51:37 -07:00
Joe Drew b6bb96fd67 Bug 572520: step 2.2, mark up the background draw nothing tests as getting another assertion. r=dbaron 2010-07-28 14:51:37 -07:00
Joe Drew 7a3ca8ebdf Bug 572520: step 2.1, mark up the table background reftests as asserting on gtk2 due to bug 527825. r=dbaron 2010-07-28 14:51:37 -07:00
Joe Drew f494520abe Bug 572520: step 2.0, fix the visited image loading tests to poll for the images to load; just waiting for a draw isn't enough. r=dbaron 2010-07-28 14:51:37 -07:00
Jonathan Kew 02b75da4e2 bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett 2010-07-28 14:36:00 +01:00
Jonathan Kew dab6f5d47c enable variation selector reftest on OS X (for bug 569350). r=jdaggett a=test-only 2010-07-28 10:30:23 +01:00
John Daggett 5fcee06d7a Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe 2010-07-28 14:30:21 +09:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E) 16a0fba570 Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg 2010-07-27 16:57:47 +02:00
Neil Deakin f9a7385f55 Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin 0033285038 Bug 552982, Part 8, support labels on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin bbe81ee0cd Bug 552982, popups with titlebars tests 2010-07-27 09:38:04 -04:00
Neil Deakin ea294cf422 Bug 552982, Part 5: support for titlebars on panels, r=mats,sr=roc 2010-07-27 09:38:03 -04:00
Neil Deakin 8522fc0f13 Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin 4a99c182d8 Bug 552982, Part 3: support panel levels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin f46c03d388 Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats 2010-07-27 09:38:02 -04:00
Neil Deakin 818d6e295a Bug 552982, Part 1: change nsXULPopupManager::AdjustPopupsOnWindowChange so that it only adjusts popups associated with the same window, r=mats 2010-07-27 09:38:02 -04:00
Robert O'Callahan cd9415a4ff Bug 579264. Ensure that ApplyRenderingChangeToTree repaints popup descendants of the frame. r=bz 2010-07-24 21:38:55 +12:00
Robert O'Callahan bc67da304a Bug 579250. Revamp unified-titlebar interface so that we can tell nsNativeThemeCocoa about toolbars even if they're not actually painted. r=mstange 2010-07-24 21:35:29 +12:00
Kyle Huey 83fd9cd6ac Bug 567323: Layout bindings for camera. r=sicking sr=roc 2010-07-23 14:35:51 -07:00
Benjamin Smedberg dc487751c4 Back out bug 567323 because of consistent Mochitest-4 errors:
1530 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug411236.html | Test timed out.
1578 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug534785.html | Test timed out.
1702 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug563642.html | Test timed out.
1709 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug564115.html | Test timed out.
2010-07-23 16:16:39 -04:00
Kyle Huey e06de39084 Bustage fix for Bug 567323 2010-07-23 11:24:49 -07:00
Kyle Huey 1dfe747779 Bug 567323: Layout bindings for camera. r=sicking sr=roc 2010-07-23 10:58:58 -07:00
Olli Pettay 6059821942 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Karl Tomlinson f6b874b897 revert most of acb4d17b70cd from bug 573933 to reenable -moz-appearance testing with bug 576143
--HG--
extra : rebase_source : 1ca78ffb1c791fac5cb89b94baf5a9d819da16ff
2010-07-23 10:48:15 +12:00
Karl Tomlinson 7c86e32ec8 b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Boris Zbarsky 69d8c3830b Bug 580685. We might not have a root element to resolve 'rem' against. r=dbaron 2010-07-22 17:33:37 -04:00
Justin Lebar f86987c51a Bug 581051 - Move selection.modify() from nsISelection.idl into nsISelection3.idl. r,approval2.0=jst
--HG--
extra : rebase_source : 9008b467241f21bc66d5fca734d916400d21e3b2
2010-07-22 11:02:06 -07:00
Masayuki Nakano 1773ea498d Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
Ehsan Akhgari 48b4d58926 Bug 569397 - Eagerly initialize the input controls with spellcheck="true"; r=roc ui-r=faaborg approval2.0=benjamin 2010-06-02 22:39:29 -04:00
Jonathan Kew c37829eb10 bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett 2010-07-22 10:25:21 +01:00
Jonathan Kew 34e5652416 bug 511339 followup - add reftests for font feature control. r=jdaggett a=tests-only 2010-07-22 10:25:20 +01:00
Mounir Lamouri d55a633ca1 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Ehsan Akhgari 16994f2761 Bug 576342 - Intermittent Windows Cd failure: "REFTEST TEST-UNEXPECTED-PASS | reftest/tests/layout/generic/crashtests/463741-1.html | assertion count 3 is less than expected 4 assertions"; r=Jesse 2010-07-21 20:47:04 -04:00
Masayuki Nakano e75f1ffb27 backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano a6e67f7876 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Craig Topper 4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Chris Jones ad15c41672 Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc 2010-07-21 13:06:33 -05:00
Kyle Huey a4df4bc7a5 Bug 574570: Followup to address missed review comment. 2010-07-21 09:12:19 -07:00
Kyle Huey 3f7b53ea0f Bug 574570: Parse the 'accept' attribute in accordance with the HTML5 spec. r=sicking,volkmar 2010-07-21 09:07:55 -07:00