Commit Graph

3194 Commits

Author SHA1 Message Date
Matt Woodrow
05f861d628 Bug 505115 - Part 12b - Layout changes to use -moz-perspective-origin. r=roc 2011-08-03 15:04:24 +12:00
Matt Woodrow
62d1425e0b Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc 2011-08-03 15:04:23 +12:00
Matt Woodrow
fe4345bd93 Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
7b27325b26 Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
fd49690163 Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc 2011-08-03 15:04:21 +12:00
Matt Woodrow
cd05bbfd33 Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc 2011-08-03 15:04:20 +12:00
Matt Woodrow
ada52f1e13 Bug 505115 - Part 6 - Implement the 3d -moz-transform functions. r=dbaron 2011-08-03 15:04:19 +12:00
Kyle Huey
46020de267 Merge b-s to m-c. 2011-08-02 11:34:34 -04:00
Kyle Huey
f2a2e3cbf4 Bug 675624: Enumerate style sets in about:memory. r=bz 2011-08-01 14:24:38 -04:00
Ehsan Akhgari
d7a278f38a Bug 667512 - Do not return a bogus visual frame if we don't have any visual frames in reality; r=smontagu 2011-07-26 09:05:15 -04:00
Marco Castelluccio
6e58070f5f Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel 2011-07-25 17:19:37 -05:00
Ms2ger
3409dd8159 Bug 675713 - Annotate crashtest 2011-08-01 21:56:05 +02:00
Boris Zbarsky
5b8493a932 Bug 675246. Make sure generated content that's being replicated doesn't end up with no primary frame. r=roc 2011-08-01 13:43:23 -04:00
Chris Lord
0d59203155 Bug 669851 - Use bilinear image scaling on all ARM devices, even without NEON [r=mbrubeck,jmuizelaar] 2011-07-07 03:08:00 -07:00
Justin Lebar
f12a40a987 Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt. 2011-08-02 13:23:11 -04:00
Matt Woodrow
6366c7e2e7 Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc 2011-07-23 10:28:51 +12:00
Matt Woodrow
f00688318f Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron 2011-07-23 10:28:07 +12:00
Justin Lebar
d3ddbf1365 Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug 2011-05-13 15:42:36 -04:00
Joel Maher
17c6b0a950 Bug 666643 - convert snapshotWindow to SpecialPowers. r=ted, a=test-only 2011-07-21 16:21:24 -04:00
Marco Bonardo
225034df61 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Mounir Lamouri
2e1dfaef9e Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Jonas Sicking
d4380b0d71 Bug 664061: Remove isindex code from layout. r=dbaron 2011-07-19 17:22:01 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
d2f5a3b4c3 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Alexander Surkov
047029f65e Bug 671504 - get rid nsIPresShell::gAccessibilityIsActive, r=roc 2011-07-19 17:30:19 +09:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Simon Montagu
672d772074 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Mounir Lamouri
42f2b3d393 Merging mozilla-central and mozilla-inbound. 2011-07-12 10:53:40 +02:00
Simon Montagu
036c9171d0 Don't resolve bidi paragraph in preformatted text until we really get to the end of the line. Bug 670226, r=roc 2011-07-12 10:34:52 +03:00
Simon Montagu
7ed9862dea Tests for bug 670226. r=roc 2011-07-12 10:34:50 +03:00
Simon Montagu
de33acf1f5 Make sure that bidi continuation chains don't go beyond the end of the paragraph. Bug 668941, r=roc 2011-07-12 10:34:46 +03:00
Javi Rueda
60856304e4 Bug 516547. Remove the browser.display.base_font_scaler preference and all the code to process it. r=bzbarsky, sr=dbaron. 2011-07-11 15:27:25 -04:00
Neil Deakin
4bf3881ba3 Bug 670148, remove nsIBoxLayout, r=roc 2011-07-11 10:05:10 -04:00
Olli Pettay
81f71b1cbc Bug 669084 - Crash [@ nsPrintEngine::DoCommonPrint], r=roc 2011-07-06 14:12:26 +03:00
Simon Montagu
0f4dc8f7ff 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
cff2b748ef 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
e2dd282c90 Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-07-03 11:53:40 +02:00
Olli Pettay
c9309bf182 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
9210cc911a Previous checkin was for Bug 666689 2011-07-01 16:48:30 +10:00
Michael Ventnor
5b88cf2c15 Implement text-shadow for the text-overflow marker text (ellipsis) r=roc 2011-07-01 16:43:11 +10:00
Masayuki Nakano
7d481573dc Bug 671319 Should abort drag for selection at resetting capture r=smaug 2011-07-21 09:29:32 +09:00
Matt Brubeck
4e7caa789f Merge mozilla-central and mozilla-inbound 2011-08-12 07:08:33 -07:00
Jeff Muizelaar
cb92f6ff06 Bug 660662. Eliminate NS_(ceil|floor). r=roc
These just called the system versions.
2011-05-30 15:08:55 -04:00
Ehsan Akhgari
8eb45f129e 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
c09bb2ecf4 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
844412f551 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
f8c9c35167 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
d6b4429b37 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Justin Lebar
169b00ccad 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
c4436101c8 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
0f282b3725 Bug 664058: Remove Add/RemoveEventListenerByIID from nsDocumentViewer. r=smaug 2011-06-28 10:59:14 -07:00
Simon Montagu
00c7554ebd 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
a14c913680 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
57a439636b Backout changeset bba3ada5314c (bug 480686) due to perma-orange. 2011-06-27 00:00:47 +02:00
Boris Zbarsky
8383c5aae1 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
cfe91e4f31 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
0fe078244e 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
af1d9c6c2b 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
122c01ef80 Bug 427990 Gecko part - Make XLink href work on MathML element. r=jonas. 2011-06-24 14:54:28 +02:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Joel Maher
35c52e9bf1 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
06cf098e62 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
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mats Palmgren
b19080bd1f Bug 312156 - Implement CSS3 text-overflow. r=roc 2011-06-22 20:11:48 +02:00
Mats Palmgren
64fe4b087b Bug 312156 - Implement CSS3 text-overflow. r=dbaron 2011-06-22 20:11:47 +02:00
Robert O'Callahan
ae6647d4d2 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
36d533de88 Bug 637852. Part 24: Fix scale/translate order in DrawThebesLayer. r=tnikkel 2011-06-23 00:11:28 +12:00
Robert O'Callahan
2c76301582 Bug 637852. Part 23: Fix incorrect call to 'abs'. r=tnikkel 2011-06-23 00:11:28 +12:00
Robert O'Callahan
432a81c01e 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
779fca303f 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
0c48fabd49 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
59cfc47b23 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
c65d66ca40 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
e90667f7e7 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
8a76eeceb9 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
fcf2510a5d 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
93793566d0 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
d71311ff57 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
Jesse Ruderman
61fa0ff0dc Add crashtest from bug 468563 2011-06-20 11:42:05 -07:00
Jesse Ruderman
dcb67c9321 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)
6469811981 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Jan Varga
6976400f8a 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
38dbd10996 Merging mozilla-central with mozilla-inbound. 2011-06-17 15:26:17 +02:00
Olli Pettay
4cf87abbdd 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
Jonathan Watt
7180e71d16 Bug 664130 - Document what GetFrameBoundsForTransform is about. r=roc. 2011-06-16 12:06:05 +01:00
Jonathan Watt
ca1a7d021c Bug 664130 - Document what GetOpaqueRegion is useful for. r=roc. 2011-06-16 12:06:05 +01:00
Simon Montagu
89980a75a5 Don't overshoot the last sibling when iterating frames. Bug 663295 (whitespace change with correct bug number) 2011-06-15 10:51:36 +03:00
Simon Montagu
6ed0b74316 Force newlines only at 0xa, not 0xd. Bug 663662, r=roc 2011-06-15 10:45:57 +03:00
Simon Montagu
47b3950db7 Include continuations of frames with no newline. Bug 582181, r=roc 2011-06-15 10:45:57 +03:00
Simon Montagu
a72fe31c09 Tests for bug 582181, r=roc 2011-06-15 10:45:57 +03:00
Simon Montagu
f54e10d007 Don't overshoot the last sibling when iterating frames. Bug 66329, r=roc 2011-06-15 10:45:57 +03:00
Jonathan Watt
eb919c62a6 Bug 664130 - Document what GetFrameBoundsForTransform is about. r=roc.
--HG--
extra : rebase_source : dd1843b385b0976bd318dff6cc7c59ef15970f32
2011-06-16 12:06:05 +01:00
Jonathan Watt
5ca642d50a Bug 664130 - Document what GetOpaqueRegion is useful for. r=roc.
--HG--
extra : rebase_source : abde1fd28975506a58068725e5cbb660620760f8
2011-06-16 12:06:05 +01:00
Jonathan Kew
a1f20e4fc8 bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc 2011-06-16 07:31:36 +01:00
Jonathan Kew
57533f6cff bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky 2011-06-16 07:31:36 +01:00
Jonas Sicking
e82dadd3d8 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
cc4977777e Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ms2ger
c665a4e4c0 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
L. David Baron
21f6d8d9c6 Remove notion of percentage of intrinsic size: remove code that handles percentages (which are no longer set thanks to the previous patch) and make them invalid. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Michael Ventnor
383f357ec8 Bug 663028 - Make Print Preview themable with CSS, and modernize its look r=roc 2011-06-10 20:07:26 +10:00
Josh Matthews
ca55b62a74 Bug 662795 - Remove flaky timeout from 331883-1.html. Also remove identical test 331883-2.html. r=roc 2011-06-09 18:11:13 -04:00
Robert O'Callahan
44dafb791e Bug 661471. Part 6.2: Handle dynamic changes to Cleartype enabled/disabled. r=jfkthame 2011-06-09 08:13:05 +01:00
Simon Montagu
5f837e067e Bug 263359 part 4: resolve paragraph on encountering line breaks in preformatted elements. r=roc 2011-04-11 11:00:28 +03:00
Simon Montagu
d98c8e53c9 Crash test for bug 645193 by Jesse Ruderman 2011-06-09 09:29:09 +03:00
Simon Montagu
a9abba06f6 Tests for bug 263359 2011-04-11 10:59:30 +03:00
Simon Montagu
d6c4e27ab0 Bug 263359/Bug 229367: resolve paragraph on encountering <br> or embedded block elements. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
850bca2f79 Test for bug 650489 by Jesse Ruderman 2011-06-09 09:29:09 +03:00
Simon Montagu
f4ee5d6a7d Bug 263359 part 2.5: cache lines per frame in TraverseFrames. r=roc 2011-06-09 09:29:08 +03:00
Simon Montagu
5b26bf5ace Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
b202223ff2 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
a156186d20 Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc 2011-04-11 10:59:30 +03:00
Tatiana Meshkova
f6e4538720 Bug 653133 - Crashtest for huge background-attachment:fixed background [r=cjones] 2011-05-13 17:00:01 +03:00
Tatiana Meshkova
a65e2eeb90 Bug 653133 - Recover PRPackedBools order [r=roc] 2011-05-13 15:23:19 +03:00
Mounir Lamouri
af81ce3c72 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Boris Zbarsky
b63424b026 Bug 655549 and bug 645768. Rejigger the quirk table color rule to work more reliably. r=dbaron 2011-06-01 07:43:31 -04:00
Mounir Lamouri
0c784be5a4 Merging cedar with mozilla-central. 2011-06-01 10:06:55 +02:00
Boris Zbarsky
7867f56859 Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00
Jonathan Protzenko
f8876b89e0 Bug 659666 - PSM passes uninitialized value for inout checkValue argument of promptPassword r=jdm 2011-05-31 20:17:57 +02:00
Robert O'Callahan
177089e111 Bug 646757. Don't snap display item bounds during hit-testing. r=tnikkel 2011-05-31 09:44:10 +12:00
Ed Morley
ba1cdb5896 Bug 617539 - Integrate nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH back into the main interface; r=smontagu 2011-05-30 18:36:23 +02:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ms2ger
d2ff8b2932 Bug 660657 - Make nsCSSRendering::Init return void; r=roc 2011-06-02 14:56:46 +02:00
Ms2ger
e97c66dfd4 Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst 2011-06-02 14:56:46 +02:00
Ehsan Akhgari
13d84f740f Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew
15913e950c bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
--HG--
extra : rebase_source : 97bab01d80e49e179e8f675ca1ec1e067d7b56ec
2011-06-15 20:17:51 +01:00
Jonathan Kew
e4e073884b bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
--HG--
extra : rebase_source : 3d7699c4a201bafdfa1d97ba97117a497303c1b5
2011-06-15 20:17:50 +01:00
Ed Morley
9e71e5b9ac Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
387ea6f111 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
1f171993d1 Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc 2011-05-27 13:53:03 +09:00
Ehsan Akhgari
01360016f7 Bug 634406 - Don't select past the trailing BR node in text fields when performing the SelectAll operation; r=roc 2011-05-25 16:30:14 -04:00
Oleg Romashin
d3b5094cab Bug 657844 - SynthesizeMouseMove calls should be disabled in fennec r=bzbarsky 2011-05-22 09:55:55 -07:00
Mounir Lamouri
dc834941e6 Merging cedar with mozilla-central. 2011-05-25 10:03:25 +02:00
Jonathan Watt
47f6a46ada Bug 614732 part 2 - Doc changes (clarify why nsDisplayTransform requires a bounds rect, and correctly associate nsStyleTransformMatrix's doxygen comment with it). r=roc. 2011-05-25 09:01:11 +01:00
Boris Zbarsky
b9d0413149 Bug 631529. Pass a TreeMatchContext into ReResolveStyleContext so that we can share the nth-index cache across the entire reresolution. r=dbaron 2011-05-24 20:19:09 -04:00
Matt Brubeck
ec953fc5a6 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Daniel Holbert
14e26f45d3 Bug 646180: Reorder nsPresContext init list to fix build warning. r=roc 2011-05-24 03:36:21 -07:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Jim Mathies
4327e25f5e Backout of bug 570341 (cset:1a645ea075fc) due to test failure. 2011-05-23 19:55:36 -05:00
Igor Bazarny
dbf49a1d09 bug 570341 - Initial implementation of web timing specification
r=smaug sr=biesi

--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ms2ger
fb6f5dd0ca Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Matt Brubeck
9eb38101c8 Merge cedar and mozilla-central 2011-05-23 07:39:21 -07:00
Robert O'Callahan
e9b914654e Bug 656749. Only optimize away zero-opacity elements when we're painting, not for any other kind of display list construction such as plugin geometry. r=tnikkel 2011-05-23 12:28:47 +12:00
Robert O'Callahan
2ab1694655 Bug 628901. Ensure a MozAfterPaint event is fired after 'load'. r=ehsan 2011-05-23 12:25:56 +12:00
Daniel Holbert
969cc938e2 Backed out changeset dfeab223be6d (Bug 657844) on suspicion of causing perma-orange in test_hover.html 2011-05-22 13:25:33 -07:00
Oleg Romashin
d70ca96b06 Bug 657844 - SynthesizeMouseMove calls should be disabled in fennec r=bzbarsky 2011-05-22 09:55:55 -07:00
Craig Topper
52d9de655d Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc 2011-05-18 22:26:45 -07:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Benjamin Stover
a86e639dce Bug 655864 Password field is not masked immediately and shows artifacts, when typing past the end of the field r=roc 2011-05-18 15:54:31 -07:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Robert O'Callahan
23bf97f80c Bug 657780. Silence pldhash warnings by shrinking ThebesLayerItemsEntry. r=tnikkel 2011-05-18 17:48:43 +12:00
Mounir Lamouri
64a8d3688b Merging cedar with mozilla-central. 2011-05-17 15:32:32 +02:00
Robert O'Callahan
ebb22db890 Bug 648483. Record the transform used when we last painted a layer and use that to control what needs to be invalidated in the layer. r=tnikkel 2011-05-17 11:05:56 +12:00
Robert O'Callahan
eec1211b36 Bug 640899. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel 2011-05-17 11:04:53 +12:00
Markus Stange
9b2334a690 Bug 596600 - Start generating window-level mouse out events at the root EventStateManager. r=smaug
--HG--
rename : widget/tests/test_native_mouse_mac.xul => widget/tests/test_bug596600.xul
2011-05-16 15:15:43 +02:00
Mounir Lamouri
5a2ef13b8f Bug 655065 - Add a -moz-orient CSS property. r=bz 2011-05-10 15:47:46 +02:00
Tatiana Meshkova
7542ad5654 Bug 656167 - Temporarily disable or back out fixed layers. Visibility part. r=roc 2011-05-13 16:21:59 +03:00
Ms2ger
3388f3994d Bug 657160 - Remove NS_NewCaret; r=ehsan,roc 2011-05-15 12:17:09 +02:00
Matt Brubeck
d4397cc6d1 Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel] 2011-04-08 10:15:37 -07:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Robert O'Callahan
4c7ec4c28c Bug 640889. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel 2011-05-17 15:45:19 +02:00
Mounir Lamouri
69108eb545 Backout c0f9a84ffb2d (bug 640889) because it has been pushed with the incorrect bug number. 2011-05-17 15:43:59 +02:00
Olli Pettay
132add9eb2 Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Jim Mathies
4dc93bdb14 Bug 633282 - Accumulate exclude glass regions during painting and update the widget opaque region info. r=roc. 2011-05-13 11:40:46 -05:00
Jim Mathies
02f8ccf86e Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc. 2011-05-13 11:40:46 -05:00
Jim Mathies
9b7daaeb53 Bug 633282 - manual backout of 'fixup UpdatePossiblyTransparentRegion v.3' in bug 622328 due to merge conflicts. r=tn 2011-05-13 11:40:46 -05:00
Mounir Lamouri
a497a31e83 Merging cedar with mozilla-central. 2011-05-13 10:59:05 +02:00
Robert O'Callahan
d70f70f234 Bug 654641. Make nsDisplaySolidColor::GetBounds reflect any snapping that's going on. r=tnikkel 2011-05-13 02:59:09 +12:00
Timothy Nikkel
88a07ae5c6 Bug 655267. Move the synth mouse move handling from the view manager to the pres shell. r=roc
I also snuck in some minor cleanup.
2011-05-11 10:49:16 -05:00
Boris Zbarsky
6ae99aa202 Bug 597291. Create nsIURI objects lazily for nsCSSValue::URL, so that we don't pay the cost of creating the ones we don't actually need. r=dbaron
In the new setup, the mURL member of nsCSSValue::URL stores either the actual URI pointed to or the base URI; a boolean flag keeps track of which is stored.  Consumers use GetURI() to get the URI instead of raw access to mURI, and GetURI calls NS_NewURI as needed.
2011-05-11 11:28:53 -04:00
Masayuki Nakano
6a43b8a387 Bug 651694 Sort out NS_PLUGIN_EVENT r=roc 2011-05-11 13:52:44 +09:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Edmund Wong
9d6d399f4f Bug 366774 - Removed unused preference bidi.characterset. r=smontagu 2011-05-10 20:24:43 +02:00
Tatiana Meshkova
52765d2b7e Bug 653133 - Fennec crashes when loading a page with huge background-attachment:fixed background r=roc 2011-05-09 11:40:09 +03:00
Ehsan Akhgari
15252ef290 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Mounir Lamouri
f412df2050 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-10 14:59:07 +02:00
Olli Pettay
2731bfdf92 Bug 649170, use the same nsIWeakReference in DocumentViewer and nsPrintEngine, r=roc 2011-05-10 15:55:26 +03:00
Shawn Wilsher
f8feb2aafd Merge for back out tracked by bug 655860. Also backs out bug 654990 because it depends on bugs in the back out range. 2011-05-09 15:52:44 -07:00
Shawn Wilsher
259bae0699 Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860. 2011-05-09 15:48:39 -07:00
Jonas Sicking
48d490b63b Bug 650493 Part 3: Back out patch from bug 645572 as we should now always end up with correct update counts. r=ehsan 2011-05-09 12:33:03 -07:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Ed Morley
0c709c06be Bug 655493 - Remove WinCE code from layout; r=roc 2011-05-09 09:56:09 -07:00