Commit Graph

20190 Commits

Author SHA1 Message Date
Cervantes Yu
6ca1c03386 Bug 965912 - Initialize DateCacheCleaner (which registers an observer to the chrome process) after forking from the Nuwa process. r=khuey 2014-02-14 16:43:51 +08:00
Timothy Nikkel
1668925b8b Bug 966510. Display ports on scrollable elements won't work on Android until APZC is used there, so skip this reftesting using that there. 2014-02-17 18:46:57 -06:00
Simon Montagu
858b45d469 Fix a hang by using a dedicated state bit instead of overloading NS_FRAME_IS_DIRTY. Bug 964821, r=roc 2014-02-17 14:46:40 -08:00
Milan Sreckovic
4669750a8a Bug 972099: Set the value for preference gfx.color_management.force_srgb in the profile, rather than in the JS scripts afterwards, as it's too late by then. r=ahalberstadt 2014-02-17 16:19:09 -05:00
Timothy Nikkel
a3956cb7b8 Bug 966510. Add reftest. 2014-02-17 15:10:02 -06:00
Timothy Nikkel
31f05a8fa8 Bug 970250. Add the ability to set a display port on scroll frames that aren't the root scroll frame to reftests. r=dbaron 2014-02-17 15:10:01 -06:00
Robert O'Callahan
01e0b952af Bug 966397. Part 2: Don't look at ancestors of mContainerReferenceFrame when searching for a fixed-pos ancestor we belong to, since we'll change coordinate spaces. The metadata will be attached to an ancestor layer in that case. r=mattwoodrow
--HG--
extra : rebase_source : cfb56bb2111abce99cd475b9fa8c516d53621ed4
2014-02-17 14:51:49 +13:00
Robert O'Callahan
ddf6c23a35 Bug 966397. Don't try to add fixed-pos metadata for inactive layer subtrees. r=mattwoodrow
--HG--
extra : rebase_source : 119635c63af471a0d6384901d99f242b14a39e9a
2014-02-17 14:51:49 +13:00
Matt Woodrow
d41ee4ab21 Bug 972703 - Clamp massive transformed overflow areas to the middle of the representable range instead of the start. r=roc 2014-02-17 11:25:36 +13:00
L. David Baron
ee2f20f11a Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-16 16:05:10 -08:00
Maks Naumov
0593330a35 Bug 973187: Fix typo (checking mRadiusX twice and not checking mRadiusY) in nsStyleGradient::HasCalc(). r=dbaron 2014-02-16 16:05:10 -08:00
L. David Baron
5a8fa7c70e Bug 789602 followup: unbreak printing of REFTEST IMAGE with != test failures, which the initial patch incorrectly put before the REFTEST TEST-UNEXPECTED-FAIL line. 2014-02-16 16:05:09 -08:00
L. David Baron
222400bbb5 Fix whitespace and modelines in reftest-analyzer. No bug. 2014-02-16 16:05:09 -08:00
Phil Ringnalda
71b27f8c88 Backed out 3 changesets (bug 972703, bug 889959) for build failures and crashes
CLOSED TREE

Backed out changeset ef3d90780478 (bug 972703)
Backed out changeset 34c95e937671 (bug 889959)
Backed out changeset 5e25912d6696 (bug 889959)
2014-02-16 15:17:01 -08:00
Matt Woodrow
0dd8a83d9d Bug 972703 - Clamp massive transformed overflow areas to the middle of the representable range instead of the start. r=roc 2014-02-17 11:25:36 +13:00
Daniel Holbert
589a38012f Bug 969460 part 3: regression tests for "display:flex" on root node. r=bz 2014-02-15 10:43:11 -08:00
Daniel Holbert
8b86f279ef Bug 969460 part 2: Use EnsureBlockDisplay to determine the 'display' of the root node, and let nsCSSFrameConstructor::ConstructDocElementFrame create flex containers. r=bz 2014-02-15 10:42:37 -08:00
Daniel Holbert
3d88983811 Bug 969460 part 1: Give EnsureBlockDisplay a second parameter, to determine whether it converts 'display:list-item' to block. r=bz 2014-02-15 10:42:35 -08:00
Mats Palmgren
9589b0b04e Bug 969756. r=cam 2014-02-15 17:40:38 +00:00
Robert Longson
d9da07fb1f Bug 971285 - Fix intermittent failure in smil/anim-path-d-01.svg. r=dholbert 2014-02-15 14:08:54 +00:00
Jim Mathies
690fe4ebab Bug 967671 - Set nsGfxScrollFrame's mOriginOfLastScroll default to 'other', insures apzc will receive a scroll offset update when frames are created. Also remove display port reset in metrofx front end code when window size changes. r=kats, tnikkel 2014-02-15 07:06:27 -06:00
Vaibhav Agarwal
81f1ea0a18 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
L. David Baron
e8c782f1e4 Back out changeset dd1f8adbfecc (bug 480888 patch 4) for failing reftests 402338-1.html and 412352-2.html on Android and B2G only. 2014-02-14 23:45:31 -08:00
L. David Baron
194cd4272e Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-14 21:29:13 -08:00
L. David Baron
90da36dcb5 Bug 480888 patch 3: Refactor a common pattern into a FrameMaintainsOverflow helper function. r=roc 2014-02-14 21:29:13 -08:00
L. David Baron
b724f54508 Bug 480888 patch 2: Remove always-true aStoreRectProperties parameter to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
c3109dc9e2 Bug 480888 patch 1: Rename ComputeOutlineAndEffectsRect to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
ba743dfa50 Bug 541855: Add in the error tolerance before calling the timing function, so that we allow more error for steeper functions, and less error for most. r=dholbert 2014-02-14 21:29:12 -08:00
L. David Baron
c98f68542e Bug 972088: Make nsIFrame::Preserves3DChildren not call nsStyleDisplay::HasTransform (pure refactoring). r=mattwoodrow
The purpose of this change is to make the code less confusing (since it's not clear to me why one would check HasTransform here), and in general to reduce the number of callers of HasTransform, since HasTransform is a complicated check that checks too many things and probably isn't the right thing for many of its callers (see, e.g., bug 968555).

This is pure refactoring because:
 (1) We're calling HasTransform only if mTransformStyle is
     NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D.
 (2) HasTransform can return false for either of two reasons:
     (a) because HasTransformStyle is false, which cannot be the case
         here because HasTransformStyle checks mTransformStyle, and we
         already know that check passes because of (1)
     (b) because IsFrameOfType(nsIFrame::eSupportsCSSTransforms) is
         false.
This means that we can replace the HasTransform check with solely the
IsFrameOfType check.
2014-02-14 21:29:12 -08:00
Mats Palmgren
9cbdbbb33a Bug 971933 - Calculate the desired height for the FieldSetFrame correctly. r=roc 2014-02-15 02:00:09 +00:00
Mats Palmgren
32ee3292c1 Bug 971655 - The inner (-moz-fieldset-content) frame have the correct padding area and is the abs.pos. containing block so don't use the outer FieldSetFrame. r=roc 2014-02-15 02:00:08 +00:00
Masayuki Nakano
e393ad7356 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
George Wright
fee812bd01 Bug 910754 - Mark linear-gradient-1a and linear-gradient-1b as fails-if with Skia 2013-12-19 23:18:59 -05:00
Jonathan Watt
de779e4357 Bug 970257 - Make <input type=number> handle auto width properly. r=dholbert 2014-02-12 02:54:14 +00:00
Jonathan Watt
b128c0a0f1 Bug 951310 - Make <input type=number correctly handle CSS min-height and max-height. r=dholbert 2014-02-05 00:42:57 +00:00
Robert Longson
28340364f9 Bug 970356 - neither getSubStringLength, nor selectSubString should throw if nchars is too large. r=cam 2014-02-18 14:29:27 +00:00
Andrew Halberstadt
56e8cdad2a Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Ryan VanderMeulen
343ba5e77d Backed out changeset 94e20568f4e8 (bug 791480) because the patch that led to the new annotation was backed out. 2014-02-18 07:58:59 -05:00
Ted Mielczarek
06e04ce1b2 Bug 968837 - Move more Mochitests into manifests. r=jmaher
--HG--
rename : toolkit/components/places/tests/browser/bug_399606/399606-history.go-0.html => toolkit/components/places/tests/browser/399606-history.go-0.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-httprefresh.html => toolkit/components/places/tests/browser/399606-httprefresh.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.reload.html => toolkit/components/places/tests/browser/399606-location.reload.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.replace.html => toolkit/components/places/tests/browser/399606-location.replace.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.href.html => toolkit/components/places/tests/browser/399606-window.location.href.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.html => toolkit/components/places/tests/browser/399606-window.location.html
rename : toolkit/components/places/tests/browser/visituri/begin.html => toolkit/components/places/tests/browser/begin.html
rename : toolkit/components/places/tests/browser/visituri/final.html => toolkit/components/places/tests/browser/final.html
rename : toolkit/components/places/tests/browser/visituri/redirect_once.sjs => toolkit/components/places/tests/browser/redirect_once.sjs
rename : toolkit/components/places/tests/browser/visituri/redirect_twice.sjs => toolkit/components/places/tests/browser/redirect_twice.sjs
rename : toolkit/components/places/tests/browser/settitle/title1.html => toolkit/components/places/tests/browser/title1.html
rename : toolkit/components/places/tests/browser/settitle/title2.html => toolkit/components/places/tests/browser/title2.html
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => toolkit/components/places/tests/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_411966.html => toolkit/components/places/tests/test_bug_411966.html
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/test_bug_461710_perwindowpb.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => toolkit/components/places/tests/test_bug_94514.html
2014-02-06 15:37:30 -05:00
Frédéric Wang
85618b7b59 Bug 663740 - Migrate nsMathMLChar measuring and drawing from nsRenderingContext to gfx/thebes classes. r=karlt 2014-02-13 09:53:52 -05:00
Jonathan Kew
a51fad7aea bug 970710 - ensure GetTrimmedOffsets is called with consistent parameters from PropertyProvider::InitializeForMeasure and SetupJustificationSpacing. r=roc 2014-02-13 08:38:48 +00:00
Simon Montagu
0621f133e7 Extend the WritingModes API. Bug 735577, r=jfkthame 2014-02-12 23:55:08 -08:00
Simon Montagu
aac777c4b4 Add some logical setters/getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-02-12 23:55:06 -08:00
Daniel Holbert
284944bf84 Bug 972119: Simplify logic in nsCSSFrameConstructor::ConstructDocElementFrame. r=bz 2014-02-12 23:47:02 -08:00
Daniel Holbert
09da556742 Bug 971913: Use DISPLAY_MIN_WIDTH / DISPLAY_PREF_WIDTH logging macros in nsFlexContainerFrame. r=jwatt 2014-02-12 23:47:01 -08:00
Tor Arvid Lund
edf342c191 Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.

BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.

GLScreenBuffer::Readback was deprecated.

I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Peter Van der Beken
fa5238349a Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
George Wright
2b32dd27bb Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
f5bc8f1962 Bug 910754 - Mark linear-gradient-1a and linear-gradient-1b as fails-if with Skia r=snorp 2013-12-19 23:18:59 -05:00
Wes Kocher
968f7abf9c Backed out changeset 6fc2f69df1ee (bug 969928) for mochitest-1 bustage on a CLOSED TREE 2014-02-18 14:31:57 -08:00
Jonathan Watt
6a6d2569a9 Bug 973344 - Remove workaround introduced by bug 947718 now that bug 946184 is fixed, especially since it causes crashes with the dom.forms.number pref disabled. r=ehsan 2014-02-17 20:06:45 +00:00
Jonathan Watt
cbfa97f57a Bug 969928 - Fix a bug in the de-localization code that can cause validation issues with locales that use '.' as their grouping separator. r=dholbert 2014-02-14 20:37:57 +00:00
Alexander Surkov
4aa0692608 Bug 956032 - text selection change event is missed when selected text becomes unselected, r=tbsaunde 2014-02-11 20:18:31 -05:00
Bill McCloskey
817fc83d9d Bug 960783 - Support "new out-of-process window" menu item in nightly (r=felipe,bsmedberg,trevor,ted) 2014-02-11 09:01:08 -08:00
Anuj Agarwal
429db16898 Bug 970977 - Create reftests for bug 477915. r=fredw 2014-02-11 13:41:32 -05:00
Max Vujovic
2b722685f9 Bug 948265 - [CSS Filters] Change nsSVGFilterProperty to track an nsStyleFilter chain instead of a single nsIURI and nsSVGFilterFrame. r=roc 2014-02-09 20:31:03 -08:00
Ehsan Akhgari
d1964b92f6 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Brian O'Keefe
e3f6084e7a Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Ali Akhtarzada
e8daa9d85e Bug 967743 - Make moz elements use DrawTarget context. r=mattwoodrow 2014-02-11 09:22:45 -05:00
Masayuki Nakano
5b112a02ec Bug 969219 Simplify constructor of InternalTransitionEvent r=smaug 2014-02-11 14:35:25 +09:00
Masayuki Nakano
1f4dd60cc8 Bug 968725 Simplify constructor of InternalAnimationEvent r=smaug 2014-02-11 14:35:25 +09:00
Masayuki Nakano
807b7a13b2 Bug 964153 Remove unnecessary constructor of WidgetTouchEvent and don't copy its widget in Duplicate() r=smaug 2014-02-11 14:35:25 +09:00
L. David Baron
20e815fd1f Bug 970647 patch 3: Rename (to match convention) and better share nsStyleDisplay* variable in nsIFrame::Preserves3DChildren. r=mattwoodrow 2014-02-10 17:03:25 -08:00
L. David Baron
d20f2fd0fd Bug 970647 patch 2: Fix indentation and bracing in nsIFrame::Preserves3DChildren. r=mattwoodrow 2014-02-10 17:03:25 -08:00
L. David Baron
c7aad1f0e0 Bug 970647 patch 1: Remove some null-checks and simplify control flow in nsIFrame::HasPerspective and nsIFrame::ChildrenHavePerspective. r=mattwoodrow 2014-02-10 17:03:25 -08:00
Ehsan Akhgari
82ebdc883f Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Olli Pettay
eb2b15d9d4 Bug 969671 - Warn about use of sync XHR in the main thread, r=sicking/ehsan
--HG--
extra : rebase_source : 4af00da28a4e8b6cc1209d9a5e098d9914286deb
2014-02-10 20:35:25 +02:00
Robert Longson
b9cfc63542 Fix and enable reftest for Bug 964200 2014-02-10 18:48:05 +00:00
Sotaro Ikeda
668cb0f47f Bug 957391 - Call nsIFrame::SchedulePaint() in ImageLoader::DoRedraw(). r=mattwoodrow 2014-02-10 09:34:11 -05:00
Mohit Sinha
98882a0f83 Bug 969867 - Treat U+2063 and U+2064 as invisible operators. r=karlt 2014-02-10 08:58:33 -05:00
Timothy Nikkel
04e2d25bc0 Bug 966510. Scroll frame display items are never opaque. r=roc
The content they contain may be moved, so any region that is opaquely covered at paint time may not be later.

This problem was made worse by bug 951467 because it made the bounds of the scroll layer item be the bounds of the scrollport is all cases (making it return wrong results even at paint time), instead of the bounds of the contained content (meaning the results would only be wrong after async scroll).
2014-02-10 04:56:30 -06:00
Matt Woodrow
996cc1f13f Bug 968042 - Clear mNextPaintCompressed after painting. r=roc 2014-02-10 15:24:28 +13:00
Mats Palmgren
58c02b28b6 Bug 968174 - Don't schedule a paint if the pres context was detached during the delay. Re-enable the assertions from bug 967758. r=roc 2014-02-10 02:14:38 +00:00
Cameron McCormack
6666ead436 Bug 969961 - Turn CSS Variables pref on in tests that rely on it. r=philor 2014-02-10 11:56:35 +11:00
Robert O'Callahan
ad18b5ade8 Bug 947588. Part 5: Fix tests to pass even if regular HTML content is not displaying hexboxes for control characters. r=jfkthame
--HG--
extra : rebase_source : 8eea41432c267b4ace85d1230c5dba76fe7cc3c4
2014-02-05 23:23:50 +13:00
Robert O'Callahan
0eda1dacc2 Bug 947588. Part 4: Set -moz-text-discard:none in devtools, XUL, text inputs, plaintext documents, view-source documents. r=heycam
--HG--
extra : rebase_source : 2db920396d9c5f8de51c4385250f2903629441fc
2014-02-05 23:23:08 +13:00
Robert O'Callahan
c21981933e Bug 947588. Part 3.9: Remove CRs from plaintext.css. r=heycam
--HG--
extra : rebase_source : 0cf0bb02d4edcc848f71ec498fd2521312521ae8
2014-02-05 23:22:21 +13:00
Robert O'Callahan
9fbd39be16 Bug 947588. Part 3: Map nsStyleText::mControlCharacterVisibility to TEXT_HIDE_CONTROL_CHARACTERS flag in nsTextFrame. r=jfkthame
Note that this is set up so any use of gfxTextRun outside of nsTextFrame
shows hexboxes for control characters.

--HG--
extra : rebase_source : 83335c85c4db4a6391f18924aad566b00fd6a66c
2014-02-05 23:16:23 +13:00
Robert O'Callahan
cc11be0db5 Bug 947588. Part 1: Add "-moz-control-character-visibility" property to the style system. r=heycam
Ideally we'd make this property inaccessible to Web content style sheets, but
that seems hard since view-source and plain text documents seem to load in a
context that's very similar to Web content as far as the style system is
concerned. It doesn't matter much since it's quite safe and unlikely to be
discovered or used by anyone.

--HG--
extra : rebase_source : 009aafc992afd07fd76a9026afe0f6994b4b214a
2014-02-05 23:08:48 +13:00
Robert Longson
e3376add57 Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter r=mstange 2014-02-09 09:46:16 +00:00
Ms2ger
18126df3e8 Bug 968805 - Pass nsIDocument to nsIContentViewer.loadStart; r=smaug 2014-02-09 09:04:40 +01:00
Ms2ger
500735e91f Bug 969035 - Outparamdel NS_NewContentViewer; r=bz 2014-02-09 09:04:40 +01:00
Ms2ger
f51c90f787 Bug 969006 - Use nsIDocShellTreeItem::ItemType in nsXULPopupManager::MayShowPopup; r=bz 2014-02-09 09:04:39 +01:00
Ms2ger
b995cb3325 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Ehsan Akhgari
87f8d4a9ea Bug 969879 - Use infallible allocation to store the style information for CSS transitions and animations; r=dbaron 2014-02-08 16:56:40 -05:00
Robert Longson
561966bf0b Backout Bug 964200 part 3c 2014-02-08 21:02:30 +00:00
Robert Longson
76cd3f521c Bug 964200 (Part 3c fix reftest) - Implement Filter Effects Module feDropShadow filter. r=mstange 2014-02-08 20:25:14 +00:00
Robert Longson
2eba8eeb09 Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter. r=mstange 2014-02-08 20:16:22 +00:00
Ehsan Akhgari
76312b6425 Bug 969879 - Use fallible allocation to store the style information for CSS transitions and animations; r=dholbert
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 15:11:36 -05:00
Robert Longson
aa363c2347 Bug 964200 (Part 3a moz2d) - Implement Filter Effects Module feDropShadow filter. r=mstange
--HG--
rename : content/svg/content/src/SVGFEGaussianBlurElement.cpp => content/svg/content/src/SVGFEDropShadowElement.cpp
rename : content/svg/content/src/SVGFEGaussianBlurElement.h => content/svg/content/src/SVGFEDropShadowElement.h
rename : dom/webidl/SVGFEGaussianBlurElement.webidl => dom/webidl/SVGFEDropShadowElement.webidl
2014-02-08 16:49:46 +00:00
Doug Sherk
a1acaa79fc Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats 2014-02-07 18:13:50 +01:00
Max Vujovic
c040ed0337 Bug 948265 - [CSS Filters] Make nsSVGIntegrationUtils and nsSVGUtils call nsSVGFilterInstance directly instead of through nsSVGFilterFrame. r=roc 2014-02-06 10:42:35 -08:00
Gijs Kruitbosch
af63e2aba8 Bug 627974 - panels that aren't toplevel shouldn't overlap the taskbar, r=Enn 2014-02-07 17:35:09 +00:00
Ryan VanderMeulen
c81970ba83 Backed out changeset d4251829067b (bug 948265) for bustage.
CLOSED TREE
2014-02-07 11:05:39 -05:00
Frédéric Wang
1449e2b1de Bug 963324 - Import mismatch menclose reftests from the MathJax testsuite. r=karlt 2014-02-07 10:48:42 -05:00
Max Vujovic
e71610817d Bug 948265 - [CSS Filters] Make nsSVGIntegrationUtils and nsSVGUtils call nsSVGFilterInstance directly instead of through nsSVGFilterFrame. r=roc 2014-02-07 10:48:39 -05:00
Anuj Agarwal
d8b45f188f Bug 477915 - Remove frame->AddStateBits from ReLayoutChildren. r=fredw 2014-02-07 10:21:49 -05:00
Carsten "Tomcat" Book
e3aafe9e11 merge fx-team to mozilla-central 2014-02-07 09:52:32 +01:00
Phil Ringnalda
002e238b14 Back out e386c02b4b9a (bug 963324) for timeouts in the reftests it added
CLOSED TREE
2014-02-06 19:36:26 -08:00
Neil Deakin
f93b0f7997 Bug 966241, revert some of bug 941051 and just use Intersect instead of IntersectRect, r=neil 2014-02-06 20:08:31 -05:00
Cameron McCormack
18a7888afc Bug 969099 - Initialize nsPresContext::mIsChrome eagerly. r=roc 2014-02-07 14:08:49 +11:00
L. David Baron
6d9425e5a1 Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
L. David Baron
d1d3f52e0b Bug 91419 patch 8: Miscellaneous function and variable name changes. r=mats 2014-02-06 17:45:32 -08:00
L. David Baron
99ec4c1d28 Bug 91419 patch 7: Rename everything with SpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
edc948d350 Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
98ca7cd11c Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
b2713a05ff Bug 91419 patch 4: Rename everything with IBSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00
L. David Baron
d323811d0a Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00
L. David Baron
bebc04c04f Bug 91419 patch 2: Rename IsFrameSpecial to IsFramePartOfIBSplit. r=mats 2014-02-06 17:45:29 -08:00
L. David Baron
8bcdd8411b Bug 91419 patch 1: Rename NS_FRAME_IS_SPECIAL to NS_FRAME_PART_OF_IBSPLIT. r=mats 2014-02-06 17:45:28 -08:00
Robert O'Callahan
973910c90e Bug 968118. Make nsCSSProps keyword tables be int16_t instead of int32_t for a small space win. r=heycam
--HG--
extra : rebase_source : 94cf09d0d96dd3c8e2a9528f5d242e36e85fcf75
2014-02-06 00:10:44 +13:00
Robert O'Callahan
350666d11e Bug 967587. Back out this hunk of bug 946502 part 3 until we can fix the regressions. r=mattwoodrow
--HG--
extra : rebase_source : d52729121395a8a59c99e4e30a4565b8eab7f13d
2014-02-07 13:17:52 +13:00
Frédéric Wang
09f77e0fe5 Bug 963324 - Import mismatch menclose reftests from the MathJax testsuite. r=karlt 2014-02-06 20:09:45 -05:00
Daniel Holbert
14d26a8bdb Bug 969147: Compute (and sum) the cross sizes of flex lines as we go, to make pagination easier. r=mats 2014-02-06 17:04:52 -08:00
Olli Pettay
a2235b606f Bug 967236 - Evict touches more aggressively, v3, r=wesj
--HG--
extra : rebase_source : 1cbc83babb9b382182ff72f11d4576c1859187c2
2014-02-07 00:15:23 +02:00
Olli Pettay
e260bac820 backout bug 967236
--HG--
extra : rebase_source : 6feb306f0c211594987c3f7ce904f671b0a11b99
2014-02-07 00:11:36 +02:00
Daniel Holbert
fde5f3fb06 Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats 2014-02-06 14:07:48 -08:00
Daniel Holbert
e9a642b785 Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats 2014-02-06 14:07:47 -08:00
Olli Pettay
85c0f4457a Bug 967236 - Evict touches more aggressively, r=wesj
--HG--
extra : rebase_source : 28b75719e1b884574e7fa22cd62758bdb80afdca
2014-02-06 23:55:58 +02:00
Alex Henrie
9763e9f9df Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
Nathan Froyd
128e57f09a Bug 968281 - pull helper function out of HasAttributeDependentStyle; r=bz 2014-02-05 10:16:03 -05:00
Ehsan Akhgari
87c1762284 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Daniel Holbert
f2d773ab79 Bug 965897: Assert that we have the right prescontext in nsHTMLReflowState constructor, and convert some existing NS_PRECONDITION null-checks into MOZ_ASSERTs. r=mats 2014-02-06 01:02:12 -08:00
Daniel Holbert
41c52104a2 Bug 967871: Wrap nsDocumentViewer.cpp's sPrintOptionsContractID variable in #ifdef DEBUG, to fix 'unused variable' build warning in opt builds. r=mats 2014-02-05 18:39:56 -08:00
Kartikaya Gupta
83da8e7767 Bug 963278 - Delay focusing the input field until after resize events are done. r=ehsan 2014-02-05 17:43:20 -05:00
Kartikaya Gupta
3b9d933124 Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
Max Vujovic
5e4c6cdcfe Bug 948265 - [CSS Filters] Move nsAutoFilterInstance filter region calculations into nsSVGFilterInstance. r=roc 2014-02-05 17:04:42 -05:00
Cameron McCormack
f040e3de01 Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
Phil Ringnalda
c3a5fe2488 Backed out 2 changesets (bug 964200) for build bustage
CLOSED TREE

Backed out changeset 7dbe53176a38 (bug 964200)
Backed out changeset 19993e76f4a0 (bug 964200)
2014-02-05 09:19:08 -08:00
Robert Longson
99cbdf39af Bug 964200 (Part 3 main) - Implement Filter Effects Module feDropShadow filter. r=mstange
--HG--
rename : content/svg/content/src/SVGFEGaussianBlurElement.cpp => content/svg/content/src/SVGFEDropShadowElement.cpp
rename : content/svg/content/src/SVGFEGaussianBlurElement.h => content/svg/content/src/SVGFEDropShadowElement.h
rename : dom/webidl/SVGFEGaussianBlurElement.webidl => dom/webidl/SVGFEDropShadowElement.webidl
2014-02-05 16:46:47 +00:00
Mats Palmgren
24ebbd1ca4 Bug 960822 - Follow-up: use StringBeginsWith instead of Truncate+EqualsLiteral. r=dholbert 2014-02-05 15:45:59 +00:00
Phil Ringnalda
d06dd52262 Back out 191a71ff02bf (bug 960899)
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack
7885e2c485 Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
--HG--
extra : rebase_source : 6c83922c24727d03830de31b3407fa0e6a0e350e
2014-01-18 18:08:22 +11:00
L. David Baron
1da6108127 Importing change from W3C test repository made by Peter Linss <peter.linss@hp.com> (no bug): rename multicol-height-001 to multicol-height-002 to avoid file name conflict
--HG--
rename : layout/reftests/w3c-css/submitted/multicol3/multicol-height-001.xht => layout/reftests/w3c-css/submitted/multicol3/multicol-height-002.xht
rename : layout/reftests/w3c-css/submitted/multicol3/reference/multicol-height-001.xht => layout/reftests/w3c-css/submitted/multicol3/reference/multicol-height-002.xht
2014-02-04 18:17:55 -08:00
L. David Baron
a122c26f4d Bug 243412: Remove -moz- prefixes from box-sizing in tests for submission to W3C test repository. 2014-02-04 18:06:18 -08:00
Lukas Nordin
a05e2b86d7 Bug 243412: Add box-sizing preference to control the vendor prefix; r=dbaron 2014-02-04 18:06:18 -08:00
Cameron McCormack
3292446211 Bug 960848 - Part 3: Generate consts rather than enum values for nsFrameState bits for VS2010. r=dbaron,f=glandium 2014-02-05 13:00:03 +11:00
Cameron McCormack
a8bfc1897b Bug 960848 - Part 2: Swap NS_BLOCK_HAS_FIRST_LETTER_CHILD and NS_BLOCK_FRAME_HAS_INSIDE_BULLET bit values. r=dbaron 2014-02-05 12:59:57 +11:00
Cameron McCormack
45beaceb53 Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron 2014-02-05 12:59:39 +11:00
Timothy Nikkel
809d0e5cfc Bug 967758. Disable newly added assert because it is triggering too much. r=roc on a CLOSED TREE 2014-02-04 19:04:50 -06:00
Markus Stange
86b4ca091a Bug 967834 - Skip reftest subpixel-1.html on Mac which is failing due to the backout of bug 941095. CLOSED TREE 2014-02-04 23:30:31 +01:00
Ryan VanderMeulen
dfceab57a1 Backed out changeset 3425d772b2ba (bug 935056) for reftest failures.
CLOSED TREE
2014-02-04 11:22:03 -05:00
Cameron McCormack
a5d81cee44 Bug 935056 - Don't apply minimum font sizes to SVG text. r=dbaron 2014-02-04 10:53:27 +11:00
Timothy Nikkel
b2a332c445 Bug 962791. Include nsIFrameInlines.h so linux debug build doesn't complain about missing IsAbsolutelyPositioned. r=me on a CLOSED TREE 2014-02-04 00:14:07 -06:00
Timothy Nikkel
ab269009e3 Bug 962791. Fail to create a scrollable layer if it would cause incorrect clipping of absolutely position items. r=roc
We incorrectly wrap abs pos items, but not wrapping them leads to too many sites failing to create scrollable layers that we can't do that. So instead just fix the clipping issue for now until a more robust solution can be developed.
2014-02-03 23:16:20 -06:00
Mats Palmgren
02dc98936d Bug 960822 - Limit the Shrink-To-Fit scaling for documents with a text-ish content type so that the content is still visible with extremely long lines. r=dholbert 2014-02-04 02:12:13 +00:00
Mats Palmgren
a5fa3a1598 Bug 966419 - Update the global ShrinkToFitRatio when the current page overflows and requires additional scaling to fit horizontally on the page in Print/Preview. r=dholbert 2014-02-04 02:12:13 +00:00
Mats Palmgren
26baf9bcfc Bug 946929 - Part 2, Disable painting for the shell while the child views are detached. r=roc 2014-02-03 23:47:57 +00:00
Mats Palmgren
0e72a4953f Bug 946929 - Part 1, Don't schedule paint related events in a detached pres context. r=roc 2014-02-03 23:47:57 +00:00
Matt Woodrow
24299e9bf9 Bug 952011 - Use Untransform API to safetly untransform points when we have a projective matrix. r=roc 2014-02-04 12:25:23 +13:00
Matt Woodrow
f7b3cbca5d Bug 952011 - Remove some nsLayoutUtils transform functions that are no longer needed. r=roc 2014-02-04 12:25:22 +13:00
Daniel Holbert
e7729b7f0a Bug 849692: Remove no-longer-needed fuzzy-if() annotations for flexbox-dyn-insertAroundDiv-2.xhtml and flexbox-dyn-insertAroundSpan-2.xhtml. rs=mattwoodrow 2014-02-03 08:45:36 -08:00
Oskar Eisemuth
1a67031b64 Bug 844473 - Honor mozdisallowselectionprint and moznomarginboxes in print preview and use child document. r=roc 2014-02-02 17:17:28 +01:00
Phil Ringnalda
8e59a93b5c Merge m-c to m-i 2014-02-02 17:44:52 -08:00
Robert O'Callahan
2188013d8c Bug 946502. Part 5: A ViewportFrame with a displayport on the root element needs to be an animated geometry root. r=mattwoodrow
--HG--
extra : rebase_source : 15005e1ef96836deed4f6910a113be5f8a0b3316
2014-02-03 13:32:01 +13:00
Jonathan Watt
9da53ed2e9 Bug 827161, part 2 - Implement HTML 5's ValidityState.badInput and implement the state for HTMLInputElement's number type. r=smaug 2014-01-30 12:54:12 +00:00
Ehsan Akhgari
602c59e15d Bug 961919 - Part 1: Re-enable all of the subtests in test_reftests_with_caret.html. r=roc 2014-01-29 17:07:36 -05:00
Ehsan Akhgari
0edc3dd29b Bug 961919 - Part 0: Disable the native theme on all of the textboxes in the tests examined by test_reftests_with_caret.html 2014-02-01 11:54:13 -05:00
Jonathan Watt
d938164b96 Bug 844744, part 2 - Make <input type=number> use ICU when available to support localized number input. r=smaug 2014-01-23 15:43:12 +00:00
Ryan VanderMeulen
30ecfe5a0e Merge m-c to inbound. 2014-01-31 21:16:16 -05:00
Ryan VanderMeulen
8dd66d724e Merge inbound to m-c. 2014-01-31 21:14:13 -05:00
Ryan VanderMeulen
d037bb124f Merge fx-team to m-c. 2014-01-31 21:04:30 -05:00
Ryan VanderMeulen
0abe831eea Backed out changeset 4f0d8916386e (bug 962791) for causing various regressions. 2014-01-31 20:40:29 -05:00
L. David Baron
d77170139e Bug 964529: Support scientific (exponential) notation for CSS <number> values, including percentages and dimensions (but not <integer> values). r=SimonSapin
Resolved for <number> on 2012-08-15:
http://lists.w3.org/Archives/Public/www-style/2012Aug/0900.html

Resolved for percentages and dimensions in CSS teleconference 2013-04-17:
http://lists.w3.org/Archives/Public/www-style/2013Apr/0428.html
2014-01-31 16:06:46 -08:00
L. David Baron
4b021fabc8 Bug 964529 pre-patch: Make things that were syntax errors prior to enabling scientific notation continue to be syntax errors, by changing e+ to x+. 2014-01-31 16:06:46 -08:00
Blake Kaplan
d8fa50d973 Bug 966398 - Kill nsIBidiKeyboard::SetLangFromBidiLevel. r=roc
--HG--
extra : rebase_source : 3a8a5a58e6bf56f8201a0ffbe0efc22e686507ec
2014-01-31 15:02:44 -08:00
Daniel Holbert
2f45c9517f (no bug) Tweak a comment in nsFlexContainerFrame.cpp to make it accurate in the post-bug-939901 multi-line flexbox world. (no review, comment-only; DONTBUILD) 2014-01-31 14:54:08 -08:00
Ryan VanderMeulen
f8ff09325a Merge m-c to fx-team. 2014-01-31 16:59:29 -05:00
Ryan VanderMeulen
a92d37e3fa Backed out changeset 699811c420a2 (bug 964529) for crashtest asserts.
CLOSED TREE
2014-01-31 16:39:27 -05:00
L. David Baron
2377d43d2c Bug 966415: Add more line breaks to nsCSSPropAliasList.h for better diffs and blame. r=bzbarsky 2014-01-31 12:28:00 -08:00
L. David Baron
78d68d5ddd Bug 964529: Support scientific (exponential) notation for CSS <number> values, including percentages and dimensions (but not <integer> values). r=SimonSapin
Resolved for <number> on 2012-08-15:
http://lists.w3.org/Archives/Public/www-style/2012Aug/0900.html

Resolved for percentages and dimensions in CSS teleconference 2013-04-17:
http://lists.w3.org/Archives/Public/www-style/2013Apr/0428.html
2014-01-31 12:27:59 -08:00
Mats Palmgren
17bef7a982 Bug 963441 - Make sure we push an existing next-in-flow sibling too. r=dholbert 2014-01-31 12:36:00 +00:00
Carsten "Tomcat" Book
e26909535c merge b2g-inbound to mozilla-central 2014-01-31 12:57:22 +01:00
Dale Harvey
71a27512b0 Bug 958666 - Disable autofocus on b2g. r=vingetun 2014-01-31 03:29:18 +00:00
Ryan VanderMeulen
ee08d977c1 Merge fx-team to m-c. 2014-01-30 16:23:01 -05:00
Neil Deakin
061f773e92 Bug 941051, use one pixel sized instead of zero pixel sized anchor rectangles to prevent it from being treated as empty during intersection with screen test, fixes arrow panel placement issues, r=neil 2014-01-30 11:48:09 -05:00
Geoff Brown
d91a856853 Bug 927602 - (2) Skip reftest font-stretch-1.html on Android x86; r=dminor 2014-01-28 06:47:41 -07:00
Geoff Brown
6280581b51 Bug 936226 - Mark canvas-drawImage-scale-2a.html as passing on Android x86; r=dminor 2014-01-28 06:47:38 -07:00
Olli Pettay
cd30a9b12b Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Phil Ringnalda
3357fd6969 Backed out 4 changesets (bug 952011)
CLOSED TREE

Backed out changeset da7b3853cbfd (bug 952011)
Backed out changeset 413375909458 (bug 952011)
Backed out changeset 577290ff145d (bug 952011)
Backed out changeset 89491b5d0af8 (bug 952011)
2014-01-30 21:44:41 -08:00
Chris Peterson
cf2bfd13b3 Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc 2014-01-29 20:40:34 -08:00
Matt Woodrow
0d7db1c1e0 Bug 952011 - Use Untransform API to safetly untransform points when we have a projective matrix. r=roc 2014-01-29 13:10:35 +13:00
Matt Woodrow
11848a5644 Bug 952011 - Remove some nsLayoutUtils transform functions that are no longer needed. r=roc 2014-01-29 13:10:35 +13:00
Nicholas Cameron
25d5e64c45 Bug 700926. Tests for border-image-source/-moz-element. r=roc 2014-01-31 16:36:43 +13:00
Nicholas Cameron
3a77f27f98 Bug 700926. Support -moz-element for border-image-source. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
70c2b3fb45 Bug 700926. Change DrawPaintServer to DrawableFromPaintServer. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
a9561d28b4 Bug 700926. Python script to generate reftest reference pages. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
3073a40ec3 Bug 700926. Tests for border-image-source gradient. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
277fb7c2d1 Bug 700926. border-image-source css parsing. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
9d00b29623 Bug 700926. Fix border-image-source gradient with slice. r=roc 2014-01-31 16:36:41 +13:00
Nicholas Cameron
e259f86806 Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc 2014-01-31 16:36:41 +13:00
James Kitchener
a112269236 Bug 953385 - Tests for OpenType 'math' script in MathML. r=fredw 2014-01-30 10:59:16 -05:00
James Kitchener
705ad85b6f Bug 953385 - Set math script flag on textruns belonging to MathML tokens. r=roc 2014-01-30 10:59:16 -05:00
James Kitchener
73fcb48bd9 Bug 953385 - Set math script where applicable in /gfx. r=jfkthame 2014-01-30 10:59:16 -05:00
Andrew Halberstadt
ad23173ab2 Bug 948070 - Create a mach target for b2g desktop reftests, r=jgriffin, DONTBUILD, a=NPOTB 2014-01-30 08:42:18 -05:00
Mats Palmgren
e0b4b045c4 Bug 959311 - Splitting nsComboboxControlFrame makes no sense so it should always report COMPLETE reflow status. Also, make them page-break-inside:avoid by default. r=bz 2014-01-30 12:12:02 +00:00
Mats Palmgren
b0e66c173a Bug 964726 - (Windows/OS2 only) Don't handle CTRL+F4 as a combobox command, so that it works as Close Tab as intended. r=bz 2014-01-30 12:12:02 +00:00
Neil Deakin
ddab70a7de Bug 943759, [Australis], remove isDragPopup reference to fix build, CLOSED TREE 2014-01-31 09:11:52 -05:00
Neil Deakin
ee782b7b75 Bug 943759, [Australis], support mousethrough on panels to allow mouse events to pass through to the content behind, implemented on Windows, Mac and Linux, use this for the UI tour highlight, r=neil,jmathies,karlt 2014-01-31 08:27:43 -05:00
Phil Ringnalda
df03bbb5d8 Back out d890e603d751 (bug 961919) for reenabling failing tests 2014-01-29 15:36:49 -08:00