Robert Sayre
2c5d9c7f92
Merge mozilla-central to tracemonkey.
2010-08-12 10:12:04 -07:00
Robert Sayre
8c71a22ddc
Disable the test for bug 458898. See bug 562955.
2010-08-11 09:59:54 -07:00
Olli Pettay
3a9d21a136
Bug 585815, create treerange list straight to the mFirstRange, r=neil
...
--HG--
extra : rebase_source : f71a56d90b51e26d3d5d8aedc969ca51c09f0fd3
2010-08-12 15:05:43 +03:00
Olli Pettay
3db4e27da3
Bug 583957, lazy menuframe update, r=enndeakin, sr=neil, a=dbaron
...
--HG--
extra : rebase_source : f036ff3e7ee39225f17d1d4aba0d4e7c71960d58
2010-08-12 14:59:03 +03:00
Mats Palmgren
a7f4533995
Bug 576649. r=bzbarsky a=blocking2.0
2010-08-10 19:04:43 -03:00
Robert O'Callahan
19a4e37ac9
Backed out changeset 0c4519d63a98
2010-08-12 11:32:21 +12:00
Boris Zbarsky
cfd42187e4
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
aed8438e78
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
d65a7e96aa
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
2a023744e6
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
c61f9bfba4
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
39c372840a
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
e9ab54ed5b
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
fb76c8e137
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
b27e44d513
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
f88364d08c
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
a286bcfd04
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
Neil Deakin
78f7ba2d70
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
ab365556e5
Bug 584866 - Cache LoadFrameScript Calls [r=jst]
2010-08-10 13:18:26 -04:00
Ehsan Akhgari
489e5fab3f
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
1e1c1def63
Backed out changeset cdd440adb726
2010-08-10 15:10:11 +02:00
Ms2ger
719312de88
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
2cd6513bc1
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
e2d46b52f2
Check that frame offsets are within content. Bug 579655, r=roc, blocking2.0=dsicore
2010-08-10 10:08:59 +03:00
Jim Mathies
bd1872ca14
Bug 574454 - Add caption buttonbox css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Jim Mathies
85ca93692a
Bug 574454 - Add window frame css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
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 ' ' 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