Commit Graph

39798 Commits

Author SHA1 Message Date
Frédéric Wang
67f0c0ca2e Bug 973322 - Crash [@ nsMathMLChar::PaintForeground]. r=karlt 2014-02-20 08:43:56 -05:00
Cameron McCormack
8644861eb3 Bug 974749 - Make nsFrame::DumpFrameTree wrapper functions use stderr so they can go to logcat. r=tn 2014-02-20 14:57:02 +11:00
Wes Kocher
323c184017 Backed out 3 changesets (bug 63895) for debug crashtest failures on a CLOSED TREE
Backed out changeset 02e057fea56c (bug 63895)
Backed out changeset 80bd36a3d4f1 (bug 63895)
Backed out changeset 6609365ee797 (bug 63895)
2014-02-19 17:35:03 -08:00
Seth Fowler
006600a359 Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-02-19 16:03:35 -08:00
Seth Fowler
6cd5243e74 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-02-19 16:03:30 -08:00
Seth Fowler
0f4b58c37b Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron 2014-02-19 16:03:24 -08:00
Arnaud Sourioux
bad54e8894 Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert 2014-02-19 14:34:31 -08:00
Benoit Girard
17b6ab9f8b Bug 964885 - Implement stacking context behavior of CSS will-change. r=dbaron
--HG--
extra : rebase_source : 9417239e40a13df22c207838faf64b67d9027f6e
2014-02-05 23:50:22 -05:00
Andrew Halberstadt
2162ac0779 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Robert Longson
a8faa214d5 Bug 974347 - Improve bounds handling of non-rendered elements. r=jwatt 2014-02-19 20:46:43 +00:00
Ehsan Akhgari
7a3201ec26 Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Botond Ballo
b4d0de9126 Bug 964517 - Do not pretend a layer is opaque if it really is transparent. r=roc 2014-02-09 00:28:04 -05:00
Daniel Holbert
4a6b278f7e Bug 973390: Call SetPrimaryFrame for root element *after* processing its children, to fix assertion & for consistency with behavior on other elements. r=bz 2014-02-19 08:36:03 -08:00
Ryan VanderMeulen
620a57d8a7 Backed out changeset aa631f68a4fe (bug 972099) for causing intermittent Win8 PGO reftest crashes. 2014-02-19 11:37:25 -05:00
Mats Palmgren
69fec969d0 Bug 966992 - overflow-clip-box:content-box tests. 2014-02-19 14:14:53 +00:00
Mats Palmgren
f5b8acd9ca Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-19 14:14:53 +00:00
Mats Palmgren
542a408e8b Bug 966992 - Implement layout for the overflow-clip-box property. r=roc 2014-02-19 14:14:52 +00:00
Mats Palmgren
d3ba634b1b Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam 2014-02-19 14:14:52 +00:00
Mats Palmgren
3c71ab792b Bug 966992 - Add a CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS bit for properties that are enabled by a pref but that are always enabled in UA sheets. r=cam 2014-02-19 14:14:52 +00:00
Arnaud Sourioux
6a99d7732a Bug 973805 part 2: Adds MOZ_OVERRIDE in layout/ forms/nsImageControlFrame.cpp, generic/nsImageFrame.h, generic/nsObjectFrame.h r=dholbert 2014-02-19 00:21:57 -08:00
Arnaud Sourioux
771cd3f862 Bug 973805 part 1: Change #define classA classB to typedef classB classA, in some frame classes. r=dholbert 2014-02-19 00:21:56 -08:00
Ehsan Akhgari
9c3c5e4360 Bug 969883 - Remove some unneeded memory allocation failure handling code in table cell map code; r=dbaron
The data structures manipulated by this code use infallible memory
allocation, so the OOM handling code paths here are dead code.
2014-02-19 00:49:15 -05:00
Jonathan Watt
5d725d26cd Bug 932410 - Implement the focus ring for -moz-appearance:none styled <input type=range> in a different way so that content authors can change/remove it. r=bz 2014-02-18 23:35:07 +00:00
Jonathan Watt
d1ff41df15 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-18 20:00:35 +00:00
Wes Kocher
bf35f4825a Merge m-c to inbound on a CLOSED TREE 2014-02-18 16:15:42 -08:00
Wes Kocher
572d78adfd Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Ryan VanderMeulen
8a4698657b Merge inbound to m-c. 2014-02-18 15:18:19 -05:00
Ryan VanderMeulen
df542932af Merge b2g-inbound to m-c. 2014-02-18 15:04:12 -05:00
Jerry Shih
cbf26b902d Bug 972310 - Set a suitable layer size for css scale animation/transition. r=roc 2014-02-18 09:58:01 -05:00
Robert O'Callahan
648ec3e0c8 Backing out patches for bug 972713 (changesets b5486b9ed88c and 7829e535cdd7) due to Windows 8 test failure. 2014-02-18 22:48:18 +13:00
Arnaud Sourioux
676729d71d Bug 973087: Rename nsSimplePageSequence[.h|.cpp] to nsSimplePageSequenceFrame[.h|.cpp] r=roc
--HG--
rename : layout/generic/nsSimplePageSequence.cpp => layout/generic/nsSimplePageSequenceFrame.cpp
rename : layout/generic/nsSimplePageSequence.h => layout/generic/nsSimplePageSequenceFrame.h
2014-02-18 00:58:22 -08:00
Daniel Holbert
3146c96a56 Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD 2014-02-18 00:36:33 -08:00
Arnaud Sourioux
2d583fd28f Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert 2014-02-17 23:47:48 -08:00
L. David Baron
0c3a548d62 Update test failure annotation for bug 791480, now that we're running tests on Windows NT 6.2 as well. 2014-02-17 21:48:40 -08:00
L. David Baron
4161cb1bfb Bug 434102 followup: Mark reftest as failing on Mac. 2014-02-17 21:32:42 -08:00
L. David Baron
191a0147b8 Bug 434102: Make outlines behave reasonably on XUL tree pseudo-elements again. r=roc
This was a regression from bug 133165 which I noticed while working on
bug 480888, but wished to fix in a separate patch (despite that it would
have been slightly easier to fix it in the same patch).
2014-02-17 20:07:46 -08:00
L. David Baron
7f961c4964 Bug 480888 patch 5: Add tests that should catch the regression across platforms that was previously caught only by a reftest on Android.
The outline-overflow-inline-block-* tests fail, as expected, with the
aOverflowOverride parameter to UnionBorderBoxes always changed to null.
Note that the outline-overflow-inline-block-* tests depend on the fix
for bug 709014.
2014-02-17 20:07:46 -08:00
L. David Baron
fbcb130e34 Bug 709014 patch 1: Honor margin-left and margin-right on elements in inline layout that have 0 width and/or height (commonly, inline-blocks). r=roc
Prior to this patch, we failed to honor:
 * margin-left on elements in inline layout with 0 width and 0 height
 * margin-right on elements in inline layout with 0 width
I think that was because the code in CanPlaceFrame to discard both
margins when the width was 0 was running after the left-margin was
applied, unless the later code in PlaceFrame (checking both width 0 and
height 0) un-applied that left margin.

The assertion count change in test_value_computation.html is due to 2
additional "bad width" assertions (I presume from honoring large
margins that were previously ignored).

The change to 538935-1-ref.html is to match an improvement in rendering
of the margins in the test, where both sides of the margin are now
honored.

The change to layout/reftests/text-overflow/marker-basic-ref.html is to
keep the reference (which uses margins) rendering the same way following
the changes to margin handling.

The new behavior (in the reftests added in layout/reftests/inline/)
matches at least Chromium; I didn't check any other browsers.
2014-02-17 20:07:45 -08:00
Robert O'Callahan
9153867fae Bug 972713. Part 2: Ignore active scrolled roots in inactive layer trees, because they don't help and could hurt. r=mattwoodrow 2014-02-18 17:00:35 +13:00
Robert O'Callahan
7b54370bdc Bug 972713. Part 1: Make all callers of GetAnimatedGeometryRootFor pass a display item so we can stop searching when we reach the item's reference frame. r=mattwoodrow
This guarantees that the animated geometry root for an item is always in the
same display list coordinate system as the frame.

--HG--
extra : rebase_source : 249fd847a2c08f8d0846d698cce9dd4681e38a98
2014-02-18 14:26:57 +13:00
Cameron McCormack
415a94a6de Bug 961364 - Clear the column type bits before setting them in nsTableCol{,Group}Frame::SetColType. r=dbaron 2014-02-18 13:32:06 +11:00
Cervantes Yu
9801876ee5 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
52a73b5834 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
90aff7d278 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
c02300252c 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
67fac9d29a Bug 966510. Add reftest. 2014-02-17 15:10:02 -06:00
Timothy Nikkel
792b7ad8c2 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
e588ddb104 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
7d9c8a7b9e 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
dc9a35f505 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
e824590763 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
ba8f8a6ac8 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
a22aa08933 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
596a097c34 Fix whitespace and modelines in reftest-analyzer. No bug. 2014-02-16 16:05:09 -08:00
Phil Ringnalda
45200f5d68 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
c95997a7af 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
f7cff805e8 Bug 969460 part 3: regression tests for "display:flex" on root node. r=bz 2014-02-15 10:43:11 -08:00
Daniel Holbert
7772871b39 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
f23db27f6e 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
98f2cf5d46 Bug 969756. r=cam 2014-02-15 17:40:38 +00:00
Robert Longson
4296818d2c Bug 971285 - Fix intermittent failure in smil/anim-path-d-01.svg. r=dholbert 2014-02-15 14:08:54 +00:00
Jim Mathies
32aeb9d565 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
2ae37b022e 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
059e59780e 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
9a8928486f 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
286d1601c9 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
de81e7b7b4 Bug 480888 patch 2: Remove always-true aStoreRectProperties parameter to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
ea7a790a70 Bug 480888 patch 1: Rename ComputeOutlineAndEffectsRect to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
65472fde5e 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
f7d1c8cf88 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
bfab002350 Bug 971933 - Calculate the desired height for the FieldSetFrame correctly. r=roc 2014-02-15 02:00:09 +00:00
Mats Palmgren
5e738ea28a 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
a183cc5385 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
d9163ba2d0 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
bf93e3f9bb Bug 970257 - Make <input type=number> handle auto width properly. r=dholbert 2014-02-12 02:54:14 +00:00
Jonathan Watt
823e3ab22a 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
970e5bdb92 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
354168bb48 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Ryan VanderMeulen
f29093aedb 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
79ca8d245f 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
cc9e994aba 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
25d9429bd2 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
1ca7304c0e Extend the WritingModes API. Bug 735577, r=jfkthame 2014-02-12 23:55:08 -08:00
Simon Montagu
8eb855ca1c Add some logical setters/getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-02-12 23:55:06 -08:00
Daniel Holbert
6fb4fe6001 Bug 972119: Simplify logic in nsCSSFrameConstructor::ConstructDocElementFrame. r=bz 2014-02-12 23:47:02 -08:00
Daniel Holbert
0a82bd6cf2 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
cdfd45fed5 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
04632f8c63 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
309648f662 Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
d7a04569a5 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
281a4f7ec2 Backed out changeset 6fc2f69df1ee (bug 969928) for mochitest-1 bustage on a CLOSED TREE 2014-02-18 14:31:57 -08:00
Jonathan Watt
d75e9d9879 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
3bc76617e5 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
af12f68960 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
f68b403891 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
4b53efef70 Bug 970977 - Create reftests for bug 477915. r=fredw 2014-02-11 13:41:32 -05:00
Max Vujovic
2e9f734512 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
e4f4a283cc Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Brian O'Keefe
56341318f9 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
a9545a3f91 Bug 967743 - Make moz elements use DrawTarget context. r=mattwoodrow 2014-02-11 09:22:45 -05:00
Masayuki Nakano
66d81c3ef0 Bug 969219 Simplify constructor of InternalTransitionEvent r=smaug 2014-02-11 14:35:25 +09:00
Masayuki Nakano
47672f20db Bug 968725 Simplify constructor of InternalAnimationEvent r=smaug 2014-02-11 14:35:25 +09:00
Masayuki Nakano
064b77ec0a 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
1c1676f34f 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
950f6411e0 Bug 970647 patch 2: Fix indentation and bracing in nsIFrame::Preserves3DChildren. r=mattwoodrow 2014-02-10 17:03:25 -08:00
L. David Baron
b278462e7b 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
d91d200572 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
3bff68ce19 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
c2dcfbec06 Fix and enable reftest for Bug 964200 2014-02-10 18:48:05 +00:00
Sotaro Ikeda
4e32dd880b Bug 957391 - Call nsIFrame::SchedulePaint() in ImageLoader::DoRedraw(). r=mattwoodrow 2014-02-10 09:34:11 -05:00
Mohit Sinha
242e55ecdc Bug 969867 - Treat U+2063 and U+2064 as invisible operators. r=karlt 2014-02-10 08:58:33 -05:00
Timothy Nikkel
6b6d8746ee 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
8c82bea32c Bug 968042 - Clear mNextPaintCompressed after painting. r=roc 2014-02-10 15:24:28 +13:00
Mats Palmgren
fbbf6107ae 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
f7a49b8eee 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
589c48df61 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
533e04ff75 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
1e8f5d4c97 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
e7b62f6784 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
21f9cc6065 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
0c051bba75 Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter r=mstange 2014-02-09 09:46:16 +00:00
Ms2ger
6e7f5b1c60 Bug 968805 - Pass nsIDocument to nsIContentViewer.loadStart; r=smaug 2014-02-09 09:04:40 +01:00
Ms2ger
f29b03ad4c Bug 969035 - Outparamdel NS_NewContentViewer; r=bz 2014-02-09 09:04:40 +01:00
Ms2ger
e9fea6452c Bug 969006 - Use nsIDocShellTreeItem::ItemType in nsXULPopupManager::MayShowPopup; r=bz 2014-02-09 09:04:39 +01:00
Ms2ger
42aa546e2f Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Ehsan Akhgari
fbb338d533 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
29518ba532 Backout Bug 964200 part 3c 2014-02-08 21:02:30 +00:00
Robert Longson
834b748a63 Bug 964200 (Part 3c fix reftest) - Implement Filter Effects Module feDropShadow filter. r=mstange 2014-02-08 20:25:14 +00:00
Robert Longson
57fdb1f2f6 Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter. r=mstange 2014-02-08 20:16:22 +00:00
Ehsan Akhgari
55829d1cdc 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
0030a16048 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
c2424a51a2 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
4f17401c1a 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
d5f331e47e Bug 627974 - panels that aren't toplevel shouldn't overlap the taskbar, r=Enn 2014-02-07 17:35:09 +00:00
Ryan VanderMeulen
d9c584f64f Backed out changeset d4251829067b (bug 948265) for bustage.
CLOSED TREE
2014-02-07 11:05:39 -05:00
Frédéric Wang
cd18cfa072 Bug 963324 - Import mismatch menclose reftests from the MathJax testsuite. r=karlt 2014-02-07 10:48:42 -05:00
Max Vujovic
142f7f4250 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
7374f116de Bug 477915 - Remove frame->AddStateBits from ReLayoutChildren. r=fredw 2014-02-07 10:21:49 -05:00
Carsten "Tomcat" Book
57ac46f7cc merge fx-team to mozilla-central 2014-02-07 09:52:32 +01:00
Phil Ringnalda
3d6b8ab2eb Back out e386c02b4b9a (bug 963324) for timeouts in the reftests it added
CLOSED TREE
2014-02-06 19:36:26 -08:00
Neil Deakin
a755f4b3bf 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
8ed1a22ca0 Bug 969099 - Initialize nsPresContext::mIsChrome eagerly. r=roc 2014-02-07 14:08:49 +11:00
L. David Baron
d31701cad1 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
f47695e72d Bug 91419 patch 8: Miscellaneous function and variable name changes. r=mats 2014-02-06 17:45:32 -08:00
L. David Baron
9a62684661 Bug 91419 patch 7: Rename everything with SpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
09c9451bd3 Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
82503f4eca Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
293c0c4065 Bug 91419 patch 4: Rename everything with IBSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00
L. David Baron
1841dbc18e Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00
L. David Baron
b059ffbc05 Bug 91419 patch 2: Rename IsFrameSpecial to IsFramePartOfIBSplit. r=mats 2014-02-06 17:45:29 -08:00
L. David Baron
c5c5881d3f 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
1b8d891c71 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
b275242936 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
89d70ec556 Bug 963324 - Import mismatch menclose reftests from the MathJax testsuite. r=karlt 2014-02-06 20:09:45 -05:00
Daniel Holbert
0e5aa291e4 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
7065169ab3 Bug 967236 - Evict touches more aggressively, v3, r=wesj
--HG--
extra : rebase_source : 1cbc83babb9b382182ff72f11d4576c1859187c2
2014-02-07 00:15:23 +02:00
Olli Pettay
64d2c305fc backout bug 967236
--HG--
extra : rebase_source : 6feb306f0c211594987c3f7ce904f671b0a11b99
2014-02-07 00:11:36 +02:00
Daniel Holbert
534b12e52f Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats 2014-02-06 14:07:48 -08:00
Daniel Holbert
03c54ea5eb 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
1d482d7cb5 Bug 967236 - Evict touches more aggressively, r=wesj
--HG--
extra : rebase_source : 28b75719e1b884574e7fa22cd62758bdb80afdca
2014-02-06 23:55:58 +02:00
Alex Henrie
5b028ed455 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
Nathan Froyd
8ceeb7c617 Bug 968281 - pull helper function out of HasAttributeDependentStyle; r=bz 2014-02-05 10:16:03 -05:00
Ehsan Akhgari
060c5d2671 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Daniel Holbert
d0e81da0c7 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
bf057ca935 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
6badf85139 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
3195471b3f 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
a2b1bff11b Bug 948265 - [CSS Filters] Move nsAutoFilterInstance filter region calculations into nsSVGFilterInstance. r=roc 2014-02-05 17:04:42 -05:00
Cameron McCormack
3a90450125 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
c078f2a99a 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
80ad62d1ce 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
6ba6e853ea Bug 960822 - Follow-up: use StringBeginsWith instead of Truncate+EqualsLiteral. r=dholbert 2014-02-05 15:45:59 +00:00
Phil Ringnalda
82215dcc45 Back out 191a71ff02bf (bug 960899)
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack
3e63ea6104 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
0fe07545dd 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
2e6fcaf959 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
5815633a98 Bug 243412: Add box-sizing preference to control the vendor prefix; r=dbaron 2014-02-04 18:06:18 -08:00
Cameron McCormack
0a9b781e2a 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
902a14aa10 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
15cc32b681 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
b9030265fa 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
6df14803db 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
631f7129cf Backed out changeset 3425d772b2ba (bug 935056) for reftest failures.
CLOSED TREE
2014-02-04 11:22:03 -05:00
Cameron McCormack
a212bb3bb1 Bug 935056 - Don't apply minimum font sizes to SVG text. r=dbaron 2014-02-04 10:53:27 +11:00
Timothy Nikkel
851085bcf7 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
a3873c8033 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
49342f47cf 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
f3a6f071a1 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
56dbbf4031 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
15cbe0028f 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
ce740641cb 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
5ead3a7c0c Bug 952011 - Remove some nsLayoutUtils transform functions that are no longer needed. r=roc 2014-02-04 12:25:22 +13:00
Daniel Holbert
7f43ec5d5a 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
46811b8ec7 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
4fb13fa1fe Merge m-c to m-i 2014-02-02 17:44:52 -08:00
Robert O'Callahan
f76315825f 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
dc7188dcc2 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
9b7464c086 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
019a451cfa 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
dac59aae69 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