Commit Graph

20013 Commits

Author SHA1 Message Date
Daniel Holbert
22e80f628c Bug 969460 part 3: regression tests for "display:flex" on root node. r=bz 2014-02-15 10:43:11 -08:00
Daniel Holbert
77e10a00e8 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
02424d78e9 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
ecfadba4e4 Bug 969756. r=cam 2014-02-15 17:40:38 +00:00
Robert Longson
23dc88b424 Bug 971285 - Fix intermittent failure in smil/anim-path-d-01.svg. r=dholbert 2014-02-15 14:08:54 +00:00
Jim Mathies
69558792a9 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
d109cb3fc7 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
137229c984 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
64fce4b117 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
7ed7e8ed86 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
56df9ce565 Bug 480888 patch 2: Remove always-true aStoreRectProperties parameter to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
e4a5561d0e Bug 480888 patch 1: Rename ComputeOutlineAndEffectsRect to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
L. David Baron
37a69f000f 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
e7fb9a0468 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
c7e7ec8219 Bug 971933 - Calculate the desired height for the FieldSetFrame correctly. r=roc 2014-02-15 02:00:09 +00:00
Mats Palmgren
5fda835e57 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
b3b19a9e2f 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
Ted Mielczarek
23e1ddca5b 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
ff239dbe00 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
8f1906d8c5 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
c66497e14c Extend the WritingModes API. Bug 735577, r=jfkthame 2014-02-12 23:55:08 -08:00
Simon Montagu
c4fb327c6a Add some logical setters/getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-02-12 23:55:06 -08:00
Daniel Holbert
b5a3a27830 Bug 972119: Simplify logic in nsCSSFrameConstructor::ConstructDocElementFrame. r=bz 2014-02-12 23:47:02 -08:00
Daniel Holbert
1d8c23fa21 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
09df5cf35c 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
Alexander Surkov
70c143f2c1 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
ad8c727e10 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
3a44242bf7 Bug 970977 - Create reftests for bug 477915. r=fredw 2014-02-11 13:41:32 -05:00
Max Vujovic
ea7b318066 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
4076764251 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Brian O'Keefe
ce139cc580 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
e1bf3bfd0f Bug 967743 - Make moz elements use DrawTarget context. r=mattwoodrow 2014-02-11 09:22:45 -05:00
Masayuki Nakano
fb3875cd82 Bug 969219 Simplify constructor of InternalTransitionEvent r=smaug 2014-02-11 14:35:25 +09:00
Masayuki Nakano
951149660e Bug 968725 Simplify constructor of InternalAnimationEvent r=smaug 2014-02-11 14:35:25 +09:00
Masayuki Nakano
16b44310e0 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
d076978c58 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
134497c2f0 Bug 970647 patch 2: Fix indentation and bracing in nsIFrame::Preserves3DChildren. r=mattwoodrow 2014-02-10 17:03:25 -08:00
L. David Baron
5a1494a9c2 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
b870bb3fe9 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
8e0e3d9149 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
3373decc39 Fix and enable reftest for Bug 964200 2014-02-10 18:48:05 +00:00
Sotaro Ikeda
f5e1b5b000 Bug 957391 - Call nsIFrame::SchedulePaint() in ImageLoader::DoRedraw(). r=mattwoodrow 2014-02-10 09:34:11 -05:00
Mohit Sinha
10d9ead2c3 Bug 969867 - Treat U+2063 and U+2064 as invisible operators. r=karlt 2014-02-10 08:58:33 -05:00
Timothy Nikkel
ea9c6493ec 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
37be219704 Bug 968042 - Clear mNextPaintCompressed after painting. r=roc 2014-02-10 15:24:28 +13:00
Mats Palmgren
73bca3faa9 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
8fe27cb284 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
da80a37c1d 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
f5372eac13 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
f051f046bf 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