Neil Deakin
489356a697
Bug 670148, remove nsIBoxLayout, r=roc
2011-07-11 10:05:10 -04:00
Olli Pettay
bd2a16c60e
Bug 669084 - Crash [@ nsPrintEngine::DoCommonPrint], r=roc
2011-07-06 14:12:26 +03:00
Simon Montagu
bb5f5484bc
Tests for bug 664087 and follow-up changes to the tests for bug 646382. r=ehsan
2011-07-05 08:42:28 +03:00
Mats Palmgren
a597d20fb3
Bug 668919 - The ellipsis with text-overflow: ellipsis is sometimes one pixel too low. r=roc
2011-07-04 07:47:59 +02:00
Ed Morley
1591e3e6a5
Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-07-03 11:53:40 +02:00
Olli Pettay
f3ddcb5189
Bug 667092, don't print without device context, r=jst
...
--HG--
extra : rebase_source : 222ae04dc02414946c4aea151a6860730d186adc
2011-07-01 16:59:11 +03:00
Michael Ventnor
a37c1655f6
Previous checkin was for Bug 666689
2011-07-01 16:48:30 +10:00
Michael Ventnor
98ca32a504
Implement text-shadow for the text-overflow marker text (ellipsis) r=roc
2011-07-01 16:43:11 +10:00
Ehsan Akhgari
5ad0858446
Bug 668267 - Make sure that the print preview tests close the window they open on Mac; r=roc
...
--HG--
extra : rebase_source : fc54922908a848265d7fae6597c4fb2b0014daf0
2011-06-29 21:02:09 -04:00
L. David Baron
01caa07982
Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky
2011-06-29 14:39:21 -07:00
Ehsan Akhgari
cb0062804d
Followup to the backout of bug 664152: use the old path to the test file
2011-06-29 17:00:16 -04:00
Ehsan Akhgari
8b5fd4c609
Backout changeset ae2dbbb7b935 (bug 664152) because moving test_reftests_with_caret to mochitest-chrome causes the test to not finish properly
2011-06-29 14:22:39 -04:00
Ehsan Akhgari
157101cbf6
Merge mozilla-central and mozilla-inbound
2011-06-28 18:43:09 -04:00
Justin Lebar
23ca7dc3e9
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Ehsan Akhgari
f3e14ab46c
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
...
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
5fcdbf3149
Bug 664058: Remove Add/RemoveEventListenerByIID from nsDocumentViewer. r=smaug
2011-06-28 10:59:14 -07:00
Simon Montagu
65d92807c8
Don't overshoot the end of the sibling chain when copying text for bidi resolution. Bug 665837, r=roc
2011-06-27 19:30:04 +03:00
Boris Zbarsky
23ac459fba
Bug 480686. Don't assume that the next-continuation of an inline frame is in the same block; it could be in the next-in-flow of the block. r=roc
2011-06-26 12:48:37 -04:00
Mounir Lamouri
aae814de23
Backout changeset bba3ada5314c (bug 480686) due to perma-orange.
2011-06-27 00:00:47 +02:00
Boris Zbarsky
6edd0834a1
Bug 480686. Don't assume that the next-continuation of an inline frame is in the same block; it could be in the next-in-flow of the block. r=roc
2011-06-26 12:48:37 -04:00
Craig Topper
4d70324117
Bug 654369 - Part 11: Remove OOM checks from layout/base r=bz
...
--HG--
extra : rebase_source : a725d78f3e128d6d4ca1eb48eec1cfc78f7762bf
2011-04-28 22:02:40 -07:00
Craig Topper
fc0b373e0a
Bug 654369 - Part 2: Remove oom check and outparam from PresShell::CloneStyleSet r=bz
...
--HG--
extra : rebase_source : 2eb3e5fa6f3c2cefc417f2d756421820782d3f0d
2011-05-01 18:34:07 -07:00
Ed Morley
755df8b9a0
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Bill Gianopoulos
f2909f5435
Bug 427990 Gecko part - Make XLink href work on MathML element. r=jonas.
2011-06-24 14:54:28 +02:00
Jonas Sicking
2d5bd7162c
Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
fc78c37b4d
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Joel Maher
9e3653b6cc
Bug 663856 - move layout/base/tests/test_bug495648.xul to mochitest-chrome. r=bz, a=test-only
...
--HG--
rename : layout/base/tests/bug495648.rdf => layout/base/tests/chrome/bug495648.rdf
rename : layout/base/tests/test_bug495648.xul => layout/base/tests/chrome/test_bug495648.xul
2011-06-23 11:46:35 -04:00
Joel Maher
a7c969fe15
Bug 664152 - move layout/base tests that depend heavily on enablePrivilege to mochitest-chrome. r=ehsan, a=test-only
...
--HG--
rename : layout/base/tests/bug106855-1-ref.html => layout/base/tests/chrome/bug106855-1-ref.html
rename : layout/base/tests/bug106855-1.html => layout/base/tests/chrome/bug106855-1.html
rename : layout/base/tests/bug106855-2.html => layout/base/tests/chrome/bug106855-2.html
rename : layout/base/tests/bug240933-1-ref.html => layout/base/tests/chrome/bug240933-1-ref.html
rename : layout/base/tests/bug240933-1.html => layout/base/tests/chrome/bug240933-1.html
rename : layout/base/tests/bug240933-2.html => layout/base/tests/chrome/bug240933-2.html
rename : layout/base/tests/bug389321-1-ref.html => layout/base/tests/chrome/bug389321-1-ref.html
rename : layout/base/tests/bug389321-1.html => layout/base/tests/chrome/bug389321-1.html
rename : layout/base/tests/bug389321-2-ref.html => layout/base/tests/chrome/bug389321-2-ref.html
rename : layout/base/tests/bug389321-2.html => layout/base/tests/chrome/bug389321-2.html
rename : layout/base/tests/bug389321-3-ref.html => layout/base/tests/chrome/bug389321-3-ref.html
rename : layout/base/tests/bug389321-3.html => layout/base/tests/chrome/bug389321-3.html
rename : layout/base/tests/bug482484-ref.html => layout/base/tests/chrome/bug482484-ref.html
rename : layout/base/tests/bug482484.html => layout/base/tests/chrome/bug482484.html
rename : layout/base/tests/bug512295-1-ref.html => layout/base/tests/chrome/bug512295-1-ref.html
rename : layout/base/tests/bug512295-1.html => layout/base/tests/chrome/bug512295-1.html
rename : layout/base/tests/bug512295-2-ref.html => layout/base/tests/chrome/bug512295-2-ref.html
rename : layout/base/tests/bug512295-2.html => layout/base/tests/chrome/bug512295-2.html
rename : layout/base/tests/bug585922-ref.html => layout/base/tests/chrome/bug585922-ref.html
rename : layout/base/tests/bug585922.html => layout/base/tests/chrome/bug585922.html
rename : layout/base/tests/bug597519-1-ref.html => layout/base/tests/chrome/bug597519-1-ref.html
rename : layout/base/tests/bug597519-1.html => layout/base/tests/chrome/bug597519-1.html
rename : layout/base/tests/bug602141-1-ref.html => layout/base/tests/chrome/bug602141-1-ref.html
rename : layout/base/tests/bug602141-1.html => layout/base/tests/chrome/bug602141-1.html
rename : layout/base/tests/bug602141-2-ref.html => layout/base/tests/chrome/bug602141-2-ref.html
rename : layout/base/tests/bug602141-2.html => layout/base/tests/chrome/bug602141-2.html
rename : layout/base/tests/bug602141-3-ref.html => layout/base/tests/chrome/bug602141-3-ref.html
rename : layout/base/tests/bug602141-3.html => layout/base/tests/chrome/bug602141-3.html
rename : layout/base/tests/bug602141-4-ref.html => layout/base/tests/chrome/bug602141-4-ref.html
rename : layout/base/tests/bug602141-4.html => layout/base/tests/chrome/bug602141-4.html
rename : layout/base/tests/bug612271-1.html => layout/base/tests/chrome/bug612271-1.html
rename : layout/base/tests/bug612271-2.html => layout/base/tests/chrome/bug612271-2.html
rename : layout/base/tests/bug612271-3.html => layout/base/tests/chrome/bug612271-3.html
rename : layout/base/tests/bug612271-ref.html => layout/base/tests/chrome/bug612271-ref.html
rename : layout/base/tests/bug613433-1.html => layout/base/tests/chrome/bug613433-1.html
rename : layout/base/tests/bug613433-2.html => layout/base/tests/chrome/bug613433-2.html
rename : layout/base/tests/bug613433-3.html => layout/base/tests/chrome/bug613433-3.html
rename : layout/base/tests/bug613433-ref.html => layout/base/tests/chrome/bug613433-ref.html
rename : layout/base/tests/bug613807-1-ref.html => layout/base/tests/chrome/bug613807-1-ref.html
rename : layout/base/tests/bug613807-1.html => layout/base/tests/chrome/bug613807-1.html
rename : layout/base/tests/bug632215-1.html => layout/base/tests/chrome/bug632215-1.html
rename : layout/base/tests/bug632215-2.html => layout/base/tests/chrome/bug632215-2.html
rename : layout/base/tests/bug632215-ref.html => layout/base/tests/chrome/bug632215-ref.html
rename : layout/base/tests/bug633044-1-ref.html => layout/base/tests/chrome/bug633044-1-ref.html
rename : layout/base/tests/bug633044-1.html => layout/base/tests/chrome/bug633044-1.html
rename : layout/base/tests/bug634406-1-ref.html => layout/base/tests/chrome/bug634406-1-ref.html
rename : layout/base/tests/bug634406-1.html => layout/base/tests/chrome/bug634406-1.html
rename : layout/base/tests/bug644428-1-ref.html => layout/base/tests/chrome/bug644428-1-ref.html
rename : layout/base/tests/bug644428-1.html => layout/base/tests/chrome/bug644428-1.html
rename : layout/base/tests/bug646382-1-ref.html => layout/base/tests/chrome/bug646382-1-ref.html
rename : layout/base/tests/bug646382-1.html => layout/base/tests/chrome/bug646382-1.html
rename : layout/base/tests/bug646382-2-ref.html => layout/base/tests/chrome/bug646382-2-ref.html
rename : layout/base/tests/bug646382-2.html => layout/base/tests/chrome/bug646382-2.html
rename : layout/base/tests/test_reftests_with_caret.html => layout/base/tests/chrome/test_reftests_with_caret.html
2011-06-23 11:46:35 -04:00
Igor Bazarny
837e53d81d
bug 570341 Initial implementation of web timing specification
...
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mats Palmgren
e27374664c
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Mats Palmgren
9ce0da87b8
Bug 312156 - Implement CSS3 text-overflow. r=dbaron
2011-06-22 20:11:47 +02:00
Robert O'Callahan
7e9c21543b
Bug 637852. Part 26: Ensure that FrameMetrics coordinates are correctly stored as layer coordinates. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
80afef8631
Bug 637852. Part 24: Fix scale/translate order in DrawThebesLayer. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
6bb8d6005f
Bug 637852. Part 23: Fix incorrect call to 'abs'. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
640af29607
Bug 637852. Part 22: Detect when the contents of a ThebesLayer have shifted by a subpixel amount and repaint the entire layer when that happens. r=tnikkel
...
This fixes artifacts when we're scrolling inside scaled content, and includes a test for that (which fails without
this code change).
2011-06-23 00:11:28 +12:00
Robert O'Callahan
79f35121a1
Bug 637852. Part 21: Skip invalidation if aRegionToInvalidateIsEmpty (note that ScaleRoundOut on an empty bounds rect can return a non-empty rect). r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
38aca80b2f
Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
...
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
5204f44c72
Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
...
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
6a549e8bf2
Bug 637852. Part 15: Don't round mOuterRect/mInnerRect if there's a scale factor in the current transform. r=joe
...
This avoids losing information when we're drawing into a high-resolution ThebesLayer. It works well with the
previous patch; for identity scale, this rounding of the inner/outer rects ensures pixel alignment of the edges,
but with non-identity scale the rectangle snapping ensures pixel alignment of the edges. This fixes reftest failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
349758664e
Bug 637852. Part 14: Try to use snappable rects to draw solid borders instead of using stroke, when a scaling transform is present. r=joe
...
The goal here is to avoid antialiased border edges when drawing into high-resolution ThebesLayers. This fixes test failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
a034a797ad
Bug 637852. Part 12: Dump layer trees and display lists to stdout instead of stderr so that they stay in order with window.dump() and other output. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
a19da03c64
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
...
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.
For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.
For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).
We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.
When a ThebesLayer's resolution changes we need to rerender the whole thing.
nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
a53cdb5b40
Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
...
This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been
applied when BuildLayer returns a ContainerLayer.
This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the
transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be
before constructing the children, which in the next patch will let us construct the children with the right resolution.
2011-06-23 00:11:27 +12:00
Ehsan Akhgari
0aa045dc7a
Merge mozilla-central into mozilla-inbound
2011-06-20 23:42:45 -04:00
Jesse Ruderman
6282ea4f29
Add crashtest from bug 468563
2011-06-20 11:42:05 -07:00
Jesse Ruderman
a901f446ef
Add crashtest from bug 576649
2011-06-20 11:42:05 -07:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
ab1b3db5e6
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
Jan Varga
2d86d96b3e
Bug 617528 Part 1 - Dispatch shift right click (contextmenu event) only to chrome. r=smaug
2011-06-19 11:23:12 +02:00
Mounir Lamouri
56691c9a92
Merging mozilla-central with mozilla-inbound.
2011-06-17 15:26:17 +02:00
Olli Pettay
ca177b7ae6
Bug 664434 - Make sure to Destroy the old document when setting a new print document, r=roc
...
--HG--
extra : rebase_source : b75688d5320d9dcaf59468bd5def2fa7f2e0bbc0
2011-06-16 21:20:13 +03:00