Boris Zbarsky
657e764de8
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Boris Zbarsky
d9188b16ef
Bug 577607 part 1. Make sure resource documents don't have presshells when their display document doesn't. r=roc
2010-08-11 17:05:26 -04:00
fantasai
4b31319f01
Change coordinate system in the float manager from content box (most of the time, but sometimes border box) to always border box. (Bug 551425) r=dbaron a2.0=blocking+
2010-08-11 12:32:53 -07:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
L. David Baron
d45401cfa4
Distinguish between 50% and calc(50%), etc., in computed style calc expressions. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
462a888804
Consolidate code for determining when widths and heights depend on a container. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
bc1a47c26f
Make a common base class for calc ops that use nsStyleCoord as input. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
5e2de175f2
There's no need for a separate CoordPercentCalc implementation; ComputeCalc can handle that. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
86686305cb
Add a 'display:block' prerequisite for 'width' property tests so that calc() tests will actually have a percentage basis and thus actually test the code. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
fe0508e3b2
Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
248a3cdc5f
CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
Boris Zbarsky
456e9e5548
Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe
2010-08-11 17:05:28 -04:00
Boris Zbarsky
4de28566f3
Bug 577607 part 3. Use the main doc refresh driver for resource documents and the parent document's refresh driver for documents that are not roots of their type. r=roc, a=joe
2010-08-11 17:05:27 -04:00
Boris Zbarsky
b2753641df
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Neil Deakin
b698859822
Bug 585841 - Right click, 'copy link location' no longer works
...
r=Neil
a=blocking2.0
a=sheriff for landing
2010-08-10 13:55:31 -07:00
Olli Pettay
a76dd6006c
Bug 584866 - Cache LoadFrameScript Calls [r=jst]
2010-08-10 13:18:26 -04:00
Ehsan Akhgari
c07d2babfd
Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : 3bdd49e0e039c212b5faa8d12bcbdd785da267a4
2010-08-10 11:16:17 -04:00
Dão Gottwald
f246f9a00f
Backed out changeset cdd440adb726
2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da
Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-10 14:25:28 +02:00
Mark Banner
56fc2d488f
Bug 585734 Disable some c++ unit tests (TestCSSPropertyLookup, TestWinDND) in static builds due to compilation failures. r=khuey,a=test-only fix
2010-08-10 10:44:25 +01:00
Simon Montagu
d5a4b2d2de
Check that frame offsets are within content. Bug 579655, r=roc, blocking2.0=dsicore
2010-08-10 10:08:59 +03:00
Jim Mathies
a4b41e665b
Bug 574454 - Add caption buttonbox css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Jim Mathies
fc610f459e
Bug 574454 - Add window frame css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Neil Deakin
fb66fae998
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
0284f4eb26
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
06836ca775
Backed out changeset ec28c1790e13 (bug 579621) for print preview test timeouts
2010-08-08 17:48:03 -07:00
Robert O'Callahan
770c98f7eb
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
e3a4bc82b8
Merge back out of changeset 86e8ec17e532 (bug 584193).
2010-08-08 16:58:59 -05:00
Timothy Nikkel
f7b17b72dc
Backed out changeset 86e8ec17e532 (bug 584193).
2010-08-08 16:58:40 -05:00
Jeff Muizelaar
e1b778434f
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
556e5abfa9
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 ' ' instead of '.'
2010-08-08 15:54:24 -04:00
Robert O'Callahan
e14c5ee113
Bug 584193. Allow print preview to work without its own widget. r=smaug
2010-08-08 13:49:07 -05:00
Timothy Nikkel
470b36c651
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
76194eb9aa
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
e9dcad73c7
Bug 579663. Part 7. Assert AppUnitsPerDevPixel is constant in container layers. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
c759887052
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
308d16ff7b
Bug 579663. Part 5. Make display zoom items create a container layer. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
205f53d5ac
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
714913a4d8
Bug 579663. Part 3. Use the right AppUnitsPerDevPixel for zoom items. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
b96104bb22
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
bbc6dff559
Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
495b7af67e
Bug 582754. Remove cross doc check in nsIFrame::GetOffsetTo. r=mats a=dbaron
2010-08-08 13:49:06 -05:00
Timothy Nikkel
16a985dc6e
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
f51a1285cb
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
f05b15e0e0
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
f8e75e6fb6
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
30c2b7b82c
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
a31d02e412
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
7c971976b0
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
a22ae7125c
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
4a3531738d
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
7dc883912c
Bug 580869 - bustage fix; irc stamp=bzbarsky
2010-08-06 10:49:32 -04:00
Ehsan Akhgari
c997e86b2e
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
d298284e05
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
fb72631f4c
Bug 547342 real fix. Flush on ScrollToRow. r=enn
2010-08-05 14:39:39 -04:00
Boris Zbarsky
052a2f6a83
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
fcf146ef6f
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
e8a9de31ab
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
75fe6757f3
Bump assertion count on Windows; followup to bug 563584.
2010-08-05 23:01:07 -07:00
Craig Topper
8972b3e08e
Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz
2010-08-05 22:32:01 -07:00
L. David Baron
6d279b0435
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
48dd50ff36
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
50efda9d7b
Add reftests for bug 563584. (Bug 563584, patch 31) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
202767697e
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
d71021a7dd
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
875b636719
Add comment describing mIsTopOfPage better. (Bug 563584, patch 28) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
74b8b51e37
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
5239f85a39
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
bc78f1fdf5
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
5deb652621
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
d34dbc633c
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
934f7dfb67
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
b56efbfcf6
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
4a3f5d15df
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
46bdda8846
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
5247c76404
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
867d31744c
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
f3f9dbebba
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
646c626078
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
fd5ab03929
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
e714f071f9
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
99f4849c65
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
7c80834b1e
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
4f730231c6
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
fe16c37241
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
02c1db8436
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
4da470a62d
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
138354b6a3
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
489ed8d30b
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
08a16e6b29
Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
f46f248ca8
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
353538a3ba
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
11f75cf522
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
a33881c053
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
06135a3d37
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
8e7483c7aa
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
1d4cc217ed
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
3b7ff8f6bc
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
0b5df24742
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
27a2d4812b
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
f3625579d2
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
996b8e29c8
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
f9fab4a776
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
a02799847b
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
b9fae2b3d2
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
de6582a359
Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst
2010-08-04 22:40:18 -04:00
Ehsan Akhgari
659cc9b4af
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
2a2801990e
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
40a9b87efe
Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron
2010-08-04 12:27:05 -07:00
Zack Weinberg
d32d8b4b6e
Bug 338679: mark style declarations immutable if they are stringified. r=bzbarsky a=dbaron
2010-08-02 15:40:35 -07:00
Zack Weinberg
a6b8c9b603
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
b8130b3679
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
d16aea72e1
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
39c4539636
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
af2031e447
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
bfd2ecb93e
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
604c8c3c12
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
6873de67ec
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
b9547bdd5e
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
b87b69a229
Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron
2010-07-23 11:00:27 -07:00
Zack Weinberg
a0acc46ce4
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
1e5ad912e8
Bug 569719 part 4: Move nsCSSExpandedDataBlock::RuleDataPropertyAt into struct nsRuleData. r=dbaron
2010-07-23 11:00:21 -07:00
Zack Weinberg
b2480f1b17
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
706d94d7e3
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
9eb991d75a
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
6ea38bb418
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
a4ddd253a6
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
f3efde653e
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
f9627dc357
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
ec0ed23afc
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
3e8e830840
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
bd0e4c32ea
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
973ebcc0ad
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
af7fdb42ac
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Jeff Muizelaar
ff12cb537d
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
f0c2ed6fd9
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
44555f22b8
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
ea56218085
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
b22f93cd13
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
8d9b3f1877
Bug 508906. Add experimental MozTouch events. r=smaug,jimm
2010-08-02 15:34:54 +02:00
Robert O'Callahan
a637266b80
Fix reftest for bug 579349
2010-08-02 16:07:44 +12:00
Robert O'Callahan
91595e761f
Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh
2010-08-02 15:07:07 +12:00
Matt Woodrow
a580694478
Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron
2010-08-02 15:07:04 +12:00
Robert O'Callahan
df40488589
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
6f767dbf3d
Bug 581317. DoApplyRenderingChangeToTree needs to invalidate the ThebesLayer contents of descendants. r=tnikkel
2010-08-02 15:06:58 +12:00
Robert O'Callahan
01e41cf67d
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
d580edd975
Merge mozilla-central to tracemonkey.
2010-07-31 14:19:27 -07:00
Olli Pettay
ae117d70c6
Bug 576075, stricter tree selection handling, r=enndeakin
...
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Olli Pettay
dbf47e982c
Bug 576070, stricter tree column handling, r=neil
...
--HG--
extra : rebase_source : 15c91e8cb1c07abb5a6348711bf9cca0d0c20aaf
2010-07-31 21:18:22 +03:00
Craig Topper
a53310509d
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
c06c57f6e6
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
Craig Topper
1d7405b4e7
Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Craig Topper
fec95b227d
Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Craig Topper
18988cb740
DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
L. David Baron
9cc2e9ec05
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
836279228e
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
e0b8d226cd
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
2732a9078d
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
9c0bd4c0a5
Backed out changeset 9e87c3efc33b
2010-07-29 16:01:41 -07:00
Kyle Huey
17533df9bd
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
8ba5a6053c
Bug 581868: Remove nsIPrivateDOMImplementation. r=jst
...
--HG--
extra : rebase_source : 4e329c8b48034db725a1120094ec721d607dcb85
2010-07-29 12:23:13 -07:00
Kyle Huey
cc25e38cd5
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
26feee5b65
Backed out changeset 9e290d196600 (bug 574621) for causing test failures.
2010-07-29 15:16:40 -05:00
Robert O'Callahan
5c284f8466
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
a4facb8ffc
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
073bde8d2b
Merge mozilla-central to tracemonkey.
2010-07-30 21:57:41 -07:00
Jeff Walden
b22a1c4599
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
a539512caf
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
18dff75787
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
f1c4604ccc
Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst
2010-07-28 16:43:52 -07:00
Jeff Walden
d81f0c30eb
Back out b17c8b926585, seems to not work any more. :-\
2010-07-27 18:23:30 -07:00
Jeff Walden
561338434b
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
8f3c78f577
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
2316d387ff
Backout Bug 578309 due to mochitest failures
2010-07-27 09:35:54 +01:00
Robert Longson
c28d8f49a4
Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking
2010-07-27 08:33:01 +01:00
Clint Talbert
ad556ab54f
Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher
2010-07-26 18:43:34 -07:00
Clint Talbert
d2fb12a794
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
ff6a2fbd06
Bug 578511 - Canvas API to disable sync decoding of images.r=roc,sr=vlad
2010-07-26 17:20:45 -04:00
Kyle Huey
c83653fee9
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
432b14f38e
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
c73671f6fd
Bug 538308. Record that this crashtest asserts.
2010-07-25 14:27:01 -05:00
Timothy Nikkel
f7c5754ce0
Bug 542136. Add crashtest.
2010-07-25 13:10:31 -05:00
Timothy Nikkel
5f651e3e38
Bug 538308. Add crashtest.
2010-07-25 13:10:31 -05:00
Timothy Nikkel
c3a3665cf1
Bug 489868. Add reftest.
2010-07-25 13:10:31 -05:00
Joe Drew
a3756ff597
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
71e9119ff3
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
4eb41b2998
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
e2f082fe40
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
7e2508ad96
bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett
2010-07-28 14:36:00 +01:00
Jonathan Kew
b29f1fcb87
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
d34d0c5116
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)
fefa76bb2b
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
577d80fba3
Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil
2010-07-27 09:38:04 -04:00
Neil Deakin
e2850ec910
Bug 552982, Part 8, support labels on popups with titlebars, r=neil
2010-07-27 09:38:04 -04:00
Neil Deakin
22a92d13e6
Bug 552982, popups with titlebars tests
2010-07-27 09:38:04 -04:00
Neil Deakin
87921c3c7d
Bug 552982, Part 5: support for titlebars on panels, r=mats,sr=roc
2010-07-27 09:38:03 -04:00
Neil Deakin
20eab8552e
Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats
2010-07-27 09:38:03 -04:00
Neil Deakin
904a84dffc
Bug 552982, Part 3: support panel levels, r=mats
2010-07-27 09:38:03 -04:00
Neil Deakin
a4a74fb3d1
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
dba0fd9313
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