Граф коммитов

65301 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt f3ea3c7d86 Bug 1428676 pt 3. Change our existing consumers of 'menulist-button' to use '-moz-menulist-button'. r=emilio 2018-06-20 13:50:23 +01:00
Jonathan Watt 449e0fddad Bug 1428676 pt 3. Change our existing consumers of 'menulist-button' to use '-moz-menulist-button'. r=emilio
--HG--
extra : rebase_source : 5fd3de8c33cd0d168c63accbf98f50e9947bf31c
2018-06-20 13:50:23 +01:00
Jonathan Watt 6af7c052b1 Bug 1428676 pt 2. Test content can't use '-moz-appearance: -moz-menulist-button'. r=emilio 2018-06-20 13:50:23 +01:00
Jonathan Watt 069c4bbaf4 Bug 1428676 pt 2. Test content can't use '-moz-appearance: -moz-menulist-button'. r=emilio
--HG--
extra : rebase_source : 38fbb1987f416d859a75cd3742d936aca9ac6d41
2018-06-20 13:50:23 +01:00
Jonathan Watt 11e49726b5 Bug 1428676 pt 1. Add a '-moz-menulist-button' value to '-moz-appearance'. r=emilio
The '-moz-menulist-button' value currently behavies identically to the
'menulist-button' value.  This is not implemented as an alias because later
patches in this patch series will change the behavior of our pre-existing
'menulist-button' value to more closely match what Chrome does.
2018-06-19 20:12:45 +01:00
Robert Longson 3116ab5e06 Bug 1479272 - remove svg.marker-improvements.enabled pref r=heycam 2018-07-31 21:45:29 +01:00
Jonathan Watt e8a416046f Bug 1428676 pt 1. Add a '-moz-menulist-button' value to '-moz-appearance'. r=emilio
The '-moz-menulist-button' value currently behavies identically to the
'menulist-button' value.  This is not implemented as an alias because later
patches in this patch series will change the behavior of our pre-existing
'menulist-button' value to more closely match what Chrome does.

--HG--
extra : rebase_source : b66bf6427db5be2eb12f4e0aa36d22a4da46555a
2018-06-19 20:12:45 +01:00
Chris AtLee 182e3f8445 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-08-01 16:00:03 +00:00
Coroiu Cristina 70216eda0a Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-31 01:02:15 +03:00
Matt Woodrow 1c14c56cce Bug 1475971 - Copy the building rect into old items when we decide we can reuse them. r=miko
MozReview-Commit-ID: JXHZ17iFaei

--HG--
extra : rebase_source : 42fc06465a644de597f78e46878037b653da046e
2018-07-30 16:03:32 +12:00
Emilio Cobos Álvarez 4d76331dcf Bug 1479012: Improve logging for attribute changes. r=xidorn
And general Element logging. We now print all the attributes for comparison.

If this turns out to be too verbose we can change it to diff them or something.

Differential Revision: https://phabricator.services.mozilla.com/D2471

MozReview-Commit-ID: 1Gl9AumdnvZ
2018-07-30 14:19:30 +02:00
Emilio Cobos Álvarez dbf24cdab5 Bug 1478990: Make NonCustomPropertyId <-> nsCSSPropertyId conversions fast. r=xidorn
We have a different order in nsCSSPropertyId for no good reason. The only
invariant there is that longhands come before shorthands, and shorthands before
aliases.

Luckily that's also an invariant that NonCustomPropertyId has, so we can reuse
them.

Differential Revision: https://phabricator.services.mozilla.com/D2463

MozReview-Commit-ID: 1hsQu6hmqiN
2018-07-30 12:51:19 +02:00
Emilio Cobos Álvarez f8c5ea739f Bug 1466614: Remove a no longer used function. r=me CLOSED TREE
MozReview-Commit-ID: GBFaR3SNY0F
2018-07-30 12:00:57 +02:00
Andreea Pavel 048663ea0a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-30 12:56:08 +03:00
Emilio Cobos Álvarez 3aaf4c171a Bug 1466614: Remove -moz-windows-theme. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2492

MozReview-Commit-ID: 70vOmLH7C27
2018-07-30 11:38:46 +02:00
Emilio Cobos Álvarez 051e9a8579 Bug 1479239: prefers-reduced-motion should be sensible re. unsupported platforms / resistFingerprinting. r=hiro
With the current early-returning behavior, the expression will unconditionally
evaluate to false, which is a bit of a footgun.

Make sure to always return no-preference in unsupported platforms or when
resisting fingerprinting.

Differential Revision: https://phabricator.services.mozilla.com/D2491

MozReview-Commit-ID: 41uUudut7b4
2018-07-29 04:46:34 +02:00
Hiroyuki Ikezoe 9cb3bb79e5 Bug 1479133 - Use AnimationInfo::GetGenerationFromFrame to get the animation generation for WebRender. r=birtles
WebRender has no layers at all.

MozReview-Commit-ID: 7qYE8vONfU9

--HG--
extra : rebase_source : 58e0853ce4f694bfb32e7fa34ef37db6db511185
2018-07-30 11:20:53 +09:00
Hiroyuki Ikezoe 0ffcf23607 Bug 1478643 - Apply change hints for transform animation in the case where the current transform style is 'none' and no change hint produced in AddLayerChangesForAnimation. r=birtles
The applying change hints are the same as what we apply for transform style
changed from something to 'none'.

All test cases pass with this fix fail without the fix.

MozReview-Commit-ID: 7HStU26lRPq

--HG--
extra : rebase_source : 701361d477ab7954ab15fde75fd40d98724e47b3
2018-07-30 11:13:54 +09:00
Hiroyuki Ikezoe 66cfd53581 Bug 1478643 - Introduce a new change hint set for added or removed transform style. r=birtles
MozReview-Commit-ID: GfK1e5QaOu6

--HG--
extra : rebase_source : c6e28e7fabb43f54d04e756865a652fc4752ce30
2018-07-30 10:51:18 +09:00
Miko Mynttinen caf9b6a162 Bug 1479092 - Reuse clips for consecutive effects during painting, if possible r=mattwoodrow
MozReview-Commit-ID: 8bpWDa3JTMu

--HG--
extra : rebase_source : 02c3c57c54298dae38fed74432e408d590c2da67
2018-07-27 21:44:10 +02:00
Miko Mynttinen 605b909841 Bug 1479091: Add fast-path for items inside effects r=mattwoodrow
MozReview-Commit-ID: GNMxePW4R9e

--HG--
extra : rebase_source : 74683799fcb5182db2e376d2e9af13eaa6b3832a
2018-07-27 22:17:59 +02:00
Miko Mynttinen 7bd6d0d2a6 Bug 1477693 - Part 4: Add a reftest r=mattwoodrow
MozReview-Commit-ID: 3xGRchvAKeC

--HG--
extra : rebase_source : 1543f92e3b123c1316183c961dcc40121db779cb
2018-07-26 00:25:08 +02:00
Miko Mynttinen 536d27c7f5 Bug 1477693 - Part 3: Refactor FrameLayerBuilder invalidation functions to better handle different coordinate spaces r=mattwoodrow
MozReview-Commit-ID: 1NDcg88a1Ge

--HG--
extra : rebase_source : a4e5c424570239604b285e19bb57fc7a97a63381
2018-07-26 00:22:33 +02:00
Miko Mynttinen e38b4b8fbd Bug 1477693 - Part 2: Do not allow implicit cast between rect and region with InvalidatePostTransformRegion() r=mattwoodrow
MozReview-Commit-ID: LjIhBb2JjQ

--HG--
extra : rebase_source : bb7273882b4c3db3ef339f2862144f0e8531e625
2018-07-25 22:41:03 +02:00
Miko Mynttinen 83730e5618 Bug 1477693 - Part 1: Move TransformClipNode and TransformWithNode functions to TransformClipNode.h r=mattwoodrow
MozReview-Commit-ID: 13uSenWdNXJ

--HG--
extra : rebase_source : 6847b970fecc141e6968134afcec6aebafdfc3c0
2018-07-25 21:58:22 +02:00
Miko Mynttinen 1f7081c0aa Bug 1477831 - Merge items in FLBDisplayItemIterator r=mattwoodrow
MozReview-Commit-ID: AWxVue3tjN1

--HG--
extra : rebase_source : 94a3a2bbc70b2259c7ad0caeaec62fc10770b872
2018-07-24 16:31:04 +02:00
Kris Maglione 031076f2f3 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Kris Maglione 02ba563399 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Emilio Cobos Álvarez 726673649b Bug 1479230: Remove useless condition in GetPrefersReducedMotion. r=hiro
This query is always enabled in content, so this check is always true.

Differential Revision: https://phabricator.services.mozilla.com/D2490

MozReview-Commit-ID: 5etk5TM0agz
2018-07-29 03:01:08 +02:00
Narcis Beleuzu 561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione cb1ee1e34d Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Kris Maglione 636f1839e5 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Emilio Cobos Álvarez 8c4ec8b3ba Bug 1479216: Restore the order of Scrollbarbutton appearance values. r=xidorn
The patch at bug 1478391 comment 6 changed the way the math in Scrollbarbutton*
worked, which pretty surely caused this.

Restore the original order and math to be the same as before bug 1478391.

MozReview-Commit-ID: CK3iOqeX2NW
2018-07-29 01:02:44 +02:00
Emilio Cobos Álvarez 638c015ba9 Bug 1477198: Remove Document.obsoleteSheet. r=bz
Not used anywhere, not even comm-central or bluegriffon.

Differential Revision: https://phabricator.services.mozilla.com/D2263

MozReview-Commit-ID: LGefiaYSZjT
2018-07-29 00:34:33 +02:00
Jonathan Kew 3cc77c781a Bug 1476437 - Correct original-text indexing when checking for explicit hyphens in text where auto-hyphenation is enabled. r=dbaron 2018-07-28 09:23:36 +01:00
Jonathan Kew 4e010be0d4 Bug 1476437 - Further reftest for multi-line content with whitespace/explicit-hyphen/autohyphenation. r=dbaron 2018-07-28 09:23:30 +01:00
Jonathan Kew d849719565 Bug 1476437 - Reftest for interaction between whitespace collapsing, explicit hyphen, and auto-hyphenation. r=dbaron 2018-07-28 09:23:26 +01:00
Jonathan Kew 1f26457015 Bug 1478574 - Fix off-by-one error in marking explicit hyphens, so we don't introduce spurious pre-hyphen breaks. r=dbaron 2018-07-28 09:23:11 +01:00
Jonathan Kew 0760fbe9f0 Bug 1478574 - Reftest for interaction of explicit hyphen and auto-hyphenation in the same word. r=dbaron 2018-07-28 09:22:44 +01:00
Tiberius Oros 339c5c47b4 Backed out 5 changesets (bug 1476437, bug 1478574) for failing hyphenation-control-5.html on windows builds on a CLOSED TREE
Backed out changeset d8d3c9e7b832 (bug 1476437)
Backed out changeset 280aff154491 (bug 1476437)
Backed out changeset e17db916959e (bug 1476437)
Backed out changeset 144a3d2b7da9 (bug 1478574)
Backed out changeset edb45de7ff9d (bug 1478574)
2018-07-28 13:22:54 +03:00
Jonathan Kew 5a78d19b4f Bug 1476437 - Correct original-text indexing when checking for explicit hyphens in text where auto-hyphenation is enabled. r=dbaron 2018-07-28 09:23:36 +01:00
Jonathan Kew ab90d74d3e Bug 1476437 - Further reftest for multi-line content with whitespace/explicit-hyphen/autohyphenation. r=dbaron 2018-07-28 09:23:30 +01:00
Jonathan Kew 52a0a53efd Bug 1476437 - Reftest for interaction between whitespace collapsing, explicit hyphen, and auto-hyphenation. r=dbaron 2018-07-28 09:23:26 +01:00
Jonathan Kew cb26a6d16d Bug 1478574 - Fix off-by-one error in marking explicit hyphens, so we don't introduce spurious pre-hyphen breaks. r=dbaron 2018-07-28 09:23:11 +01:00
Jonathan Kew f0c754d00d Bug 1478574 - Reftest for interaction of explicit hyphen and auto-hyphenation in the same word. r=dbaron 2018-07-28 09:22:44 +01:00
Cosmin Sabou d71fce60ce Merge mozilla-central to mozilla-inbound. a=merge 2018-07-28 01:56:40 +03:00
dvarga d8ac8507c9 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : amend_source : 25781a5ccee21a19f5c6ccacc2c96ab7eb4ed6b5
2018-07-28 01:32:38 +03:00
Jeff Gilbert 0e128a3868 Bug 1470985 - s/PodEqual/ArrayEqual/ from ArrayUtils.h. - r=waldo
We can't use memcmp to compare PODs, largely because of undefined
padding. The rest of the Pod* functions are fine though, since we're
replicating or zeroing PODs.

MozReview-Commit-ID: LSspAi8qCWw
2018-07-27 14:11:18 -07:00
Bob Clary 745c5ff6c2 Bug 1477807 - Distinguish ADBTimeoutErrors from other exceptions in Android remote tests, r=gbrown. 2018-07-27 08:27:16 -07:00
Jonathan Kew f5efd70ff6 Bug 1476304 - Exclude Georgian letters from the mapping used by text-transform:uppercase, due to lack of font support. r=gandalf 2018-07-27 14:35:04 +01:00
Morgan Rae Reschenberg 8c326e567e Bug 1470176 - Implement contain:size for fieldset objects. r=dholbert
MozReview-Commit-ID: ImkclemDA9o

--HG--
extra : rebase_source : cc6fc798f8b2daffaa53da4d2cec4e4d20632e2f
2018-07-17 13:14:39 -07:00
Csoregi Natalia 3708e71462 Merge inbound to mozilla-central. a=merge 2018-07-27 00:58:11 +03:00
Andrew Halberstadt 15c53b6d46 Bug 1468812 - [ci] Support MOZ_FETCHES and fetch-content in run-task r=gps
This removes the 'use-artifacts' mechanism in favour of fetches. There are a
few pieces here that need to land atomically:

1. Remove use-artifact related code
2. Call 'fetch-content' from the run-task script
3. Convert existing tasks on top of fetches (jsshell, python unittest)
4. Stop calling 'fetch-content' from toolchain setup tasks (as this now gets handled in run-task)

Depends on D2166.

Differential Revision: https://phabricator.services.mozilla.com/D2167

--HG--
extra : moz-landing-system : lando
2018-07-26 17:13:39 +00:00
Emilio Cobos Álvarez 517256e365 Bug 1478391: Autogenerate StyleAppearance. r=jwatt
This builds on bug 1428676 and introduces StyleAppearance, which replaces the
NS_THEME_* constants.

Really sorry for the size of the patch.

There's a non-trivial change in the gtk theme, which I submitted separately as
bug 1478385.

Differential Revision: https://phabricator.services.mozilla.com/D2361

MozReview-Commit-ID: DiSmMWK7Krp
2018-07-26 17:06:17 +02:00
Emilio Cobos Álvarez f48df04e5b Bug 1478330: Generate StyleDisplay using cbindgen. r=heycam
We use the same setup WR uses, which is checking-in the files.

But I think it's much better than keeping the two things in sync manually :)

When you add a new value, you need to add it to the rust source, then run the
command, but since it doesn't need to build the style crate (it uses the Rust
AST, doesn't build) there's no problem.

Differential Revision: https://phabricator.services.mozilla.com/D2354

MozReview-Commit-ID: DnXkNAzP54H
2018-07-26 17:06:05 +02:00
dvarga ee36f71336 Merge mozilla-central to autoland on a CLOSED TREE 2018-07-27 20:51:09 +03:00
Ryan Hunt 5853094326 Bug 1476724 - Mark default-style/button.html as fuzzy on debug linux. r=jrmuizel
MozReview-Commit-ID: CEhtvTB0VXa

--HG--
extra : rebase_source : 30eb9731c96e609ea529eebcf7d376e4e380723b
2018-07-24 16:19:04 -05:00
Cosmin Sabou fdafc33d90 Backed out 2 changesets (bug 1475197) for causing linux build bustages because of compile errors.
Backed out changeset 108e22d963cb (bug 1475197)
Backed out changeset 4bd5f8588422 (bug 1475197)
2018-07-26 07:38:47 +03:00
Cameron McCormack b8598043f6 Bug 1475197 - Part 1: Shrink selectors::Component to 24 bytes. r=emilio
This saves about 37 KiB of memory across the UA style sheets.

MozReview-Commit-ID: EoZnlmyWwxX

--HG--
extra : rebase_source : 471fc63e521a4332bb92b4a73cd31a4bbe0b2dfe
2018-07-16 12:15:47 +10:00
Cameron McCormack 435a9bb766 Bug 1477897 - Fix layout debugger styling. r=bgrins,Gijs
MozReview-Commit-ID: GTEPR04HQ49

--HG--
extra : rebase_source : 705f0ebbfae24dd3a414cff0cf3f751975041dca
2018-07-24 14:32:33 +10:00
Brindusan Cristian e8981e5974 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-26 01:49:17 +03:00
Brindusan Cristian 998db7e86d Merge inbound to mozilla-central. a=merge 2018-07-26 00:37:55 +03:00
Emilio Cobos Álvarez b366597b4a Bug 1478001: Gate testing the inaccessible values on the pref. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D2332

MozReview-Commit-ID: AeQ4r8Yjs9J
2018-07-25 18:28:13 +02:00
Sebastian Hengst 943a6cf31a Backed out changeset 61f33f8c8750 (bug 1468812) for Linux ccov mass failures (bug 1478211). a=backout 2018-07-25 18:05:09 +03:00
Sebastian Hengst bd900ee36a Merge mozilla-inbound to mozilla-central. a=merge 2018-07-25 17:16:53 +03:00
Emilio Cobos Álvarez e1af3b4e1c Bug 1478069: Remove ContentInfo::mChildren. r=bz
It's not needed anymore, since we tag the pseudo-elements at creation time for
styling.

Differential Revision: https://phabricator.services.mozilla.com/D2330

MozReview-Commit-ID: 7j4DVEHXYIC
2018-07-25 11:31:23 +02:00
Emilio Cobos Álvarez a9932d2836 Bug 1478069: Use AddFrameConstructionItems for display: contents. r=TYLin
It's the same, and avoids a bit of duplication.

Differential Revision: https://phabricator.services.mozilla.com/D2329

MozReview-Commit-ID: LN5LjM4XFO4
2018-07-25 11:31:21 +02:00
Emilio Cobos Álvarez a237bae1dd Bug 1478069: Remove useless ping-pong between flattened and light child. r=TYLin
We verify the flattened tree is correct in VerifyFlatTree (in RestyleManager),
plus the post-condition still holds of course.

Differential Revision: https://phabricator.services.mozilla.com/D2331

MozReview-Commit-ID: 7ayEC2gSvYS
2018-07-25 11:31:20 +02:00
Emilio Cobos Álvarez 26b508d03c Bug 1478069: Trivial frame constructor cleanup. r=TYLin
Using references helps to see when stuff can and cannot be null.

I removed useless aTag / aNamespaceId arguments which are useless now that XBL
can't override them (bug 1450617), so FindXULData is the only one that keeps
them alive.

Also, I took the liberty of renaming a few fooComputedStyle variables to just
fooStyle, and clarify naming in some pseudo-element-related functions to say
originating element (the spec term) and avoid confusing it with the generated
_moz_generated_content_before / _moz_generated_content_after element.

Note that this is a partial state, more stuff will come in the future.

Differential Revision: https://phabricator.services.mozilla.com/D2326

MozReview-Commit-ID: 39B30doREUH
2018-07-25 11:31:18 +02:00
Alexis Beingessner b1af7e0eb8 Bug 1476058 - consider no image to be successful for wr. r=aosmond
MozReview-Commit-ID: 2fIz82TG1F5

--HG--
extra : rebase_source : cd9cc1cf6d64b67243eff2ca9c6c24ab46b033ca
2018-07-24 13:32:42 -04:00
Andreea Pavel 8a01d542af Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-25 18:10:55 +03:00
Martin Stransky f62d8e8ec2 Bug 1406533 - Remove hack for remote popup windows on Linux, r=karlt
This hack was introduced at Bug 630346 and we should not need it any more.

MozReview-Commit-ID: FsRLY9A1T5O

--HG--
extra : rebase_source : 663f7ddd121be1b064b87b725892d2039576b12a
2018-07-24 16:19:00 +02:00
Brad Werth 769888390c Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : f452f1e4825dbd7a9165eb780774e643112e786e
2018-07-11 16:52:33 -07:00
Hiroyuki Ikezoe 4785e473c5 Bug 1478158 - Don't expose prefers-reduced-motion setting in content if Resist Fingerprinting enabled. r=heycam
MozReview-Commit-ID: JaTTT0HIjFx

--HG--
extra : rebase_source : bf3d44ed400960de5dd3d1b6e8571eab859c8897
2018-07-25 07:36:19 +09:00
Dan Glastonbury 5ba8f2364f Bug 1330375 - P4: GetInnerText perf regression test. r=heycam
Mochitest to ensure that that zero reflows occur while iterating table
calling innerText and setting `display:none`.

MozReview-Commit-ID: K5vrsj3ogWy

--HG--
extra : rebase_source : 61ceacc5133db6a558a4e8b80f72f18a7195d153
2018-07-19 17:34:48 +10:00
Dan Glastonbury 165882c3b0 Bug 1330375 - P1: Helper for checking for ancestor of dirty reflow root. r=emilio,heycam,rwood
Including refactoring mDirtyRoots into nsIPresShell to avoid virtual call.

MozReview-Commit-ID: KxST8FMsZl9

--HG--
extra : rebase_source : 1be1a8065815bb1e67293c7839c6e9189fc693bc
2018-07-19 14:18:53 +10:00
Ting-Yu Lin c97eabf941 Bug 1477871 - Extract the construction of nsColumnSetFrame into a helper function. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D2312

--HG--
extra : moz-landing-system : lando
2018-07-25 17:40:50 +00:00
Bogdan Tara 02908b5c58 Backed out 2 changesets (bug 1471894) for wpt failures on non-replaced-elements/flow-content-0/dialog.html CLOSED TREE
Backed out changeset bce3c6ca2e19 (bug 1471894)
Backed out changeset 6ab2fb716899 (bug 1471894)
2018-07-25 00:38:21 +03:00
Brad Werth 6a7460adae Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Bogdan Tara d45fc12653 Backed out 2 changesets (bug 1471894) for dialog.html wpt failures and crashtest failures CLOSED TREE
Backed out changeset a20576472778 (bug 1471894)
Backed out changeset 7342b2da7568 (bug 1471894)
2018-07-24 22:45:27 +03:00
Brad Werth 653730a83e Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Julian Descottes 6aa9e3336e Bug 1443923 - part4: Expose isCustomElementName to DevTools via InspectorUtils;r=emilio
MozReview-Commit-ID: GaHP1gOCwoB

--HG--
extra : rebase_source : ee275d6643300e09a92e79c3aa0b84a3b96d5581
2018-07-19 13:59:05 +02:00
Boris Zbarsky 75abc43e0d Bug 1476145 part 8. Stop using getInterface(nsIDOMWindowUtils) in various test code. r=kmag 2018-07-24 19:47:43 -04:00
Nathan Froyd 0ebdcdbf60 Bug 1478138 - micro-optimize frame property lookup; r=dholbert
Once we've determined an index for the frame property, we don't need to
pay the overhead of checking whether that index is in bounds for the
array again on the next access.  It would be nice if we could avoid that
overhead for removal, too, but since there's no API for that, we'll just
remove the overhead for accesses.
2018-07-24 19:25:28 -04:00
Narcis Beleuzu 80c1cde899 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-25 01:22:42 +03:00
Bogdan Tara fecaaf3862 Backed out 2 changesets (bug 1471894) for lint failure on wpt.yml CLOSED TREE
Backed out changeset 189749cc1e12 (bug 1471894)
Backed out changeset 194afde62e69 (bug 1471894)
2018-07-24 20:26:43 +03:00
shindli a007b2dc62 Backed out changeset 230ea1f373ff (bug 1478330) for Linting failure on a CLOSED TREE 2018-07-26 16:49:19 +03:00
Emilio Cobos Álvarez 42a2ddb5b9 Bug 1478330: Generate StyleDisplay using cbindgen. r=heycam
We use the same setup WR uses, which is checking-in the files.

But I think it's much better than keeping the two things in sync manually :)

When you add a new value, you need to add it to the rust source, then run the
command, but since it doesn't need to build the style crate (it uses the Rust
AST, doesn't build) there's no problem.

Differential Revision: https://phabricator.services.mozilla.com/D2354

MozReview-Commit-ID: DnXkNAzP54H
2018-07-26 15:35:24 +02:00
Boris Zbarsky 754087a992 Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag 2018-08-01 13:07:11 -04:00
Brian Hackett 562987ce84 Bug 1465466 Part 3 - When recording/replaying, composite in the main thread's event loop instead of waiting for vsyncs, r=nical.
--HG--
extra : rebase_source : 0dbdcb4698e349ceb53e0621d5fa453bb1f17357
2018-07-23 21:47:28 +00:00
Gurzau Raul 46679701af Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-24 12:54:45 +03:00
Gurzau Raul f2e1e857f1 Merge inbound to mozilla-central. a=merge 2018-07-24 12:49:23 +03:00
Hiroyuki Ikezoe 2c38369627 Bug 1365045 - Reftests for prefers-reduced-motion. r=heycam
MozReview-Commit-ID: QprVfHbiuS
2018-07-24 16:50:47 +09:00
Hiroyuki Ikezoe ea2e577fa3 Bug 1365045 - Introduce keywords for prefers-reduced-motion. r=heycam
https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion

MozReview-Commit-ID: RQUo1DBR0W
2018-07-24 16:50:47 +09:00
Hiroyuki Ikezoe 3353a9c0e3 Bug 1365045 - Introduce nsCSSKeywordAndBoolTableEntry. r=heycam
The values in the boolean context depend on its feature.  For examples, in the
case of prefers-reduced-motion 'no-preference' means false and 'reduced' mean
true in the boolean context, whereas in the case of prefers-contrast
'no-preference' means false and other two values, 'high' and 'low' means true
in the boolean context.  To support it we introduce a child struct of
nsCSSKTableEntry that has an additional field representing the value in the
boolean context and use it when we have no specified value in the media feature
(i.e. in the boolean context).

MozReview-Commit-ID: 79HiW8l5ous
2018-07-24 16:50:47 +09:00
Kris Maglione 7aa3564a28 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : source : aa9a8f18e98f930a3d8359565eef02f3f6efc5f9
extra : absorb_source : 81a22ab26ee8017ac43321ff2c987d8096182d37
2018-07-23 17:41:06 -07:00
Brindusan Cristian 91a3707d5f Backed out 3 changesets (bug 1477579) for build bustages on xpcshell\selftest.py and crashtest failures on /components/nsComponentManager.cpp. CLOSED TREE
Backed out changeset aa9a8f18e98f (bug 1477579)
Backed out changeset 5fb0b7746a5d (bug 1477579)
Backed out changeset 8359f8fe4184 (bug 1477579)
2018-07-24 04:55:03 +03:00
Kris Maglione dfd38a6ac3 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : rebase_source : 4f70e7b296ecf3b52a4892c92155c7c163d424d2
2018-07-23 17:41:06 -07:00
Coroiu Cristina 3628e073f1 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-07-24 00:46:46 +03:00
Coroiu Cristina 44141cfda4 Merge inbound to mozilla-central a=merge 2018-07-24 00:43:44 +03:00