Commit Graph

10760 Commits

Author SHA1 Message Date
Craig Topper
8cc35672fe Bug 654369 - Part 4: Make nsContainerFrame::SetOverflowFrames return void
--HG--
extra : rebase_source : c75b4fd0a730a6d2804287847be735261aef92f0
2011-05-01 23:17:32 -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
Joel Maher
d368d3ddbf Bug 663844 - move layout/generic/test/*.xul to mochitest-chrome. r=ted, a=test-only 2011-06-25 13:42:23 -04:00
Simon Montagu
672d772074 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03: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
Bas Schouten
6fdd8fb73c Bug 667298: Allow taskbar previews to explicitly create a thebes canvas. r=roc 2011-06-30 03:00:12 +02:00
Chris Jones
7ef8a6c28e Work around bug 668412: random-if() the test for bug 662038 for android. r=philor
--HG--
extra : rebase_source : ee67d408511ae3b0438687d3b7d919c64788ece2
2011-06-29 17:58:15 -07:00
Mats Palmgren
ba50f9565f Bug 667653 - Make NS_FRAME_SELECTED_CONTENT on text frames less sticky. r=roc 2011-06-30 02:56:50 +02:00
Mats Palmgren
ea62e4dc99 Bug 666669 - Test rendering of selected text, background and selection decorations with text-overflow. r=roc 2011-06-30 02:56:49 +02:00
Mats Palmgren
817e5a24da Bug 666669 - Restrict selection painting to the nsCharClipDisplayItem edges (same as for non-selected text). r=roc 2011-06-30 02:56:49 +02: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
L. David Baron
468f347283 Don't assert when interpolating font-weight to a result less than 100. (Bug 664927) r=bzbarsky 2011-06-29 14:39:21 -07:00
L. David Baron
70907dde4b Add reftests for bug 623922.
menulist-shrinkwrap-1 tests one of the important characteristics of the
fix:  that the intrinsic size of a menulist doesn't depend on which item
is selected.  It passes both with and without the patch, across
platforms.

menulist-shrinkwrap-2 tests the actual bug being fixed:  that a menulist
at its intrinsic size doesn't truncate some of the items with "...".  It
passes on Mac OS X with and without this patch.  This patch changes it
from failing to passing on Linux.  It fails on Windows XP and Windows 7
both with and without the patch, although the patch slightly reduces the
amount of text truncated on Windows 7, from "long i..." to "long it...",
although it's constant at "long i..." on Windows XP.
2011-06-29 14:39:21 -07:00
L. David Baron
9a5dc76aa8 Make nsMenuFrame::SizeToPopup consider its own border/padding properly, by increasing the popup's content's width by the larger of its own border/padding or the popup's scrollbar, rather than only the latter. (Bug 623922) r=enndeakin 2011-06-29 14:39:21 -07:00
Chris Jones
1e6367c381 Bug 662038: Very basic tests of mozDash/mozDashOffset. r=joe 2011-06-29 14:34:58 -07:00
Chris Jones
d7cb6e814a Bug 664884: Test mozCurrentTransform/mozCurrentTransformInverse. r=joe,roc 2011-06-29 14:34:58 -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
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
Jesse Ruderman
80232adac5 Bug 667025 - crash test. 2011-06-25 04:21:27 +02:00
Mats Palmgren
ec63cdec11 Backout cset 3e54c496db92 (bug 654002) for causing bug 667025. 2011-06-25 04:21:27 +02:00
Ehsan Akhgari
b485786497 Merge mozilla-central into mozilla-inbound 2011-06-24 21:17:16 -04:00
Mats Palmgren
ebe2e85837 Bug 666751 - Crash tests. r=roc 2011-06-24 21:12:52 +02:00
Mats Palmgren
a8d68ebc51 Bug 666751 - Add a null-check in case the item's frame is not a descendent of the text-overflow block. r=roc 2011-06-24 21:12:52 +02:00
Jonas Sicking
5e5e6bd544 Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
864793d608 Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. 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
Marco Bonardo
9323280aaf Merge Places and mozilla-central 2011-06-23 22:40:20 +02:00
Ehsan Akhgari
e1fb854f4f Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-23 12:28:57 -04: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
Marco Bonardo
5194a945ed Bug 664127 - Reftest for transparent tree icon.
r=roc
2011-06-23 14:35:09 +02:00
Marco Bonardo
970fda0a3c Bug 664127 - Allow to set opacity on ::-moz-tree-image.
r=roc
2011-06-23 14:35:07 +02:00
Mounir Lamouri
3c638f1884 Merge last green changeset of mozilla-inbound into mozilla-central. 2011-06-23 11:15:52 +02:00
Florian Scholz
8d778c04d5 Bug 603106 - Make mfrac linethickness="medium" use the default linethickness; r=karlt 2011-06-23 10:30:21 +02:00
Ehsan Akhgari
6905c5d4c5 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 19:17:32 -04:00
Mats Palmgren
f205bc0de5 Bug 654002 - Remove frame continuations iteratively, not recursively. r=roc 2011-06-23 01:16:00 +02:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Daniel Holbert
1324a1faec Bug 665209: Disable recursive image loads in content(). r=bz 2011-06-22 22:21:47 -07:00
Joe Drew
9731d1f3ee Bug 665833 - Use nsCRTGlue rather than nsCRT in nsStyleStruct.cpp. r=dbaron 2011-06-21 01:03:59 -04:00
Frédéric Wang
ecb832b98f Bug 407439 - Support for Asana Math font in MathML. r=karlt
--HG--
extra : rebase_source : 829d002f8d1e448d5d4b13893046873b4bb34c44
2011-06-22 11:49:26 -04:00
Frédéric Wang
6762a2aaf2 support drawing non-BMP characters for stretchy operators (bug 407439). r=karlt
--HG--
extra : rebase_source : 8a0351a8a0b45de4e783050608e513582b8a345c
2011-06-22 11:49:11 -04:00
Frédéric Wang
b1082b4246 Always start the lookup of largeop variants at size=1 (bug 584332). r=karlt
--HG--
extra : rebase_source : 05bc57d2c0b0989f887e42d0d52a7a993e27972a
2011-06-22 11:48:56 -04:00
Mats Palmgren
fb9132ab57 Bug 312156 - Tests for CSS3 text-overflow. r=roc 2011-06-22 20:11: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
9f293f9979 Bug 637852. Part 27: Fix RenderFrameParent rendering to handle transforms on the root layer, and fix bugs with parameters being modified. r=stechz 2011-06-23 00:11:29 +12: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
a0cb0b9295 Bug 637852. Part 20: Allow fast scrolling within transformed content. r=tnikkel
This lets us easily test scrolling with non-identity resolution.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
a71cab3bed Bug 637852. Part 19: Test (from bug 633344) 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
04565c4766 Bug 637852. Part 16: Mark newly-passing reftests.
Various tests that used to fail on Android now pass. One test that used to fail on Mac passes now too.
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
55a9350095 Bug 637852. Part 13: Allow snapping of text baselines to occur when there's a scale in the current transform. r=tnikkel
This allows baselines to be snapped properly when drawing into high-resolution ThebesLayers.
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
Phil Ringnalda
ae5dee5c44 Back out bc0b2201ca85 (bug 654002) on suspicion of causing WinXP opt mochitest crashes 2011-06-22 21:46:52 -07:00
Ehsan Akhgari
f742585a1f Merge mozilla-central into mozilla-inbound 2011-06-22 20:19:47 -04:00
Mats Palmgren
f1dde034df Bug 654002 - Remove frame continuations iteratively, not recursively. r=roc 2011-06-23 01:16:00 +02:00
Robert Longson
5bf016d92d Bug 666068 - Speed up nsSVGIntegrationUtils::UsingEffectsForFrame. r=jwatt,jmuizelaar 2011-06-22 21:07:31 +01:00
Ed Morley
c5f7f0a955 Bug 665686 - Fix unused variable warnings in layout/style/; r=dbaron
--HG--
extra : rebase_source : cadde7110be42e3523c908c095cab8852f00bfb3
2011-06-22 12:00:56 -04:00
Jonathan Hage
f820acdb07 Add reftest for the bug 650530; r=karlt
--HG--
extra : rebase_source : 229c1fc19b3aeedf6b7b1c8b348d90c9d1f9193c
2011-06-22 11:55:35 -04:00
Jonathan Hage
9c55c33c76 Bug 650530 - Implement names for negative spaces; r=karlt
--HG--
extra : rebase_source : 73161560d3c781c81c780995c0abda5bf63c780c
2011-06-22 11:55:05 -04:00
Jonathan Hage
cd773d5fa7 Bug 557084 - Remove deprecated attributes and empty <mrow/>'s in mozilla/src/layout/mathml/tests/; r=fred.wang
--HG--
extra : rebase_source : 70b0187bd38c92d91df5bec8713ebe7d2ae4b14d
2011-06-22 11:53:07 -04:00
Ehsan Akhgari
006b4e90d7 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 15:50:44 -04:00
Mounir Lamouri
da18a8f130 Merging last green changeset of mozilla-inbound into mozilla-central. 2011-06-22 16:13:49 +02:00
Jonathan Kew
f3ed02ab79 bug 475968 - add padding pixels to loose ink bounds on Windows because of ClearType pixel bleed. r=roc 2011-06-22 09:49:53 +01:00
Ehsan Akhgari
6b630402fa Merge the last green changeset on mozilla-inbound into mozilla-central 2011-06-21 17:46:35 -04:00
Mounir Lamouri
d0fc863efa Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00
Ed Morley
7bd9e7ed4a Bug 665723 - Fix unused variable warnings in layout/generic/; r=roc 2011-06-21 17:37:47 +02:00
Ehsan Akhgari
d71311ff57 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
Robert Longson
3235a831cb Bug 652832 - Support animation of use element width/height. r=jwatt 2011-06-20 21:15:42 +01:00
Mounir Lamouri
6dd49300f3 Backed out changeset 2783e9b15954 (bug 665833) due to oranges. 2011-06-21 18:59:20 +02:00
Joe Drew
df19c75608 Bug 665833 - Use nsCRTGlue rather than nsCRT in nsStyleStruct.cpp. r=dbaron 2011-06-21 01:03:59 -04:00
Jonathan Watt
0102820a83 Bug 665009 - In SVG reftests, replace the link to Creative Commons' retired Public Domain Dedication with a link to the replacement, CC0. r=longsonr,gerv. 2011-06-21 13:19:35 +01:00
Jesse Ruderman
61fa0ff0dc Add crashtest from bug 468563 2011-06-20 11:42:05 -07:00
Jesse Ruderman
207d3878c0 Add crashtest from bug 588627 2011-06-20 11:42:05 -07:00
Jesse Ruderman
438a5d6dc3 Add crashtest from bug 541620 2011-06-20 11:42:05 -07:00
Jesse Ruderman
dcb67c9321 Add crashtest from bug 576649 2011-06-20 11:42:05 -07:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Brian Birtles
1ffb9cb392 Bug 663288 - Don't allow instance times to be self-dependent, r=dholbert 2011-06-22 10:12:35 +09:00
Cameron McCormack
1b56814d74 Bug 642175 - Part 3: Make existing plugin crash mochitests clean up after themselves. r=ted 2011-06-21 12:12:15 +12: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
Boris Zbarsky
84f53e7260 Merge mozilla-central into mozilla-inbound 2011-06-21 17:05:11 -04:00
Boris Zbarsky
75eae9e4e4 Bug 548734. Get rid of the footgun ui.use_native_popup_windows preference. r=roc,khuey 2011-06-21 17:00:47 -04:00
Joel Maher
a62442faec Bug 663853 - move layout/xul/test/*.xul to mochitest-chrome. r=mats, a=test-only 2011-06-19 11:56:44 -04: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
Marco Bonardo
a77ba384e4 Merge Places and mozilla-central 2011-06-18 13:09:31 +02:00
Olli Pettay
ea204bc06a Bug 664430 - Make sure PopupManager doesn't keep objects alive after xpcom-shutdown, r=enndeakin
--HG--
extra : rebase_source : 137f6507926c47686d9542f97b6d518599e5ed0f
2011-06-18 12:11:36 +03:00
Jonas Sicking
c7de44475c Bug 663768 Part 2: Remove syncload XPCOM service. r=jst 2011-06-17 20:05:41 -07:00
Mounir Lamouri
38dbd10996 Merging mozilla-central with mozilla-inbound. 2011-06-17 15:26:17 +02:00
Dão Gottwald
a3d8b786ca Bug 654411 - Use text color at 50% opacity instead of graytext to de-emphasize text in the location bar. r=roc ui-r=faaborg 2011-06-17 08:07:03 +02:00
Robert O'Callahan
89ef55940b Bug 660682. Let anonymous blocks in IB splits inherit opacity from their first inline, so that 'opacity' applies to the contents of a split inline. r=bz 2011-06-17 15:36:07 +12: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
Marco Bonardo
81d8214139 Merge Places and mozilla-central 2011-06-18 11:24:57 +02: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
Jonathan Watt
97132dbab9 Bug 664130 - const-ify some SVG element class methods. r=dholbert. 2011-06-16 11:53:13 +01: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 Watt
cea21c4f74 Bug 664130 - const-ify some SVG element class methods. r=dholbert.
--HG--
extra : rebase_source : e3efcfa1b14b36a5b7f1baefde3fbffb471c6b37
2011-06-16 11:53:13 +01:00
Jonathan Kew
69e6166360 bug 467669 - pt 7 - tests for the font-face inspection API. r=roc 2011-06-16 07:31:38 +01:00
Jonathan Kew
f9cb8da613 bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
a7411a0c9d bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
b0ae7172d2 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
0bc82a4ba2 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc 2011-06-16 07:31:37 +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
Ehsan Akhgari
480581876e Merge backout 2011-06-15 16:52:58 -04:00
Ehsan Akhgari
13d84f740f Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
L. David Baron
cf9bffc899 Make assertion about timestamps in nsAnimationManager::GetAnimationRule non-fatal (bug 652976). r=bzbarsky 2011-06-15 12:33:36 -07:00
Jonathan Kew
8cc6bbfd24 bug 467669 - pt 7 - tests for the font-face inspection API. r=roc
--HG--
extra : rebase_source : e3ba2eb2bbe46b451cb490e6025233afee0df209
2011-06-15 20:17:54 +01:00
Jonathan Kew
be3ae9b1a0 bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
--HG--
extra : rebase_source : d548ab2be329058bde101b142607abf14dce7191
2011-06-15 20:17:54 +01:00
Jonathan Kew
ba1202c246 bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc
--HG--
extra : rebase_source : 91e7f231b281e1949997996d7308aceb4935247b
2011-06-15 20:17:52 +01:00
Jonathan Kew
d5411cefc7 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc
--HG--
extra : rebase_source : f3d41348ab01a21ac6b6a1713b1e5e7274cf7fbf
2011-06-15 20:17:52 +01:00
Jonathan Kew
eacb2d87b0 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01: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
Matt Brubeck
6a416ce1d6 Merge last green mozilla-inbound changeset to mozilla-central 2011-06-15 08:25:48 -07: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
Benjamin Stover
608b301129 Bug 656041 Some parts of page scroll at different rates in Fennec r=roc 2011-06-14 09:20:29 -07: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
781c069c78 Merge backout 2011-06-14 16:30:03 +02:00
Ms2ger
c665a4e4c0 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonathan Watt
13ff11a8fa Bug 663371 - Make runreftests.py default to appending reftest.list to the test path when only a test directory is specified. r=ted. 2011-06-14 13:56:13 +01: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
Daniel Holbert
9725867292 Bug 654858: Fix float-to-nscoord rounding issue in SVG intrinsic ratio, with certain GCC versions & optimizations. r=roc 2011-06-13 14:48:50 -07:00
Matt Brubeck
830f102cc9 Bug 663959 - Mark crashtests as asserting intermittently [r=ehsan] 2011-06-13 14:24:04 -07:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Philipp von Weitershausen
5e6eaf23f9 Merge mozilla-inbound and mozilla-central 2011-06-13 11:57:17 +02:00
Robert O'Callahan
a3ffca93f4 Bug 662898. Test 2011-06-13 13:42:48 +12:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Masayuki Nakano
f96e0ef619 Bug 663041 layout should use mozilla::Preferences r=roc 2011-06-12 11:30:16 +09:00
Randell Jesup
98b0626e03 Bug 505108: Don't leak strings on early returns from Area::ParseCoords(), fix how CString is freed. r=roc 2011-06-11 16:40:39 -04:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Steven Michaud
efe681f006 Bug 661636 - [10.7 SDK] QuickDraw APIs undefined when doing 32-bit builds using the OS X 10.7 SDK. r=bgirard 2011-06-11 09:12:58 +02:00
Geoff Lankow
c35dfb3dbb Bug 662977 - File upload control needs a change event on drop. r=bz
--HG--
extra : rebase_source : aa8afe68e9bfcdbbf772a8ed22c93570131a9395
2011-06-11 00:44:53 +12:00
Chris Jones
8661b24d3b Bug 661940: Dump verbose messages if MOZ_REFTEST_VERBOSE is set in the environment. r=roc 2011-06-10 10:00:11 -07: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
Chris Jones
84d03bfaaa Bug 655926, Test even-odd fill rule. r=joe 2011-06-09 19:15:13 -07: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
L. David Baron
934beb1844 Fix error in comment. r=bzbarsky 2011-06-12 18:52:32 -07:00
L. David Baron
56b624a007 Add test for rule serialization to catch any bugs in DocumentRule::GetCssText that are like the bug in the DEBUG-only DocumentRule::List in the initial patch for bug 398962. 2011-06-12 18:52:32 -07:00
L. David Baron
54e4f6cd4e Add missing break (Bug 398962) r=bzbarsky 2011-06-12 18:52:32 -07:00
L. David Baron
52598f4021 Add needs-focus annotation for native-theme listbox tests. (Bug 659708) 2011-06-12 18:52:32 -07:00
L. David Baron
20f7a84350 Add needs-focus annotation for a bunch of tests with selects in them to try to fix intermittent failures. (Bug 626103) 2011-06-12 18:52:32 -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
L. David Baron
2c8f5f2992 Remove notion of percentage intrinsic size: remove the single case that (incorrectly) sets percentage intrinsic sizes, and fix all of the tests that depend on our old incorrect behavior. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
L. David Baron
81e96fe621 Change IsPercentageAware (which tests whether an inline box's width depends on the width of its container) to check the correct general statement of when the width of a replaced element depends on its container's width, and in doing so avoid depending on the notion of percentage intrinsic size. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
L. David Baron
39ebbd3c69 Allow -moz-box-ordinal-group: 0 (but not negatives, since we store the value as PRUint32). (Bug 644514) r=bzbarsky 2011-06-12 18:52:32 -07:00
L. David Baron
ef804233bb Address missed review comment from bug 644514 patch 1: remove unused macro. r=bzbarsky 2011-06-12 18:52:32 -07:00
Tatiana Meshkova
9ba5a4871f Bug 653133 - reftest for huge background-attachment:fixed image [r=roc] 2011-05-24 13:16:32 +03:00
Joel Maher
86abdea745 Bug 653145 - move layout/xul/base/test/* mochitests to mochitest-chrome to avoid enablePrivileges. r=bzbarsky, a=test-only 2011-06-09 11:10:11 -04:00
Peter Van der Beken
a6322dcbd6 Fix for bug 659580 (Flush CanvasImageCache on shutdown). r=roc.
--HG--
extra : rebase_source : 9752189ce8c9bd13795979cfa8d50311b5bf5b56
2011-04-13 17:34:06 -07: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
Benjamin Stover
8b013c8d5d Bug 647192 IPC view rendering bug using positioned elements and overflow:scroll r=cjones 2011-04-11 17:27:00 -07: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
47bf01b687 Tests for bug 229367 and bug 613157 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
Ehsan Akhgari
c29fd423ea Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Sebastian Kromp
1052ad8280 Bug 578564. Remove nsIFrameSetElement and just use nsHTMLFrameSetElement instead. r=bzbarsky
--HG--
rename : content/html/content/public/nsIFrameSetElement.h => content/html/content/src/nsHTMLFrameSetElement.h
2011-06-08 12:04:10 -07:00
Kyle Huey
d2da8f5e6c Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Boris Zbarsky
bc2ade9532 Add test for bug 200089. 2011-06-07 12:35:17 -07:00
Kyle Huey
090fb7c81d Bug 662403: Fix reftest-analyzer and leak-gauge to not use removed nsIDOMFile methods. r=bz
DONTBUILD
2011-06-07 10:03:02 -07:00
Mounir Lamouri
dbc8f56eea Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Masayuki Nakano
4f6c245f00 Bug 661101 backout a part of 9014863a7e2a which was included to the mq file unexpectedly 2011-06-07 16:44:56 +09:00
Masayuki Nakano
b0bca8f976 Bug 661101 widget should use mozilla::Preferences r=roc 2011-06-07 16:38:00 +09:00
Benjamin Stover
4d6860feb1 Bug 658076 nsSubDocumentFrame uses content to get docshell r=bz 2011-06-08 09:04:16 -07:00
Benoit Girard
468e5acf13 Asynchronous layer-based plugin painting on Mac b=598425 r=roc,josh 2011-05-19 17:08:14 -04:00
Phil Ringnalda
ba566a58e2 Bug 650691 - random-if the SVG object--auto reftests that are random-if(Android) 2011-06-04 22:20:52 -07: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
Daniel Holbert
8e2fd7a748 Bug 662089: Make text after #endif in nsObjectFrame.cpp into a comment, to fix build warning. r=roc 2011-06-06 11:02:28 -07:00
Neil Deakin
d82e4f5a03 Bug 577377, add a means to get the screen rectangle of a popup, r=neil 2011-06-03 15:38:23 -04:00
Mounir Lamouri
af81ce3c72 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Masayuki Nakano
a1fdb33535 Bug 660568 nsImageFrame::IconLoad must call Preferences::RemoveObservers() r=roc 2011-06-03 15:07:10 +09:00
Jonathan Kew
93c7072af0 Bug 661471. Part 5: Fix reftests. r=roc 2011-06-03 16:31:08 +12:00
Mounir Lamouri
42d1a4c2b4 Bug 661113 - Progress bars with -moz-orient: vertical should have vertical dimensions by default. r=roc 2011-06-01 12:27:46 +02:00