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

12210 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Chen 394d5f000f Bug 1381235 - add reftest for transitioning on visited links. r=hiro
With this patch, we now have an automated test to verify if a transition
is run properly on a visited link. Note that the test aims to verify
the behavior in Stylo should match that in Gecko. Due to Bug 868975, we
haven't supported transitioning on visited styles yet, so the test should
be put in our own repo for now. This test can be tweaked and put into
web-platform repo once we resolve Bug 868975.

MozReview-Commit-ID: Ci1cERXkIUK

--HG--
extra : rebase_source : 7feb1229bc2dc430bc2a1e40be40047049469fbd
2017-07-28 16:52:53 +08:00
Xidorn Quan 0215b2d4e7 Bug 1385147 followup - Mark mozilla::dom::OwningNodeOrString_Value opaque.
MozReview-Commit-ID: 3yft0P0TMD3
2017-07-30 19:40:13 +10:00
Sebastian Hengst bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Xidorn Quan 168e6ca204 Bug 1385529 - Remove Gecko_GetMediaFeatures and access nsMediaFeatures::features directly. r=emilio
MozReview-Commit-ID: IbTikEgabXA

--HG--
extra : rebase_source : 3ea81bad872f675be14862f627f174912e0c79ac
2017-07-29 15:21:36 +10:00
Boris Zbarsky 4bac5a04f9 Bug 1324619 part 4. Add a Servo API for reparenting a given style. r=emilio
MozReview-Commit-ID: 2rqnMjMQKlJ

--HG--
extra : rebase_source : 4e146f8aa6a04d7193c8f54ea7acd42ce0e852b6
2017-07-28 21:20:41 -04:00
Boris Zbarsky a5f876dcd4 Bug 1324619 part 3. Implement ReparentStyleContext in ServoRestyleManager, for ::first-line use. r=emilio
This doesn't actually implement style context reparenting in the style set yet; that part is next.

There is one behavior difference being introduced here compared to Gecko: we
don't reparent the first block piece of an {ib} (block-inside-inline) split
whose first inline piece is being reparented.  This is actually a correctness
fix.  In this testcase:

  <style>
    #target { color: green; }
    #target::first-line { color: red; }
  </style>
  <div id="target">
    <span>
      <div>This should be green</div>
    </span>
  </div>

Gecko makes the text red, while every other browser makes it green.

We're preserving Gecko's behavior for out-of-flows in first-line so far, but
arguably it's wrong per spec and doesn't match other browsers either.  We can
look into changing it later.

MozReview-Commit-ID: 5eC6G449Mlh

--HG--
extra : rebase_source : 8c333a0afe96c68a4e3b6aeca1b742ef8d5edd3b
2017-07-28 21:11:18 -04:00
Xidorn Quan 2f534aa9d7 Bug 1381690 - Have check_allowed_in read gPropertyEabled table directly. r=manishearth
MozReview-Commit-ID: 5pwnEqxqVi6

--HG--
extra : rebase_source : 78c6702fe3260c4ac8720fbaca1de19f9b9c0b8c
2017-07-18 10:11:40 +10:00
Nazım Can Altınova f29f9f515a Bug 1385137 - Remove redundant `test_font_feature_values_parsing.html` mochitest r=xidorn
MozReview-Commit-ID: GYIcaRK8uI5

--HG--
extra : rebase_source : ba4108f0632682c7bea852f270da52a1515aca87
2017-07-27 17:33:27 -07:00
Wes Kocher 316fd8283a Merge m-c to inbound, a=merge
MozReview-Commit-ID: KcxntLtRalL

--HG--
rename : taskcluster/actions/__init__.py => taskcluster/taskgraph/actions/__init__.py
rename : taskcluster/actions/add-new-jobs.py => taskcluster/taskgraph/actions/add-new-jobs.py
rename : taskcluster/actions/registry.py => taskcluster/taskgraph/actions/registry.py
rename : taskcluster/actions/retrigger.py => taskcluster/taskgraph/actions/retrigger.py
rename : taskcluster/actions/run_missing_tests.py => taskcluster/taskgraph/actions/run_missing_tests.py
rename : taskcluster/actions/test-retrigger-action.py => taskcluster/taskgraph/actions/test-retrigger-action.py
rename : taskcluster/actions/util.py => taskcluster/taskgraph/actions/util.py
2017-07-28 17:54:59 -07:00
Bill McCloskey c6c1f4bbc9 Bug 1385413 - Remove thread parameter from onDispatchedEvent (r=erahm)
This parameter isn't used by any implementation of onDispatchedEvent,
and keeping the parameter makes later refactorings in this bug more difficult.

MozReview-Commit-ID: 90VY2vYtwCW
2017-07-28 13:09:06 -07:00
Botond Ballo 90d0b0ff5a Bug 1384719 - Fix -Wnull-conversion warning in nsStyleContext::CalcStyleDifference(). r=heycam
MozReview-Commit-ID: FBYcQ2fbIFo

--HG--
extra : rebase_source : 7ef60d0fd895eb1604aa11b1c41f7b21586d637d
2017-07-26 16:53:25 -04:00
Carsten "Tomcat" Book 740c6ff791 Merge mozilla-central to autoland 2017-07-28 15:27:47 +02:00
Carsten "Tomcat" Book 892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Xidorn Quan be0b7f4c78 Bug 1385147 - Upgrade to bindgen 0.29. r=heycam
MozReview-Commit-ID: 6ceRryUBccH

--HG--
extra : rebase_source : ead13dd2093be1b48347c0aa95d97a57bca0c1ba
2017-07-28 11:40:58 +10:00
Cameron McCormack 8939798d4b Bug 1384625 - Crash in ServoComputedValues::GetStyleVariables, which should never need to be called. r=emilio
MozReview-Commit-ID: 4HYNGMPMhsH

--HG--
extra : rebase_source : 103e892149986f23d29553700a6622eaf27012fd
2017-07-27 17:33:29 +08:00
Bobby Holley ab415510c2 Bug 1384769 - Break TraversalFlags::ForReconstruct down into several independent pieces. r=emilio
These will be useful in followup work.

MozReview-Commit-ID: Dyp9R0PG36v
2017-07-27 17:49:44 -07:00
Bobby Holley f3de753524 Bug 1384769 - Get rid of the ForNewlyBoundElement mode. r=emilio
MozReview-Commit-ID: 1IRn2iaPnVc
2017-07-27 17:49:42 -07:00
Bobby Holley 07295b450f Bug 1384769 - Clean up ForThrottledAnimationFlush stuff. r=hiro
MozReview-Commit-ID: I6xeHv65nH2
2017-07-27 17:49:40 -07:00
Bobby Holley 12955e0dde Bug 1384769 - Pass TraversalFlags from C++ into Rust. r=emilio
MozReview-Commit-ID: EVUzgnL5coN
2017-07-27 17:49:38 -07:00
Emilio Cobos Álvarez a00dadfa35 Bug 1381083: Test. r=heycam
MozReview-Commit-ID: E99v62sXKtX

--HG--
extra : rebase_source : a913699ef166422bbc01870928fdf938c115343f
2017-07-27 00:57:02 +02:00
Emilio Cobos Álvarez dab0b01fe4 Bug 1381083: Don't hold the style context if we had a frame and re-resolved the style. r=heycam
Otherwise we risk losing track of the frame if we hit the cache.

MozReview-Commit-ID: ByHGhcBwIfX

--HG--
extra : rebase_source : 4534efa9ef02f4d7f59a33b55c50d9d372ad08a8
2017-07-27 00:45:29 +02:00
Emilio Cobos Álvarez 104705ee7a Bug 1381083: Preliminary alignment and whitespace fixup. r=heycam
MozReview-Commit-ID: 9V7pqVMOAqo

--HG--
extra : rebase_source : fb2b44ebfdfdf7a888482b2cfca09b63e02c8b8c
2017-07-27 00:28:52 +02:00
Nazım Can Altınova f936b4119f Bug 1341802 - stylo: Enable the forgotten disabled grid test r=me
MozReview-Commit-ID: 6ZrPuFigxGL
2017-07-27 17:04:03 -07:00
Nazım Can Altınova a576d2cda3 Bug 1365900 - stylo: Update test expectations for @font-feature-values r=me
--HG--
extra : amend_source : 248022ea0403b5fcfe01bf3f2fba60f33a1b76e3
2017-07-27 16:53:38 -07:00
Nazım Can Altınova ffc264cb6b Bug 1365900 - Create ServoFontFeatureValuesRule and bind servo data r=xidorn
Add ServoFontFeatureValuesRule for CSSOM representation of
@font-feature-values rule and wire up with bindings.

MozReview-Commit-ID: B4Lpj43bvKX

--HG--
extra : rebase_source : 6508027f88ff76784ed7d0e5420d6e174f116b38
2017-07-25 18:30:15 -07:00
Wes Kocher 7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
Nazım Can Altınova 0598921a5f Bug 1365900 - Extract CSSFontFeatureValuesRule base class r=xidorn
Extract CSSFontFeatureValuesRule from nsCSSFontFeatureValuesRule
class. This is necessary because we will create a FontFeatureValues
rule for Servo side.

MozReview-Commit-ID: GKy5wa6JLv9

--HG--
extra : rebase_source : 015f13da9a776c4ece8aa13655395afbb347b870
2017-07-24 16:12:57 -07:00
Daniel Holbert ef93dc671b Bug 1228789: add this bug's testcase as a crashtest. (no review, test-only)
This bug report became semi-obsolete after the assertion it triggered was
removed (as part of CSSUnprefixingService being replaced with native code).
I'm adding its testcase as a crashtest for good measure & for
regression-testing.

MozReview-Commit-ID: GhsoI8UHqI8
2017-07-27 11:54:49 -07:00
Julian Seward 408d24da56 Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
This patch replaces four functions of the name AssignWithConversion which
are essentially wrappers around CopyASCIItoUTF16 and LossyCopyUTF16toASCII
with direct calls to the latter two functions.  The replaced functions are:

  void nsCString::AssignWithConversion( const nsAString& aData )
  void nsString::AssignWithConversion( const nsACString& aData )

  void nsTString_CharT::AssignWithConversion(
                            const incompatible_char_type* aData,
                            int32_t aLength = -1);

The last of the three exists inside the double-included nsTString* world and
so describes two functions, giving four in total.

This has two advantages:

* it removes code

* at the call points, it makes clear (from the replacement name) which
  conversion is being carried out.  The generic name "AssignWithConversion"
  doesn't make that obvious -- one had to infer it from the types.

The patch also removes two commented out lines from
editor/composer/nsComposerCommands.cpp, that appear to be related.  They are
at top level, where they would never have compiled.  They look like
leftovers from some previous change.

--HG--
extra : rebase_source : fb47bf450771c3c9ee3341dd14520f5da69ec4f5
2017-07-24 19:23:52 +02:00
J. Ryan Stinnett c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Emilio Cobos Álvarez fe9f212268 Bug 1383981: Similar crashtest for sibling combinators. r=heycam
MozReview-Commit-ID: 3Z6YD8evbOs

--HG--
extra : rebase_source : 0c7d042674ac0459de5bb9c1964eaec6a387aec4
2017-07-25 11:23:11 +02:00
Emilio Cobos Álvarez 8124db36f5 Bug 1383981: Crashtest. r=heycam
MozReview-Commit-ID: 3ZVHoRIDb0M

--HG--
extra : rebase_source : 3f2fd32d64e3ed85a5039cb835dc5e9a1977e298
2017-07-25 09:51:16 +02:00
Carsten "Tomcat" Book c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Emilio Cobos Álvarez 5e93182540 Bug 1384868: Simplify a bit RuleNodeCacheConditions. r=heycam
MozReview-Commit-ID: 62ac5XCGLVQ

--HG--
extra : rebase_source : dd309d4383cb3637ab7b16d2054c535d7daafbaa
2017-07-27 03:07:06 +02:00
Wes Kocher ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Ehsan Akhgari 74443cf834 Bug 1384222 - Try to avoid dynamic allocations in TreeMatchContext::InitAncestors if possible; r=bzbarsky 2017-07-26 20:00:06 -04:00
cku 321461fb26 Bug 1301245 - Part 2. Do not resolve a style image if the given url has a fragment. r=heycam
MozReview-Commit-ID: 18LFjlWZBLl

--HG--
extra : rebase_source : afbba14c09f937340bd506859cbcc829100f9e8d
2017-07-26 11:21:30 +08:00
cku d869a580cc Bug 1301245 - Part 1. Implement nsStyleImage::IsResolved. r=heycam
We need this new API in the following patch.

MozReview-Commit-ID: JSoCgzKWrfs

--HG--
extra : rebase_source : e7da0a990b991b1c417015a9cb4f9e2b1e98faae
extra : source : 8f02c1ea8448315f9284939823d66e67cdc5ad87
2017-07-20 01:02:17 +08:00
Josh Matthews ace7bd502f Bug 1381137: Append skipped/dropped message to Stylo CSS error reports. r=heycam
MozReview-Commit-ID: GUgJneVg1oy
2017-07-26 14:55:33 +02:00
Carsten "Tomcat" Book aa090c5164 Backed out changeset c25880692555 (bug 1380259) on developers request 2017-07-26 14:28:01 +02:00
Fernando Jimenez Moreno f84de8b097 Bug 1380259 - stylo: update test expectations. r=xidorn
MozReview-Commit-ID: 3lccr7l8M29

--HG--
extra : rebase_source : 8fc680b078caf79e2b4a0c559a2810a6b24815ce
2017-07-26 13:18:05 +02:00
Carsten "Tomcat" Book 198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Ryan VanderMeulen fc0b3076bb Bug 1383975 - Add crashtest. 2017-07-26 00:13:53 -04:00
Hiroyuki Ikezoe a46b077ea1 Bug 1381420 - A crash test that has an element is not restyled but has reconstruct frame damage during flushing throttled animations. r=emilio
The details element, which is a sibling of an animating element, is checked
whether the element needs to be processed in a post traversal for throttled
animation flush because the parent element has animation-only dirty bit (i.e.
the parent element is a common ancestor of the animating element and the
details element). Also at the moment of the check the details element has
reconstruct frame damage because 'open' attribute is changed. Thus in the check
the details element was not restyled but had reconstruct frame damage.

MozReview-Commit-ID: FvsyZlUjhFi

--HG--
extra : rebase_source : 80ee22e7a3092ee208ce74304c242da782f6a0f4
2017-07-26 11:50:12 +09:00
Kevin Hsieh 61cee79da1 Bug 1383925 - Remove unnecessary copy construction of default font in nsRuleNode.cpp. r=dholbert
MozReview-Commit-ID: 6awjBjmEBsM

--HG--
extra : rebase_source : af3055ea0bb480b58fcfd1a5c79dfcb59eec6d78
2017-07-24 17:56:54 -07:00
Emilio Cobos Álvarez cd3f69980b Bug 1384020: Test. r=canaltinova
MozReview-Commit-ID: JsuNmfbHgFW

--HG--
extra : rebase_source : c4a9cf2a34cb71dd6b9cfb12e2d604ba1752d9e0
2017-07-26 00:11:16 +02:00
Carsten "Tomcat" Book 0ff1ec388b Merge mozilla-central to autoland 2017-07-25 14:35:23 +02:00
Carsten "Tomcat" Book 679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Fernando Jimenez Moreno f61c37ce13 Bug 1382285 - stylo: initialize missing Servo*Rule with line and column numbers. r=xidorn
MozReview-Commit-ID: 7gNTbctHYGh

--HG--
extra : rebase_source : 3a7649155311b89809470dce0121e28a465c630d
2017-07-24 15:07:07 +02:00