Commit Graph

14084 Commits

Author SHA1 Message Date
Ryan VanderMeulen
5342152144 Bug 778413 - Move and rename the reftest. irc-r=dbaron
--HG--
rename : layout/reftests/table-bordercollapse/minimum_cell_width_calculation-ref.html => layout/reftests/table-width/cell-pref-width-border-box-ref.html
rename : layout/reftests/table-bordercollapse/minimum_cell_width_calculation-Border-Box.html => layout/reftests/table-width/cell-pref-width-border-box.html
2012-08-25 17:18:43 -04:00
Tal Aloni
6eb304e868 Bug 778413 - Minimum cell width calculation reftest. r=dbaron 2012-08-25 12:30:47 +02:00
David Zbarsky
273e2bcc58 Fix virtual dtor warning, no bug, blanker r=bz 2012-08-25 12:33:51 -04:00
David Zbarsky
d18fec853b Bug 780692 Part 0: Make sure frames that have async animations are marked as having active layers r=roc 2012-08-25 10:52:30 -04:00
David Zbarsky
718c01298c Fix a logging message, no bug, r=me 2012-08-25 00:10:47 -04:00
David Zbarsky
a3f56ea14f [Bug 785454] Remove nsPresShell::GetFrameForPoint r=smaug 2012-08-25 00:09:48 -04:00
Boris Zbarsky
efc50e4b0d Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
Boris Zbarsky
ce2e8bb5cc Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv 2012-08-23 21:08:08 -07:00
Benjamin Smedberg
a844435618 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
820281ab5d Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
David Zbarsky
be2e552065 Log when we can't use async animations due to pseudos, no bug, r=cjones 2012-08-24 15:08:18 -04:00
Kyle Huey
0cae034974 Bug 783162: Make mapped attributes hold the image alive. r=bz
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary.  This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff.  Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive.  Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request.  The result is that all the references to the request are dropped and the frame is never told it has a background.

The solution is to keep the nsCSSValue::Image alive longer.  This patch adds two new types of nsAttrValue.  The first is an nsCSSValue::URL.  A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL.  The second is an nsCSSValue::Image.  nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load.  The result is that image loads are only started when the element is actually visible.  This also mirrors the way background-image works.  This also allows us to fix two longstanding bugs in this code.  Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document.  Now we can grab the principal of the node in ParseBackgroundAttribute.  MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.

nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value.  nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared.  Moving the classes to a namespace solves the problem.

Finally some old inoperative quirks mode code was removed.  This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Benjamin Smedberg
d8f80b82e5 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Benoit Girard
ca001bb642 Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
--HG--
extra : rebase_source : 816fc213bdc9e3201913f8df944a2a84e6f33bfc
2012-08-23 22:07:21 -04:00
Chris Lord
161d1ea386 Bug 785333 - Keep track of merged frames with all display items. r=roc
This changes the display-item storage to store layers against the underlying
frame and all merged frames of an item (and similarly, to retrieve them against
all frames of an item).
2012-08-24 16:17:22 +01:00
Chris Lord
30b4deab7a Bug 785333 - Store container layers against merged frames. r=roc
As well as storing the container layer against the underlying frame of the
container item, store it against its merged frames as well. In addition, check
for old container layers against merged frames when building a container layer.

This protects against losing the layer when the underlying frame of a container
item changes to either a new frame or an existing, merged frame.
2012-08-24 16:17:22 +01:00
Neil Deakin
4b70b5c1ef Bug 582719, remove unused GetParentMenu method that was missed by 1ca7e8b00fbb 2012-08-24 08:41:20 -04:00
Yury
9044c64c6a Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Chris Pearce
76f2fb0490 Bug 781279 - Forget update plugin geometry frame when presentation detaches. r=roc 2012-08-24 23:12:21 +12:00
Chris Lord
777670dafd Bug 781516 - Remove DisplayItemDataEntry.mIsMergedFrame. r=roc
This is unnecessary as it just duplicates the functionality of
mIsSharingContainerLayer.
2012-08-24 11:59:37 +01:00
Jonathan Kew
7059ab1905 bug 784837 - call SetPrimaryFrame earlier during nsSubDocumentFrame::Init. r=roc 2012-08-24 10:16:15 +01:00
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Chris Lord
e285e5de5c Bug 771154 - Invalidate only the frame rect when new frames come into view. r=roc
Instead of forcing a full-layer invalidation when new frames appear, invalidate
only the bounds of the frame. Invalidating untrusted geometry still causes a
full-layer invalidation.
2012-08-23 12:14:47 +01:00
Chris Lord
d736d8336e Bug 781516 - Fix invalidation caused by unprocessed merged frames. r=roc
As clip items aren't processed, they have no associated layer entries. This is
a problem when a clip item's underlying frame is the same as one that gets
merged into a container layer, as display-item data will be created, but no
layer entry will be added. This will cause it to be removed on the next
layer-build, and cause a full invalidation.

Fix this by adding an 'mIsMergedFrame' entry to DisplayItemDataEntry and setting
it on all merged frames in BuildContainerLayerFor. This property stops the
entry from being removed when it gets updated.
2012-08-23 09:30:53 +01:00
David Zbarsky
b099208605 Bug 784846 - The ShouldPrerender check for async animations is wrong r=mattwoodrow 2012-08-23 02:05:27 -04:00
Cameron McCormack
09617bdd09 Bug 782610 - Fix format of @supports tests. r=dbaron 2012-08-23 11:25:05 +10:00
Cameron McCormack
e623346898 Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc 2012-08-23 11:24:19 +10:00
Cameron McCormack
96cc1a05d6 Bug 655877 - Part 38: Ignore the non-SVG frames when propagating SVG changes through a tree. r=longsonr 2012-08-23 11:23:23 +10:00
Cameron McCormack
0c12bad353 Bug 705184 - Count unexpected reftest crash dump files as test failures. r=dbaron 2011-12-05 14:06:42 +11:00
Andrew Halberstadt
d61f0e8d67 Bug 784810 - Disable browser.tabs.remote for b2g reftests, r=jgriffin 2012-08-22 17:24:57 -04:00
Matt Brubeck
540d51b015 Bug 783565 - Don't look for mobile doctype or handheldFriendly if there is also a meta viewport tag [r=jwir3] 2012-08-22 13:17:09 -07:00
Ehsan Akhgari
a8a14f9163 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Ed Morley
18b177c6cf Merge mozilla-central to mozilla-inbound 2012-08-22 10:37:32 +01:00
Ed Morley
9d67a4ff74 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-22 10:28:02 +01:00
Ryan VanderMeulen
7752c11752 Merge the last PGO-green inbound changeset to m-c. 2012-08-21 21:59:12 -04:00
David Zbarsky
3b46ec5677 Move mStyleRule and mStyleRuleRefreshTime from ElementAnimations/ElementTransitions to CommonElementAnimationData, no bug, r=dbaron over irc 2012-08-21 21:48:47 -04:00
David Zbarsky
3822af4b7f Bug 784239 - Perform async animations even when not all properties can be asyncified r=roc 2012-08-21 21:48:47 -04:00
Olli Pettay
c59ca9a643 Bug 783015 - Chrome refreshdriver runs all the time, r=khuey 2012-08-21 16:14:06 -07:00
Ehsan Akhgari
61746bbaf1 Bug 768503 follow-up: fix the comment to match what the code does now
DONTBUILD
2012-08-21 17:09:10 -04:00
Ehsan Akhgari
306a98e79d Bug 688575 - Disable layout/base/tests/bug482484.html on Windows because of focus issues which cause it to fail intermittently 2012-08-21 15:05:25 -04:00
Ehsan Akhgari
8afd2ac53b Bug 689435 - Disable layout/base/tests/bug644428-1.html on Windows because of focus issues which cause it to fail intermittently
--HG--
extra : rebase_source : bac1343efa68c1833ce517bb7b63a61406ace14e
2012-08-21 14:01:21 -04:00
L. David Baron
0d11233f7c Fix reftest bustage from changeset aa86bacc7e57. (Bug 691950) 2012-08-20 23:01:57 -07:00
L. David Baron
7d0601d5e6 Move the imported css3-namespace test suite in with other test suites imported from the CSSWG repository, and make the importing script import it. (Bug 691950)
--HG--
rename : layout/reftests/css-namespace/prefix-001.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-001.xml
rename : layout/reftests/css-namespace/prefix-002.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-002.xml
rename : layout/reftests/css-namespace/prefix-003.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-003.xml
rename : layout/reftests/css-namespace/prefix-004.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-004.xml
rename : layout/reftests/css-namespace/prefix-005.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-005.xml
rename : layout/reftests/css-namespace/prefix-006.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-006.xml
rename : layout/reftests/css-namespace/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-block.xml
rename : layout/reftests/css-namespace/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-generic.xml
rename : layout/reftests/css-namespace/ref-lime-1.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1.xml
rename : layout/reftests/css-namespace/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-2-generic.xml
rename : layout/reftests/css-namespace/ref-lime-2.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-2.xml
rename : layout/reftests/css-namespace/ref-lime-3.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-3.xml
rename : layout/reftests/css-namespace/ref-lime-5.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-5.xml
rename : layout/reftests/css-namespace/ref-lime-6.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-6.xml
rename : layout/reftests/css-namespace/scope-001.xml => layout/reftests/w3c-css/received/css3-namespace/scope-001.xml
rename : layout/reftests/css-namespace/scope-002.xml => layout/reftests/w3c-css/received/css3-namespace/scope-002.xml
rename : layout/reftests/css-namespace/support/fail.css => layout/reftests/w3c-css/received/css3-namespace/support/fail.css
rename : layout/reftests/css-namespace/support/scope-002a.css => layout/reftests/w3c-css/received/css3-namespace/support/scope-002a.css
rename : layout/reftests/css-namespace/support/scope-002b.css => layout/reftests/w3c-css/received/css3-namespace/support/scope-002b.css
rename : layout/reftests/css-namespace/support/syntax-007.css => layout/reftests/w3c-css/received/css3-namespace/support/syntax-007.css
rename : layout/reftests/css-namespace/syntax-001.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-001.xml
rename : layout/reftests/css-namespace/syntax-002.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-002.xml
rename : layout/reftests/css-namespace/syntax-003.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-003.xml
rename : layout/reftests/css-namespace/syntax-004.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-004.xml
rename : layout/reftests/css-namespace/syntax-005.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-005.xml
rename : layout/reftests/css-namespace/syntax-006.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-006.xml
rename : layout/reftests/css-namespace/syntax-007.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-007.xml
rename : layout/reftests/css-namespace/syntax-008.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-008.xml
rename : layout/reftests/css-namespace/syntax-009.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-009.xml
rename : layout/reftests/css-namespace/syntax-010.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-010.xml
rename : layout/reftests/css-namespace/syntax-011.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-011.xml
rename : layout/reftests/css-namespace/syntax-012.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-012.xml
rename : layout/reftests/css-namespace/syntax-013.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-013.xml
rename : layout/reftests/css-namespace/syntax-014.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-014.xml
rename : layout/reftests/css-namespace/syntax-015.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-015.xml
2012-08-20 22:41:49 -07:00
L. David Baron
9de3f6d254 Treat argument of :-moz-locale-dir() case-insensitively. (Bug 741293) r=smontagu 2012-08-20 22:41:47 -07:00
Chris Pearce
20bd89e05b Bug 783824 - Don't stash the presentation (discard it if it was stashed) when subdoc frames are destroyed if the presentation is being destroyed. r=roc 2012-08-21 17:07:03 +12:00
David Zbarsky
bc0a1fa738 Bug 783893 - Clean up async animation code r=roc 2012-08-21 00:06:47 -04:00
David Zbarsky
b27894f902 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Andrew Halberstadt
7ba1f1b6f4 Bug 778072 - Add pref for reftests to use iframe mozbrowser. r=cjones 2012-08-17 11:45:39 -04:00
L. David Baron
bfa2ca47cd Do first (small) round of importing W3C reftests into tree. (This provides a test for bug 782401.) 2012-08-20 19:23:32 -07:00
L. David Baron
26cd9e1364 Add missing SkipUntil call in @supports parsing. (Bug 782401) r=heycam
Fixes http://test.csswg.org/source/contributors/opera/submitted/css3-conditional/at-supports-030.html
2012-08-20 19:23:32 -07:00