Commit Graph

12087 Commits

Author SHA1 Message Date
Kartikaya Gupta
6c7c3b6adf Bug 1228407 - Avoid a scenario where content floods APZ with smooth-scroll requests and blocks it from syncing a new scroll offset back to the main thread. r=botond
--HG--
extra : commitid : 6YhRu80eZzC
2015-12-09 10:13:34 -05:00
Kartikaya Gupta
9491a614c4 Back out three patches from bug 1228407 on a CLOSED TREE for causing various mochitest failures. r=backout
--HG--
extra : commitid : 7gaWjh5Noye
2015-12-08 21:00:30 -05:00
Kartikaya Gupta
56e9023bca Bug 1228407 - Avoid a scenario where content floods APZ with smooth-scroll requests and blocks it from syncing a new scroll offset back to the main thread. r=botond
--HG--
extra : commitid : LdMBKbQQw7V
2015-12-08 14:56:26 -05:00
Xidorn Quan
21a2c4c2b3 Bug 1225018 part 4 - Ensure leading for emphasis marks of text directly inside block. r=jfkthame
--HG--
extra : source : 778a1de3e41583e1c8f0a885ca34efc12375396a
2015-12-08 12:55:01 -05:00
Xidorn Quan
272514670b Bug 1225018 part 3 - Use font metrics of emphasis marks to compute required leading. r=jfkthame
--HG--
extra : source : 47345d7b24f414e278a3f8cc688d2f77132d73ef
2015-12-08 12:55:01 -05:00
Xidorn Quan
5e810b6b20 Bug 1225018 part 2 - Move GetFontMetricsOfEmphasisMarks to nsLayoutUtils. r=jfkthame
--HG--
extra : source : e075456775a4c65a021e084a8fdc1d331343db88
2015-12-08 12:55:01 -05:00
Nigel Babu
f0c9c1d883 Backed out changeset c798c2576ad4 (bug 978212) for mochitest bustage 2015-12-08 15:55:13 +05:30
Tobias Schneider
cbe699d03c Bug 978212 - Resolved value of grid-template-{columns,rows} in px units. r=mats 2015-12-03 14:23:00 +01:00
Nicholas Nethercote
16cd9db041 Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc. 2015-12-06 17:15:53 -08:00
Nicholas Nethercote
ac18a09064 Bug 1230413 (part 4) - Remove unused nsRenderingContext argument from ForceBreak() and OptionallyBreak(). r=mattwoodrow.
--HG--
extra : rebase_source : 750496661635e7db65b26c625834f2d14a1b3e59
2015-12-06 14:13:57 -08:00
Nicholas Nethercote
937ca16d12 Bug 1230413 (part 1) - Pass a DrawTarget to several PaintFocus functions(). r=mattwoodrow.
Instead of an nsRenderingContext.

--HG--
extra : rebase_source : 8b36c4babd8324c775fcc459f9ed29e89f2030cd
2015-12-03 19:16:59 -08:00
Xidorn Quan
ba1aea5e03 Bug 1229739 - Use the color of shadow if available for drawing emphasis marks in shadow. r=jfkthame
--HG--
extra : source : 2e07c6f0480005fea6ea2c0343726baef39d1bc6
2015-12-04 16:28:34 +11:00
Xidorn Quan
8e300673ba Bug 1224013 part 2 - Render text-emphasis outside ruby. r=jfkthame
--HG--
extra : source : e725814ae1bb0ccdaf8852eccd3442a9103f7e3a
2015-12-04 15:16:54 +11:00
Xidorn Quan
1ed71b2fe7 Backed out 8 changesets (bug 1225018, bug 1229278, bug 1224013) for reftest failures on CLOSED TREE
--HG--
extra : amend_source : ee1d38ab6715e193cb1462614b3395c96ca06a0c
extra : histedit_source : 65b6dcb58b89c3cbcfe9a47834baf3181a2990c8%2Cc19e313c6800de1a1906c0db2f2bd4680fe67b78
2015-12-04 13:08:17 +11:00
Xidorn Quan
abc8fa2f7d Bug 1224013 part 3 - Render text-emphasis outside ruby. r=jfkthame
--HG--
extra : source : 48dcb7fee1a27fe8d925fe59534261635a67928d
2015-12-04 12:02:41 +11:00
Xidorn Quan
45ebb9aa0e Bug 1224013 part 2 - Move leading fix to ruby base container. r=dholbert
Per spec, the additional leading is added on side of ruby base container, not
ruby container. This could lead to some trivial behavior changes on edge cases.

--HG--
extra : source : 495e466ebdb628fecd9a546b539001ac316fc133
2015-12-04 12:02:41 +11:00
Xidorn Quan
c66c20fcbf Bug 1225018 part 2 - Ensure leading for emphasis marks of text directly inside block. r=jfkthame
--HG--
extra : source : ec7d4f32bc6ba7c8ea0e0f0441fabbf6f4e15672
2015-12-04 11:58:59 +11:00
Nicholas Nethercote
5a37352d4a Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
--HG--
extra : rebase_source : 315ac98884f84f3b5d53f156f3e02ddde3a57dbc
2015-12-02 14:32:55 -08:00
Markus Stange
21ce2dd228 Bug 1200611 - Size ImageLayers correctly for <img>s using object-fit. r=dholbert
This changes nsDisplayImage::GetDestRect and nsImageFrame::PredictedDestRect to return
the true dest rect of the image, without intersecting it with the image content box.
The only caller of these functions that actually requires a rectangle that's within
the image's content bounds is nsDisplayImage::GetOpaqueRegion, so I'm changing that
to intersect with the display item's bounds.
I'm pretty sure nsImageFrame::MaybeDecodeForPredictedSize() also prefers the unclipped
dest rect, because it cares about the scale at which the image is painted, and not
about which parts of the image are painted.

--HG--
extra : commitid : CDJJnfN7vF3
extra : rebase_source : 5b59f81ab60290f508b83db7e942559da621cb70
2015-12-03 15:20:10 +01:00
Nicholas Nethercote
757eb4ec8c Bug 1229202 (part 3) - Make gfxContextAutoDisableSubpixelAntialiasing take a DrawTarget instead of a gfxContext. r=mattwoodrow.
--HG--
extra : rebase_source : 63851ac1725451c7607c00b345ce3334ff749246
2015-12-02 15:32:16 -08:00
David Anderson
ca5122668a Implement the DidComposite NPAPI callback. (bug 1217665 part 8, r=mattwoodrow)
--HG--
extra : rebase_source : 4df420dcfb01db1d5fc9136bbb4c428a7ea59266
2015-12-02 11:31:17 -08:00
Carsten "Tomcat" Book
4d753d4bde Merge mozilla-central to mozilla-inbound 2015-12-02 15:22:37 +01:00
Carsten "Tomcat" Book
5adcabb340 merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Robert O'Callahan
3568d59638 Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats
--HG--
extra : commitid : DBGsn68FsG4
extra : rebase_source : 7b8f6211c2719dd017fef7e47d4dcdb3aeadfde4
2015-12-01 02:21:25 +13:00
Kartikaya Gupta
0f7fe3417c Bug 1156392 - Remove an ifdef condition that we don't need any more. r=tn 2015-12-01 22:21:42 -05:00
Mats Palmgren
a9ed4267a5 Bug 1228984 - [css-grid] Auto-placement into columns missed some unoccupied span-1 column slots. r=dholbert 2015-12-02 14:12:24 +01:00
Mats Palmgren
23eba646ad Bug 1229165 - [css-grid] Apply min/max-width/height properties to clamp block-size of auto-height grid containers. r=dholbert 2015-12-02 14:12:24 +01:00
Mats Palmgren
2874c6e6fc Bug 1227285 part 2 - [css-grid] Request shrink-wrap behavior when doing a measuring reflow to figure out a grid item's block-size. r=dholbert 2015-12-02 14:12:23 +01:00
Mats Palmgren
7579d57491 Bug 1227285 part 1 - Add a nsHTMLReflowState ctor flag to request shrink-wrap behavior. r=dholbert 2015-12-02 14:12:23 +01:00
Mats Palmgren
1998e3c898 Bug 1229145 - [css-grid] Account for start margin when calculating border box offset for align-self/justify-self:center. r=dholbert 2015-12-01 23:20:18 +01:00
Mats Palmgren
b65f5f8f9c Bug 1176793 part 1 - [css-grid] Implement margin:auto for grid items. r=dholbert 2015-12-01 23:20:18 +01:00
David Anderson
83e664a4cd Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats)
--HG--
extra : rebase_source : b97121b98c3e42a83135f7e8fa186575b4fbfcb5
2015-12-01 13:45:49 -08:00
Anup Kumar
27d40f6dee Bug 1197307 - remove PR_snprintf calls in layout/ r=froydnj r=dholbert 2015-12-01 12:50:47 -08:00
Carsten "Tomcat" Book
7af3d35998 Backed out changeset 427dc5894094 (bug 1197307) for bustage 2015-12-01 10:04:50 +01:00
Anup Kumar
e8ff34c8eb Bug 1197307 - remove PR_snprintf calls in layout. r=froydnj r=dholbert 2015-11-27 21:44:00 +01:00
L. David Baron
f194309cac Bug 1228501 patch 3 - Remove nsFont::BaseEquals. r=jdaggett
BaseEquals and Equals were made the same by patch 2, so BaseEquals can
be removed.

(operator== is also defined as an inlined call to Equals.)

--HG--
extra : commitid : JVYtDCoxqyH
2015-11-30 14:02:25 -08:00
Carsten "Tomcat" Book
d76b6dfebd Backed out changeset 6c478d7a9467 (bug 1228501) 2015-11-30 12:10:37 +01:00
L. David Baron
6f20c9e01e Bug 1228501 patch 3 - Remove nsFont::BaseEquals. r=jdaggett
BaseEquals and Equals were made the same by patch 2, so BaseEquals can
be removed.

(operator== is also defined as an inlined call to Equals.)

--HG--
extra : commitid : ALr3bEC0aNJ
2015-11-29 23:15:02 -08:00
Mats Palmgren
5df657f9e0 Bug 1225368 - [css-grid] Make CollectGrowable() deal with frozen tracks; i.e. subtract their base size but don't collect them since they aren't growable. r=dholbert 2015-11-28 21:37:44 +01:00
Mats Palmgren
07bd900b59 Bug 1227099 - [css-grid] Grid container block-size should include a grid-row-gap between each row. r=dholbert 2015-11-28 21:37:44 +01:00
Jesse Ruderman
08c8793dcd Bug 1225592 - [css-grid] Crashtest. 2015-11-28 21:37:44 +01:00
Mats Palmgren
c49a23f7ce Bug 1225592 - [css-grid] Apply a max limit to the number of explicit tracks we will store (kMaxLine - 1). Also make the layout code more robust so it doesn't depend on that. r=dholbert 2015-11-28 21:37:44 +01:00
Jesse Ruderman
b1bb110798 Bug 1225376 part 3 - [css-grid] Crashtest. 2015-11-28 21:37:44 +01:00
Mats Palmgren
0a9fc78a26 Bug 1225376 part 1 - [css-align] Don't compute left/right to start in the style system anymore (due to pending spec change). Map the used value instead (in layout). r=dholbert
For background, see this www-style thread:
https://lists.w3.org/Archives/Public/www-style/2015Nov/0280.html
2015-11-28 21:37:44 +01:00
Xidorn Quan
b96f561251 Bug 1040668 part 14 - Add helper function nsStyleUtil::MatchesLanguagePrefix for doing simple language matching. r=dbaron
--HG--
extra : source : b9249b9e2e95cca73c7b3637a58cb1ba3a39596a
2015-11-28 11:56:33 +11:00
Xidorn Quan
95b800f4ce Bug 1040668 part 12 - Add line leadings for emphasis marks if necessary. r=dholbert
--HG--
extra : source : cb34c48bff0ccf4024385d392dc58bc1f672ea23
2015-11-28 11:56:33 +11:00
Xidorn Quan
20e40d505a Bug 1040668 part 11 - Move line leadings adjusting code into a separate function in nsLineLayout. r=dholbert
--HG--
extra : source : f4d53f54b2e925eef8da6c6749497888527057bb
2015-11-28 11:56:33 +11:00
Xidorn Quan
6fdb9fbeaa Bug 1040668 part 10 - Implement emphasis mark rendering. r=jfkthame
--HG--
extra : source : 1c53ccbaece3931ffe1da5610977e92fcce5f3f6
2015-11-28 11:56:33 +11:00
Xidorn Quan
72495f58ae Bug 1040668 part 9 - Compute overflow from text-shadow after text decorations. r=dbaron
--HG--
extra : source : 6827c7ef262e47cd42fea6b1a90e09883a7d24dc
2015-11-28 11:56:33 +11:00
Xidorn Quan
376cdf821b Bug 1040668 part 8 - Setup text emphasis for text run. r=jfkthame
--HG--
extra : source : 4f5398b5953c0cf4d57ed0fce5788f1430a5b05d
2015-11-28 11:56:33 +11:00
Jonathan Kew
2f0f023fc4 Bug 1224230 - Testcase. 2015-11-13 16:42:04 +00:00
Randall Barker
c3c082c5dd Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Randall Barker
30c5396234 Bug 1224015 - Part 2: Have nsDisplayResolution items adjust event coordinates for hit testing and dispatching to content r=tnikkel 2015-11-26 20:51:13 -06:00
Kartikaya Gupta
fe65090c97 Bug 1228357 - When saving/restoring a scrollframe's state, only save/restore resolution for the root scrollframe. r=roc 2015-11-26 21:25:53 -05:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Jared Wein
e70da30f79 Bug 1211635 - Popups should be treated as top-level windows, allowing XUL alerts translucency. r=MattN r=roc
--HG--
extra : rebase_source : 9fd3b1eb57b54fcb33b0012cbd7555674eb9b913
2015-11-25 08:49:23 -05:00
Matt Woodrow
4946a3c907 Bug 1168263 - Add nsDisplayPerspective and build separate layers for perspective. r=roc 2015-11-26 22:32:36 +13:00
Matt Woodrow
7c076dbe87 Bug 1168263 - Add a flags parameter to GetResultingTransformMatrix instead of using bools. r=roc 2015-11-26 22:32:35 +13:00
Ting-Yu Lin
78fb3c80ac Bug 1226875 - Remove nsIFrame::GetLastChild(). r=mats
--HG--
extra : commitid : J8NTL74JosY
extra : rebase_source : ea686ef5e1bd5d59701ffb4c309c9ff9d0435beb
2015-11-26 17:12:39 +08:00
Ting-Yu Lin
79afc81f6e Bug 1226875 - Remove nsIFrame::GetFirstChild(). r=mats
--HG--
extra : commitid : J8NTL74JosY
extra : rebase_source : 50a196905ac06d09fea17bb1aa17efe821cc7cbb
2015-11-26 17:12:39 +08:00
Nigel Babu
29e98fdbc3 Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE 2015-11-25 16:22:16 +05:30
David Anderson
859092e6a5 Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats) 2015-11-25 01:12:33 -08:00
Wes Kocher
3f9d73cccc Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : commitid : HQ2HZ9hq60S
2015-11-24 16:59:18 -08:00
Wes Kocher
d04352af5d Merge fx-team to central, a=merge
--HG--
extra : commitid : GWsEhTdRTPF
2015-11-24 16:33:15 -08:00
Mike Hommey
70a5b9589d Bug 1227388 - Finish removing dehydra support. r=mshal
Dehydra/Treehydra is unmaintained, broken (iirc), and obsoleted by clang
static analysis. We've removed parts of the build system support for it, but
not all. This is meant to remove the remains.
2015-11-25 08:23:25 +09:00
Jared Wein
77999dacbf Bug 1226796 - Remove redundant preprocessor flags in nsContainerFrame.cpp. r=jfkthame 2015-11-24 11:21:02 -05:00
Matt Woodrow
41a4ad2285 Bug 1222880 - Build a tree of AnimatedGeometryRoots to speed up traversal of ancestors. r=roc,tn 2015-11-25 11:53:51 +13:00
Wes Kocher
edb144c4e2 Backed out changeset e0a9decc5fb0 (bug 756241) for failing on b2g emulator
--HG--
extra : commitid : D7UlzME6eDt
2015-11-24 13:14:37 -08:00
Bob Clary
41a63c38e5 Bug 641724 - Crashtest. 2015-11-24 20:04:04 +01:00
Mats Palmgren
eb30f1d808 Bug 756241 - Crashtest. 2015-11-24 20:04:04 +01:00
Jesse Ruderman
ac6d02817c Bug 914501 - Crashtest. 2015-11-24 20:04:04 +01:00
Aki Helin
14ab1d2a44 Bug 964078 - crashtest. 2015-11-24 20:04:04 +01:00
Jesse Ruderman
109cdac5f9 Bug 1145768 - Crashtest. 2015-11-24 20:04:03 +01:00
Nicholas Nethercote
52b3d826da Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : e4b3bb36c18822557f7724a58979eddd9d8cac62
2015-11-19 14:10:38 +11:00
Xidorn Quan
b0bfc6460a Bug 1227001 part 3 - Remove no longer used mChangedBreaks from BreakSink. r=jfkthame
--HG--
extra : source : d279e229470cab165e28274b5e6045e2ea62f1b7
2015-11-24 10:23:05 +11:00
Xidorn Quan
a6caf098a4 Bug 1227001 part 2 - Remove no longer used mExistingTextRun from BreakSink. r=jfkthame
--HG--
extra : source : a1d68557e1c90b62a3318a81d814c21c75f45ec0
2015-11-24 10:23:05 +11:00
Xidorn Quan
03bc38abaf Bug 1227001 part 1 - Remove SetupBreakSinksFlags from BuildTextRunsScanner. r=jfkthame
--HG--
extra : source : 2ef65b73284b28557846d737f704552a2a474389
2015-11-24 10:23:05 +11:00
Chris Peterson
bfeb9f1127 Bug 1224951 - Part 2: Fix -Wunreachable-code warnings in layout. r=dholbert
layout/base/nsCSSFrameConstructor.cpp:12067:12: warning: will never be executed [-Wunreachable-code]
layout/base/nsPresContext.cpp:2861:10: warning: will never be executed [-Wunreachable-code]
layout/generic/nsFrameSetFrame.cpp:730:11: warning: will never be executed [-Wunreachable-code]
layout/generic/nsFrameSetFrame.cpp:725:11: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:268:62: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:269:66: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:270:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:271:75: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:272:73: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:273:81: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:274:69: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:275:60: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:276:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:277:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:279:18: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:290:62: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:291:66: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:292:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:293:75: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:294:73: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:295:81: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:296:69: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:297:60: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:5657:7: warning: will never be executed [-Wunreachable-code]
layout/mathml/nsMathMLmrootFrame.cpp:405:5: warning: will never be executed [-Wunreachable-code]
2015-11-14 00:06:58 -08:00
Phil Ringnalda
538ef0460d Merge m-c to m-i 2015-11-19 21:08:34 -08:00
Phil Ringnalda
87802cdbad Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Xidorn Quan
8de66b64b3 Bug 994418 - Renumber list items when computing intrinsic isize. r=roc
--HG--
extra : source : 65c07947ba268b74aa5ebbf2dd4681d68038a548
extra : amend_source : 2284f79dde11000547fed08ff90315d46490702b
2015-11-20 15:29:27 +11:00
Kartikaya Gupta
8a6023f387 Bug 1223928 - Update various reftests that now pass/fail with gecko scrollbars on Android&&asyncPan. r=snorp
--HG--
extra : commitid : G5eJp4xTljl
2015-11-19 09:55:21 -05:00
Nicholas Nethercote
ce671f3678 Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ea132cb4a6eda3553682114f3a1a280acfaf0aa3
2015-11-19 14:10:38 +11:00
L. David Baron
8edfb62b0c Bug 1223653 patch 2 - Use an enum class for NS_STYLE_BOX_SIZING_*. r=heycam
The casts in nsCSSProps.cpp (defining kBoxSizingKTable) and in
nsComputedDOMStyle::DoGetBoxSizing (using
nsCSSProps::ValueToKeywordEnum) are a little bit annoying, though aren't
a net reduction in typesafety.

The casts in nsRuleNode.cpp (SetDiscrete) are a little more annoying,
though the change in this patch should be sufficient for converting all
properties -- but that may also mean reducing typesafety a bit for all
properties.

I'd like to find something better to do about them, but I think I'm ok
landing this before doing that.  Bug 1224918 covers doing better.

--HG--
extra : commitid : GEVyZB5b23F
2015-11-19 18:09:29 -08:00
L. David Baron
4aa548f8f9 Bug 1223653 patch 1 - Fix incorrect function being called, caught by enum class type checking in next patch. r=jfkthame
This looks like a regression from the way I addressed review comments in
bug 311415 comment 11 (see "I just added another variant of
ComputeWidthValue").

--HG--
extra : commitid : K5US3VkC5rE
2015-11-19 18:09:29 -08:00
Xidorn Quan
65859175cd Bug 1052924 followup - Move the XXX comment to the right field. DONTBUILD 2015-11-19 18:00:25 +11:00
Mats Palmgren
787aab2030 Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert 2015-11-18 19:52:27 +01:00
Kartikaya Gupta
c460ebbd06 Bug 1226872 - Stop keeping a copy of the resolution in the root scrollframe. r=roc
The only reason we had this in the scrollframe at all was so that it could be
saved/restored as part of the frame state when leaving a page and then going
back to it. However we can accomplish this by just reading/writing the resolution
from/to the presshell instead, so there's no need to keep a second copy of it.

--HG--
extra : commitid : J4QBfG2GGjn
2015-11-23 09:14:15 -05:00
Mark Capella
e7b070ed41 Bug 1215959 - (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug 2015-12-01 15:25:06 -05:00
Nicholas Nethercote
26b0d282a5 Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Nicholas Nethercote
eb12a384c0 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ad3466d05e476ebf65affdde3fca52494e1327cb
2015-11-15 21:37:52 -08:00
Jesse Ruderman
20405e523f Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
03bd1366df Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
82b3daf6c8 Bug 1223282 - Make NS_AUTOMARGIN be a different value than NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
921715fa31 Bug 1224634 - [css-grid] Make grid items shrink-wrap when reflowing them, unless they have justify-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
Jesse Ruderman
0468f22070 Bug 1225118 - Crashtest. 2015-11-17 15:00:29 +01:00
Mats Palmgren
b442e0b4b3 Bug 1225118 - [css-grid] Deal with nscoord overflow when applying [align|justify]-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
Ting-Yu Lin
41f35c7496 Bug 1206545 - Initialize AccessibleCaretEventHub in nsCanvasFrame. r=roc
To properly initialize AccessibleCaretEventHub, both canvas frame and
its anonymous mCustomContentContainer are required to successfully
insert anonymous caret elements.

However, if <html> has "display: none",
nsCSSFrameConstructor::ConstructDocElementFrame() will return early in
[1] without constructing mCustomContentContainer. Thus,
AccessibleCaretEventHub will fail to initialize in [2] due to null
mCustomContentContainer.

By moving AccessibleCaretEventHub::Init() to
nsCanvasFrame::CreateAnonymousContent(), we can guarantee that
mCustomContentContainer is constructed before initializing
AccessibleCaretEventHub.

[1] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsCSSFrameConstructor.cpp#2413-2416
[2] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsPresShell.cpp#1682

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : 0edef7db8004da2e2cde3d4510bb23f1e9cee61e
2015-11-16 18:16:43 +08:00
Xidorn Quan
ba639e3e07 Bug 1213710 part 3 - Remove enableTestPlugin.js files and make the tests reference plugin-utils.js directly. r=bsmedberg
--HG--
extra : source : 985fc6ba41c30914969940c30dd5a07c3f19f157
2015-11-17 09:54:12 +11:00
Wes Kocher
7ebb7aa32e Backed out changeset 14641a6d6747 (bug 1223282) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : 6RJMD744I6U
2015-11-16 11:00:47 -08:00
Wes Kocher
31d3e04fd9 Backed out changeset 1fc0ecca3e9b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : Cehes9e2lBC
2015-11-16 11:00:28 -08:00
Wes Kocher
74584ef91e Backed out changeset ceb2a5dce49b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : BzR0ugCJ593
2015-11-16 11:00:17 -08:00
Jesse Ruderman
fc98aae16c Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
6e7818f946 Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
c05e8fc735 Bug 1223282 - Make NS_AUTOMARGIN not be the same value as NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc 2015-11-16 17:32:39 +01:00
Kartikaya Gupta
745bba593a Bug 1225137 - Avoid crash on some platforms if scrollbar fading is enabled and the duration is set to zero. r=spohl
--HG--
extra : commitid : 6fBlaRsXx09
2015-11-16 10:44:45 -05:00
Thinker K.F. Li
03a1cfe9b2 Bug 1208673 - Do HitTest with skipping non-leaf preserve-3d transform items. r=roc 2015-11-15 14:47:27 +01:00
Jonathan Kew
022c161e17 Bug 1224230 - Explicitly store the lineContainer's writing mode in InlineIntrinsicISizeData. r=dbaron 2015-11-14 08:46:11 +00:00
Matt Brubeck
871cea5bf5 Bug 1081272 - Include position and transform when computing header/footer size [r=tn] 2015-11-12 16:55:02 -08:00
Matt Brubeck
3777952460 Bug 1224307 - Fix page scrolling for non-full-width fixed headers/footers [r=tn] 2015-11-12 16:55:00 -08:00
Nicholas Nethercote
ff5231e6d2 Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats.
--HG--
extra : rebase_source : a0ae2779dfd9bc10730c8b38bc082453845daa1f
2015-11-10 16:27:26 -08:00
Phil Ringnalda
78c184fb46 Back out changeset cd0be67d2344 (bug 1224307) for test_page_scroll_with_fixed_pos.html bustage
CLOSED TREE
2015-11-12 20:18:38 -08:00
Phil Ringnalda
08a38cf3b8 Back out changeset 13335ded96b9 (bug 1081272) for test_page_scroll_with_fixed_pos.html bustage
CLOSED TREE
2015-11-12 20:18:03 -08:00
Matt Brubeck
ae413e1b82 Bug 1081272 - Include position and transform when computing header/footer size [r=tn] 2015-11-12 16:55:02 -08:00
Matt Brubeck
c1f53f3bdd Bug 1224307 - Fix page scrolling for non-full-width fixed headers/footers [r=tn] 2015-11-12 16:55:00 -08:00
Daniel Holbert
91e5de4153 Bug 1223568: Don't let fallback alignment values break flexbox special-case for "justify-content: stretch". r=mats 2015-11-11 14:42:21 -08:00
Mats Palmgren
f18d8e84b0 Bug 1223232 - Use GetUsedBorder() instead of the computed border value when calculating CB size. r=roc 2015-11-11 22:28:53 +01:00
Mats Palmgren
eb154663cc Bug 1092626 - Don't try to restore the scroll position if the frame is still dirty or has dirty children. r=roc 2015-11-11 11:33:34 +01:00
Kartikaya Gupta
795d8736fd Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc 2015-10-05 17:09:34 -04:00
Nicholas Nethercote
ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Nicholas Nethercote
4f45d5edc0 Bug 1223215 (part 1) - Convert some gfx{Point,Size} to gfx::{Point,Size}. r=roc.
This lets us remove some Thebes{Point,Size}() and To{Point,Size}() calls.

--HG--
extra : rebase_source : dc7a06e70e4a63401144dc4aa67eafeb7eb37320
2015-11-08 20:19:00 -08:00
Simon Montagu
3457b582d2 Bug 1216096: restore previous RTL caret behaviour by backout of bug 1164963, bug 1177505, and bug 1180417. r=jfkthame 2015-11-10 04:42:23 -08:00
Jonathan Kew
5cb2b4ceea Bug 1122918 - Part 3 - Use the resolved physical values of 'float' and 'clear' properties during layout. r=heycam 2015-09-18 16:25:21 +01:00
Jonathan Kew
3195ef008f Bug 1122918 - Part 2 - Provide accessors that return logical 'float' and 'clear' values resolved to their physical equivalents. r=heycam 2015-09-18 16:25:14 +01:00
Kyle Zentner
f478a9bc3f Bug 1170781 - Patch 1: Implement CSS 'contain: paint'. r=dholbert 2015-11-09 13:32:00 +01:00
L. David Baron
0f3b361824 Bug 1222783 - Make nsHTMLFramesetFrame::Reflow set firstTime based on what firstTime means. r=roc
I confirmed locally that the new crashtest crashes in the harness
without the patch, and passes in the harness with the patch.

--HG--
extra : transplant_source : %FD%D6%F6%EB%04SQ%E3%8AB%BB%2B%B0%25Ys%0B%F3%D2t
2015-11-10 13:42:29 +08:00
sajitk
85550613ed Bug 1219470 - Replace PRLogModuleInfo with LazyLogModule. r=roc 2015-11-05 23:35:03 +01:00
Hiroyuki Ikezoe
2f335ed059 Bug 1216030 - Part 7: Add nsIFrame::RefusedAsyncAnimation. r=dbaron
Original nsIFrame::RefusedAsyncAnimation was renamed to
nsIFrame::RefusedAsyncAnimationProperty.
2015-10-20 22:03:00 +02:00
Nicholas Nethercote
8198d15f1e Bug 1038663 (part 6, attempt 2) - Allow percentage values for 'word-spacing'. r=heycam. 2015-11-08 16:40:37 -08:00
Nicholas Nethercote
3cde644d8c Bug 1038663 (part 5, attempt 2) - Change GetSpacingFlags(). r=heycam. 2015-11-08 14:49:02 -08:00
Nicholas Nethercote
9ba99963c2 Bug 1038663 (part 4, attempt 2) - Inline StyleToCoord(). r=heycam. 2015-11-08 14:49:02 -08:00
Nicholas Nethercote
163196360e Bug 1038663 (part 3, attempt 2) - Factor out space width computation. r=heycam. 2015-11-08 14:48:58 -08:00
Nicholas Nethercote
a34dc73523 Bug 1038663 (part 2, attempt 2) - Move GetFirstFontMetrics() up. r=heycam. 2015-11-08 13:52:58 -08:00
Timothy Nikkel
cf2a0eeaa4 Bug 1220114. Part 2. If a scroll frame is forced to layerize because of an active descendant scroll frame then set a displayport on the ancestor scroll frame so that next paint we don't have to force layerization after the fact and we can do a fully proper paint. r=mstange 2015-11-06 17:32:03 -06:00
Timothy Nikkel
0570e20dc3 Bug 1220114. Part 1. Change ScrollFrameHelper::DecideScrollableLayer to recompute the current animated geometry root any time mWillBuildScrollableLayer changes in addition to when usingDisplayPort changes. r=mstange
Changes in either one can result in AGRs being created or removed (although nothing removes them at this point in time).
2015-11-06 17:32:03 -06:00
Hiroyuki Ikezoe
443e1dfb4b Bug 1197620 - Part 3: Terminate *all* animations if corresponding element style is changed to display:none. r=bbirtles 2015-11-06 07:21:38 +09:00
Nigel Babu
52d7459eca Backed out 6 changesets (bug 1038663) for Android opt R2 bustage
Backed out changeset 97e3492d6080 (bug 1038663)
Backed out changeset d176322f2d36 (bug 1038663)
Backed out changeset f69af9161252 (bug 1038663)
Backed out changeset 8bb77e5fad8c (bug 1038663)
Backed out changeset 954e57438f51 (bug 1038663)
Backed out changeset 16c0919101cd (bug 1038663)
2015-11-06 12:49:36 +05:30
Nicholas Nethercote
b7bd8564c0 Bug 1038663 (part 6) - Allow percentage values for 'word-spacing'. r=heycam.
--HG--
extra : rebase_source : b7220e3c156dfef451e79b2911fbba7dec93850d
2015-11-05 17:25:46 -08:00
Nicholas Nethercote
90b8e844aa Bug 1038663 (part 5) - Change GetSpacingFlags(). r=heycam.
Again, this doesn't make sense in isolation, but it will make it easier to
allow for percentage word-spacing in a subsequent patch.

--HG--
extra : rebase_source : 5a120273b4191ae3ac9ae0532e56eb870558d4d6
2015-11-05 16:33:37 -08:00
Nicholas Nethercote
12d49e11b3 Bug 1038663 (part 4) - Inline StyleToCoord(). r=heycam.
This doesn't make much sense by itself, but one of the call sites will be
changed in a subsequent patch.

--HG--
extra : rebase_source : 7b3bb92e6e08137434f4abd56a3b423ca82e4b0e
2015-11-04 21:10:36 -08:00
Nicholas Nethercote
a6e88b52f4 Bug 1038663 (part 3) - Factor out space width computation. r=heycam.
This will be reused in a subsequent patch.

--HG--
extra : rebase_source : 67d14767298841dbe3f38d2f7a1c89dfcec122dd
2015-11-04 18:02:40 -08:00
Nicholas Nethercote
0edc52ad5a Bug 1038663 (part 2) - Move GetFirstFontMetrics() up. r=heycam.
This is necessary for a subsequent patch.

--HG--
extra : rebase_source : 4d80215e1ee75105344db5d101cfa5d5d47ea33a
2015-11-04 18:02:20 -08:00
Timothy Nikkel
ae9c7ca837 Bug 1208780. Set a zero-margin displayport on all scrollable ancestors of frames with displayports if they don't already have a displayport. r=botond 2015-11-05 18:57:17 -06:00
Nicholas Nethercote
6cdc913990 Bug 1059014 (part 2) - Remove support for reflow on zoom event pending. r=dbaron.
This basically reverts part 2 of bug 836565.

--HG--
extra : rebase_source : 4b047c51b01936e079d9e785bb1653863eacc4cd
2015-11-04 20:55:16 -08:00
Nicholas Nethercote
f07dc1c47b Bug 1059014 (part 1) - Remove support for max line box width. r=dbaron.
This basically reverts bug 780258.

--HG--
extra : rebase_source : 59cc458d83fed9735e9e0321ec52a0a9484bd7ba
2015-11-04 20:25:01 -08:00
Jonathan Kew
8290bbf2e8 Bug 1221874 - Ignore the sideways-orientation flag when logical-coordinate classes are checking writing-mode compatibility. r=smontagu 2015-11-05 15:38:53 +00:00
Jonathan Kew
1821542838 Bug 1221874 - Crashtest for overzealous writing-mode check (currently asserts). r=smontagu 2015-11-05 15:37:56 +00:00
Wes Kocher
ba3e14b5ca Backed out 3 changesets (bug 1176792) for WinXP/7 w(4) permafail
Backed out changeset 4d2f2e40bb5d (bug 1176792)
Backed out changeset 3de6f54e7f41 (bug 1176792)
Backed out changeset 887df043de31 (bug 1176792)

--HG--
extra : commitid : 1wE7FZUeTA1
2015-11-04 15:42:38 -08:00
Daniel Holbert
d7c529e1a0 Bug 1221112: When checking for ::before/::after while sorting flex items by DOM order, dig past placeholder to out-of-flow frame. r=mats 2015-11-04 07:48:59 -08:00
Mats Palmgren
4e5cfec08a Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert 2015-11-04 13:46:32 +01:00
Xidorn Quan
a1dd9fc19e Bug 1216332 - Remove framearena helpers from abstract frame classes and stop them from being instantiated. r=dbaron
--HG--
extra : source : 9f59591f02706190e56db8ad89ff5a769b5c47dd
2015-11-04 20:57:35 +11:00
Robert O'Callahan
add8103aa5 Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
--HG--
extra : commitid : BUBPKQYEZGy
extra : rebase_source : b949adb895716866f545e00dbf88734fd0138fd1
2015-10-21 16:27:50 +13:00
Mats Palmgren
d860fa7191 Bug 1211260 - [css-grid] Follow-up: address a code readability nit that I missed. r=dholbert 2015-11-03 22:33:16 +01:00
Mats Palmgren
a09faf6998 Bug 1176775 part 1 - [css-grid] Implement "Implied Minimum Size of Grid Items" (special min-width/height:auto behavior). r=dholbert 2015-11-03 21:45:33 +01:00
Mats Palmgren
a113aae1a5 Bug 1163435 part 1 - [css-grid][css-flexbox] Propagate an explicit CB width/height to the reflow state to resolve percentage lengths for grid items properly. Resolve percent against the size in the same axis for abs.pos. children too. r=dholbert
Grid items are supposed to use the size of their 'grid area',
not their grid container, as their containing block.
2015-11-03 21:45:33 +01:00
Mats Palmgren
d05caaac36 Bug 1215957 - Start at the end of the explicit grid also when matching plain negative number lines. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren
9f977fa5fc Bug 1215182 - [css-grid] Make our "Implicit Named Areas" detection match the spec. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren
97a104a942 Bug 1211260 - Implement the new Grid Placement Conflict Handling: "If the placement for a grid item contains two lines, and the start line is further end-ward than the end line, swap the two lines." r=dholbert
https://drafts.csswg.org/css-grid/#grid-placement-errors
2015-11-03 21:45:32 +01:00
Mats Palmgren
b264df1571 Bug 1215099 part 2 - [css-grid] An empty grid should still have one explicit grid line in each axis. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren
f6a6570360 Bug 1215099 part 1 - [css-grid] Backout bug 1206703. r=dholbert 2015-11-03 21:45:32 +01:00
Nathan Froyd
50a3cf956c Bug 1220714 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in layout/; r=dholbert 2015-10-30 15:12:25 -04:00
Jim Chen
498b10c3cb Bug 1219833 - Respect composition underline color; r=masayuki
nsTextFrame didn't use the composition underline color if the
composition didn't have a foreground color defined. This patch makes it
use the underline color if foreground color is not defined.
2015-11-03 11:53:58 -05:00
Mats Palmgren
7920856c17 Bug 1151214 part 3 - [css-grid][css-align] Implement layout for the 'justify-content' and 'align-content' CSS properties on grid containers. r=dholbert 2015-11-03 17:52:40 +01:00
Mats Palmgren
8abe331366 Bug 1151213 part 1 - [css-grid][css-align] Implement layout for the 'align-self' and 'justify-self' properties on grid items. r=dholbert 2015-11-03 17:52:40 +01:00
Mats Palmgren
a77e1f7b8d Bug 1151214 part 2 - [css-flexbox][css-align] Shim implemention for the new align/justify property values in flexbox layout (just to avoid fatal assertions). r=dholbert 2015-11-03 15:18:06 +01:00
Mats Palmgren
7c6b7fe751 Bug 1176782 part 7 - [css-align] Update the flexbox layout code to use the new align/justify style constants and remove the old in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren
b06df07867 Bug 1176782 part 6 - [css-align] Implement additional syntax and values for the 'align-content' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren
ab2709bc55 Bug 1176782 part 5 - [css-align] Implement additional syntax and values for the 'align-self' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren
343fce8c76 Bug 1176782 part 4 - [css-align] Implement additional syntax and values for the 'align-items' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Mats Palmgren
5259497975 Bug 1176782 part 3 - [css-align] Implement additional syntax and values for the 'justify-content' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Markus Stange
ef4655be32 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : K9ntCNQz1Fx
extra : rebase_source : ed8a567f22626d7074bbc58eb5e61baa251fe2c3
2015-10-30 16:28:53 +01:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Robert O'Callahan
00af2dcc78 Bug 264412. Optimize GetRenderedText. r=mats
With these changes we're slightly faster than Chrome on the non-reflowing part of
Olli's testcase.

--HG--
extra : commitid : 75liwqsBeJY
extra : rebase_source : 34ee5d1fdfbb3b9d2ef8945f78ded935debb9106
2015-10-30 19:22:33 +13:00
Robert O'Callahan
2d8cd33dc4 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Ryan VanderMeulen
3c1b193ecc Bug 681489 - Add crashtest.
--HG--
extra : rebase_source : 8dbc8c341ff39734f86d872d20c4b3c2e44feb5d
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen
028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Timothy Nikkel
ab02b09009 Bug 1220020. Recompute the current animated geometry root when a child scroll frame forces us to be layerized, and therefore turns us into an animated geometry root. r=mstange 2015-11-01 11:45:40 -06:00
Ryan VanderMeulen
da6b5efa5d Bug 871327 - Clean up assertion annotations on 791601.xhtml and add crashtest for referenced bug that was resolved WFM. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
38eea6dc63 Bug 481035 - Remove assertion annotation from 421671.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
4a44c16c29 Bug 623091 - Re-enable 348887-1.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
6e43612cb0 Bug 859424 - Fix and re-enable 309322-4.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
58e04dabc8 Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen
82bfb5ba42 Bug 439258 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
cc674dddb2 No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
f6499720a0 Bug 616052 - Add crashtest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen
901670a2b7 Bug 613629 - Add crashtest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen
9d94259127 Bug 613455 - Add crashtest. 2015-10-30 19:41:16 -04:00
Andrew McCreight
5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Nathan Froyd
148c129fa3 Bug 1219903 - use UniquePtr<T[]> instead of delete[] calls in layout/generic/; r=dholbert 2015-10-29 16:16:13 -04:00
Carsten "Tomcat" Book
2fe6ba353f Backed out changeset d5d68c0258f3 (bug 1201330)
--HG--
extra : rebase_source : 2b98ebd0dd0ccd247b50e4b45210137622ef4441
2015-10-30 14:44:06 +01:00
Markus Stange
09bf18ccd8 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : AV1sQewWYHl
extra : rebase_source : ef132043f3af460c1aabc531faa06752d4c9c2df
2015-10-27 17:18:03 +01:00
Matt Woodrow
5ff40cc89c Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
--HG--
extra : rebase_source : 3861829d42298838eaa87912fa849b60b6f698e6
2015-10-23 11:22:45 +13:00
Seth Fowler
44de2cc528 Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler
8011cd262f Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler
d8821b6da6 Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Carsten "Tomcat" Book
513d05c444 Backed out changeset 0e8e25c04938 (bug 1216851) for reftest failures 2015-10-29 13:52:29 +01:00
Matt Woodrow
bab116d797 Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
--HG--
extra : rebase_source : 48b64c9ba86e89ae8d15ae05f7379fd518ca01b5
2015-10-23 11:22:45 +13:00
Cameron McCormack
5a9f585bc7 Bug 1219537 - Simplify a couple of PresContext() gets on nsIFrame/nsStyleContext. r=dholbert 2015-10-29 17:06:31 +11:00
Phil Ringnalda
a727c1fe68 Back out 8 changesets (bug 1207355) for OS X 10.10 reftest failures in generated-content/
CLOSED TREE

Backed out changeset aafd6db2fbb4 (bug 1207355)
Backed out changeset 9dd950b837fb (bug 1207355)
Backed out changeset e941e0e106a1 (bug 1207355)
Backed out changeset ecebca101fcb (bug 1207355)
Backed out changeset 08f2017137e1 (bug 1207355)
Backed out changeset 3dc69e37c9b4 (bug 1207355)
Backed out changeset bcdf51edb121 (bug 1207355)
Backed out changeset 1d4c00dbf49a (bug 1207355)
2015-10-28 22:57:43 -07:00
Seth Fowler
485e5ae23b Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler
90c6fe8bde Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler
68cc239e9d Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-28 16:40:42 -07:00
David Anderson
2e67a4792c Assert that we do not attempt synchronous painting of windowless Desktop plugins. (bug 1218688 part 4, r=bsmedberg) 2015-10-28 10:50:53 -07:00
David Anderson
bfa112caf5 Remove Mac-specific synchronous plugin drawing code. (bug 1218688 part 3, r=benwa) 2015-10-28 10:50:45 -07:00
David Anderson
489a63378f Remove Linux-specific synchronous plugin drawing code. (bug 1218688 part 2, r=jimm) 2015-10-28 10:50:41 -07:00
David Anderson
0a8c03ba8e Remove Windows-specific synchronous plugin drawing code. (bug 1218688 part 1, r=jimm) 2015-10-28 10:50:36 -07:00
Ryan VanderMeulen
2afb1dd2a6 Bug 569193 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen
ddc5998e35 Bug 417848 - Add crashtest. 2015-10-27 10:03:37 -04:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Ryan VanderMeulen
4a585b585e Bug 1156257 - Add crashtest.
--HG--
extra : rebase_source : 7c41dab0cbb7be275c5a9ddc316e7772b8292938
2015-10-25 16:20:16 -04:00
Jonathan Kew
c3830d77b0 Bug 1216427 - part 2 - Ensure mouse selection does not split up a Regional Indicator flag symbol. r=emk 2015-10-26 10:47:18 +00:00
Jonathan Kew
a48628058f Bug 1216427 - part 1 - Ensure a character+VS sequence or a ligated Regional-Indicator flag symbol is deleted as a single unit when backspacing. r=emk 2015-10-26 10:47:16 +00:00
Ryan VanderMeulen
080b612cb4 Bug 740199 - Add crashtest. 2015-10-25 00:06:24 -04:00
Ryan VanderMeulen
a237b5a490 Bug 597240 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen
b655fc97f0 No bug - Remove e10s assertion annotation from font-inflation-762332.html. 2015-10-25 00:06:22 -04:00
Ryan VanderMeulen
2d107fa212 Bug 508154 - Add crashtest.
--HG--
extra : rebase_source : 4d62e093832d74a32360aa572315aa3982b7ec27
2015-10-24 15:03:19 -04:00
Sebastian Hengst
e6d06af59f Backed out 2 changesets (bug 1215699, bug 1209994) for web platform failures. r=backout
Backed out changeset a8adf1f9d366 (bug 1209994)
Backed out changeset f5ed98fdc16e (bug 1215699)
2015-10-24 15:38:03 +02:00
Robert O'Callahan
d00aeddd95 Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
--HG--
extra : commitid : ADmwtJlvxUi
extra : rebase_source : b3cfce27d1bf51d8789a20bf7266455a3f0f99a6
2015-10-21 16:27:50 +13:00
Robert O'Callahan
0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan
ff38db98f3 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : Dn0U0KPLfbY
extra : rebase_source : 57a6ad2e3ba1f7ec6aef9b940d8facdbba7e9c91
2015-10-24 22:27:29 +13:00
Thinker K.F. Li
fd72ecbc34 Bug 1214212 - Remove clips from separator transform items. r=roc 2015-10-22 23:29:00 -04:00
Nathan Froyd
9f16f39c05 Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Seth Fowler
6a4602d6e9 Bug 1209765 (Part 7) - Support sync decoding and track draw results when drawing borders in nsImageFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler
7688437ed9 Bug 1209765 (Part 6) - Support sync decoding and track draw results when drawing borders in nsColumnSetFrame. r=tn 2015-10-22 19:54:49 -07:00
L. David Baron
2766b80ef9 Bug 1216431 patch 1 - Give WritingMode an nsStyleVisibility* constructor. r=heycam
This is needed for patch 2.

--HG--
extra : commitid : 5YdkHqnj3d3
extra : rebase_source : 02260f6cbd922702d655449fc9d4c7518e643285
2015-10-23 08:57:34 +09:00
Nicholas Nethercote
5957f4c9ae Bug 1038663 (part 1) - Make nsStyleText::mWordSpacing an nsStyleCoord. r=heycam.
This makes mWordSpacing a lot more like mLetterSpacing, while maintaining the
existing "'normal' computes to 0px" behaviour.

--HG--
extra : rebase_source : d3273f60d4de6a9a0f05f1dbf2ed095f0f7e6c0e
2015-10-21 22:13:11 -07:00
Phil Ringnalda
0f3cf4490c Back out changeset 02d17c84afff (bug 1214212) for (mostly) transform-3d reftest failures
CLOSED TREE
2015-10-21 20:22:45 -07:00
Thinker K.F. Li
517b105b08 Bug 1214212 - Remove clips from separator transform items. r=roc 2015-10-21 03:35:00 -04:00
David Anderson
fb84bcaa55 Fix scrollbars on subframes not directing APZ events to the correct scrollframe. (bug 1213324, r=tn) 2015-10-20 02:39:34 -07:00
L. David Baron
aded17dcb4 Bug 1209603 patch 2 - Reduce calls to StyleVisibility() in WritingMode constructor. r=heycam
(I noticed this while writing patch 1.)

--HG--
extra : commitid : G2JVcpkEDQK
2015-10-19 20:42:28 -07:00
Daniel Holbert
d6fe9b1f50 Bug 497495 late-breaking followup: s/GetAllocatedSize/GetFrameId/ in documentation, to reflect the same change having happened in code. (no review, comment-only, DONTBUILD) 2015-10-19 16:45:57 -07:00
Wes Kocher
743fd15585 Backed out changeset 668563c7fab8 (bug 1214077) for build failures 2015-10-19 16:21:44 -07:00
Xidorn Quan
b10afa31af Bug 1214077 - Remove FRAMEARENA_HELPERS from nsRubyContentFrame. r=dholbert
--HG--
extra : rebase_source : 82e1e504e8e4e97ca65194e4061e95711274ce65
extra : source : 0bbfe0613c5494cf972de59adff4a26285e74524
2015-10-20 10:02:03 +11:00
Jim Mathies
44e333455f Bug 1214878 - When async scrolling with e10s hide windowed plugins in sub documents. r=roc 2015-10-19 10:38:42 -05:00
Xidorn Quan
af8cf1df88 Bug 1215360 - Render canvas anonymous content on top of the top layer. r=roc
--HG--
extra : source : 231e0e545afaf3bf4993b0f6d20cd60ee734c899
2015-10-19 11:56:13 +11:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Masayuki Nakano
07adf60de2 Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug 2015-10-17 15:50:09 +09:00
Masayuki Nakano
5f2c3f035e Bug 376679 part.2 EventStateManager should treat plugin frame as scrollable frame if the plugin wants to handle wheel events as default action r=smaug 2015-10-16 13:19:27 +09:00
Matt Woodrow
3355c46862 Bug 1211654 - Force opacity layers that were only created for APZ hit-testing information to always be inactive. r=mstange 2015-10-15 15:15:16 +13:00
Timothy Nikkel
96fca396cf Bug 1210578. Part 3. Create DecideScrollableLayer that encapsulates all logic to create display ports and build scrollable layers. r=mstange
For root scroll frames we need information about the async scrolling (or lack thereof) of the scroll frame before we get to ScrollFrameHelper::BuildDisplayList for the scroll frame. We need it in nsLayoutUtils::PaintFrame and nsSubdocumentFrame::BuildDisplayList. So we factor out all the code responsible for async scrolling decisions into one function we can call from all three places.
2015-10-12 15:21:49 -05:00
Timothy Nikkel
9c0e012dcb Bug 1210578. Part 2. Rename shouldBuildLayer to couldBuildLayer to better reflect it's actual meaning. r=mstange
Also remove one use of the variable that is unnecessary.
2015-10-12 15:21:49 -05:00
Timothy Nikkel
af289f8df8 Bug 1210578. Part 1. Rename mShouldBuildScrollableLayer to mWillBuildScrollableLayer to better capture the meaning of the variable. r=mstange 2015-10-12 15:21:49 -05:00
Timothy Nikkel
d566a599fe Backout part 1 of bug 1195431 (cf841511b71a). 2015-10-12 15:21:48 -05:00
Timothy Nikkel
77afdaa94b Backout part 2 of bug 1195431 (2e5d1c6a4a0c). 2015-10-12 15:21:48 -05:00
Timothy Nikkel
78defc87b3 Backout part 3 of bug 1195431 (8270ee9be504). 2015-10-12 15:21:48 -05:00
Timothy Nikkel
ed80010e77 Bug 1210577. Remove useless virtual keyword from ScrollFrameHelper::ComputeScrollClip. r=mstange 2015-10-12 13:50:14 -05:00
David Anderson
fb11b16545 Fix inactive scroll frames sometimes creating very large, incorrect hit regions. (bug 1190112, r=tn) 2015-10-07 12:08:53 -07:00
Nicholas Nethercote
0f5722f4da Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow. 2015-10-05 17:18:10 -07:00
Nicholas Nethercote
4fc2610c3c Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
The conversion is as follows:

- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD    == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST    == gfx::Filter::LINEAR

Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.

These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00