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

51990 Коммитов

Автор SHA1 Сообщение Дата
Ting-Yu Lin 2f177a0a73 Bug 1299753 Part 3 - Reuse ConstructScrollableBlock to build scrollable DetailsFrame. r=bz
MozReview-Commit-ID: 1yAhuKqurHf

--HG--
extra : rebase_source : 2a77db937d09f98b81dd73e61419ebde82a3ad48
2016-09-08 15:38:06 +08:00
Ting-Yu Lin 13f0d4632f Bug 1299753 Part 2 - Create block formatting context for DetailsFrame if needed. r=bz
nsCSSFrameConstructor::ConstructNonScrollableBlock() has logic to
determine whether to create a block formatting context for a block
frame. I refactor the function to make it reusable by
nsCSSFrameConstructor::ConstructDetailsFrame().

Also, make NS_NewBlockFrame() accept two arguments as other frame
factory functions so that it could be pointed by BlockFrameCreationFunc.
NS_NewBlockFormattingContext is changed accordingly.

The construction for a scrollable DetailsFrame will be further revised
in Part 3.

MozReview-Commit-ID: 8TwG9YMyGva

--HG--
extra : rebase_source : fffdd974df81a809a607491d2534aa8dd2d13ab1
2016-09-07 14:45:42 +08:00
Ting-Yu Lin c719ccc151 Bug 1299753 Part 1 - Use NS_NewBlockFormattingContext() in ConstructFieldSetFrame(). r=bz
MozReview-Commit-ID: E6lvCRIDROY

--HG--
extra : rebase_source : 52f59f6db123e47c1230dc19c49d2dbf7c6cb0d6
2016-09-05 15:36:53 +08:00
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Wes Kocher 819bc41348 Merge m-c to autoland, a=merge 2016-09-08 15:29:04 -07:00
Wes Kocher b916384275 Merge inbound to m-c a=merge 2016-09-08 15:21:19 -07:00
Bas Schouten 4d5484cc37 Bug 1297427: Discount border dots with negative radii. r=jrmuizel
MozReview-Commit-ID: 1CONhbL8ZAb

--HG--
extra : rebase_source : 07766295f9b7e238882f8711720bb1ce48977ade
2016-09-08 14:00:54 +02:00
Tom Tung db38e2111a Bug 1187335 - P6 - Support script/css to set integrity metadata to serviceWorker. r=bkelly. r=francois. 2016-09-07 10:30:21 +08:00
Kartikaya Gupta 0de88e9b65 Bug 1295019 - Suppress the APZ displayport while doing main-thread async scrolling. r=BenWa
MozReview-Commit-ID: 4xbotjcH3ZU

--HG--
extra : rebase_source : 56efef087af9e2675810c85611ee4bb2712e27ac
2016-09-08 13:30:04 -04:00
cku 2cc23811aa Bug 1301356 - Correct output of nsDisplayFilter::PrintEffects & nsDisplayMask::PrintEffects. r=mstange
MozReview-Commit-ID: LNd4OKAwxJ8

--HG--
extra : rebase_source : 2ee2e4fdc82989011a1b326b1aadfb4d51220ecc
2016-09-08 18:11:43 +08:00
cku 658b898375 Bug 1301353 - Map surface by WRITE type. r=mstange
MozReview-Commit-ID: 6vPaJh5EVCf

--HG--
extra : rebase_source : 56b46eadccc6f92f9adbbe4091a6b58ec2245cac
2016-09-07 16:39:43 +08:00
Timothy Nikkel 3b81ba0aeb Bug 1298101. Implement telemetry to take event handling time during page load. r=smaug 2016-09-07 23:30:24 -05:00
Matt Woodrow 500fd6982a Bug 1299908 - Make sure we set the correct AGR to reference frame offset when flattening layers. r=mstange 2016-09-08 15:39:04 +12:00
Thomas Wisniewski 2b28c5e2a9 Bug 1069012 - Unprefix ::placeholder pseudo-element. r=bz 2016-09-07 19:38:38 -04:00
Tooru Fujisawa d4bbac96b5 Bug 1297427 - Use calculate curve origin instead of reusing center curve origin in DottedCornerFinder. r=bas 2016-09-08 10:14:14 +09:00
Wes Kocher 5cbc382303 Merge inbound to m-c a=merge 2016-09-07 17:54:24 -07:00
Wes Kocher 46590574dc Merge autoland to central, a=merge 2016-09-07 17:26:48 -07:00
Wes Kocher 4c4ea87ae0 Backed out 2 changesets (bug 1283919) for being the wrong way to fix this a=backout
Backed out changeset a328778db08d (bug 1283919)
Backed out changeset 7e1f25f59298 (bug 1283919)
2016-09-07 14:22:21 -07:00
Carsten "Tomcat" Book 1c61ba654e merge mozilla-inbound to mozilla-central a=merge 2016-09-07 17:20:12 +02:00
Carsten "Tomcat" Book 7c6c7db247 Merge mozilla-central to autoland 2016-09-07 17:26:11 +02:00
Wes Kocher a6dc9d6506 Merge m-c to autoland, a=merge 2016-09-06 17:36:41 -07:00
Ehsan Akhgari 1348bcfdce Bug 1300884 - Remove the alarms API; r=fabrice 2016-09-07 13:26:04 -04:00
cku 0f349efc03 Bug 1289011 - Part 5. refetst for reference box. r=heycam
MozReview-Commit-ID: GnDA3cqO3QL

--HG--
extra : rebase_source : cd441586186adce38d8be26db30bc8f13370f0e6
2016-09-02 01:20:22 +08:00
Kartikaya Gupta f2a9facccf Bug 1297419 - Ensure that APZ smooth scrolls don't get clobbered by the main thread as a side-effect of reflow. r=tnikkel
MozReview-Commit-ID: 9124WMy8SmD

--HG--
extra : rebase_source : 848664a73b2357bbbc49604df03288fe5986053b
2016-09-06 14:43:41 -04:00
Carsten "Tomcat" Book 656d6db419 Merge mozilla-central to mozilla-inbound 2016-09-07 17:21:27 +02:00
Michael Layzell 118a8b7507 Bug 1018486 - Part 4: Changes in layout/, r=bz
MozReview-Commit-ID: BsaKGHsoqOq
2016-09-07 10:50:40 -04:00
cku 6d9234622e Bug 1289011 - Part 4. Handle stroke-box. r=heycam
MozReview-Commit-ID: BImaXBGds6l

--HG--
extra : rebase_source : 2da56a8d40f2ae3a92d3475c2d20dcd6dabc305e
2016-08-28 02:36:20 +08:00
cku 52058e0fbc Bug 1289011 - Part 3. Handle view-box. r=heycam
MozReview-Commit-ID: 3GsivsTYPYK

--HG--
extra : rebase_source : 814a758605418893de60c2cb677ff4ee06671fe8
2016-08-30 10:27:30 +08:00
cku 0d3c265ce5 Bug 1289011 - Part 2. Implement ComputeSVGReferenceRect. r=heycam
MozReview-Commit-ID: G98lmo59AuB

--HG--
extra : rebase_source : 82ab3ff79e4aa606d1eb4e4dbc0bc4443868f2ae
2016-08-28 02:06:04 +08:00
cku d07b0a64cb Bug 1289011 - Part 1. Implement ComputeHTMLReferenceRect. r=heycam
MozReview-Commit-ID: DvlSF3L8yE0

--HG--
extra : rebase_source : 741e277ea5d5957a71b7121225e22846e454620e
2016-08-27 02:49:41 +08:00
Jeremy Chen ff6fbed7e1 Bug 1297306 - part7:replace StyleClear related NS_ASSERTION with MOZ_ASSERT. r=xidorn
MozReview-Commit-ID: Dzd3uOoQCI

--HG--
extra : rebase_source : 821b1b69be94796c1bf7d28142c8653498fb1930
2016-09-07 10:20:17 +08:00
Jeremy Chen c6d0429830 Bug 1297306 - part6:replace NS_STYLE_CLEAR_* with StyleClear enum class. r=xidorn
After using enum class, a switch-case warning in CombineBreakType is caught.
This is one of such kind safty checks that we would like to gain.
Fix it by adding default case for switch-case in CombineBreakType.

MozReview-Commit-ID: BdS3LPN6qzX

--HG--
extra : rebase_source : 17f24a0d482ed6eb51b23e6942d0ac1c87375e0b
2016-09-07 10:20:17 +08:00
Jeremy Chen 722ad026a3 Bug 1297306 - part4:rename IsEnumFittingWithin with EnumTypeFitsWithin and move it to mfbt/EnumTypeTraits.h. r=froydnj
With this change, we could share this EnumTypeTraits between files easily.

MozReview-Commit-ID: 9Q2augati7l

--HG--
extra : rebase_source : b7d9fc95d9d7722ba3eb99ec9798a64ebdbeb484
2016-09-07 10:20:16 +08:00
Jeremy Chen 59704a5d4b Bug 1297306 - part3:make BreakTypeToString() to be a member of nsLineBox. r=xidorn
With this change, we could export BreakTypeToString() to other files that desire
to print break type for debugging.

MozReview-Commit-ID: 34m1BWAmZTB

--HG--
extra : rebase_source : 2d613e7caffb36ec23b684dab538a9f5d6e34f65
2016-09-07 10:20:16 +08:00
Jeremy Chen 0cd76e6b59 Bug 1297306 - part2:make the implementation of nsLineBox::LastChild() be behind DEBUG_FRAME_DUMP flag. r=xidorn
This should've been covered in Bug 956447. The declaration is already behind
DEBUG_FRAME_DUMP in nsLineBox.h. Just move the implementation to agreee with that.

MozReview-Commit-ID: 9N0WxKkajF1

--HG--
extra : rebase_source : b79b068b8a84c66f289d40deb5b5b9347fb7c4a4
2016-09-07 10:20:16 +08:00
Jeremy Chen 9ab3247b7d Bug 1297306 - part1:remove unused NS_STYLE_CLEAR_* condition. r=xidorn
NS_STYLE_CLEAR_NONE has been defined to 0 for like forever, so this code should
never be run. Remove it.

MozReview-Commit-ID: IQ73H6QGsPX

--HG--
extra : rebase_source : 4a32e0e7cd4325b0741f542a796fd1da4de10075
2016-09-07 10:20:16 +08:00
Andrew Halberstadt 4fecf32869 Bug 1300163 - Reuse the 'e10s' value from the mozharness config on interactive loaners, r=armenzg
I noticed that if you request a loaner for a non-e10s job then run mach, it will be run with e10s
enabled. The mach command should accurately reflect the type of job that got requested. This patch
grabs the 'e10s' argument from the mozharness localconfig.json and uses that.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : 6f7b45146bb7f3431c242d92b4206d41f7217c03
2016-09-02 14:42:36 -04:00
Andrew Halberstadt fb05814e0d Bug 1300163 - Lazy load certain mach context attributes using the 'key' mechanism, r=armenzg
You can set attributes on a mach context by using the 'key' argument to the context_handler. Basically,
whatever gets returned by the handler when <key> is passed in, will get set (i.e cached) on the context
object for fast retrieval next time. This is a way to lazy load these attributes.

Previously I was setting functions like 'find_firefox()' on the context object, and then having the
mach_commands call that directly. But this way is much cleaner.

Now, the loaded 'mozharness_config' can be stored as an attribute on the context. Also 'find_firefox()'
is now an attribute called 'firefox_bin'.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : af5e32e05a29b8e91d4cd0005689baa8079ec137
2016-09-02 14:35:14 -04:00
cku 2963c2ebb3 Bug 1300401 - Part 4. Correct indent. r=me
MozReview-Commit-ID: HyWOE3F4C7n

--HG--
extra : rebase_source : 32ff60d2ff4a43d138503cd0135a9ebf1c94bc76
extra : amend_source : 281588978c8b18c57098039c193f362307eb9c36
2016-09-07 11:46:12 +08:00
cku 0bce594d89 Bug 1300401 - Part 3. Reftest for combining mask, filter and opacity. r=mstange
MozReview-Commit-ID: Ae1HLGHKpuJ

--HG--
extra : rebase_source : d94a2e0348611036698713b1d09d2bbc90a99bc0
2016-09-06 18:14:55 +08:00
cku 56e3bcbb89 Bug 1300401 - Part 2. Add more comments and assertions. r=mstange
MozReview-Commit-ID: HywA9IrGhk2

--HG--
extra : rebase_source : 27dce66ccb4b0547b9c6332ebde99ebdc272565a
2016-09-05 12:46:56 +08:00
cku 86c378df38 Bug 1300401 - Part 1. Handle opacity in nsDisplayFilter. r=mstange
MozReview-Commit-ID: D4JXkDm64fN

--HG--
extra : rebase_source : 44ce4f92c2257a2303de2702af2ade3d8173c358
2016-09-05 11:47:18 +08:00
Nicholas Nethercote 34dcc7b852 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Brad Werth 0c33f1af41 Bug 1297189 - Expose implicit grid areas via dev tools API. r=mats, r=bz 2016-09-02 16:28:27 -07:00
Jonathan Kew b159df9d94 Bug 1008019 - Update reftest and a11y-test expectations to reflect the corrected behavior of white-space:pre-wrap. r=dholbert 2016-09-07 00:04:28 +01:00
Tom Tung 78670a91d5 Bug 1187335 - P2 - Modify the way to report to console for worker and use LoadTainting to decide CORS or not. r=bkelly. r=francois. 2016-09-08 09:59:40 +08:00
Jason Woofenden 77865e4a08 Bug 1008019 - Allow whitespace to "hang" at soft-wrap boundaries when white-space:pre-wrap is in effect. r=jfkthame 2016-03-20 17:54:00 -04:00
Jonathan Kew fc5a152f1c Bug 1008019 - Add reftest (currently fails) for linebreaking with white-space:pre-wrap and runs of spaces. r=dholbert 2016-09-07 00:04:28 +01:00
cku 99a0e00f76 Bug 1190881 - Part 4. Use infallible PresShell getter in PaintRoot, and remove unnecessary null-check on it result. r=dholbert
MozReview-Commit-ID: 2KJ3L8oWIey

--HG--
extra : rebase_source : 668f796c2508fd01e5ad2a292611662be61cca8f
2016-08-26 00:57:57 +08:00
cku 83b000037d Bug 1275826 - Part 2. Remove a unsed parameter in PrepareImageLayer. r=mstange
MozReview-Commit-ID: GqZaLcS0Ksj

--HG--
extra : rebase_source : 60668e7e6630b3f81c7352a1fcd842b36381b4f6
2016-09-05 19:00:34 +08:00