Commit Graph

50282 Commits

Author SHA1 Message Date
Kyle Machulis
58d9018e54 Bug 1263696 - Block content loading for embed nodes that are ancestors of objects with data; r=bz 2016-04-28 13:08:12 -07:00
Daniel Holbert
b199fea9a7 Bug 1268588: Add missing space to "assertion count[...] is less than expected" reftest log message. r=gbrown
MozReview-Commit-ID: GA2mvt4WyqU

--HG--
extra : rebase_source : ed194ccc7f1e116b7d8b01ea15b2281ba08bfd47
2016-04-28 10:52:42 -07:00
Mats Palmgren
c96fa5c0c8 Bug 1267555 part 2 - [css-grid] Adjust reftests for abs.pos. "auto/first-line" and "last-line/auto" change. 2016-04-28 21:21:20 +02:00
Mats Palmgren
5ed9f29039 Bug 1267555 part 1 - [css-grid] Make grid-aligned abs.pos. descendants that span from 'auto' to the first/last line stretch to the outer edge of the first/last track respectively. r=dholbert 2016-04-28 21:21:19 +02:00
Boris Chiou
44367b12f2 Bug 1067769 - Part 12: Use Maybe<OwningAnimationTarget> in KeyframeEffect(ReadOnly) constructors. r=birtles
MozReview-Commit-ID: Euv76D6sIFX

--HG--
extra : rebase_source : 7ef6e5d70104942b21671e2143c107e678f400a7
2016-04-28 23:22:44 +08:00
Markus Stange
6950386ff3 Bug 550426 - Fix test_transitions_per_property.html. r=dbaron
This adds testing for transitions on background-position-x/y, and makes sure we
no longer call check_distance for background-position, because
background-position is now a shorthand and no longer has its own distance
computation.

MozReview-Commit-ID: 82KVruCghGe

--HG--
extra : rebase_source : c7c85abc9bb7ff1987d7372635c0a9702715b761
2015-12-16 12:27:20 +01:00
Markus Stange
d2f8263023 Bug 550426 - In PropertySupportsVariant, add {background,mask}-position-{x,y} to the list of properties that are parsed by functions. r=dbaron
MozReview-Commit-ID: 8PFNIic38f5

--HG--
extra : rebase_source : 714de85d166e727a9f004c3321ae0c4352565d82
2016-04-21 20:22:46 -04:00
Markus Stange
72c6eb0561 Bug 550426 - Add support for {background,mask}-position-{x,y}, computed style additions. r=dbaron
MozReview-Commit-ID: 5GSsS7EYwfB

--HG--
extra : rebase_source : 93696befce34ea8c2d9b1bf4aed47debf7ea2b5f
2016-04-21 20:23:02 -04:00
Markus Stange
3bbd4e65d4 Bug 550426 - Add support for {background,mask}-position-{x,y}, StyleAnimation changes. r=dbaron
MozReview-Commit-ID: 8Qb0asWMgVA

--HG--
extra : rebase_source : d43ab6905e0b39e03680e2266e16737d0d445a31
2016-04-21 20:23:35 -04:00
Markus Stange
1a43349a44 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv

--HG--
extra : rebase_source : cf90a8cf7c10ee90f4c312b7ff5c1107aa8571f2
2016-04-29 14:12:10 -04:00
Markus Stange
7189351aab Bug 550426 - Add support for {background,mask}-position-{x,y}, property_database.js changes. r=dbaron
MozReview-Commit-ID: 1vKeywCAF7O

--HG--
extra : rebase_source : 3c3e8860ea4ed61ef20a1ccc9450d9734cca1c01
2016-04-21 20:25:56 -04:00
Wes Kocher
6521757101 Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)

MozReview-Commit-ID: AlUihrLtlhL

--HG--
rename : layout/reftests/backgrounds/background-position-6b.html => layout/reftests/backgrounds/background-position-6.html
2016-04-29 14:47:43 -07:00
Andrew Halberstadt
48a50c124b Bug 1265124 - [reftest] Make sure marionette waits long enough when attaching a debugger, r=chmanchester
As of bug 1245092, reftest depends on marionette. Normally marionette client has an internal timeout of around
60 seconds where it waits for the server to become available. But when using debuggers (and especially valgrind),
it can take much much longer than a minute for Firefox to start. This patch adds a couple hidden command line
args to reftest to tweak the marionette timeouts.

MozReview-Commit-ID: 3xF0InBJNEf

--HG--
extra : rebase_source : f18092bc90a7d8aab34b527a15bd3b1dc6afc997
2016-04-29 15:41:23 -04:00
Markus Stange
ec33572f28 Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron
MozReview-Commit-ID: 7SoQqnS46A9

--HG--
rename : layout/reftests/backgrounds/background-position-1a.html => layout/reftests/backgrounds/background-position-1d.html
rename : layout/reftests/backgrounds/background-position-1b.html => layout/reftests/backgrounds/background-position-1e.html
rename : layout/reftests/backgrounds/background-position-1c.html => layout/reftests/backgrounds/background-position-1f.html
rename : layout/reftests/backgrounds/background-position-2a.html => layout/reftests/backgrounds/background-position-2c.html
rename : layout/reftests/backgrounds/background-position-2b.html => layout/reftests/backgrounds/background-position-2d.html
rename : layout/reftests/backgrounds/background-position-3a.html => layout/reftests/backgrounds/background-position-3c.html
rename : layout/reftests/backgrounds/background-position-3b.html => layout/reftests/backgrounds/background-position-3d.html
rename : layout/reftests/backgrounds/background-position-4a.html => layout/reftests/backgrounds/background-position-4d.html
rename : layout/reftests/backgrounds/background-position-4b.html => layout/reftests/backgrounds/background-position-4e.html
rename : layout/reftests/backgrounds/background-position-6.html => layout/reftests/backgrounds/background-position-6a.html
rename : layout/reftests/backgrounds/background-position-6.html => layout/reftests/backgrounds/background-position-6b.html
extra : rebase_source : a0b1bad96600e479369eec0ddcf20b735c136725
2016-04-20 23:56:58 -04:00
Markus Stange
be2322f1ad Bug 550426 - Use background-position-x/y when detecting scroll-linked effects. r=dbaron
MozReview-Commit-ID: 6qDFcaEBYEF

--HG--
extra : rebase_source : b1055f871651f9dc71ba4e34f16afb06bf871b84
2016-04-25 18:56:47 -04:00
Markus Stange
1dbcb6b940 Bug 550426 - Use background-position-x/y in ActiveLayerTracker. r=dbaron
MozReview-Commit-ID: 4gBWTOLfX0i

--HG--
extra : rebase_source : bbda2f43f1cb2430a93c86b03a1f94cc4a1a932f
2016-04-20 23:34:46 -04:00
Markus Stange
e8cb10c2d9 Bug 550426 - Fix test_transitions_per_property.html. r=dbaron
This adds testing for transitions on background-position-x/y, and makes sure we
no longer call check_distance for background-position, because
background-position is now a shorthand and no longer has its own distance
computation.

MozReview-Commit-ID: 82KVruCghGe

--HG--
extra : rebase_source : 65e52287c141044df8ae490d461ebef3e8d403ec
2015-12-16 12:27:20 +01:00
Markus Stange
5f2e22aaf2 Bug 550426 - In PropertySupportsVariant, add {background,mask}-position-{x,y} to the list of properties that are parsed by functions. r=dbaron
MozReview-Commit-ID: 8PFNIic38f5
***

--HG--
extra : rebase_source : 916519d7d6f603bb10721e01c9cc061976bc033e
2016-04-21 20:22:46 -04:00
Markus Stange
7faa93d72a Bug 550426 - Add support for {background,mask}-position-{x,y}, computed style additions. r=dbaron
MozReview-Commit-ID: 5GSsS7EYwfB

--HG--
extra : rebase_source : b39afc56452665ed02d79124557a7b8d3b984350
2016-04-21 20:23:02 -04:00
Markus Stange
de8b8de801 Bug 550426 - Add support for {background,mask}-position-{x,y}, StyleAnimation changes. r=dbaron
MozReview-Commit-ID: 8Qb0asWMgVA
***

--HG--
extra : rebase_source : 694f057c76a2632ed5b6280ddc84bd1cc34d3ecb
2016-04-21 20:23:35 -04:00
Markus Stange
10d8636821 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv

--HG--
extra : rebase_source : 5c7663c042e6507f9979d769db26eef22dc8ba79
2016-04-29 14:12:10 -04:00
Markus Stange
83232444db Bug 550426 - Add support for {background,mask}-position-{x,y}, property_database.js changes. r=dbaron
MozReview-Commit-ID: 1vKeywCAF7O
***
test/property_database.js mask-position

--HG--
extra : rebase_source : 2710ce2f4a4365473ace7d0f0643c8d06d6b5372
2016-04-21 20:25:56 -04:00
L. David Baron
65891d5c0e Fix temporary debugging patch for bug 1265280 so we'll hit the condition. r=khuey
MozReview-Commit-ID: 11gaY1Fz9nf

--HG--
extra : rebase_source : 0d75310f5c8700d503b2ea5308d4f661302dedd1
2016-04-26 13:33:28 -07:00
Mason Chang
3c536bb168 Bug 1267363. Disable hinting on osx fonts only if we have expclity grayscale AA. r=mstange 2016-04-26 13:14:15 -04:00
CJKu
3acf2e463b Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
MozReview-Commit-ID: 2SfENZieSzQ

--HG--
extra : rebase_source : 3880f8fd6ae18e9f4b1cbf0a2f5eff48c060548b
2016-04-26 23:56:44 +08:00
Boris Zbarsky
b7702c0119 Bug 1263845. When a parent changes from auto height to non-auto height or vice versa, a percentage height non-block child needs to realize it's doing a vertical resize. r=dbaron 2016-04-26 12:56:26 -04:00
Mats Palmgren
cbec7476c1 Bug 623432 part 3 - Check nsFrameSelection::GetDragState() earlier to optimize away some more expensive calls. r=tn 2016-04-26 14:43:55 +02:00
Mats Palmgren
c491890f51 Bug 623432 part 2 - Ignore scrollbars while drag-selecting content. r=tn 2016-04-26 14:43:55 +02:00
Mats Palmgren
36610cc2fe Bug 623432 part 1 - When the target scroll point is at the screen edge and no scrolling occured, then try to scroll 10px in that direction anyway. r=tn 2016-04-26 14:43:55 +02:00
Jonathan Kew
545b8fc9cc Bug 1265631 - patch 3 - Add surrogate support to nsJISx4051LineBreaker so that supplementary-plane characters get correct line-breaking behavior. r=masayuki 2016-04-26 10:32:19 +01:00
Jonathan Kew
5de38fc4e9 Bug 1265631 - Reftests for line-breaking with supplementary-plane characters. r=masayuki 2016-04-26 10:32:13 +01:00
Bob Owen
c4ec1107e4 Bug 1258609: Initialize nsICanvasRenderingContextInternal with a DrawTarget instead of a gfxASurface. r=jrmuizel
MozReview-Commit-ID: JNQ9GWvDUSq
2016-04-21 10:30:38 +01:00
Matt Woodrow
083b9cd7fc Bug 1265256 - Use the canvas positioning area when computing the background-attachment:fixed rect for canvas frames. r=mstange 2016-04-22 17:50:11 +12:00
CJKu
2dd9807243 Bug 1265715 - Part 5. bg-clip:text transform reftest; r=jfkthame
MozReview-Commit-ID: BYswWA9fH2F

--HG--
extra : rebase_source : 6eeb45abb146053aedc438614011f35b57a4fe14
2016-04-26 00:27:15 +08:00
CJKu
fa37f68a70 Bug 1265715 - Part 4. Fix transform problem; r=jfkthame
MozReview-Commit-ID: Bl88WTZDel

--HG--
extra : rebase_source : 0796217a925587c865c1b918377166c200bb474d
2016-04-26 00:27:03 +08:00
CJKu
f934d566c4 Bug 1265715 - Part 3. Use nsLayoutUtils::PaintFrame in ClipBackgroundByText; r=jfkthame
MozReview-Commit-ID: LRh54GNT0qW

--HG--
extra : rebase_source : ad03f0a22b6eb285f6abb622396caf1da48021b7
2016-04-26 00:26:51 +08:00
CJKu
f75bface0f Bug 1265715 - Part 2. Add nsDisplayListBuilderMode parameter into nsLayoutUtils::PaintFrame; r=jfkthame
MozReview-Commit-ID: 1jkJOOH8KCi

--HG--
extra : rebase_source : c3a67cf66bb1f19cb3a0acc0cab3a45f1f02ea00
2016-04-26 00:26:40 +08:00
CJKu
3059aafb03 Bug 1265715 - Part 1. Pull Mode out of nsDisplayListBuilder; r=jfkthame
MozReview-Commit-ID: BBIoHfcJ6hz

--HG--
extra : rebase_source : c21cc10558a2a6c44b601bdfd087edd52d37c3df
2016-04-26 00:26:28 +08:00
Botond Ballo
992cbd5b93 Bug 735857 - Treat background-attachment:fixed as background-attachment:scroll if it's on a non-root element affected by a transform. r=mstange
MozReview-Commit-ID: 1lnQoD98xv3

--HG--
extra : rebase_source : 0cfd2c2a7926210775b6a1beff69ba32f2a10d6c
2016-04-25 17:20:13 -04:00
Botond Ballo
76d7859745 Bug 735857 - Factor out a helper function nsLayoutUtils::IsTransformed(). r=mstange
MozReview-Commit-ID: 4AJUVDLAYrc

--HG--
extra : rebase_source : a84cda133f64388c496e035f018d27fb197001ee
2016-04-25 14:21:24 -04:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Daniel Holbert
1baa102033 Bug 1180107: Factor out logic for determining whether a flex item's main size could influence cross size. r=mats
MozReview-Commit-ID: 702zyjj4TPd
2016-04-25 15:58:55 -07:00
Wes Kocher
9e4d1f728a Bug 1267054 - Annotate the android assertion a=testonly
MozReview-Commit-ID: 1sTIFwhjlZR

--HG--
extra : source : 80befee8ec527372547b547cc592e555d3b6c11a
2016-04-25 15:46:55 -07:00
Mats Palmgren
f469939664 Bug 1266131 part 3 - [css-grid] Adjust tests to reflect the new behavior for 'order' on grid-aligned abs.pos. descendants. 2016-04-25 18:43:04 +02:00
Mats Palmgren
9f53935bce Bug 1266131 part 2 - [css-grid] Remove unused nsDisplayList::SortByCSSOrder() function. r=dholbert 2016-04-25 18:43:04 +02:00
Mats Palmgren
91532abbc2 Bug 1266131 part 1 - [css-grid] 'order' doesn't apply to grid-aligned abs.pos. descendants (anymore). r=dholbert 2016-04-25 18:43:04 +02:00
Mats Palmgren
adbc189b42 Bug 1264067 - [css-grid] Update tests that use 'fr' min-sizing. 2016-04-25 18:43:04 +02:00
Mats Palmgren
50649ed4b4 Bug 1264067 - [css-grid] 'fr' min-sizing is now invalid. r=dholbert 2016-04-25 18:43:04 +02:00
Daniel Holbert
a7f628c506 Bug 1248708 followup: Use MOZ_ARRAY_LENGTH instead of ArrayLength for expression used at compile time, to fix MSVC 2013 bustage. (trivial/bustage-fix, no review)
MozReview-Commit-ID: A1thxdXB2RT
2016-04-25 09:06:54 -07:00
Sotaro Ikeda
62df9daebb Bug 1261605 - Extend fuzz r=mstange 2016-04-24 18:17:19 -07:00
Wei-Cheng Pan
daa8e38158 Bug 1259641 - Do not force reflow for all tabs when size mode changed. r=smaug
MozReview-Commit-ID: GoTCM60Hmlf

--HG--
extra : transplant_source : S%88%AD%A3%99%9Bk%D3%E4U%0302%82%87o3%28%FFK
2016-04-20 11:41:42 +08:00
Lee Salzman
81e6150f5c Bug 1244918 - avoid using Infs for line start and end when painting gradients. r=mstange 2016-04-23 20:54:07 -04:00
L. David Baron
5036e4c66e Bug 1265280 - Temporary debugging code to crash with a useful abort message. r=khuey
MozReview-Commit-ID: G1XOUcfwY20

--HG--
extra : transplant_source : %3E%09%CFW%F0%7E%EA%3A0%F3AU%B1%89%F8%A0%24%07%86%BC
2016-04-23 14:17:24 -07:00
Sebastian Hengst
c108701a85 Backed out changeset 68442febc36c (bug 1160200) for almost permafailing added test apng-mime/test.html Android 4.3 API15+ opt. r=backout 2016-04-23 22:33:26 +02:00
Timothy Nikkel
e78e313fa5 Bug 1259246. Simplify nsDocumentViewer::FindContainerView. r=dholbert
Turn a series of nested if's into early return if's with no nesting so it is easier to follow.
2016-04-04 02:59:15 -05:00
Timothy Nikkel
4fa1d92384 Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.

This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-23 15:18:26 -05:00
Masayuki Nakano
eb041d2df7 Bug 1257759 part.7 Add new internal events which represent key events on plugin r=smaug
If a plugin process posts native key events to the widget, it needs to check if the key combination is reserved by chrome because if it's reserved by chrome, the reserved shortcut key handler should be executed and the event shouldn't be handled by the focused plugin.

This patches add eKeyDownOnPlugin and eKeyUpOnPlugin.  nsXBLWindowKeyHandler will listen to them and handle them as normal keydown and keypress or keyup event.  Note that these events won't be fired on content in the default event group and won't be sent to the remote process.

MozReview-Commit-ID: H5OKPLtVdr6

--HG--
extra : rebase_source : c6852423e47c40e9953b72061262730f7cce35d7
2016-04-23 01:22:49 +09:00
Jeremy Chen
f7a19af3e7 Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame 2016-04-23 01:40:39 +08:00
Jeremy Chen
84a70f3910 Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam 2016-04-23 01:40:39 +08:00
Jeremy Chen
51c6f6da30 Bug 1248708 - Part3: add reftests. r=jfkthame 2016-04-23 01:40:38 +08:00
Botond Ballo
25a9b005e6 Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange
MozReview-Commit-ID: ITLeksQzvVM

--HG--
extra : rebase_source : 1a3779ab7154282388c2e57251886863e818b168
2016-04-20 19:49:09 -04:00
Benoit Girard
7320608b23 Bug 1265825 - Remove mSuppressionActive assert. r=kats
MozReview-Commit-ID: I84IfyxwusB

--HG--
extra : rebase_source : 6d1bbe4e045875aa157cd2f50f7f9f9dcc790f84
2016-04-22 11:45:35 -04:00
Ben Kelly
67cfa5a9ee Bug 1265795 P4 Always call nsDocument::SetScriptGlobalObject(nullptr) from nsDocument::Destroy(). r=bz
Currently there are certain paths in nsDocumentViewer that can call
nsDocument::Destroy(), but fail to call SetScriptGlobalObject(nullptr).  This
results in the global never being cleared.

This patch refactors things so nsDocument::Destroy() always clears the global.
This ensures a more consistent document teardown since we don't rely on
external callers to get multiple method calls correct.
2016-04-21 16:10:40 -07:00
Edwin Flores
a3618f3ddb Bug 1253995 - Display stale image in nsImageFrame if we have a new src but haven't decoded it yet - r=seth 2016-04-22 14:08:25 +01:00
Ting-Yu Lin
87d7ee9f5c Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add <br>
elements to testAccessibleCarets.html to separate these test fields.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 6fbfede7cc0e395402b5858d74480dcdd5606c35
2016-04-22 18:23:47 +08:00
Jonathan Watt
debbbba148 Bug 752638, part 1 - Move SVGTextFrame::SetupContextPaint to nsSVGUtils. r=heycam 2016-04-22 11:52:19 +01:00
Ting-Yu Lin
bcbf8175b8 Bug 1249201 Part 2 - Show carets continuously when panning or zooming. r=mats,sebastian
Add a pref "layout.accessiblecaret.always_show_when_scrolling" defaults
to true on all platforms except b2g. When it is set to false, the carets
will be hidden during scrolling, which is the current behavior before
applying this change.

The pref "layout.accessiblecaret.extendedvisibility" was added for
Fennec to keep ActionBar open when carets temporarily hiding during
panning or zooming. Now we make carets always show by default, so the
pref can be removed. However, the floating toolbar still need to be
notified when the scrolling begins, so we dispatch "scroll" instead.

In gtest, the preference changes were in the middle of the test
function. To make the preference change clearer, I add new pref changes
or move the existing ones to the beginning of the test functions.

The 250ms transition effect added in ua.css is per request of UX
designer in bug 1249201 comment 12.

MozReview-Commit-ID: 8NGvDLPbtNY

--HG--
extra : rebase_source : 3f7a9ebdf4c70b0282dbf9e8f18cbe5cca656dbe
2016-04-21 16:53:40 +08:00
Carsten "Tomcat" Book
55fea48a3f Backed out changeset 637e80ab4fca (bug 1262755) for rc4 android perma failures
--HG--
extra : rebase_source : 26893c1afaa1c4fc23808b92d8738d847d9ff5f3
2016-04-22 09:12:50 +02:00
Timothy Nikkel
7157850587 Bug 1251150. Back out crash annotations used to try to diagnose crash.
They didn't find any problems.
2016-04-22 00:17:15 -05:00
Timothy Nikkel
d5ab4ae492 Back out changesets 4bbf54c1bcd9 and ffcc3708103a from bug 1259246.
Backed out to see if they caused bug 1262027.
2016-04-21 23:14:37 -05:00
David Newton
f44103a43f Bug 1160200 - APNG can't be used with type switching. r=mcaceres,r=jrmuizel 2016-04-20 23:57:00 +02:00
Ting-Yu Lin
2d3ac9ab7f Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add two <br>
to testAccessibleCarets.html to separate the <input> and <textarea>.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 73b662980a5be55a4e3e31506437f2c26f65cd85
2016-04-15 17:10:02 +08:00
Xidorn Quan
c43f5c933c Bug 1260543 followup - Fix the function name in test_transitions_per_property.html. DONTBUILD
MozReview-Commit-ID: CKUpbBhN2KT

--HG--
extra : source : f2327d92b118737c4294ae61bd6d10631f0671ef
2016-04-22 12:01:16 +10:00
Xidorn Quan
1f5f8a54d0 Bug 1260543 - Treat currentcolor as computed value which is not interpolatable with actual color for text-emphasis-color and -webkit-text-fill-color. r=birtles
MozReview-Commit-ID: GUXEDHxOdNC

--HG--
extra : rebase_source : 83f47535dc6f5a1f5fe72f60ba4877ec9a16a6df
2016-04-08 13:43:09 +10:00
Bobby Holley
37c8b13e17 Bug 1266249 - Remove mHasCachedOutline. r=dbaron 2016-04-21 17:44:32 -07:00
Seth Fowler
ea6f023ffe Bug 1261554 (Followup) - Fix memory reporting for PresShell::mVisibleRegions. r=me
--HG--
extra : rebase_source : ae1a692b5b89738720c728a23a81d9f71cb83e28
2016-04-21 17:38:09 -07:00
Cameron McCormack
cd6a2cb8f8 Bug 1266324 - Rename style const macro for unicode-bidi:bidi-override to be consistent with other style consts. r=jfkthame 2016-04-22 10:37:21 +10:00
Xidorn Quan
a6096a3c0b Bug 1097499 part 15 - Add reftests for text-combine-upright. r=jfkthame
MozReview-Commit-ID: 2PhaUnUMF5l

--HG--
extra : source : 407f4b5e701aa1aab7830dd3298ead2b37b349bf
2016-04-22 09:18:41 +10:00
Xidorn Quan
f819b73b7b Bug 1097499 part 14 - Draw emphasis marks properly for text-combine-upright. r=jfkthame
MozReview-Commit-ID: 2bHWXxZDVGk

--HG--
extra : source : 492cd1cb7e3bc5e776042fddc2a656ec9160a2a9
2016-04-22 09:18:41 +10:00
Xidorn Quan
e775e87790 Bug 1097499 part 13 - Draw decoration line properly for text-combine-upright. r=jfkthame
MozReview-Commit-ID: AymG09nvxh1

--HG--
extra : source : 579ca910016a1af95bb36b66d2ceb309d40288d3
2016-04-22 09:18:41 +10:00
Xidorn Quan
5f02c3cba1 Bug 1097499 part 12 - Handle spacing sensibly for text-combine-upright. r=jfkthame
MozReview-Commit-ID: DSBMUcccfNi

--HG--
extra : source : f03b556d12d5c28f7d8e3af3d7977470784eea76
2016-04-22 09:18:41 +10:00
Xidorn Quan
d2e9e4f2b9 Bug 1097499 part 11 - Set width variant for text-combined frame. r=jfkthame
MozReview-Commit-ID: 60QB0PGtOKM

--HG--
extra : source : 914b8a7151bbd7ed385abb2696e6d5cefc3fadcb
2016-04-22 09:18:41 +10:00
Xidorn Quan
d8f6beea61 Bug 1097499 part 9 - Transform full-width characters to non-full-width correspondents for combined text. r=jfkthame
MozReview-Commit-ID: CXntBz9HPJu

--HG--
extra : source : 950029490bd0f6d5900140693e8ab193a9efe543
2016-04-22 09:18:41 +10:00
Xidorn Quan
19931babd5 Bug 1097499 part 8 - Move CountGraphemeClusters to mozilla::unicode. r=emk
MozReview-Commit-ID: J9yR8RPs5u8

--HG--
extra : source : 7b937b3ba984e84da808cd072037726b56da1826
2016-04-22 09:18:41 +10:00
Xidorn Quan
752571191a Bug 1097499 part 6 - Inherit move direction from parent for horizontal-in-vertical text. r=jfkthame
MozReview-Commit-ID: 28mBKQnYydp

--HG--
extra : source : cf2271efff54b97ccbf30a73c903d577fca72dab
2016-04-22 09:18:41 +10:00
Xidorn Quan
79d3a9f880 Bug 1097499 part 5 - Layout text combine upright. r=jfkthame
MozReview-Commit-ID: 2HnXJ8bEvJH

--HG--
extra : source : bb721afad795a27f30e5a25479a1fd5c346970a4
2016-04-22 09:18:41 +10:00
Xidorn Quan
68af7e6457 Bug 1097499 part 4 - Adjust computed value of writing-mode on text frames when text-combine-upright is used. r=heycam
MozReview-Commit-ID: KNRe0ZpzxGr

--HG--
extra : source : dfd24ab49704b6542207aaab5b1283a4db355e60
2016-04-22 09:18:41 +10:00
Xidorn Quan
d5599a3104 Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
MozReview-Commit-ID: 1GfoFEGhyka

--HG--
extra : source : 38b806fd0fa54934439db0de75600def43142272
2016-04-22 09:18:41 +10:00
Xidorn Quan
747a0b5474 Bug 1097499 part 2 - Add a macro to simplify usage of nsStyleContext::GetUniqueStyleData. r=heycam
MozReview-Commit-ID: IS8KUbkXp8m

--HG--
extra : source : 5ee7bfeb7ceafcfff6c0bbd90507ed0b7b8de351
2016-04-22 09:18:41 +10:00
Xidorn Quan
b1521c643f Bug 1097499 part 1 - Control support of 'text-combine-upright: digits' via a separate pref. r=heycam
MozReview-Commit-ID: JerTsxaQCL4

--HG--
extra : source : 999d1d2997591935fa1259fa42a91658da8ee078
2016-04-22 09:18:41 +10:00
Wes Kocher
e80ed17c41 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5AQXGbI0ke2
2016-04-21 15:02:19 -07:00
Ryan VanderMeulen
3b377513d8 Bug 1265913 - Re-add fuzz needed for D2D that was removed in the previous patch. r=me a=merge
MozReview-Commit-ID: IolY0nf410g

--HG--
extra : source : d65b7e80b494915e5a07bb8d4b5104688677c565
2016-04-21 12:47:08 -04:00
Wes Kocher
aac511837d Merge inbound to m-c a=merge
MozReview-Commit-ID: GW9vcSRPgYc
2016-04-21 14:41:08 -07:00
Mats Palmgren
51f6396852 Bug 1266250 part 2 - [css-grid] Resurrect the 'grid-template' shorthand (backs out bug 1253529). 2016-04-21 16:18:34 +02:00
Mats Palmgren
784d6b392f Bug 1266250 part 1 - [css-grid] Resurrect the 'grid-template' shorthand (backs out bug 1253529). r=dholbert 2016-04-21 16:18:34 +02:00
Bobby Holley
1c7f68df06 Bug 1258017 - Cleanup fixes for trunk. r=me 2016-04-21 13:56:40 -07:00
Ryan VanderMeulen
ac47e07f5a Bug 1265913 - Add some fuzz to the 456219-1 reftests. rs=mstange
--HG--
extra : rebase_source : d41c9faef288b83b19602c579f670b6daa87ca80
2016-04-21 10:08:02 -04:00
Jonathan Watt
c7da421b17 Bug 1266101, part 1 - Remove various bits of dead code related to painting SVG text. r=heycam 2016-04-21 14:39:30 +01:00
Seth Fowler
4b0251d526 Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
Seth Fowler
82aae6c3ed Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange 2016-04-21 01:22:10 -07:00
Seth Fowler
0847460298 Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange 2016-04-21 01:21:58 -07:00
Brian Birtles
383f4aa97c Bug 1265611 - Add tests for CSS animations; r=heycam
MozReview-Commit-ID: LTnRxQixqzJ
2016-04-21 17:05:47 +09:00
Brian Birtles
825d83d3fc Bug 1265611 - Don't trigger transitions for properties that are disabled; r=heycam
Currently if we have transition-property: 'all' and trigger a transition
on the 'color' property we will end up generating a transition on
-webkit-text-fill-color even if that property is disabled.

However, when we later call StyleAnimationValue::ToValue() in
nsTransitionManager::UpdateTransitions() to see if there are any transitions we
need to cancel, the comparison for currentValue != anim->ToValue() will pass
(since, as of the first patch in this patch series, ToValue() returns a null
value) so we end up cancelling the transition as soon as we create it).

Nevertheless, we will still trigger the warning introduced in the first patch
in this series when we call ToValue().

This patch stops us from creating transitions in the first place (and hence
triggering the warning). It also removes the code that suppresses transition
events for transitions on disabled properties since we should no longer be
generating such transitions in the first place (unless the pref is switched
while the transition is in motion which is probably not worth worrying about).

Note that we only test if the property is enabled for all content. This is
consistent with what we do throughout animation code including the existing
code in nsTransitionManager which iterates through shorthand sub-properties
using CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES with the flag
nsCSSProps::eEnabledForAllContent.

The test case in this patch doesn't actually fail without this change, all it
does it trigger the warning in StyleAnimationValue::ToValue() introduced
in the first patch in this series. It's still a useful regression test however,
particularly if we later upgrade the warning in StyleAnimationValue::ToValue()
to a fatal assertion.

MozReview-Commit-ID: H9swDKLyiOf
2016-04-21 17:05:46 +09:00
Brian Birtles
135b397103 Bug 1265611 - Crashtest; r=heycam
I have verified that without the fix in the first patch in this series this
test fails, but passes with the fix applied.

MozReview-Commit-ID: JmncnapbVLa
2016-04-21 17:05:46 +09:00
Brian Birtles
99ba8fd7de Bug 1265611 - Make TransitionProperty() and ToValue() safe when mProperties is not set; r=heycam
MozReview-Commit-ID: KIzE5jdvPfT
2016-04-21 17:05:46 +09:00
L. David Baron
1fff16a212 Bug 1053986 - Rename nsBox::DoLayout to DoXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 6Q0F4ViOyjJ
2016-04-20 21:28:35 -07:00
L. David Baron
a5934125bf Bug 1053986 - Rename nsBox::EndLayout to EndXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 6D6A0XqArES
2016-04-20 21:28:35 -07:00
L. David Baron
5d96d363af Bug 1053986 - Rename nsBox::BeginLayout to BeginXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 5gQYEEY6jJ1
2016-04-20 21:28:34 -07:00
L. David Baron
7f9ad26421 Bug 1053986 - Fix ordering of methods in nsIFrame.h r=dholbert
This moves the declaration of a method that was incorrectly inserted between:
  // BOX LAYOUT METHODS
and:
  // END OF BOX LAYOUT METHODS

MozReview-Commit-ID: AbboPVCM4Gx
2016-04-20 21:28:34 -07:00
L. David Baron
e0db98947a Bug 1053986 - Rename nsIFrame::AddCSSPrefSize, AddCSSMinSize, AddCSSMaxSize, and AddCSSFlex by replacing CSS with XUL. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: BTsQw1EMqvY
2016-04-20 21:28:34 -07:00
L. David Baron
29a427f28f Bug 1053986 - Rename nsIFrame::DumpBox to XULDumpBox. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 7fWf9Z1ugB9
2016-04-20 21:28:34 -07:00
L. David Baron
2b41721e10 Bug 1053986 - Rename nsIFrame::GetDebug to GetXULDebug. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: F88H1QCPSS7
2016-04-20 21:28:34 -07:00
L. David Baron
cbb60bab56 Bug 1053986 - Rename nsIFrame::SetDebug to SetXULDebug. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: KQYtO7JS2Zm
2016-04-20 21:28:34 -07:00
L. David Baron
724e8f5649 Bug 1053986 - Rename nsIFrame::RelayoutChildAtOrdinal to XULRelayoutChildAtOrdinal. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 6nN7dzGoCpX
2016-04-20 21:28:34 -07:00
L. David Baron
9b694e75bf Bug 1053986 - Rename nsIFrame::Redraw to XULRedraw. r=dholbert
Written purely with sed, over .h and .cpp files in layout/, except for
the removal of one comment change in nsSliderFrame.cpp.

MozReview-Commit-ID: 2jpzaby0S9r
2016-04-20 21:28:34 -07:00
L. David Baron
95adf693d8 Bug 1053986 - Rename nsIFrame::IsNormalDirection to IsXULNormalDirection. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: BjamzLIqkUW
2016-04-20 21:28:34 -07:00
L. David Baron
ff032066f9 Bug 1053986 - Rename nsIFrame::IsHorizontal to IsXULHorizontal, and related methods. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

This also renames a static method on nsSprocketLayout.

Note that nsFlexContainerFrame and nsRangeFrame also have IsHorizontal
methods that are not renamed here, but this can be found to be
relatively safe because none of the IsHorizontal methods are virtual.

MozReview-Commit-ID: Jsdy7I4Q7mX
2016-04-20 21:28:34 -07:00
L. David Baron
318d797bb2 Bug 1053986 - Rename nsIFrame::GetHAlign to GetXULHAlign. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: FW1DjQ2uCnk
2016-04-20 21:28:33 -07:00
L. David Baron
09ce96ec3a Bug 1053986 - Rename nsIFrame::GetVAlign to GetXULVAlign. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 1CKHdnYFKBx
2016-04-20 21:28:33 -07:00
L. David Baron
9b3e98ff35 Bug 1053986 - Rename nsIFrame::GetClientRect to GetXULClientRect. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: 2F7Bt3i4ogu
2016-04-20 21:28:33 -07:00
L. David Baron
ea114a38d6 Bug 1053986 - Rename nsIFrame::GetLayoutManager to GetXULLayoutManager. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: LbOjEpXmcH4
2016-04-20 21:28:33 -07:00
L. David Baron
e857dc05f7 Bug 1053986 - Rename nsIFrame::SetLayoutManager to SetXULLayoutManager. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: FuOaNWfROKV
2016-04-20 21:28:33 -07:00
L. David Baron
a18df38599 Bug 1053986 - Rename nsIFrame::GetMargin to GetXULMargin. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: GqAa9wyb8z3
2016-04-20 21:28:33 -07:00
L. David Baron
5d30ee8dc8 Bug 1053986 - Rename nsIFrame::GetPadding to GetXULPadding. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: ENHslSI6hch
2016-04-20 21:28:33 -07:00
L. David Baron
56a64fd04c Bug 1053986 - Fix comment referring to a GetBorder method that no longer exists. r=dholbert
This fixes some of the substance of the comment as well.

MozReview-Commit-ID: Hj94dV1qGFP
2016-04-20 21:28:33 -07:00
L. David Baron
d44900156e Bug 1053986 - Rename nsIFrame::GetBorder to GetXULBorder. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

It also includes manual changes in accessible/.

MozReview-Commit-ID: D1nwxJmUzc9
2016-04-20 21:28:33 -07:00
L. David Baron
e8c729768f Bug 1053986 - Rename nsIFrame::GetBorderAndPadding to GetXULBorderAndPadding. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: A8rWLW213Uo
2016-04-20 21:28:32 -07:00
L. David Baron
5cb5f30041 Bug 1053986 - Rename nsBox::GetParentBox to GetParentXULBox. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: FqTrLBFZMF5
2016-04-20 21:28:32 -07:00
L. David Baron
758eb25ec4 Bug 1053986 - Rename nsBox::GetNextBox to GetNextXULBox. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 2idhqJgZLTe
2016-04-20 21:28:32 -07:00
L. David Baron
f922950060 Bug 1053986 - Rename nsBox::GetChildBox to GetChildXULBox. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 61Fye82NdT4
2016-04-20 21:28:32 -07:00
L. David Baron
3d0dc454a5 Bug 1053986 - Rename nsIFrame::Layout to XULLayout, and related methods with the same name. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: 9NNnNw6ClGq
2016-04-20 21:28:32 -07:00
L. David Baron
867eb820ad Bug 1053986 - Rename nsIFrame::SetBounds to SetXULBounds. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/, with additional manual indentation fixes.

MozReview-Commit-ID: weRWGmQLjh
2016-04-20 21:28:32 -07:00
L. David Baron
633e18a890 Bug 1053986 - Rename nsIFrame::IsCollapsed to IsXULCollapsed, and related methods. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.  It's a subset because there is also a Selection
method called IsCollapsed, which is not changed here.

MozReview-Commit-ID: 9JgnPv0Hkff
2016-04-20 21:28:32 -07:00
L. David Baron
4754370cbd Bug 1053986 - Rename nsIFrame::GetBoxAscent to GetXULBoxAscent. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: EDkbMQKqPg6
2016-04-20 21:28:32 -07:00
L. David Baron
8e7c9500e2 Bug 1053986 - Rename nsIFrame::GetFlex to GetXULFlex. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: DNL01eSXB73
2016-04-20 21:28:31 -07:00
L. David Baron
81bae7f235 Bug 1053986 - Rename nsIFrame::GetOrdinal to GetXULOrdinal. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: Cj9yHRCuqzx
2016-04-20 21:28:31 -07:00
L. David Baron
72e04ee41a Bug 1053986 - Rename nsIFrame::GetMinSizeForScrollArea to GetXULMinSizeForScrollArea. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: EkHfWG4QQrE
2016-04-20 21:28:31 -07:00
L. David Baron
c760cfbbb8 Bug 1053986 - Rename nsIFrame::GetMaxSize to GetXULMaxSize, and related methods. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 39fYXMz7kqR
2016-04-20 21:28:31 -07:00
L. David Baron
87a69b43fb Bug 1053986 - Rename nsIFrame::GetPrefSize to GetXULPrefSize, and related methods. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: yvcAZ8rndu
2016-04-20 21:28:31 -07:00
L. David Baron
814003bbcc Bug 1053986 - Rename nsIFrame::GetMinSize to GetXULMinSize, and related methods. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: Jhe3o3kIOe0
2016-04-20 21:28:31 -07:00
L. David Baron
c1e0b61079 Bug 1053986 - Rename nsFrame.cpp static method IsBoxWrapped to IsXULBoxWrapped. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: EOh204RMxmi
2016-04-20 21:28:30 -07:00
L. David Baron
376413eeb5 Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

But with additional manual changes in accessible/.

MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Chris Peterson
75b5faab4d Bug 1265624 - Remove unnecessary compiler version check for MSVS 2010 in nsFrameState.h. r=heycam 2016-04-17 17:09:32 -07:00
Daniel Holbert
21ed32cfe9 Bug 1262049 part 6: Add reftest for -webkit-box-direction. (no review)
MozReview-Commit-ID: 1UfJetSgLb
2016-04-20 16:43:40 -07:00
Daniel Holbert
23f714b1cd Bug 1262049 part 5: Honor -webkit-box-orient & -webkit-box-direction when determining axes for a -webkit-box flexbox. r=mats
MozReview-Commit-ID: BG93ObYPjUg
2016-04-20 16:43:24 -07:00
Daniel Holbert
52f5723e2f Bug 1262049 part 4: Refactor some of FlexboxAxisTracker constructor's logic into a helper method. r=mats
MozReview-Commit-ID: 85O3Nqm7EMb
2016-04-20 16:43:24 -07:00
Daniel Holbert
9967c45ac0 Bug 1262049 part 3: Refactor FlexboxAxisTracker constructor to take pointer to nsFlexContainerFrame. r=mats
MozReview-Commit-ID: KIYStnToe0C
2016-04-20 16:43:24 -07:00
Daniel Holbert
ad9794f615 Bug 1262049 part 2: Add -webkit-box-orient & -webkit-box-direction as aliases for -moz versions, in the style system (but not yet honored by flexbox layout). r=mats
MozReview-Commit-ID: 3WFB2cdXlNQ
2016-04-20 16:43:24 -07:00
Daniel Holbert
dfb1c4c768 Bug 1262049 part 1: Back out bug 1208344 in its entirety, and mark -webkit-box-orient:vertical reftests as failing (for now). (no review)
This patch backs out changeset range 1f1884449dd4:0b5ed5e4a395 (all of the patches for bug 1208344) -- i.e. it backs out our support for "-webkit-box-orient".  This patch also adds "fails" annotations to two reftests that depend on that feature, to reflect reality that these tests are now expected to fail (for the moment).

MozReview-Commit-ID: F8zGGg8R0Rn
2016-04-20 16:43:24 -07:00
Daniel Holbert
ed653d2220 Bug 1264787: Make nsCSSValue's AdoptListValue & AdoptPairListValue methods take a UniquePtr. r=heycam
MozReview-Commit-ID: 94aYEtySHsW
2016-04-20 10:37:06 -07:00
Jonathan Kew
74a35a7eee Bug 1265648 followup - Use an array of UniquePtr<> for mTextRunsToDelete. r=mats 2016-04-20 10:55:15 +01:00
Jonathan Kew
97936698fe Bug 1265648 - Remove the global nsTextFrameTextRunCache, as it no longer serves any useful purpose. r=mats 2016-04-20 10:54:43 +01:00
Mark Capella
a5dadf5639 Bug 1265750 - Some word cannot be selected via long pressing, r=TYLin, mats 2016-04-21 08:53:13 -04:00
Daniel Holbert
9191a8ed82 Bug 1266248 part 2: Add assertion to verify that MapSinglePropertyInto() isn't called with a logical target-property. r=heycam
(This commit is effectively re-landing an assertion from changeset c1e9d6224c5a, aka bug 1208344 part 4. The rest of that patch is no longer needed, but this assertion is still useful.)

MozReview-Commit-ID: 7v5IwzS2CtP
2016-04-21 11:43:26 -07:00
Daniel Holbert
74158d9a7f Bug 1266248 part 1: Rename MapSinglePropertyInto() args, to make src-vs-target distinctions clearer. r=heycam
(This commit is effectively re-landing changeset b3a36d79154f, aka bug 1208344 part 3. This re-landed version of the patch simply has unbitrotting fixes for indentation changes.)

MozReview-Commit-ID: BszOC5wyvBA
2016-04-21 11:43:24 -07:00
Jonathan Kew
c60f6a1ae4 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Kartikaya Gupta
156fd531bc Bug 1266288 - Track changes to all margin properties for scroll-linked effects. r=mstange
MozReview-Commit-ID: D0wN1TdFdtM

--HG--
extra : rebase_source : 227cc71e5ffa3d980435de2e6ea9074d9cec4667
2016-04-21 11:41:17 -04:00
Ryan VanderMeulen
3dd4cb9db8 Bug 1265913 - Re-add fuzz needed for D2D that was removed in the previous patch. r=me 2016-04-21 12:47:08 -04:00
Mason Chang
09c83c61bd Bug 1260454 Part 2. Reftest updates for skia OS X due to grayscale AA font smoothing. r=lsalzman 2016-04-21 08:45:17 -07:00
Jeremy Chen
a9eb6cfaa2 Bug 1248708 - Part2.1: use mfbt/TypedEnumBits.h for DrawMode. r=jwatt
--HG--
extra : rebase_source : 23577723d8b5b8a5d6c4797bae797b47c195e9e5
2016-04-21 23:27:39 +08:00
Jonathan Kew
040843e80f Bug 1266341 - Pass the right kind of enum constants for script codes. r=masayuki 2016-04-21 16:31:46 +01:00
Mantaroh Yoshinaga
1a3a4d293d Bug 1259285 - Part1 - Move CSS/Web Animations-specific visibility handling. r=birtles
MozReview-Commit-ID: 5ZYUhvI1cqV

--HG--
extra : transplant_source : %85%01%5C%91%EB%C2%F9%F5a%82%5C%FCZKz%F7%2B%27%F7%9C
2016-04-20 09:05:29 +09:00
Jonathan Watt
8f6a52b6e5 Bug 1110460, part 8 - Support CSS animation of clip-path basic shapes. r=dholbert 2016-04-18 23:04:20 +01:00
Jonathan Watt
7d58efd0ec Bug 1110460, part 7 - Factor out code for adding two nsCSSValuePairList lists. r=dholbert 2016-04-15 13:28:32 +01:00
Masayuki Nakano
9170348baf Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
MozReview-Commit-ID: G1WVCWkS0Lt

--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Masayuki Nakano
da3898bcb7 Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
MozReview-Commit-ID: L0GnVR6NcAe

--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Kartikaya Gupta
726b05f89b Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Mats Palmgren
fd41a201a0 Bug 1265001 part 2 - Add some tests with uppercase N in An+B. 2016-04-19 22:12:16 +02:00
Mats Palmgren
a41484d473 Bug 1265001 part 1 - Accept uppercase N when parsing An+B. r=heycam 2016-04-19 22:12:16 +02:00
Mats Palmgren
8cea5ff5f7 Bug 1258476 - Optimize CreateRangePaintInfo by generating display lists for the minimum amount of range subtrees rather than for the range common ancestor. r=tn 2016-04-19 22:12:16 +02:00
L. David Baron
7ddb4d5d7b Bug 1265591 patch 3 - Make the comment describing RestyleForCSSRuleChanges match reality. r=heycam
MozReview-Commit-ID: 9CT2k59cYP2
2016-04-19 11:38:35 -07:00
L. David Baron
b1db407049 Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
L. David Baron
368f3bb46f Bug 1265591 patch 1 - Remove Internal/External versions of ReconstructStyleData. r=heycam
This Internal/External difference was added in bug 253889 in the year
2004, when we build layout as a library separate from things like
editor.  It is no longer needed now that we have libxul, and should not
be used by any external callers.

MozReview-Commit-ID: 7354lCl3hN8
2016-04-19 11:38:34 -07:00
Jonathan Kew
cb1c20b3c3 Bug 1265459 - Replace uses of nsAutoPtr<gfxTextRun> with UniquePtr, and let MakeTextRun and similar methods return a UniquePtr. r=jrmuizel 2016-04-19 17:13:28 +01:00
Jonathan Kew
28a9e2cf14 Bug 1265452 - Remove use of nsAutoPtr from gfx/thebes. r=jrmuizel 2016-04-15 20:45:37 +01:00
Matteo Ferretti
3837790c7f Bug 1168113 - Anonymous custom content container should use absolute position. r=xidorn
MozReview-Commit-ID: JkfqzK6BsdE

--HG--
extra : rebase_source : 61a05f4ac4d030ecd266d44ea698a5fc1a9aac1a
2016-04-19 22:22:57 +08:00
Markus Stange
0466d2c67d Bug 1265568 - Don't require component alpha layers for text with -moz-osx-font-smoothing:grayscale. r=jfkthame,mattwoodrow
MozReview-Commit-ID: KujmkbgadPo

--HG--
extra : rebase_source : df1db96206175e846652f3d5b247978fb5005bd2
2016-04-18 19:41:50 -04:00
CJKu
ccf25559ce Bug 1261578 - Part 4. Correct text overflow color; r=jfkthame
MozReview-Commit-ID: 2zbmsHxb6II

--HG--
extra : rebase_source : ebdd4caffd9ef5e578880aa0cc325b5ad47decaf
2016-04-19 17:10:17 +08:00
CJKu
51fa8b8e92 Bug 1261578 - Part 3. Correct MathML text color; r=jfkthame
MozReview-Commit-ID: HqQX88Ja6ug

--HG--
extra : rebase_source : 1893b107ef365df7dbe09cae3616df8615cdf6da
2016-04-19 17:10:06 +08:00
CJKu
f530904493 Bug 1261578 - Part 2. Correct text decoration color; r=jfkthame
MozReview-Commit-ID: LfZnmTnL5KY

--HG--
extra : rebase_source : 1bb95f3a8b59c2897f55e1f17ee8168366ca1cf5
2016-04-19 17:09:54 +08:00
CJKu
ecc0333324 Bug 1261578 - Part 1. Correct text color in selection range; r=jfkthame
MozReview-Commit-ID: 9gBWQ00MtNC

--HG--
extra : rebase_source : a0ad39cd6e887926ce6d633b49d1fd936d91a797
2016-04-19 17:09:42 +08:00
Andrew Lawson
bf1dc41f5f Bug 1262744 - Add '<!DOCTYPE html>' declaration to all MathML HTML tests (excludes XHTML). r=fred 2016-04-14 13:23:11 -04:00
Gerald Squelart
ecfb205472 Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.

Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.

MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
CJKu
a31594bc4d Bug 1264949 - crash test; r=jfkthame
MozReview-Commit-ID: 34wrJ2Qq4ch

--HG--
extra : rebase_source : 89b760fa361f517cc3f006a1e54c594fd30982cd
2016-04-19 13:41:14 +08:00
CJKu
fec446cef3 Bug 1264949 - Ensure that the display list does not contain any background-image/background-color display item; r=jfkthame
MozReview-Commit-ID: LikPnuMxeMc

--HG--
extra : rebase_source : 177134421941ed144bd7e37271f2e25018a0c403
2016-04-19 13:41:03 +08:00
Daniel Holbert
c5c19672a7 Bug 1255180 part 3: Update test_bug370436.html to use SpecialPowers for privileged "rangeParent" access, & drop now-obsolete checks for SOWs in chrome. r=bholley
This patch also enables the test by uncommenting it in mochitest.ini, since it should now run successfully.

MozReview-Commit-ID: 36ZvUYA7sDi
2016-04-18 20:26:36 -07:00
Daniel Holbert
2ea3c08df4 Bug 1255180 part 2: Update script/style paths in test_bug370436.html to point to mochitest-plain resources. r=bholley
MozReview-Commit-ID: ElBfZMQOjSl
2016-04-18 20:26:35 -07:00
Daniel Holbert
3780efe576 Bug 1255180 part 1: Move test_bug370436.html out of its mochitest-chrome subdirectory. r=bholley
This patch also temporarily disables the test by commenting it out in mochitest.ini, its new home. (I'm disabling it temporarily because it won't pass until later patches in this queue have landed.)

MozReview-Commit-ID: 2CixMWUin8W

--HG--
rename : layout/base/tests/chrome/test_bug370436.html => layout/base/tests/test_bug370436.html
2016-04-18 20:26:33 -07:00
CJKu
346962e281 Bug 1231643 - Part 2. Enable mask-composite reftest; r=dbaron
MozReview-Commit-ID: J5ruSOg9K80

--HG--
extra : rebase_source : f859a5d774f332bcd0e6d71687dc8129d21efdb3
2016-04-19 10:55:32 +08:00
CJKu
644959b4eb Bug 1231643 - Part 1. Create skia-A8-surface for mask composition when backendtype of the source DrawTarget is CG; r=mstange
MozReview-Commit-ID: J0oIhhTowk7

--HG--
extra : rebase_source : 0825caa3824a369d4a59a2ed8dc1c877bb4b0509
2016-04-19 10:55:20 +08:00
Ting-Yu Lin
2792ab700c Bug 1264837 Part 45 - Remove SVGViewFrameBase. r=dholbert
MozReview-Commit-ID: HynJLTOM7ic

--HG--
extra : rebase_source : cace67ef5b04fff01be3f77cb1037bb4ced1d1c1
2016-04-18 15:57:01 +08:00
Ting-Yu Lin
0890d2766a Bug 1264837 Part 44 - Remove SVGTextFrameBase. r=dholbert
MozReview-Commit-ID: J6Kcpqm3ot8

--HG--
extra : rebase_source : 9ffb2804ff3950fe4e93f252a4536dc85f75a292
2016-04-18 15:54:36 +08:00
Ting-Yu Lin
9429decf03 Bug 1264837 Part 43 - Remove SVGFEUnstyledLeafFrameBase. r=dholbert
MozReview-Commit-ID: JORpKHrdiRW

--HG--
extra : rebase_source : 0a5b41ba129309e10606bca9e5997a5c76bd2fe6
2016-04-18 15:52:31 +08:00
Ting-Yu Lin
f17395df8b Bug 1264837 Part 42 - Remove SVGFELeafFrameBase. r=dholbert
MozReview-Commit-ID: H40idRvWopf

--HG--
extra : rebase_source : b13c255342473ef0df78fcf60c4df823b468cb12
2016-04-18 15:50:08 +08:00
Ting-Yu Lin
edcf624a82 Bug 1264837 Part 41 - Remove SVGFEImageFrameBase. r=dholbert
MozReview-Commit-ID: Dvff6q8ESvs

--HG--
extra : rebase_source : f24408a767982fc7898ae10761d6df6b49f56cb1
2016-04-18 15:49:07 +08:00
Ting-Yu Lin
e306f86380 Bug 1264837 Part 40 - Remove SVGFEContainerFrameBase. r=dholbert
MozReview-Commit-ID: HOISrUkVbdt

--HG--
extra : rebase_source : b4e2fc7563674537b9d13bdbd412a35d85c0bf21
2016-04-18 15:47:37 +08:00
Ting-Yu Lin
8b871e4c4f Bug 1264837 Part 39 - Remove nsSVGUseFrameBase. r=dholbert
MozReview-Commit-ID: CJoLvBLPsIp

--HG--
extra : rebase_source : efcdb546f9c6b9f3c295c61c867ff4d007c8796b
2016-04-18 15:46:09 +08:00
Ting-Yu Lin
f1b3bc79b9 Bug 1264837 Part 38 - Remove nsSVGSwitchFrameBase. r=dholbert
MozReview-Commit-ID: K7LxDjF7XHY

--HG--
extra : rebase_source : 7ea2e05ab0b8ac77c6e2d5a2b28745cf2047e06d
2016-04-18 15:43:07 +08:00
Ting-Yu Lin
e5872bf0fb Bug 1264837 Part 37 - Remove nsSVGStopFrameBase. r=dholbert
MozReview-Commit-ID: 9rukuVgOrMm

--HG--
extra : rebase_source : 67a6b4ac31277e552a9d8f09ae142c1e2dd6069a
2016-04-18 15:42:05 +08:00