Commit Graph

59707 Commits

Author SHA1 Message Date
Xidorn Quan
3110fdde9a Bug 1396147 - Update annotation for tests mentioned in this bug. r=xidorn
MozReview-Commit-ID: 2THlzWPgv2X

--HG--
extra : rebase_source : f91d1cff8f7c382810d004a00e38dd91a9ef6b5f
2017-09-04 13:14:13 +10:00
Xidorn Quan
372bd402fb Bug 1387905 part 2 - Use 10bit for specificity in Gecko as well. r=heycam
MozReview-Commit-ID: G5qq0FY0HQ8

--HG--
extra : rebase_source : 2572ad7845c4275d0f0a580204697e6ee87a4a5f
2017-09-04 12:07:24 +10:00
Xidorn Quan
441c9db551 Bug 1387905 part 1 - Count pseudo-element into specificity. r=heycam
MozReview-Commit-ID: IWlINaYAhql

--HG--
extra : rebase_source : f0d12277ecda1c7e498ba208cec0e0cde6fc5a25
2017-09-04 12:05:56 +10:00
Hiroyuki Ikezoe
76c1b26215 Bug 1396041 - Disassociate element from document before destroying animations in UnbindFromTree(). r=birtles
This allows us to avoid posting animation-related restyles when removing
elements from the document tree.

MozReview-Commit-ID: CzN4S0DTUMa

--HG--
extra : rebase_source : a5b94d9ad5b1b2243abd0a5b188eec2b334df74d
2017-09-04 12:24:07 +09:00
Hiroyuki Ikezoe
0b3afbde59 Bug 1396442 - Enable clipped-animated-transform-1.html for styloVsGecko. r=boris
MozReview-Commit-ID: Hg8cq3TXWre

--HG--
extra : rebase_source : ec43b4581693d0a16bc62a47678836933627ef75
2017-09-04 06:32:33 +09:00
Hiroyuki Ikezoe
aa8f1c18e2 Bug 1396442 - Use longer duration and fill:forwards to keep the animations running on the compositor. r=boris
MozReview-Commit-ID: Dpfi00TmHGu

--HG--
extra : rebase_source : f146ed60c1bdcd177c3248f84b37c7d1192b8733
2017-09-04 06:32:33 +09:00
Brian Birtles
5f9e8575bc Bug 1394985 - Synchronize throbber animations; r=jaws
MozReview-Commit-ID: Gxgl8IJX6vZ

--HG--
extra : rebase_source : be163614147499c7f3c5632adf979e46e9adfd50
2017-09-01 09:32:35 +09:00
Sebastian Hengst
55fe61b6d6 Backed out changeset 06fd7e672abd (bug 1382078) 2017-09-02 20:43:42 +02:00
Sebastian Hengst
3764de542b Backed out changeset b49d8d47c3f1 (bug 1382078) 2017-09-02 20:43:36 +02:00
Nazım Can Altınova
a86e524d57 Bug 1390339 - stylo: Adjust test expectations after removing calc support from media queries r=emilio
MozReview-Commit-ID: 3WX3HQBf175

--HG--
extra : rebase_source : fce1572342ae0194ff8db784e2da52fd86bcf473
2017-09-01 11:47:00 -07:00
Ting-Yu Lin
d537ea001c Bug 1382078 Part 3 - Support media changes for XBL stylesheets. r=emilio
MozReview-Commit-ID: EJp8EMyanBT

--HG--
extra : rebase_source : 524aaa95070c7708b3c24a0c9ee8a24344be2645
2017-09-02 15:25:45 +08:00
Ting-Yu Lin
6d69dabd0c Bug 1382078 Part 2 - Make nsBindingManager::MediumFeaturesChanged() return bool directly. r=emilio
The method always returns NS_OK, and no other caller checks the nsresult.
Hence the patch.

MozReview-Commit-ID: CnYCZ8VchG

--HG--
extra : rebase_source : 062d643308b309dfe442384301860ffeec2dff9f
2017-08-30 15:22:31 +08:00
Emilio Cobos Álvarez
70950bfcb1 Bug 1396048: Mark system-metrics-1.html as passing. r=me
MozReview-Commit-ID: Bg33Xa1GenR
2017-09-02 13:58:12 +02:00
Sebastian Hengst
4d0bad92dd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gsw48p934sI
2017-09-02 10:54:44 +02:00
Xidorn Quan
d57b5bd646 Bug 1388911 - Update expectation for this bug after landing servo/servo#18336.
MozReview-Commit-ID: EMKg34csW4l
2017-09-02 11:02:19 +10:00
Xidorn Quan
1538ddc813 Bug 1395725 - Don't add children of <area> as servo restyle root. r=emilio
MozReview-Commit-ID: LI7Lv1aD3PJ

--HG--
extra : rebase_source : 84df4e5ba6493e0db69f6e11e2fee428af427252
extra : source : 099a87c95a58d141f393f17ff27ae8f06a89d413
2017-09-02 09:56:36 +10:00
Wes Kocher
8b84853ed6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: GcHZLNPPNnI
2017-09-01 16:34:14 -07:00
Wes Kocher
5f157c17dc Merge inbound to central, a=merge
MozReview-Commit-ID: 3JxUEFuinHY
2017-09-01 16:29:10 -07:00
Boris Zbarsky
264b2245fd Bug 1395715. When recovering letter frames, only do first-line fixup when we have a first-line parent. r=emilio
It turns out, this is the only case in which we need to do the fixup at all.
And this way we don't have to guess based on first-line styles, which may not
match the frame tree (for example if we have a pending style change that we
haven't processed yet).
2017-09-01 11:09:02 -04:00
Nazım Can Altınova
69ff16619e Bug 1395189 - Add reftest for default directions of prefixed linear gradients r=manishearth
MozReview-Commit-ID: 1LM49ROX3E9

--HG--
extra : rebase_source : 6e7f77d231bf3f3b13d9f9080dacdaa2852a4fc3
2017-08-30 12:21:55 -07:00
Emilio Cobos Álvarez
80541449d2 Bug 1374235: style: Remove the for reconstruction traversals. r=bholley
One less hack, a few more to go.

MozReview-Commit-ID: 6katL1EGn2U
2017-09-01 18:46:23 +02:00
Kartikaya Gupta
48a8b02ddd Bug 1395713 - Run async-scrolling reftests in layers-free mode for webrender. r=jrmuizel
MozReview-Commit-ID: A2Fhw3gfzOi

--HG--
extra : rebase_source : 9ecfef10cb7b8bc536b40ff7ac8a21974a2509ae
2017-08-31 17:36:41 -04:00
Kartikaya Gupta
f397e9054a Bug 1395670 - In webrender layers-free mode, don't add a root scroll metadata if we already have it elsewhere in the tree. r=mstange
MozReview-Commit-ID: B9LY4v9t11Y

--HG--
extra : rebase_source : e6ffb4c7a54e0584a3a4939a3bca34276b69478b
2017-08-31 17:07:41 -04:00
Chung-Sheng Fu
c978a96e84 Bug 1395486 - Move resource://gre-resource/plaintext.css to resource://content-accessible/plaintext.css. r=heycam
MozReview-Commit-ID: Efz2Z78W2ix

--HG--
extra : rebase_source : 0522f382acd14372c6fea0a695f1d09300810912
2017-08-31 17:06:22 +08:00
Milan Sreckovic
15f0b9e537 Bug 1388892: TableArea doesn't really need to own the rectangle, except for the union call. Especially since we're exposing the addresses of the members. r=xidorn
MozReview-Commit-ID: BAjQ20ngkIM

--HG--
extra : rebase_source : 8ed144bf053dc5c7c26201ec023aac3a00a2c7e5
2017-08-31 16:00:44 -04:00
Emilio Cobos Álvarez
baf5604537 Bug 1384232: Reduce expected assertions in test_bug381167.xhtml. r=me
MozReview-Commit-ID: Ehl9yfo8EOX
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-01 15:31:46 +02:00
Daniel Holbert
b137f93e10 Bug 1387152 part 2: Don't let unrelated property "flex-basis" influence the sizing inside of -webkit-box containers. r=mats
We use nsFlexContainerFrame (our modern flexbox implementation) to emulate
-webkit-box, and we use a frame state bit to tell us whether to use
modern-flexbox properties vs. legacy properties.  Up until this patch, we
neglected to check that state bit when determining whether to use the modern
"flex-basis" property for sizing.  This patch makes us *not* use that property
(and just use the axis-appropriate width/height property instead) for legacy
-webkit-box containers.

MozReview-Commit-ID: 14bzOCPCtUY

--HG--
extra : rebase_source : 0091761ba3aff64030a3301d9b60fb9401aa77b3
2017-08-03 11:18:13 -07:00
Daniel Holbert
c787965805 Bug 1387152 part 1: Adjust indentation and use HasAnyStateBits() instead of manual bitwise arithmetic, in nsFrame size-computation code. r=mats
* HasAnyStateBits is slightly more foolproof and readable -- in particular, you
  can put the logical "!" directly alongside the expression, rather than
  needing to separate it with a layer of logical-grouping-parens.

* The deindentation here isn't super-important, but it conforms better to our
  coding style, and it'll make this code consistent with a new chunk that I'm
  adding in the next patch (and that chunk will *have* to be deindented like
  this, to avoid going over 80 characters).

MozReview-Commit-ID: FWfqrKjHedP

--HG--
extra : rebase_source : e556f9789e9e153d57df07a38b10c21963e50978
2017-08-03 11:04:08 -07:00
Nazım Can Altınova
09ef54645d Bug 1391534 - Fix computed prefixed linear gradient direction serialization r=dholbert
Prefixed linear gradients use direction keyword to indicate starting point of the
gradient but modern syntax uses this keyword to indicate ending point of the gradient.
Top-to-bottom direction is the default value for gradients. Therefore `top` is default
value of prefixed linear gradients and `to bottom` is default one for unprefixed one.
For brevity, we omit the direction keyword from our serialization when it matches the
default direction, but we were incorrectly trying to remove `bottom` keyword from
prefixed computed values.

MozReview-Commit-ID: 8UCsFE44LRX

--HG--
extra : rebase_source : 6185aec4c3c1b0647015d00d31e0120c9448867e
2017-08-30 14:39:44 -07:00
Emilio Cobos Álvarez
b7dceb9fbd Bug 1354989: Mark layout/reftests/bugs/485012-1.html as failing in stylo pending investigation in bug 1396093. r=hsivonen
MozReview-Commit-ID: F6nGZJ8LiBG
2017-09-01 22:40:41 +02:00
Emilio Cobos Álvarez
dcdc508e66 Bug 1395351: Use the parallel traversal flag more often. r=bholley
MozReview-Commit-ID: JF6i0HDniR2

--HG--
extra : rebase_source : e917a604cf01d2fdafee5d52eb9878971e217cfe
2017-09-01 19:28:57 +02:00
Emilio Cobos Álvarez
7a147d3d24 Bug 1395351: Assert the root element is styled in StyleDocument. r=bholley
MozReview-Commit-ID: 6KncJ5IqLbt

--HG--
extra : rebase_source : d9c455e9e567d4647157192cc386403c2b343cba
2017-09-01 19:31:45 +02:00
Emilio Cobos Álvarez
6c5e58f954 Bug 1395351: Don't clobber restyle root flags from frame construction. r=bholley
MozReview-Commit-ID: EsXKiLbYQsY

--HG--
extra : rebase_source : ef87462e8495670b6e0fcfbdfc9f3b511f5f57bc
2017-08-31 21:37:50 +02:00
Sebastian Hengst
eee61902f8 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-01 10:45:14 +02:00
Sebastian Hengst
43bc951ac7 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ES9rKhiQo10
2017-09-01 10:38:51 +02:00
Nicholas Nethercote
78adeaf317 Bug 1393384 (attempt 2) - Take advantage of new support for measuring heap blocks via interior pointers. r=erahm.
We now have jemalloc_ptr_info() and moz_malloc_enclosing_size_of(), which can
be used to measure heap blocks via interior pointers. This patch does the
following.

- Adds MOZ_DEFINE_MALLOC_ENCLOSING_SIZE_OF, for defining
  measure-via-interior-pointer functions.

- Uses these functions to replace some horrid pointer arithmetic in functions
  measuring Rust types.

--HG--
extra : rebase_source : 5128408256c128222025153ae3e0f924b2499a2a
2017-09-01 17:25:52 +10:00
Boris Zbarsky
71d6942bcb Bug 1395650. Make anonymous column groups into non-inheriting anon boxes, to better match the behavior of other browsers. r=heycam 2017-09-01 00:53:33 -04:00
Boris Zbarsky
11a90dfbd9 Bug 1395591. When looking for our layout parent style, make sure to start with the placeholder if we're out of flow. r=emilio
MozReview-Commit-ID: 1M52bi3oQFX
2017-08-31 22:46:35 -04:00
Hiroyuki Ikezoe
6feeb8950f Bug 1394935 - A crash test. r=bholley
MozReview-Commit-ID: 1zSJPx2sVbi
2017-09-01 13:27:11 +09:00
Kartikaya Gupta
f5e6acfc7d Bug 1395237 - Update reftest fuzz values as a result of WR cset f1569c04. r=jrmuizel
MozReview-Commit-ID: RGvlA2lM8
2017-08-31 14:09:26 -04:00
Mats Palmgren
0735644b45 Bug 815077 - Make unicode ETHIOPIC WORDSPACE count as a space character. r=jfkthame
MozReview-Commit-ID: DhUayZurZ00
2017-08-31 19:08:20 +02:00
Phil Ringnalda
b8183bc0b4 Backed out 6 changesets (bug 1302470) for mochitest-chrome failures
CLOSED TREE

Backed out changeset 3aab8b1494ef (bug 1302470)
Backed out changeset fdd40abac611 (bug 1302470)
Backed out changeset a67bc2f1b624 (bug 1302470)
Backed out changeset 160522290018 (bug 1302470)
Backed out changeset 6b948c533944 (bug 1302470)
Backed out changeset 399011313b3c (bug 1302470)

MozReview-Commit-ID: 2B3uMAkzNGv
2017-08-31 20:04:24 -07:00
Boris Zbarsky
7f0ccc9510 Bug 1395312 part 2. Table backgrounds should be drawn or not based on the visibility of the relevant cell, not of the column/row/colgroup/rowgroup they come from. r=heycam
MozReview-Commit-ID: B863KFWjLLW
2017-08-31 09:12:35 -04:00
Boris Zbarsky
8216808d0e Bug 1395312 part 1. Add a method on nsTableCellFrame to determine whether it should paint borders and backgrounds. r=heycam
MozReview-Commit-ID: 7bLn4Fa3qP8
2017-08-31 09:12:14 -04:00
Boris Zbarsky
c7c1bed48a Bug 1390389. Fix anon box restyling assertions to correctly handle ib splits. r=xidorn
MozReview-Commit-ID: AtBFlvLyg6b
2017-08-31 09:12:13 -04:00
Xidorn Quan
58eb5ce434 Bug 1393189 part 6 - Add crashtest for this bug. r=heycam
MozReview-Commit-ID: 1DbP4Hs7tc2

--HG--
extra : rebase_source : 64e9c5bd849fc2f8be2b30829baa76f44f699d47
2017-08-29 17:13:34 +10:00
Xidorn Quan
f3c33019da Bug 1393189 part 5 - Rewrite CounterStyleOrNone::from_gecko_value to use fewer binding functions. r=heycam
MozReview-Commit-ID: 3EsExs0DzQr

--HG--
extra : rebase_source : b97cfeb82dcaf80eb91635e9094c55a264678865
2017-08-29 17:11:13 +10:00
Xidorn Quan
610d192c1b Bug 1393189 part 4 - Remove kListStyleKTable and CSS keywords only used in this table. r=dholbert
MozReview-Commit-ID: IM0cvCSV6tR

--HG--
extra : rebase_source : d5d60115f0774f4e31c5c93617d64534e9c89f3e
2017-08-29 15:41:37 +10:00
Xidorn Quan
ddf527e66d Bug 1393189 part 3 - Replace all uses of nsCSSProps::kListStyleKTable with gBuiltinStyleTable. r=dholbert
The change in CounterStyleManager::BuildCounterStyle converts a case-
insensitive comparison to a case-sensitive comparison by comparing atom
pointer directly. But this is fine because all names of builtin counter
styles should have been lowercased by the parser. For Gecko, it is done
in CSSParserImpl::ParseCounterStyleName, and for Servo, it is done in
counter_style::parse_counter_style_name.

MozReview-Commit-ID: JHHmzEaNIpn

--HG--
extra : rebase_source : aa43d45042c3cbd85e925596586a9a2ea51c6e4a
2017-08-29 15:36:32 +10:00
Xidorn Quan
06b5070af0 Bug 1393189 part 2 - Have CounterStyle::GetStyleName return nsIAtom and make it const. r=dholbert
MozReview-Commit-ID: KmnQSK7ZvND

--HG--
extra : rebase_source : e47fc3d41f16f18f7182bf561d8da7249fd27bc5
2017-08-29 15:21:36 +10:00