Commit Graph

50949 Commits

Author SHA1 Message Date
Michael Layzell
dde888ae28 Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku 2016-07-04 15:45:45 -04:00
Phil Ringnalda
38512f586e Merge m-c to m-i, a=release-me-from-the-tyranny-of-this-hook 2016-07-04 11:12:49 -07:00
Gregory Szorc
a7c8e9f3cc Merge autoland into mozilla-central; a=merge
--HG--
extra : amend_source : 8ffaee5cda76b1923f7ef1f5724473c8ed94fda3
2016-07-04 09:01:56 -07:00
Andrea Marchesini
40d07ec06a Bug 1282025 - Get rid of HTML_FOREGROUND_REFLOW_MS_2 telemetry ID, r=gfritzsche 2016-07-04 17:11:52 +02:00
Kevin Chen
8cb77ec6fc Bug 1264809 - (Part 3) Add reftest. r=dholbert 2016-07-01 00:44:00 +02:00
Kevin Chen
f90480e301 Bug 1264809 - (Part 2) Preserve scale ratio if SVG dosen't have viewport size and viewBox. r=dholbert 2016-07-01 02:27:00 +02:00
Kevin Chen
96f6cecc6b Bug 1264809 - (Part 1) Decouple SetImageOverridePreserveAspectRatio from mIsPaintingSVGImageElement setting. r=dholbert 2016-07-01 00:41:00 +02:00
Carsten "Tomcat" Book
eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Sebastian Hengst
f74056ca75 Backed out changeset 444a4a7233f7 (bug 1278737) for frequent web platform test 2 failure on OSX in form-validation-reportValidity.html. r=backout
--HG--
rename : dom/html/test/forms/test_input_types_pref.html => dom/html/test/forms/test_experimental_forms_pref.html
2016-07-01 20:04:58 +02:00
Jessica Jong
7db8d433f6 Bug 1278737 - Add 'month' to the list of valid types attributes for <input>. r=smaug
--HG--
rename : dom/html/test/forms/test_experimental_forms_pref.html => dom/html/test/forms/test_input_types_pref.html
2016-06-29 23:16:00 +02:00
Jonathan Kew
5848b8fce9 Bug 1154125 - Ensure the context has up-to-date device pixel DPI scaling before using it in calling nsViewManager::SetWindowDimensions. r=mstange
--HG--
extra : rebase_source : c757bbeae9b86e139b32c224c6df01318cc7a33f
2016-06-30 12:27:29 +01:00
Matt Woodrow
e6469da752 Bug 1269321: Part 4 - Add tests. r=thinker
--HG--
extra : rebase_source : 4a6756ea08ac3f949fd2ad3a50aa5160921e446e
2016-06-30 18:10:49 +02:00
Matt Woodrow
4f7d3bf72f Bug 1269321: Part 3 - Create a wrapper layer for masking when we can't support it on the normal layer. r=thinker
--HG--
extra : rebase_source : 2ad8ec40082c3cea7b811190a91b0324a4b0d8a2
2016-06-30 18:10:25 +02:00
Matt Woodrow
420e856aa7 Bug 1269321: Part 2 - Add a new constructor option to nsDisplayOwnLayer that doesn't force active layers. r=thinker
--HG--
extra : rebase_source : b972a28220de54eb3f2af6ef4dc1c748860b11f9
2016-06-30 18:09:08 +02:00
Matt Woodrow
8882773da0 Bug 1269321: Part 1 - Add a way to check if the current clip has rounded corners. r=mstange
--HG--
extra : rebase_source : ebdb701125fb1ec910f09af938dcea9d95fe442f
2016-06-30 18:08:35 +02:00
Matt Woodrow
6a070f7366 Bug 1276897 - r=tlee
--HG--
extra : rebase_source : e8c023027c9d94c25b90dd14b843d0ca83df4c4b
2016-06-01 13:23:20 +12:00
Bill McCloskey
b8ababd5ee Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander) 2016-06-30 14:30:30 -07:00
Carsten "Tomcat" Book
fcff88e7a8 Merge mozilla-central to autoland 2016-07-01 11:20:25 +02:00
Fariskhi Vidyan
ccd59b67bf Bug 1280425 part 1: Remove support for deprecated value "defer" in SVG preserveAspectRatio. r=dholbert
MozReview-Commit-ID: I74zfSuwsKH

--HG--
extra : rebase_source : 189fd634cc2c7a1bc99804e05c99b1e0fd3e3f9e
2016-06-30 17:28:33 -07:00
Brian Birtles
c42c3acc9a Bug 1283387 part 2 - Implement updated calculation of active time in after phase with negative end delay r=hiro
This implements the changes to the specified behavior from the following
changeset:

  a9ba51338e

It also updates test expectations based on the tests updated in part 1 of this
patch series.

MozReview-Commit-ID: HyJC8tHXLYc

--HG--
extra : rebase_source : 6d0f5eb03a2bb4c3938d79dfae7ee433d33fd2b1
2016-07-01 09:31:02 +09:00
Brian Birtles
e7db0c0103 Bug 1283387 part 1 - Add tests for updated end delay handling r=hiro
Based on the following changes to the specification:

  a9ba51338e

MozReview-Commit-ID: zSKTr4T8BM

--HG--
extra : rebase_source : 26747443cfb359e53349b7977bae79e8f928e78a
2016-07-01 09:27:28 +09:00
Xidorn Quan
8bb94fa4a4 Bug 1141895 part 2 - Use unprefixed unicode-bidi values in internal code. r=jfkthame
MozReview-Commit-ID: 1o2NEe8eiSX

--HG--
extra : rebase_source : b09e931fc8e318ceda224fe9c02dd7931c75f8ed
2016-06-30 16:25:31 +10:00
Stone Shih
0b7ae24e93 Bug 1260704 - Instead of handling mouse up event, we handle mouse click event to trigger links. r=smaug
--HG--
extra : rebase_source : c6d0b5d066ad9fae37c6c2d4b1d72d404966009f
2016-05-16 15:45:43 +08:00
Carsten "Tomcat" Book
6152d5afcc Merge mozilla-central to mozilla-inbound 2016-06-30 12:46:28 +02:00
Carsten "Tomcat" Book
3a42c363cc merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
Andi-Bogdan Postelnicu
6fce770cb0 Bug 1282408 - add ignore initialization check flag for |mOrigin| from Layer. r=dbaron
MozReview-Commit-ID: CFITyJ7IFlZ
2016-06-30 11:24:43 +03:00
Xidorn Quan
9cd4a13d78 Bug 1274868 - Deactive opened menu when entering fullscreen. r=enn
MozReview-Commit-ID: 9VOMfDQZ0eZ

--HG--
extra : amend_source : 4bb215e2d9256725293ecc8fe66d9b93590af526
2016-06-27 10:42:37 +10:00
Carsten "Tomcat" Book
d8d1e0b986 Backed out changeset d4e94246b3b4 (bug 1274868) for wrong reviewer name 2016-06-30 06:32:37 +02:00
Emilio Cobos Álvarez
e6ed33b04e Bug 1283242: style: Whitespace cleanup and remove dead code. r=bobbyholley+313730
gNewCount and gSharedCount aren't even declared.

--HG--
extra : rebase_source : 3c7d79a360ad6eef2e884de513ee45a289d4cd0a
2016-06-29 11:27:42 +00:00
Kartikaya Gupta
63a50e8725 Bug 1253683 - Don't layerize scrollframes which are overflow:scroll but not actually scrollable. r=tnikkel
MozReview-Commit-ID: 6DUE3PB2hLI

--HG--
extra : rebase_source : 2e9aa59f5545a14ec70dcb6b7fbaf97bcce5dd0b
2016-06-29 14:29:40 -04:00
Carsten "Tomcat" Book
13ce7275a3 Merge mozilla-central to autoland 2016-06-29 16:22:44 +02:00
Carsten "Tomcat" Book
96e498753a Backed out changeset f843a97323da (bug 1282870) for bustage on a CLOSED TREE 2016-06-29 13:51:49 +02:00
Andrea Marchesini
851369b631 Bug 1282870 - HTMLInputElement.webkitdirectory should show a DirPicker, r=smaug 2016-06-29 13:29:04 +02:00
Xidorn Quan
8e36f5d113 Bug 1160847 part 4 - Remove useless lineOffset variable in nsBidiPresUtils::ResolveParagraph. r=jfkthame
MozReview-Commit-ID: 7YRIg9TmExp

--HG--
extra : source : 962291a39b4172f341f8e09ae001d5f5ce732740
2016-06-29 17:48:00 +10:00
Xidorn Quan
c353935ab6 Bug 1160847 part 3 - Restore virtual bidi control characters for reordering. r=jfkthame
This patch mainly consists of two parts, one for resolving and the other
for reordering.

In the resolving part, the added code stores the lowest embedding level
of all bidi formatting characters precede a frame to the bidi data of
that frame when necessary.

In the reordering part, virtual frame is restored from the information
stored above before asking the bidi engine to reorder frames

Collapsing a run of continuous virtual formatting characters into one
virtual character with the lowest embedding level among them should work
because a character with a higher embedding level than either of its
neighbors should not affect the reordering result of any other part of
the sequence. (No formal proof of this theorem, though)

MozReview-Commit-ID: LQjRu0mWsZP

--HG--
extra : source : 5d0cf1cbd270e9963d848a23b37528ed503ed6a0
2016-06-29 17:47:18 +10:00
Xidorn Quan
90c5357c7f Bug 1160847 part 2 - Add glue to nsBidiPresUtils to use support for bidi isolate in nsBidi. r=jfkthame
This patch is mainly based on smontagu's wip patch. Some non-trivial differences:

* BidiParagraphData.mIsolateCount and related code are not added in this patch.
  I investigated uses of this field in the wip patch, and it seems to me none of
  them makes sense:
  1. in the fast path of nsBidiPresUtils::ResolveParagraph, if there would be
     any isolate character in the surrounding text, there must exist more than
     one runs, which indicates the isolate count condition is redundant.
  2. in handle of br frame in nsBidiPresUtils::TraverseFrames, based on my
     understanding of "CSS Writing Modes Level 3" section "2.4.4. Paragraph
     Breaks Within Embeddings and Isolates", the resolving should happen
     unconditionally.

* {control,override}Char in nsBidiPresUtils::TraverseFrames are assigned
  unconditionally when in a bidi inline container, so that we can properly
  handle it when there are continuations. I suspect this was the reason of
  regressions in dynamic reftests from the wip patch mentioned in comment 1.

MozReview-Commit-ID: LUdBAapA48e

--HG--
extra : source : 28fa56b841de689691375e8e2d5e56014921b48e
2016-06-29 17:47:00 +10:00
Xidorn Quan
5049576d59 Bug 1160847 part 1 - Add some debug functions. r=jfkthame
MozReview-Commit-ID: GclW6OAx6e3

--HG--
extra : source : bb4417abb20926a452c9791962cddf1c715b5674
2016-06-29 17:46:42 +10:00
Ting-Yu Lin
8c5af6b331 Bug 1282029 Part 2 - Update comments. r=dbaron
MozReview-Commit-ID: AB01qG99GeH

--HG--
extra : rebase_source : 333e0c02f9b6ef6daadd841cf4be2e35e72158c3
2016-06-24 17:47:33 +08:00
Ting-Yu Lin
b1101f8897 Bug 1282029 Part 1 - Remove superfluous access modifiers. r=dbaron
MozReview-Commit-ID: 5HRNtYECUjU

--HG--
extra : rebase_source : d0cc30bcd72168d1da345dcb72e9f41876977755
2016-06-24 17:47:32 +08:00
Brad Werth
bb6b3396a0 Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron 2016-06-21 13:17:11 -07:00
Ray Lin
e1b4b9465e Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk

--HG--
extra : rebase_source : dda5febc3c799c375e4dbe39cf52f96504740b55
2016-06-27 11:22:15 +08:00
Xidorn Quan
1ee9809437 Bug 1274868 - Deactive opened menu when entering fullscreen. r=dao
MozReview-Commit-ID: 9VOMfDQZ0eZ

--HG--
extra : transplant_source : %FF%5D%E8%94%D9A%9D%C7%28%E7%C4%B5Yy%40%89%3B%BD%DE%1A
2016-06-27 10:42:37 +10:00
Phil Ringnalda
93890f7d54 Back out 068fa73fa918 (bug 1154125) for e10s timeouts in test_bug1166138.html and test_img_mutations.html 2016-06-29 19:15:36 -07:00
Xidorn Quan
ac2b4d49af Bug 1199529 - Remove :-moz-full-screen-ancestor pseudo-class as well as its state bit. r=smaug
MozReview-Commit-ID: J0hGsLLdyam

--HG--
extra : source : cd7387a33f05453690ba755454686f2469f7b562
2016-06-30 09:24:41 +10:00
Jonathan Kew
e8c95f9701 Bug 1154125 - Ensure the context has up-to-date device pixel DPI scaling before using it in calling nsViewManager::SetWindowDimensions. r=mstange 2016-06-29 20:58:02 +01:00
Andrea Marchesini
5cddd3946d Bug 1283061 - HTMLInputElement type=file webkitdirectory/directory should show just 1 button, r=smaug 2016-06-29 18:18:42 +02:00
Carsten "Tomcat" Book
261fe13dcd merge mozilla-inbound to mozilla-central a=merge 2016-06-28 16:09:05 +02:00
Thomas Nguyen
ffba687a20 Bug 1025965 - Rename browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=francios
MozReview-Commit-ID: 3TMs6MPtWsC
2016-05-09 14:44:08 +08:00
Hiroyuki Ikezoe
ee7fe17000 Bug 1275142 - Don't create animate SVG along with its parent element at the same time. r=birtles
If we create an animate SVG along with its parent, in rare cases,
the animation does not start in the first frame, i.e, it's the frame
that the animated element and its parent element are created. In such
cases, restyle for the animation is not observed in the first frame.
To avoid it, we need to create parent element in the first place,
then, append an animated element into the parent in the next frame.

MozReview-Commit-ID: 3GPDxX4cmkQ

--HG--
extra : rebase_source : 5cfa60deb3661df443ffd07c8e39d50752ab47f8
2016-06-27 10:57:27 +09:00
Timothy Nikkel
9fb446699f Bug 1278455. If the root element is grid or flex, allow it to be an absolute containing block. r=dholbert
If the root element is block or table then the PushAbsoluteContainingBlock call happens in ConstructBlock and ConstructTable respectively.
2016-06-26 12:25:11 -05:00