Commit Graph

55399 Commits

Author SHA1 Message Date
Brad Werth
6f9f914085 Bug 1314045 Part 1: Return load table assertion to full force now that Servo stylesheet caching will keep load table consistent. r=heycam
MozReview-Commit-ID: 7IrwZ5oFc6e

--HG--
extra : rebase_source : 2ab5a6b96ee23be4a3c75edb32d23a9cc6f933aa
2017-03-10 16:57:36 -08:00
Carsten "Tomcat" Book
c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Xidorn Quan
61c4d0467e Bug 1341102 - Mark the correct one random.
--HG--
extra : rebase_source : 8b7684046fbab5ad29dd76210bdd3c28c22bc5f8
2017-03-13 23:20:50 +11:00
Carsten "Tomcat" Book
94904a8409 Backed out changeset be602e750e39 (bug 1325940) for stylo build bustage 2017-03-13 11:39:12 +01:00
Carsten "Tomcat" Book
b8ac5ccfac Backed out changeset a035c2b6ae72 (bug 1325940) 2017-03-13 11:38:36 +01:00
Gajanan
ca8371df56 Bug 1325940 part 2 - Converted NS_STYLE_BORDER_IMAGE_REPEAT_* to an enum class. r=xidorn
MozReview-Commit-ID: 4Y30dMHsFgj

--HG--
extra : source : 1b6d6f5feb59f895f19ee51cad0e477ca568c168
2017-03-13 21:19:19 +11:00
Gajanan
dca4dbdc2b Bug 1325940 part 1 - Added a constructor for nsCSSValue to accept enumerations. r=xidorn
MozReview-Commit-ID: 5Vns9QGA8c5

--HG--
extra : source : 8de1423bee6b7ba9d584419650674a4d4a7ac7b0
2017-03-13 21:19:19 +11:00
Xidorn Quan
bbb1003707 Bug 1341102 - Mark several intermittent failures random.
--HG--
extra : rebase_source : fc8a7defbaf0f492f93dd00f67c4016f2a5896bf
2017-03-13 22:15:26 +11:00
Samael Wang
dbb9457981 Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow 2017-03-09 18:35:50 +08:00
Kan-Ru Chen
43776b9a4d Bug 1346161 - Remove HANDLE_UNLOAD_MS and HANDLE_BEFOREUNLOAD_MS telemetry probes. r=smaug
MozReview-Commit-ID: 91WAGDKAAMu
2017-03-13 14:47:29 +08:00
Jeremy Chen
8dfebfb116 Bug 1056516 - submit Hyphenation Control reftests to CSSWG. r=jfkthame
MozReview-Commit-ID: DfBwSmlyGRu
2017-03-13 12:54:05 +08:00
Jeremy Chen
c3f809d573 Bug 1056516 - add tests to our local reftests folder. r=jfkthame
MozReview-Commit-ID: EBKLIH9H0hf
2017-03-13 12:54:05 +08:00
Jeremy Chen
0316fede8c Bug 1056516 - let auto hyphen honor manual hyphen when hyphens:auto is set. r=jfkthame
MozReview-Commit-ID: F3ALAJRHned
2017-03-13 12:54:05 +08:00
Jeremy Chen
2e09040e6e Bug 1056516 - use HyphenType to store different types of hyphenations. r=jfkthame
MozReview-Commit-ID: AX3NNDS4hxP
2017-03-13 12:54:05 +08:00
Jeremy Chen
17dca35346 Bug 1056516 - use AutoTArray for hyphenBuffer in BreakAndMeasureText. r=jfkthame
MozReview-Commit-ID: 2sFqlGdoCcm
2017-03-13 12:54:04 +08:00
Ting-Yu Lin
1ab8a867a4 Bug 1326409 Part 6 - Convert aBasicShape to a pointer to a const value. r=dholbert
To address reviewer's comments in bug 1326409 comment 13 and comment 14.

MozReview-Commit-ID: FiUXXk4O8N7
2017-03-13 12:03:40 +08:00
Ting-Yu Lin
620f7841b7 Bug 1326409 Part 5 - Implement shape-outside: polygon(). r=dholbert
The <fill-rule> in the polygon() syntax is not handled because it doesn't
matter to shape-outside at all.

The reftests are numbered from 018 to avoid conflict with the w3c upstream
ones according to this list.
https://test.csswg.org/harness/results/css-shapes-1_dev/grouped/

Reftest 018 to 025 are under various writing-modes, 026 to 029 are testing
empty float area, 030 to 031 are testing polygon containing horizontal
lines.

MozReview-Commit-ID: FPUbMdZsvu6
2017-03-13 12:03:40 +08:00
Ting-Yu Lin
1923f5a65b Bug 1326409 Part 4 - Extract a function to compute polygon vertices. r=dholbert
MozReview-Commit-ID: B4BzBHjLHxW
2017-03-13 12:03:40 +08:00
Ting-Yu Lin
aa5bf0b087 Bug 1326409 Part 3 - Remove unneeded WritingMode parameter. r=dholbert
Remove WritingMode parameter from LineRight() and LineLeft() in both
FloatInfo and ShapeInfo.

Bug 1316549 Part 3 added the parameter to compute the border radii under
writing-modes correctly. However, bug 1326407 Part 6 later made us cache
border radii, so the WritingMode parameter is no longer needed.

MozReview-Commit-ID: DFhm5d51OXJ
2017-03-13 12:03:39 +08:00
Ting-Yu Lin
0896f4f2e5 Bug 1326409 Part 2 - Rewrite the return expression of ComputeCircleOrEllipseCenter(). r=dholbert
MozReview-Commit-ID: 60gvYceeNiP
2017-03-13 12:03:39 +08:00
Ting-Yu Lin
45e26b7d07 Bug 1326409 Part 1 - Annotate EllipseShapeInfo as 'final'. r=dholbert
MozReview-Commit-ID: IReCWO8JRSQ
2017-03-13 12:03:39 +08:00
Stone Shih
7a1fe394b3 Bug 1323158 - Part 5: Update test_pointerevent_releasepointercapture_events_to_original_target-manual.html. r=smaug
--HG--
extra : rebase_source : a0bcfebeec733bd19de430169ee85311c3ceaa64
extra : histedit_source : de28bd8878ad23bad064e884e96a74f2855045a8
2017-03-03 13:24:20 +08:00
Cameron McCormack
ad8f9b20ed Bug 1341102 - Update stylo test expectations. r=me 2017-03-13 17:42:31 +08:00
Xidorn Quan
b3ae464548 Bug 1315601 part 17 - Update test expectation. r=heycam
MozReview-Commit-ID: G27YzFJ0ONy

--HG--
extra : rebase_source : 5de6b342ce8d3fdeae198aadb9e458d5e6461c87
2017-03-09 17:29:22 +11:00
Xidorn Quan
6d88ee92fc Bug 1315601 part 16 - Implement ServoMediaRule. r=heycam
MozReview-Commit-ID: GcDNr5Lv73m

--HG--
extra : rebase_source : 0266aba01f11f75256535bc03769f8edffec8e5b
2017-03-09 17:37:45 +11:00
Xidorn Quan
05122c4a24 Bug 1315601 part 15 - Move some common methods to a new CSSMediaRule binding class. r=heycam
MozReview-Commit-ID: GWpIzTex2le

--HG--
extra : rebase_source : bac2c6fe225ddc19b107de66986623627ce51a8d
2017-03-09 17:37:38 +11:00
Xidorn Quan
4e903ddf5c Bug 1315601 part 14 - Add InsertRuleIntoGroup support to ServoStyleSheet. r=heycam
MozReview-Commit-ID: GUHtvjQXECW

--HG--
extra : rebase_source : dadf70886038ae4d1d62945ee4f4fbc4a3e756aa
2017-03-08 18:27:53 +11:00
Xidorn Quan
50cd42411d Bug 1315601 part 13 - Move common code of DeleteRuleFromGroup/InsertRuleIntoGroup from CSSStyleSheet to StyleSheet. r=heycam
MozReview-Commit-ID: BDxnYb0OkCk

--HG--
extra : rebase_source : 379cfa5390c2235b56d9539ec85d9bf821b8f209
2017-03-08 18:04:15 +11:00
Xidorn Quan
63dfed31ba Bug 1315601 part 12 - Remove useless retval out param from InsertRuleIntoGroup. r=heycam
MozReview-Commit-ID: Iyj0zLj8nsL

--HG--
extra : rebase_source : 39815c7f1c4ab65b32fa5b41c4231c3e76661628
2017-03-08 17:11:42 +11:00
Xidorn Quan
7d403bebc2 Bug 1315601 part 11 - Add Servo support to GroupRule. r=heycam
MozReview-Commit-ID: HLYRz0hsFWc

--HG--
extra : rebase_source : a1ecece1115d08e3c377d8eb1bcd8f7e34957dc2
2017-03-09 20:52:26 +11:00
Xidorn Quan
3c7372ed02 Bug 1315601 part 10 - Make ServoCSSRuleList support being nested. r=heycam
MozReview-Commit-ID: 8IUGxkMZPMj

--HG--
extra : rebase_source : a51c88fd19cf85376a52b4c61b3bd84df6356dab
2017-03-09 20:53:34 +11:00
Xidorn Quan
5155993e83 Bug 1315601 part 9 - Split Gecko-specific GroupRule logic into a separate struct. r=heycam
MozReview-Commit-ID: 7CkGO2KgJN3

--HG--
extra : rebase_source : 04cb9ea11e01a4f57497b4edf148adbd4fc1311b
2017-03-09 22:02:26 +11:00
Xidorn Quan
0e11635123 Bug 1315601 part 8 - Constify Rule::GetCssText. r=heycam
MozReview-Commit-ID: Dn2lWQWUedL

--HG--
extra : rebase_source : 6051886a6695e01f811fecdcdbf2274b2dd470e9
2017-03-08 12:10:16 +11:00
Xidorn Quan
abbff1ff9a Bug 1315601 part 7 - Simplify ConditionRule. r=heycam
MozReview-Commit-ID: 1Ip53AOirbi

--HG--
extra : rebase_source : 078ee67ece475cbf68f7395624abfa4e17cbc42c
2017-02-24 14:12:23 +11:00
Xidorn Quan
60fc385265 Bug 1315601 part 6 - Move GroupRule-related code into a separate source file. r=heycam
MozReview-Commit-ID: 7vgqnYC8Y0j

--HG--
extra : rebase_source : 3dc10330853b1e486be83aec6d11388c8bbe8dac
2017-03-07 15:19:03 +11:00
Xidorn Quan
7941bea334 Bug 1315601 part 5 - Implement MediaList for Stylo. r=heycam,manishearth
MozReview-Commit-ID: 1NSyoqguoJr

--HG--
extra : rebase_source : 63e482fa74ef1f88777d9fbe7cdc4c4cb7832666
2017-03-09 17:56:31 +11:00
Xidorn Quan
6f6f7ace2c Bug 1315601 part 4 - Add raw Servo types for MediaList and MediaRule. r=manishearth
MozReview-Commit-ID: HaeqBVL700g

--HG--
extra : rebase_source : cfa00f45b4ff00857956cad9094a68a22149a692
2017-03-09 15:10:11 +11:00
Stone Shih
e82b7fd9f9 Bug 1323158 - Part 4: Refine PE boundary events related testcases since boundary events are fired after capturing or releasing the pointer. r=smaug
--HG--
extra : rebase_source : acc2d7fb4df3168a5b81cc505d78f5f3b212af92
extra : histedit_source : 5acaa0c7361bb3694d05a33e104e9c861e213bc2
2017-01-19 11:11:50 +08:00
Stone Shih
b3c77294ca Bug 1323158 - Part 3: Fire boundary events when dispatching gotpointercapture. r=smaug
--HG--
extra : rebase_source : e70ab21585d38a64c657c260b722ef1a09d87ae9
extra : histedit_source : 46a0483c2c7efb76a752ef472baa1bca28650241
2017-01-20 15:00:07 +08:00
Stone Shih
81ba46489f Bug 1323158 - Part 2: Remove those PE boundary events test cases which are out of date. r=smaug
--HG--
extra : rebase_source : 33ddd9910891a0027abeea84a7f4b3e378b9dde1
extra : histedit_source : 34e2d54d7fdb801f29db795e2f367946dacb3f50
2017-01-23 13:43:49 +08:00
Stone Shih
eb9ee92c2d Bug 1323158 - Part 1: Fire pointer and mouse boundary events when capturing the pointer. r=smaug
--HG--
extra : rebase_source : 2895681bb5d0e4872dc37f9d67dc4e2928bdce33
extra : histedit_source : e08adaaf7299e9667eb1f3887ef518c5edf5dc59
2017-01-18 15:25:44 +08:00
Stone Shih
4db46fd00d Bug 1346166 - Set isHandlingUserInput = true when dispatching pointerdown and pointerup. r=smaug 2017-03-11 14:10:52 +08:00
Mats Palmgren
9d124ff6d7 Bug 1346527 - Allow a small fuzz factor on all platforms for 722923-1.html. r=me
MozReview-Commit-ID: B8bdGufhzQx

--HG--
extra : rebase_source : 00664420af978a3a78d88ed167572a1a6262e2c4
2017-03-11 07:15:00 -05:00
Jonathan Watt
a446a17a47 Bug 1345908 - Remove nsLayoutUtils::HasCSSBoxLayout. r=cjku 2017-02-07 21:11:53 +00:00
Timothy Nikkel
9eca2208bd Bug 1346109. Change the image visibility frame walker to handle missing displayport base rects. r=botond
We set the base rect for root scroll frames of root content documents and top level documents because it is quick and easy to calculate it.

Otherwise we ignore the display port if we are missing a base rect, and treat it like a scrollframe without a displayport. This is likely better behaviour as if the base rect is missing the computed displayport may not even cover what is currently visible.
2017-03-11 01:00:51 -06:00
Timothy Nikkel
9ba8b14466 Bug 1346109. Allow asking an nsIScrollableFrame if it is the root scroll frame. r=botond 2017-03-11 01:00:46 -06:00
Timothy Nikkel
887111ab7d Bug 1346109. Add a function that returns if we need a displayport base rect for calculating a displayport. r=botond 2017-03-11 00:58:09 -06:00
Timothy Nikkel
a1eedef49b Bug 1346109. Factor out a GetDisplayPortData function which gets the displayport data and chooses between margin and rect based data. r=botond
It will be used in the next patch.
2017-03-11 00:58:08 -06:00
Wes Kocher
77632ccd1b Merge m-c to inbound, a=merge
MozReview-Commit-ID: JXQqoTEXxwz
2017-03-10 17:22:54 -08:00
Ryan VanderMeulen
dc19643b13 Merge m-c to autoland. a=merge 2017-03-10 12:17:27 -05:00