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

538094 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth 1af9f090ed Bug 1339629 Part 8: Uplift ClearRuleCascades into StyleSheet. r=heycam
MozReview-Commit-ID: CCYIYjWrw86

--HG--
extra : rebase_source : c9f3e4bced29d46ab9c906e58e97465e60fda5ae
2017-05-18 14:21:11 -07:00
Brad Werth 0d3ac0a207 Bug 1339629 Part 7: Ensure ServoStyleSets keep sheets informed of the stylesets they are part of. r=heycam
MozReview-Commit-ID: EH9GO749LlN

--HG--
extra : rebase_source : 3d1d53475971a1254bac6e0b4afee26ba704abea
2017-05-23 17:02:51 -07:00
Brad Werth a13dd3c171 Bug 1339629 Part 6: Uplift mStyleSets into StyleSheet. r=heycam
MozReview-Commit-ID: G8xQ5gLJ3dr

--HG--
extra : rebase_source : 76ebce99d0e2570a6893691c7bc6f86a11a06f9d
2017-05-15 16:27:15 -07:00
Brad Werth eeb0549a75 Bug 1339629 Part 5: Change CSSStyleSet::mStyleSets to use StyleSetHandles. r=heycam
MozReview-Commit-ID: 7KFbhh4fCW9

--HG--
extra : rebase_source : 772367fb7fcdaa494ada7e01237ee1262af53ee1
2017-05-15 15:01:23 -07:00
Brad Werth 2a2c39ef1d Bug 1339629 Part 4: Uplift CloneFor into StyleSheetInfo, and EnsureUniqueInner into StyleSheet. r=heycam
MozReview-Commit-ID: 4aZJYAsmZ2h

--HG--
extra : rebase_source : 196529a87197a569694428269a3f3244fa25cf38
2017-05-15 16:19:17 -07:00
Brad Werth e8877f1e1a Bug 1339629 Part 3: Uplift mDirty into StyleSheet. r=heycam
MozReview-Commit-ID: iZKdg0fWss

--HG--
extra : rebase_source : 7cc93bc4054e887e75d758f0bff7978dc6f92f2e
2017-05-15 14:48:24 -07:00
Brad Werth 1b41d0dc5a servo: Merge #17028 - Stylo: Deep clone ServoStyleSheets (from bradwerth:innerClone); r=heycam
MozReview-Commit-ID: 6hYIcOa86Y

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1339629
https://reviewboard.mozilla.org/r/135314/

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 0d6b0da3544359343b191354ecc258e42394c5dd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2b2d7c20dc3452c9d77414572c636d9cd6d4d79d
2017-05-24 23:26:23 -05:00
Phil Ringnalda 30a91cb819 Backed out 6 changesets (bug 1328509) for Windows 7 failures in test_visited_reftests.html
Backed out changeset 8388d8c76fed (bug 1328509)
Backed out changeset 182a88607e08 (bug 1328509)
Backed out changeset 008efac7764b (bug 1328509)
Backed out changeset c2ce10b8bc37 (bug 1328509)
Backed out changeset 65bbc73c87aa (bug 1328509)
Backed out changeset e20d3d5170c2 (bug 1328509)

MozReview-Commit-ID: BSmqdFP1Zom
2017-05-24 22:12:53 -07:00
Emilio Cobos Álvarez 66532a72a0 servo: Merge #17006 - style: Reject non-positive resolution values in media queries (from emilio:negative-resolution); r=upsuper
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1366961
See: https://github.com/w3c/csswg-drafts/issues/1454
Source-Repo: https://github.com/servo/servo
Source-Revision: 8d950bd62036cebeb6596e74f412444061e59512

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ecf258a50bd00b636e4a21bad17e072db383c449
2017-05-24 22:20:37 -05:00
Kevin Chen 6a20c88a59 Bug 1366027 - Calculate shrink clipped rect with double precision; r=lsalzman
MozReview-Commit-ID: 1y2oUkDfnu6

--HG--
extra : rebase_source : 97949c6d03925cd72974a21e630ba850ad2e5c2c
2017-05-23 11:53:04 +08:00
btian 6ca867236b Bug 1338166 - Remove "list" from <menu>.type's known values. r=qdot
Also set <menu>.type's default value as "toolbar" and
remove HTMLButtonElement.menu per HTML spec.

MozReview-Commit-ID: jE6TmmvWa5

--HG--
extra : rebase_source : f0ded9a69055777b9430aeb91b53fef1a43af8e0
2017-05-25 10:11:07 +08:00
Hiroyuki Ikezoe b190c5e59f Bug 1328505 - Enable test_animations_styles_on_event.html on stylo. r=boris
MozReview-Commit-ID: IQuW53NaYrU

--HG--
extra : rebase_source : e2e8f25c607e91a16f535637ead793554a1d5fd5
2017-05-25 08:57:18 +09:00
Hiroyuki Ikezoe 2d49c4d158 Bug 1358266 - Disable table-overflowed-by-animation.html on stylo until bug 1365851 is fixed. r=boris
MozReview-Commit-ID: Kt3SqAl2jo9

--HG--
extra : rebase_source : 50562f064513a3e03d1016a9653db9b75dba7b86
2017-05-25 11:20:11 +09:00
J. Ryan Stinnett b7d59262d8 Bug 1328509 - Enable visited tests for Stylo. r=emilio
MozReview-Commit-ID: HnbVmwMMCMO
2017-05-24 21:20:07 -05:00
J. Ryan Stinnett 3d8b73c8cf Bug 1328509 - Check failure patterns in assertSnapshots. r=xidorn
Several mochitests call `assertSnapshots`, which prints a reftest-like output
for use with the reftest analyzer.  Update these lines to check failure patterns
before printing, like the regular assertion methods do.

MozReview-Commit-ID: CfChoar7bp8
2017-05-24 21:20:07 -05:00
J. Ryan Stinnett 56b5ec82a0 Bug 1328509 - Wire up visited values in ServoStyleSet::GetContext. r=emilio
Create an extra style context using the visited values (if they exist).  This
mirrors the logic Gecko performs in nsStyleSet::GetContext for visited support.

MozReview-Commit-ID: EiJQXDgz8tX
2017-05-24 21:20:06 -05:00
J. Ryan Stinnett 831e231177 Bug 1328509 - Add visited reftest for attr / state change. r=xidorn
MozReview-Commit-ID: ILDy3hDv53Y
2017-05-24 21:20:05 -05:00
J. Ryan Stinnett af42205c0e Bug 1328509 - Add visited pseudo crashtests. r=emilio
Rename and duplicate a crashtest to better cover each variation of a single
:link or single :visited style on a pseudo-element.

MozReview-Commit-ID: JMFXD7nk9fH
2017-05-24 21:20:05 -05:00
J. Ryan Stinnett 8b8439d4f3 Bug 1328509 - GetContentStateForVisitedHandling can access state directly. r=dbaron
While studying `GetContentStateForVisitedHandling` for adaptation to Stylo, I
noticed it calls through to `GetContentState`, which depends on external state
such as private browser, etc.

However, there's no need to call `GetContentState` here since this function
always clears both unvisited and visited if either is set.

MozReview-Commit-ID: JLwKnowQbJ2
2017-05-24 21:20:04 -05:00
Boris Chiou d897bdc993 Bug 1361663 - Part 2: Add tolerance because we use different ways for interpolation on the main/compositor thread. r=birtles
On the main thread, we use Servo backend, and the type of computed::Length is
|app_units::Au| (i.e. i32).
However, on the compositor thread, we use Gecko backend, and the type of
the length in nsCSSValue is |float|, so there might be some difference.
Use "0.5 / 60" because we round the interpolated result to the nearest
integer, and convert it into an app unit value, so the tolerance could be
this value.

MozReview-Commit-ID: EBceiO7keH1

--HG--
extra : rebase_source : aa4e3ac68fed1bcbdb51d93b403a15b0304c144d
2017-05-24 17:07:10 +08:00
Boris Chiou 1b7cc40933 Bug 1361663 - Part 1: Use double instead of float for the progress of interpolation. r=birtles
We get the progress as |double|, and then pass it to a function by a |float|
type, and then finally cast it back to |double| for the interpolation.
We should avoid casting it back and forth, so change the function argument to
use |double| type for the progress.

MozReview-Commit-ID: 7QzfVBC7hSt

--HG--
extra : rebase_source : 62467bf0a734b650f524af656658cdfdabca2a5c
2017-05-22 13:35:15 +08:00
J. Ryan Stinnett e66e02c633 servo: Merge #17032 - Stylo: visited pseudo-class support (from jryans:stylo-visited); r=emilio
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1328509

Source-Repo: https://github.com/servo/servo
Source-Revision: 1f323f8848e47b01779de5145dd21d0f74ed16ca

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3599f6577ed3737bb4715be05528090712871f0b
2017-05-24 19:53:48 -05:00
Kartikaya Gupta 88d6c78bc4 Bug 1341992 - Only do hit-testing with the ignore-root-scroll-frame flag on zoomable platforms. r=tnikkel
The ignore-root-scroll-frame flag is generally needed on Fennec, or possibly
other zoom-enabled platforms, when we have them. It allows hit-testing things
outside the main thread's notion of what is visible, because that might occur
when the user zooms out.

For largely historical reasons, we are passing this flag around in other scenarios,
such as when doing hit-tests for touch events, because in the past touch events
and zooming only happened on Fennec, so it didn't matter. Now that we have
touch events enabled on other platforms, such as Windows, we need to make the
distinction clearer.

MozReview-Commit-ID: BlHjtjFYgzv

--HG--
extra : rebase_source : cbfeab4666b5556ba0b38f3abdf666d63945b9a1
2017-05-24 16:23:03 -04:00
Mantaroh Yoshinaga fbe6893725 Bug 1363246 - Add w-p-t of font stretch's addition/accumulation. r=birtles
MozReview-Commit-ID: 8mA2HZkH55f

--HG--
extra : rebase_source : 7b71118c214cadc4798ff988541bd7e2b889a66e
2017-05-25 10:14:46 +09:00
Tom Tromey f3cad1a920 Bug 1366442 - request new debugger front end in source map tests; r=bgrins
MozReview-Commit-ID: LSuTghqoldz

--HG--
extra : rebase_source : 42daf27e2149d6091a4284d19b761bee6fd5ed75
2017-05-24 11:04:59 -06:00
Drew Willcoxon 547921aa65 Bug 1363182 - Add a "send to device" subview to the page action menu. r=eoger,mikedeboer
Add a Send to Device subview to the page action panel.  When the page isn't
sendable, disable the Send to Device menu item.  When the user doesn't have any
devices, show a menu item that opens the Firefox Account preferences pane.

Generalize gSync.populateSendTabToDevicesMenu() so that it can be used to
populate any kind of container, not only a menupopup with menuitems.

Add an SVG that shows a phone and an SVG that shows a desktop.

MozReview-Commit-ID: EZQKAEAr08q

--HG--
extra : rebase_source : bda87f105712a6c6ba83da1a78179eee93b5f4d0
2017-05-24 15:49:43 -07:00
Xidorn Quan 918f0728dc Bug 1366735 part 3 - Remove SetCounterStyleDirty. r=heycam
When the counter style in the style struct changes, CalcDifference
would return ReconstructFrame, which should cause corresponding use
node to be reconstructed. That means a use node with retired counter
style should always be destroyed in the next flush, so it makes no
sense to reset them anymore.

However, we would still need to mark counter lists dirty because
otherwise their content may not get update when there are changes to
counter styles which are still valid.

MozReview-Commit-ID: FnBPx81StzG

--HG--
extra : rebase_source : 2adf7b64484746a5f416b7902df2ac718a3fdeab
2017-05-23 10:08:50 +10:00
Xidorn Quan 46dd59904a Bug 1366735 part 2 - Use the new struct in stylo. r=heycam
MozReview-Commit-ID: trgd0lKLP1

--HG--
extra : rebase_source : 8216769c7ee2a323d2af2080dd97cac3489af82d
2017-05-23 00:32:05 +10:00
Xidorn Quan 1dd9b6bad1 Bug 1366735 part 1 - Change counter functions to use struct rather than nsCSSValue::Array. r=heycam
MozReview-Commit-ID: 4FiOxCOsjtD

--HG--
extra : rebase_source : 0a2ef777045603fe591ba3a74259699a2339cede
2017-05-22 22:51:20 +10:00
Xidorn Quan ec074c3fbb servo: Merge #17016 - Use struct rather than nsCSSValue::Array to store counter functions in Gecko (from upsuper:bug1366735); r=heycam
This is the Servo side change for [bug 1366735](https://bugzilla.mozilla.org/show_bug.cgi?id=1366735).

Source-Repo: https://github.com/servo/servo
Source-Revision: e457d22f81ac0f45c4dc96867162f276de7bd291

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8ba04dab52e5c46e1719988c5ae9deda17a67a5a
2017-05-24 17:26:03 -05:00
Ryan VanderMeulen ce2fe4e709 Merge m-c to autoland. a=merge 2017-05-24 20:48:16 -04:00
Ryan VanderMeulen c5b2958154 Merge inbound to m-c. a=merge 2017-05-24 20:45:23 -04:00
Ryan VanderMeulen 31beca4070 Backed out changeset 4ac329aeaaf9 (bug 1361461) for various dead window related test failures on a CLOSED TREE.
--HG--
extra : amend_source : ffabeac2fe1f784474d5c720420b996a60ad1ba0
2017-05-24 18:21:34 -04:00
Olli Pettay 67c78feadf Bug 1358476, add support for timeout when doing idle dispatch, tests, p=farre,smaug, r=nfroyd
--HG--
extra : rebase_source : 054bb7a4b7fdb41f255199bdc60a210149957292
2017-05-24 15:36:49 -04:00
Olli Pettay bc787a0ec7 Bug 1358476, add support for timeout when doing idle dispatch, p=farre,smaug, r=nfroyd
--HG--
extra : rebase_source : 8561bd1e1aad04be8b9d3efa7b43d4833a4703bf
2017-05-24 17:34:50 -04:00
Ehsan Akhgari 87f01dcea3 Bug 1363311 - Honor Set-Cookie headers in multipart/mixed response boundary headers in e10s mode; r=jdm 2017-05-24 17:32:32 -04:00
Ehsan Akhgari c200b63e89 Bug 1361461 - Dispatch WindowDestroyedEvent to the idle queue; r=smaug 2017-05-24 17:32:32 -04:00
Timothy Nikkel 07c22d39dd Bug 1364365. Limit the number of full loops of an animated image we can skip to the number of remaining loops. r=aosmond
The optimization is incorrect if we try to skip ahead more full loops then are remaining in the loop count.
2017-05-24 16:20:41 -05:00
Mark Striemer 38cd7b478a Bug 1361746 - Align legacy badge on Windows in about:addons details r=rhelmer
MozReview-Commit-ID: 9QRdQFd11CQ

--HG--
extra : rebase_source : 057b93d52348e1b9c61794f0349f314999db3017
2017-05-18 15:54:11 -05:00
Xidorn Quan 50097c0cfe Bug 1341102 - Update test expectations.
MozReview-Commit-ID: EM8FcemDFMR
2017-05-25 09:18:28 +10:00
Andrew McCreight e437a7e4e5 Bug 1367496 - Add more release asserts to the cycle collector. r=smaug
A previous bug missed a few places where we could theoretically
reenter the CC.

MozReview-Commit-ID: I0otlAEwyZa

--HG--
extra : rebase_source : 064b127a2c28a52b2807cd78031de9af4f258f60
2017-05-24 10:13:02 -07:00
Manish Goregaokar 1e42308ff1 servo: Merge #17027 - Rollup of 9 pull requests (from Manishearth:rollup); r=Manishearth
- Successful merges: #16993, #17000, #17010, #17013, #17014, #17017, #17019, #17020, #17022
- Failed merges:

Source-Repo: https://github.com/servo/servo
Source-Revision: 8ae546f7ea158466441987d4a86c5c440f0a5e00

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5faf09bc26989c32da2c1962bfcd6cdef511077f
2017-05-24 16:08:02 -05:00
Oriol 652cfe6316 Bug 1297466 - Do not attempt to open Function.prototype in Debugger. r=bgrins
--HG--
extra : rebase_source : fed13d5c980f853c313d6b62a7812af538bd79cb
2017-05-15 16:47:00 -04:00
Jim Blandy 495a9fc5b2 Bug 1297466 - Doc fixes and tests for Debugger.Script.prototype.url, Debugger.Source.prototype.url. r=shu
--HG--
extra : rebase_source : 1eed084501992ced4bf038c6efda0b9058214f59
2017-05-15 13:45:05 -07:00
Nathan Froyd 88e5d07280 Bug 1367405 - only print warning summary for successful builds; r=gps
If we had an unsuccessful build, then duplicating the warnings at the
end of the compilation job would just be burying the actual error in a
blizzard of noise.
2017-05-24 16:49:11 -04:00
Lee Salzman 8ffb6649bf Bug 1364774 - fix premultiplied color output from linear gradients in Skia. r=mchang
MozReview-Commit-ID: Ay3ftFJz6a3
2017-05-24 15:52:56 -04:00
Honza Bambas 5f3173e90f Bug 1365306 - Remove net::ThrottlingService, don't suspend/resume download channels on page load. r=hurley 2017-05-18 14:09:00 -04:00
Ryan VanderMeulen 56b8e8c07e Merge m-c to inbound. a=merge
CLOSED TREE
2017-05-24 16:33:30 -04:00
Ryan VanderMeulen 30caacbb11 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Ryan VanderMeulen 41511c5371 Merge autoland to m-c. a=merge 2017-05-24 16:32:42 -04:00