Commit Graph

15721 Commits

Author SHA1 Message Date
Cameron McCormack
4915f835c5 Bug 826582 - Part 5: Upstream calc-in-gradient tests. r=dbaron
--HG--
rename : layout/reftests/css-calc/background-image-gradient-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html
rename : layout/reftests/css-calc/background-image-gradient-1.html => layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html
rename : layout/reftests/css-calc/background-linear-gradient-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-background-linear-gradient-1-ref.html
rename : layout/reftests/css-calc/background-linear-gradient-1.html => layout/reftests/w3c-css/submitted/values3/calc-background-linear-gradient-1.html
2013-01-16 14:18:13 +11:00
Cameron McCormack
83b3239b73 Bug 826582 - Part 4: Make upstreamed calc() tests conform to the test template. r=dbaron 2013-01-16 14:17:44 +11:00
Cameron McCormack
c29f81ade3 Bug 826582 - Part 3: Move calc() tests to be upstreamed to the CSS test suite. r=dbaron
--HG--
rename : layout/reftests/css-calc/background-position-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-background-position-1-ref.html
rename : layout/reftests/css-calc/background-position-1.html => layout/reftests/w3c-css/submitted/values3/calc-background-position-1.html
rename : layout/reftests/css-calc/background-size-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-background-size-1-ref.html
rename : layout/reftests/css-calc/background-size-1.html => layout/reftests/w3c-css/submitted/values3/calc-background-size-1.html
rename : layout/reftests/css-calc/border-radius-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-border-radius-1-ref.html
rename : layout/reftests/css-calc/border-radius-1.html => layout/reftests/w3c-css/submitted/values3/calc-border-radius-1.html
rename : layout/reftests/css-calc/height-block-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-height-block-1-ref.html
rename : layout/reftests/css-calc/height-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-height-block-1.html
rename : layout/reftests/css-calc/height-table-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-height-table-1-ref.html
rename : layout/reftests/css-calc/height-table-1.html => layout/reftests/w3c-css/submitted/values3/calc-height-table-1.html
rename : layout/reftests/css-calc/margin-block-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-margin-block-1-ref.html
rename : layout/reftests/css-calc/margin-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-margin-block-1.html
rename : layout/reftests/css-calc/max-height-block-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-max-height-block-1-ref.html
rename : layout/reftests/css-calc/max-height-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-max-height-block-1.html
rename : layout/reftests/css-calc/max-width-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-max-width-block-1.html
rename : layout/reftests/css-calc/max-width-block-intrinsic-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-max-width-block-intrinsic-1-ref.html
rename : layout/reftests/css-calc/max-width-block-intrinsic-1.html => layout/reftests/w3c-css/submitted/values3/calc-max-width-block-intrinsic-1.html
rename : layout/reftests/css-calc/min-height-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-min-height-block-1.html
rename : layout/reftests/css-calc/min-width-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-min-width-block-1.html
rename : layout/reftests/css-calc/min-width-block-intrinsic-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-min-width-block-intrinsic-1-ref.html
rename : layout/reftests/css-calc/min-width-block-intrinsic-1.html => layout/reftests/w3c-css/submitted/values3/calc-min-width-block-intrinsic-1.html
rename : layout/reftests/css-calc/offsets-absolute-bottom-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-bottom-1.html
rename : layout/reftests/css-calc/offsets-absolute-left-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-left-1.html
rename : layout/reftests/css-calc/offsets-absolute-right-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-right-1.html
rename : layout/reftests/css-calc/offsets-absolute-top-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-top-1-ref.html
rename : layout/reftests/css-calc/offsets-absolute-top-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-top-1.html
rename : layout/reftests/css-calc/offsets-relative-bottom-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-bottom-1.html
rename : layout/reftests/css-calc/offsets-relative-left-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html
rename : layout/reftests/css-calc/offsets-relative-left-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1.html
rename : layout/reftests/css-calc/offsets-relative-right-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-right-1.html
rename : layout/reftests/css-calc/offsets-relative-top-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-top-1-ref.html
rename : layout/reftests/css-calc/offsets-relative-top-1.html => layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-top-1.html
rename : layout/reftests/css-calc/padding-block-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-padding-block-1-ref.html
rename : layout/reftests/css-calc/padding-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-padding-block-1.html
rename : layout/reftests/css-calc/text-indent-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-text-indent-1-ref.html
rename : layout/reftests/css-calc/text-indent-1.html => layout/reftests/w3c-css/submitted/values3/calc-text-indent-1.html
rename : layout/reftests/css-calc/text-indent-intrinsic-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-text-indent-intrinsic-1-ref.html
rename : layout/reftests/css-calc/text-indent-intrinsic-1.html => layout/reftests/w3c-css/submitted/values3/calc-text-indent-intrinsic-1.html
rename : layout/reftests/css-calc/transform-origin-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-transform-origin-1-ref.html
rename : layout/reftests/css-calc/transform-origin-1.html => layout/reftests/w3c-css/submitted/values3/calc-transform-origin-1.html
rename : layout/reftests/css-calc/vertical-align-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-vertical-align-1-ref.html
rename : layout/reftests/css-calc/vertical-align-1.html => layout/reftests/w3c-css/submitted/values3/calc-vertical-align-1.html
rename : layout/reftests/css-calc/width-block-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-width-block-1-ref.html
rename : layout/reftests/css-calc/width-block-1.html => layout/reftests/w3c-css/submitted/values3/calc-width-block-1.html
rename : layout/reftests/css-calc/width-block-intrinsic-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-width-block-intrinsic-1-ref.html
rename : layout/reftests/css-calc/width-block-intrinsic-1.html => layout/reftests/w3c-css/submitted/values3/calc-width-block-intrinsic-1.html
rename : layout/reftests/css-calc/width-table-auto-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-width-table-auto-1-ref.html
rename : layout/reftests/css-calc/width-table-auto-1.html => layout/reftests/w3c-css/submitted/values3/calc-width-table-auto-1.html
rename : layout/reftests/css-calc/width-table-fixed-1-ref.html => layout/reftests/w3c-css/submitted/values3/calc-width-table-fixed-1-ref.html
rename : layout/reftests/css-calc/width-table-fixed-1.html => layout/reftests/w3c-css/submitted/values3/calc-width-table-fixed-1.html
rename : layout/reftests/css-calc/reftest.list => layout/reftests/w3c-css/submitted/values3/reftest.list
2013-01-16 14:17:32 +11:00
Cameron McCormack
8a77c8b844 Bug 826582 - Part 2: Unprefix -moz-transform{,-origin} in calc() reftests. r=dbaron 2013-01-16 14:16:46 +11:00
Cameron McCormack
130fa9dca9 Bug 826582 - Part 1: Unprefix -moz-calc() in reftests for that feature. r=dbaron 2013-01-16 14:16:32 +11:00
Matt Woodrow
a93c05ed7b Bug 822906 - Use SplayTree to remove deleted frames from RestyleTracker. r=roc 2013-01-16 12:12:40 +13:00
Mats Palmgren
97f9bf1fe4 Bug 830236 - Add re-entrancy protection in a few places to avoid destroying things twice. r=cam 2013-01-15 21:47:10 +01:00
Boris Zbarsky
0f2a047c94 Bug 827799. Apply clip to outer table frames as needed. r=roc 2013-01-15 14:04:24 -05:00
Paul Adenot
452ff3b1a5 Bug 822933 - Properly check if a WebM file has cues. r=kinetik 2012-12-23 16:51:17 +01:00
Trevor Saunders
ddbe49139b bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
Jonathan Kew
dd91a5bdfa bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 15:19:28 +00:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
David Zbarsky
66edabde03 Bug 830221 - Remove nsIDOMDOMImplementation r=bz 2013-01-14 21:06:20 -05:00
Bas Schouten
6f3afc79d3 Bug 817019 - Reftest: Test bounded ops with opaque canvas and complex radial gradient. r=jrmuizel 2013-01-15 02:20:10 +01:00
Cameron McCormack
03c19cb5bb Bug 830214 - Avoid crashing when printing a document with many mozPrintCallback canvases. r=roc
--HG--
extra : rebase_source : 98ae3180cb36f040241ae0b6850485923afe4570
2013-01-15 09:45:53 +11:00
Ehsan Akhgari
597517a42f Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Robert Longson
6bb529e679 Bug 818177 - Try to make anim-filter-filterRes-01.svg fail less often. r=dholbert 2013-01-14 08:41:56 +00:00
Matt Woodrow
4c9c3921d4 Bug 829921 - Make sure that we don't choose a reference frame that is an ancestor of the root reference frame. r=roc 2013-01-14 18:30:47 +13:00
Phil Ringnalda
f757179f83 Bug 696670, bug 696671, bug 696672, bug 696673, bug 703201 - switch Windows no-accel annotations to use fuzzy-if instead of fails-if
--HG--
extra : rebase_source : 801b413470016e9f165e824d8350687b3de1eb47
2013-01-13 15:05:23 -08:00
Phil Ringnalda
c56c138487 Back out ecac2ce4eada (bug 828126) for busting b2g's arm 2013-01-13 17:48:33 -08:00
Kartikaya Gupta
18b14f5644 Bug 828126 - Remove ANDROID special-casing now that dependent bugs have been fixed. r=avih 2013-01-13 19:19:03 -05:00
Robert Longson
85559126fe Bug 828526 - Lighting filters should operate in the sRGB colour space. r=roc 2013-01-13 10:38:02 +00:00
Ryan VanderMeulen
68e828b65d Backed out changeset c8fe09ac1842 (bug 825720) on suspicion of making bug 772443 nearly perma-orange. 2013-01-12 21:00:30 -05:00
Cameron McCormack
c428579a9c Bug 828805 - Followup warning removal. 2013-01-13 11:45:23 +11:00
Cameron McCormack
c643ccbaed Bug 828805 - Followup build fix. 2013-01-13 11:17:00 +11:00
Cameron McCormack
572084f298 Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
David Zbarsky
c276cafcb1 Bug 827172: Move SVGPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPathElement.cpp => content/svg/content/src/SVGPathElement.cpp
rename : content/svg/content/src/nsSVGPathElement.h => content/svg/content/src/SVGPathElement.h
2013-01-12 17:22:31 -05:00
David Zbarsky
ae40c85085 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-12 16:53:01 -05:00
Seth Fowler
c3007a9ded Bug 811391 - Part 2: Tests. r=dbaron 2013-01-09 16:05:19 -08:00
Seth Fowler
221cb13546 Bug 811391 - Part 1: Ignore @page declarations involving viewport units. r=dbaron
* * *
Bug 811391 followup: Fix out-of-order init list, to fix build warning (treated as error).
2013-01-09 16:03:55 -08:00
Ehsan Akhgari
4754760218 Backed out 2 changesets (bug 811391) because of build bustage
Backed out changeset c20904b75bcc (bug 811391)
Backed out changeset f0a00bf2ba8e (bug 811391)
2013-01-12 16:05:11 -05:00
Brendan Dahl
d282d196eb Bug 827591 - Be more careful changing declarations on page rules. r=dbaron 2013-01-09 10:33:09 -08:00
Anthony Jones
3c191a8ead Bug 825808 - Fix animations by marking transforms as not fixed. r=roc 2013-01-12 15:48:55 -05:00
Seth Fowler
ea4e910f0f Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe 2013-01-10 19:38:34 -08:00
Seth Fowler
3925c7d5bb Bug 811391 - Part 2: Tests. r=dbaron 2013-01-09 16:05:19 -08:00
Seth Fowler
ecc937ddc1 Bug 811391 - Part 1: Ignore @page declarations involving viewport units. r=dbaron 2013-01-09 16:03:55 -08:00
Daniel Holbert
6ad20ea285 Bug 829168: Mark layout/style as FAIL_ON_WARNINGS, on non-MSVC compilers. r=bz 2013-01-12 10:49:12 -08:00
Ehsan Akhgari
46c6a08469 Merge mozilla-central into mozilla-inbound 2013-01-12 09:27:31 -05:00
Daniel Holbert
be140b9731 Bug 829369: Cast pointer-subtraction to a size_t (after ensuring it'll be nonnegative) when comparing it to a nsTArray's size, to fix signed/unsigned comparison build warning. r=dbaron 2013-01-12 01:56:15 -08:00
Mike Connor
884e54b026 Bug 804745 - Unified notification for application data reporting; r=gavin 2013-01-11 19:05:35 -08:00
Ms2ger
3c26b8b8e4 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
c450d91d46 Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
Ms2ger
3afadd016c Bug 825407 - Get rid of GetElementParent; r=mounir 2013-01-11 09:43:01 +01:00
L. David Baron
862cbc2417 Back out bug 588237, patches 2 through 5. 2013-01-10 22:20:16 -08:00
L. David Baron
fc4d4d9f2a Bug 827687, patch 2: Be more careful walking segments. r=bzbarsky 2013-01-10 21:14:51 -08:00
L. David Baron
3ead73e907 Bug 827687: Fix edge case in calculation of whichIteration. r=bzbarsky 2013-01-10 21:14:51 -08:00
L. David Baron
7f995ece9b Bug 827717: Change record of CSS animation start to be before delay so that dynamic changes to animation-delay are honored. r=bzbarsky
This matches the CSS Working Group consensus recorded in
http://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html , though
the spec hasn't yet been updated.
2013-01-10 21:14:51 -08:00
L. David Baron
e906bade03 Bug 827698: Use the length of the 'animation-name' list when determining how many animations to run. r=bzbarsky
NOTE:  The tests in test_animations.html fail without the patch; the
tests in test_shorthand_property_getters.html are only tangentially
related and pass both with and without the patch.
2013-01-10 21:14:51 -08:00
L. David Baron
32ce324129 Bug 588237, patch 5: remove the optimization of skipping FlowAndPlaceFloat for some pushed floats, simply because the optimization looks fishy to me. r=roc 2013-01-10 21:14:51 -08:00
L. David Baron
f47d93e47f Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc 2013-01-10 21:14:51 -08:00
L. David Baron
6139cb52c3 Bug 588237, patch 3: Remove the pushed floats list when it is empty. r=roc 2013-01-10 21:14:51 -08:00
L. David Baron
56eccb84a1 Bug 588237, patch 2: Fix comment that is now incorrect due to work in bug 563584 or followups. r=roc 2013-01-10 21:14:51 -08:00
Ed Morley
1fdf7e5025 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2013-01-10 16:00:09 +00:00
Olli Pettay
54135b56d1 Bug 817342, delay script runners when making static clones, r=roc 2013-01-10 11:59:36 +02:00
Robert O'Callahan
8ec734119f Bug 828207: Wallpaper over not being able to find a layer manager on the main thread when initializing a remote render frame. That's OK, we'll find one on the compositor thread. r=cjones 2013-01-10 11:02:21 +01:00
Trevor Saunders
0f5eb0fd07 bug 829288 - fix layout/ warnings on mingw r=dholbert 2013-01-10 02:04:09 -05:00
David Zbarsky
cd990802cf Bug 825147: Convert SVGAElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
60c7a3b594 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky
e4a26da046 Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
L. David Baron
f6c701d8f7 Bug 822721 followup: remove bogus assertion to fix orange. 2013-01-09 08:51:14 -08:00
Mounir Lamouri
6393630aee Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug 2013-01-08 17:10:00 +00:00
Andrea Marchesini
fd59052d04 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Nicholas Cameron
3ad3f5b421 Bug 824454; use the resolution scale in OMTA transforms. r=cjones; a=blocking-basecamp
--HG--
extra : rebase_source : 8f045dd319418b771c5f31ca2f3477ab5673a5ad
2013-01-08 10:39:12 +01:00
L. David Baron
4ff18eaae8 Fix bustage from bug 822721. 2013-01-08 20:53:16 -08:00
L. David Baron
585c1005ff Bug 827704: Fix 'visibility' animation so that it doesn't animate between values when one of them is not 'visibile'. r=bzbarsky 2013-01-08 20:37:29 -08:00
L. David Baron
c9b4c7bd69 Bug 827579: Remove post-resolve callback concept from style system. r=bzbarsky 2013-01-08 20:37:29 -08:00
L. David Baron
2b0c14944b Bug 822721: Call CalcStyleDifference and process the style change list resulting from the miniflush we do to update throttled animations prior to seeing if we need to start transitions. r=bzbarsky
The CalcStyleDifference call is absolutely necessary even if we didn't
need to process the change list, because it causes the new style
context to have cached structs that we might need for a later
comparison.  This is important because, as an optimization, we only
compare structs that have been retrieved.  This optimization requires
that when we replace a style context, we fetch all the structs on the
new style context that had been fetched on the old style context (which
is normally necessary anyway in order to do comparison so we can process
the changes appropriately).

However, actually processing the change list is also necessary to fix
the bug; it's the actual change from the miniflush that matters here.
Based on dholbert's debugging information, I think it's mostly likely
because we were failing to process the UpdateOverflow hint.
2013-01-08 20:37:29 -08:00
Trevor Saunders
cca31177a2 bug 828138 - GetCurrentSelection() should return Selection* r=smaug 2012-12-19 17:55:44 -05:00
Trevor Saunders
b678fb6c9b bug 828138 - remove out arg from Selection::GetPresContext() r=ehsan 2012-12-19 13:44:58 -05:00
Trevor Saunders
a64f55183c bug 828138 - make Selection::GetPresShell() return the pres shell instead of use an out arg r=ehsan 2012-12-18 19:55:11 -05:00
Trevor Saunders
acb9fa5812 bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan 2012-12-18 17:30:11 -05:00
L. David Baron
64f2af2b05 Add crashtest for bug 621424 / bug 588237. 2013-01-11 14:51:21 -08:00
L. David Baron
d162a80b30 Bug 588237, patch 5: remove the optimization of skipping FlowAndPlaceFloat for some pushed floats, simply because the optimization looks fishy to me. r=roc 2013-01-11 14:51:21 -08:00
L. David Baron
236d1979ed Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc 2013-01-11 14:51:21 -08:00
L. David Baron
3a06831348 Bug 588237, patch 2: Fix comment that is now incorrect due to work in bug 563584 or followups. r=roc 2013-01-11 14:51:21 -08:00
Robert Longson
42af054b05 Bug 828246 - Prevent stroke from drawing, on SVG text with a stroke-width of 0. r=dholbert 2013-01-11 22:08:37 +00:00
Neil Deakin
1c452d87cf Bug 685191, don't fire an extra DOMMenuItemActive event when switching menus on a menubar, r=neil 2013-01-11 15:21:48 -05:00
Chris Peterson
f913a80fc9 Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan 2013-01-10 17:56:51 -08:00
L. David Baron
54f28b4875 Bug 822891: Make animationiteration events fire when we're running off-main-thread animations and throttling style changes. r=nrc 2013-01-11 09:53:14 -08:00
Zack Weinberg
576dd3ca60 Bug 413958: report the text of the offending line in CSS error messages. r=dbaron 2013-01-11 12:27:43 -05:00
Ms2ger
68bbcd67a0 Merge m-c to m-i. 2013-01-11 15:11:42 +01:00
Cervantes Yu
7870585aaf Bug 820571: Don't show remote frame on restyles until reflow finished. r=roc
Original work from :roc.
Add check in nsFrameLoader::ShowRemoteFrame() so restyle of subdocument frames
doesn't resize remote content until first reflow finished and size is decided.

--HG--
extra : rebase_source : 24959ad409eb4e8993ae9eb0a82f5d670866ba54
2013-01-10 15:23:55 +08:00
Robert O'Callahan
322452e79f Bug 827577. Be a lot more careful about saving and restoring frame constructor state for fixed-pos descendants of CSS-transformed elements. r=bzbarsky
--HG--
extra : rebase_source : b78a8cb774b961696e59c2c27a8ade56d629b78f
2013-01-11 00:47:33 +13:00
Masatoshi Kimura
0e056cc892 Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc 2013-01-11 20:37:52 +09:00
Ed Morley
3543eadcba Backout 7f4f96dbf94f (bug 827172), 661847c6e48b (bug 827724), 00e357dd1458 (bug 827149) to fix the build on a CLOSED TREE 2013-01-11 11:13:17 +00:00
David Zbarsky
af6bce29a7 Bug 827172: Move SVGPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPathElement.cpp => content/svg/content/src/SVGPathElement.cpp
rename : content/svg/content/src/nsSVGPathElement.h => content/svg/content/src/SVGPathElement.h
2013-01-11 02:15:05 -05:00
David Zbarsky
b20442f721 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-11 02:15:05 -05:00
Andrew Halberstadt
4a18b30019 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Daniel Holbert
993adbf969 Bug 829112: Fix "comparison between signed and unsigned integer expressions" warnings in nsStyleSet.cpp. r=bz 2013-01-10 10:40:53 -08:00
Ed Morley
3ff5229d95 Merge mozilla-central to mozilla-inbound 2013-01-10 16:02:04 +00:00
Daniel Holbert
3ff7170bbe Bug 828838: Fix nsCSSRuleProcessor init-list order. r=heycam 2013-01-10 07:55:43 -08:00
Ed Morley
a87be9ab37 Bug 791480 - Mark printing/745025-1.html as fuzzy-if on Windows7 due to too many intermittent failures 2013-01-10 14:59:27 +00:00
Dave Hylands
e9207164c6 Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Cameron McCormack
c07f66a23d Bug 508725 - Part 11: Tests for <style scoped>. rs=dbaron 2013-01-09 10:25:49 +11:00
Cameron McCormack
3cc4cfd6a5 Bug 508725 - Part 7: Optimize restyling when a scoped style sheet changes. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack
24f1ed33ac Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack
38c06ea95f Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack
e1fe24451a Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron 2013-01-09 10:25:47 +11:00
Cameron McCormack
58c56890d2 Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron 2013-01-09 10:25:47 +11:00
Cameron McCormack
a357d10fde Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron 2013-01-09 10:25:47 +11:00
Cameron McCormack
90edb9cab0 Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-09 10:25:47 +11:00
Jonathan Watt
e81a009b21 Bug 820506 - Problem selecting image node in SVG when used with clip-path in certain condition. r=roc.
--HG--
extra : rebase_source : 874ed2a13f51dc5381909502f030cb4ca6c2a41e
2013-01-04 11:48:12 +00:00
Jonathan Watt
1ca98167d3 Testcase for bug 779029 (Mask region ignored when rendering with Direct2D). DONTBUILD (disabled for now). r=me. 2012-12-28 13:02:51 +00:00
Mats Palmgren
512cc2dc9b Bug 823041 - Destroy the pres shell before the document. r=roc 2012-12-09 23:31:54 +01:00
Robert Longson
5292e9ee5a Bug 825411 - clipPaths, masks, etc. with failing conditional processing attributes cause referencing elements not to be rendered r=cam 2013-01-08 13:14:04 +00:00
Ed Morley
b3297d9469 Merge mozilla-central to mozilla-inbound 2013-01-08 12:35:50 +00:00
Olli Pettay
68bcabec5e Bug 821991, prevent unexpected results in printing by keeping the setup stuff alive, r=roc, a=dveditz
--HG--
extra : rebase_source : 0d6001647eae7db48589a69c3dbd96a4dfb8df3f
2013-01-08 14:03:49 +02:00
Phil Ringnalda
ed9b0b2817 Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Phil Ringnalda
a1a5fe2151 Back out fef358e6d5e6 (bug 827050) for Linux/Windows xpcshell orange in test_cache_jar_wrap.js 2013-01-07 22:01:41 -08:00
David Zbarsky
4a5021753c Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr 2013-01-07 22:22:41 -05:00
David Zbarsky
c94423fc14 Bug 825834 - Move SVGViewElement to mozilla:::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGViewElement.cpp => content/svg/content/src/SVGViewElement.cpp
rename : content/svg/content/src/nsSVGViewElement.h => content/svg/content/src/SVGViewElement.h
2013-01-07 22:22:41 -05:00
Daniel Holbert
fd297c7cef Bug 826149 - Add IsFrameTreeTooDeep() early-return in flex container reflow. r=dbaron 2013-01-07 21:29:22 -05:00
Shih-Chiang Chien
c7b1f55e57 Bug 820660 - Test case for prevent selection on mouse event and touch event. r=smaug 2013-01-07 21:29:21 -05:00
Ehsan Akhgari
fb00d8ba4e Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Edwin Flores
a81da6454c Bug 798839 - Fix scaling of SVG glyphs inheriting outer object pattern under zooming r=roc 2013-01-08 11:03:44 +13:00
Cameron McCormack
26873544a3 Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
John Daggett
bd63b0c4bd Bug 605231 - Don't parse unquoted reserved keywords 'initial' or 'default' in font family names. r=dbaron 2013-01-08 17:13:17 +09:00
John Daggett
9c000701a5 Bug 605231 - Move transform parsing code out of font property parsing code. r=dbaron 2013-01-08 17:13:17 +09:00
John Daggett
ab2798ea67 Bug 605231 - Tests for font family name parsing. r=dbaron 2013-01-08 17:13:16 +09:00
Cameron McCormack
3115578777 Bug 508725 - Part 11: Tests for <style scoped>. rs=dbaron 2013-01-08 19:09:24 +11:00
Cameron McCormack
f2a7640eb0 Bug 508725 - Part 7: Optimize restyling when a scoped style sheet changes. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack
9055d5a95a Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack
e4e4c560a0 Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack
ad3f65836e Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack
50a3cffd42 Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron 2013-01-08 19:09:22 +11:00
Cameron McCormack
f8c50ba688 Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron 2013-01-08 19:09:22 +11:00
Cameron McCormack
993c756dda Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-08 19:09:22 +11:00
Andrea Marchesini
72c8687e50 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Dave Hylands
782c100040 Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Andrew Halberstadt
0c1d44517f Bug 812012 - (Part 1) Add busybox arg to b2g reftest/mochitest harnesses, r=jgriffin, DONTBUILD a=NPOTB,test-only 2013-01-07 10:29:43 -05:00
Boris Zbarsky
b9b639512f Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken 2013-01-07 10:29:00 -05:00
Robert O'Callahan
bd28d642f1 Bug 504071. Allow image drawing to snap to pixel boundaries even if there's scaling, on all platforms. Not only is it faster, it avoids seaming. This is consistent with snapping behavior of other drawing operations. r=joe 2012-12-05 12:34:19 +13:00
Ehsan Akhgari
7df39aa6c7 Merge mozilla-central into mozilla-inbound 2013-01-06 22:49:02 -05:00
Cameron McCormack
6852ed23cc Bug 818626 - More debugging for crashes at the end of printing. r=roc 2013-01-07 14:29:47 +11:00
Ehsan Akhgari
5c76c7d75d Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc 2013-01-05 23:07:27 -05:00
David Zbarsky
c5ea6822f4 Bug 825732: Convert SVGTextPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPathElement.cpp => content/svg/content/src/SVGTextPathElement.cpp
rename : content/svg/content/src/nsSVGTextPathElement.h => content/svg/content/src/SVGTextPathElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
912c7ada9c Bug 825732: Convert SVGTextContentElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextContentElement.cpp => content/svg/content/src/SVGTextContentElement.cpp
rename : content/svg/content/src/nsSVGTextContentElement.h => content/svg/content/src/SVGTextContentElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
1832141c50 Bug 825147: Convert SVGImageElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
59325015c8 Bug 825147: Convert SVGForeignObjectElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGForeignObjectElement.cpp => content/svg/content/src/SVGForeignObjectElement.cpp
2013-01-06 01:25:55 -05:00
David Zbarsky
a97c87056d Bug 825147: Convert SVGSwitchElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGSwitchElement.cpp => content/svg/content/src/SVGSwitchElement.cpp
rename : content/svg/content/src/nsSVGSwitchElement.h => content/svg/content/src/SVGSwitchElement.h
2013-01-06 01:25:54 -05:00
David Zbarsky
0c6e775fd6 Bug 824229 Part 6: Move SVGGraphicsElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGGraphicElement.cpp => content/svg/content/src/SVGGraphicsElement.cpp
rename : content/svg/content/src/nsSVGGraphicElement.h => content/svg/content/src/SVGGraphicsElement.h
2013-01-03 01:17:03 -05:00
James Kitchener
e0700f017c Bug 411227 - Update ParseNumericValue behavior and change tests to support unitless values in script(min)size. r=fredw 2013-01-06 22:24:13 -05:00
Cameron McCormack
3f3d535180 Bug 827085 - Remove unused mSharedPresShell member on nsPrintObject. r=roc 2013-01-07 12:57:19 +11:00
Mats Palmgren
16625ae9ba Bug 734777 - Call NoteFrameRemoved also when it's the last frame on the line to avoid an assertion. r=roc 2013-01-06 03:04:59 +01:00
Ehsan Akhgari
2be7cfce19 Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Daniel Holbert
279b2caeb5 (no bug) Clarify comment in ConstructFieldSetFrame (and fix typo s/list frame/fieldset frame/). comment-only, DONTBUILD 2013-01-05 11:52:53 -08:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
3309ddaa45 Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Robert O'Callahan
e39041c9dd Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
--HG--
extra : rebase_source : f6286a4bcffa2f80bd9d444f7c04005644b8cb2f
2013-01-05 16:12:49 +13:00
Robert O'Callahan
8eb09029ac Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00