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

11897 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt 0f6107d4a9 Bug 1344910, part 2 - Add a '-moz-win-accentcolortext' color keyword to color text that will be drawn over an accent color background. r=jimm
on a CLOSED TREE, because it failed to autoland before bug 1344917 landed.

MozReview-Commit-ID: 9l2NsQlewIJ
2017-06-29 18:57:46 -07:00
Jonathan Watt 33a8a677ca Bug 1344910, part 1 - Add a '-moz-win-accentcolor' color keyword to expose the Win10 accent color. r=jimm
on a CLOSED TREE, because it failed to autoland before bug 1344917 landed.

MozReview-Commit-ID: 9jMMVnnSF5h
2017-06-29 18:57:01 -07:00
Jonathan Watt 66f3169b87 Bug 1344917, part 2 - Add tests for the '-moz-windows-accent-color-applies' media query. r=heycam
MozReview-Commit-ID: 5lzVIVucvj2

--HG--
extra : rebase_source : ab2d2197ddf3528b6af212c00c8d3edb6ed1fc06
2017-06-08 15:05:37 +01:00
Jonathan Watt c9118ba223 Bug 1344917, part 1 - Add a '-moz-windows-accent-color-applies' media query. r=heycam
The '-moz-windows-accent-color-applies' media query matches when the Windows 10
accent color should be used as the background of the title bar.

MozReview-Commit-ID: GM7nZij6MhQ

--HG--
extra : rebase_source : ee8089ef876d0887e2c0d063015145d17eefa612
2017-06-08 14:49:21 +01:00
Sebastian Hengst 6ff9f4b79d Backed out changeset 5487628d6625 (bug 1348489) for Windows bustage: no 'object' file generated at mozilla/ServoBindings.h(169). r=backout on a CLOSED TREE 2017-06-29 22:25:27 +02:00
Matt Brubeck bcc57075e0 Bug 1348489 - stylo: Implement :-moz-window-inactive. r=emilio
MozReview-Commit-ID: Ga68eqQQoxN

--HG--
extra : rebase_source : c3a03b1ca900b7219ad4494bf7c458659566cc37
2017-06-28 13:09:32 -07:00
Brad Werth c1da2c2f60 Bug 1371453 Part 4: Add a test demonstrating we can handle bad URLs in import rules. r=xidorn
MozReview-Commit-ID: 60fCVwVeax6

--HG--
extra : rebase_source : de8c3aa8df3ec80a7a7d9e85864347eeaaae7ec9
2017-06-27 11:23:13 -07:00
Brad Werth 4b56b19f2c Bug 1371453 Part 3: Change CSSImportRule definition so that media is optional, since in Servo it is derived from an optional stylesheet. r=bz,heycam
MozReview-Commit-ID: Gc4igqA1H0

--HG--
extra : rebase_source : dde1568c421e36edc736a1cb4c44158d09143f8b
2017-06-27 16:25:07 -07:00
Brad Werth c5cfde3395 Bug 1371453 Part 2: Update ConstructImportRule callsites and other affected code to tolerate ServoImportRules with no attached raw sheet. r=xidorn
MozReview-Commit-ID: HOLPcRvjnq1

--HG--
extra : rebase_source : 1097bae19d1d78d35985b77c1b2b7911a33e24ca
2017-06-27 11:10:47 -07:00
Brad Werth 18d0567044 Bug 1371453 Part 1: Relax the logic ServoCSSRuleList::InsertRule to fail soft when processing an @import rule with a malformed URL. r=xidorn
MozReview-Commit-ID: Ejt3CzETGPU

--HG--
extra : rebase_source : e805e56c1f4b64082ebddb9a3d58327da6f2993f
2017-06-23 11:54:00 -07:00
Fernando Jimenez Moreno fbdfb5e7b1 Bug 1377068 - temporarily disable layout/style/test/test_variables.html. r=xidorn
--HG--
extra : rebase_source : 09e142143bf188f3ae896d3dfee2ec3db72f8b66
2017-06-29 00:41:00 +02:00
Sebastian Hengst 832110b1c2 Backed out changeset 99dfc776b001 (bug 1375555) for failing layout/style/test/test_variables.html on stylo. r=backout 2017-06-29 05:46:01 +02:00
Fernando Jimenez Moreno 24ef72b473 Bug 1375555 - Part 3: Update test expectations. r=emilio
MozReview-Commit-ID: Iv2OLcrzEgw

--HG--
extra : rebase_source : 59fd70d5d8407f96d3de67f52167371b2b6d9ecb
2017-06-28 19:25:10 -07:00
Fernando Jimenez Moreno 3d1c324f20 Bug 1375555 - Part 2: Implement indexed getter for custom property names. r=emilio
MozReview-Commit-ID: Ckc85EJcngM

--HG--
extra : rebase_source : 981549d451837a254d0bc755db2e2e69a4f1ce5a
2017-06-28 19:25:10 -07:00
Fernando Jimenez Moreno 50ad987cc6 Bug 1375555 - Part 1: Get custom props count from Servo side for nsComputedDOMStyle::GetLength. r=emilio
MozReview-Commit-ID: DYY37HGqRq0

--HG--
extra : rebase_source : a605cfbf512e095a91cdd3e2d0e6a45f1e31d558
2017-06-28 19:25:10 -07:00
Emilio Cobos Álvarez 22eedb837d Bug 1375969: Fix MightHave{State,Attribute}Dependency for XBL. r=heycam
MozReview-Commit-ID: 8I29pMHq4uf
2017-06-28 18:45:34 -07:00
Boris Chiou e291a0ea21 Bug 1375812 - Add crashtest for interpolation between interpolatematrix and none. r=birtles
MozReview-Commit-ID: 4Dg5KfyHLRB

--HG--
extra : rebase_source : 461a796a4685a8fa5ed29135a9f377f1ccd6fe54
2017-06-27 08:42:56 -07:00
Xidorn Quan 747d424555 Bug 1375944 - Increment font set generation when font-face is synchronously loaded in post-traversal. r=heycam
MozReview-Commit-ID: IJO6Uggpca4

--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/style/test/Ahem.ttf
extra : rebase_source : 0fc61d16412ff48eb50129bc614607a647293542
2017-06-28 11:14:18 -07:00
Cameron McCormack a0ce63693c Bug 1372061 - Change StyleChildrenIterator FFI functions to use placement new/delete. r=bholley
MozReview-Commit-ID: BEWvJcaJxA

--HG--
extra : rebase_source : 48b4982001a305b95a88578cb278c3c6e4beac70
2017-06-27 23:56:13 -07:00
Kartikaya Gupta 56edc85a6e Bug 1376782 - Replace gfxPoint with a typedef to PointDouble. r=jrmuizel
This also moves the WithinEpsilonOf function from gfxPoint into
PointTyped, and changes call sites that are using
gfxPoint::Transform(Matrix4x4) to use Matrix4x4::TransformPoint(Point)
instead, which should be equivalent.

MozReview-Commit-ID: 3Z0bsU41rQt

--HG--
extra : rebase_source : 390e8de546d641d324e7125a06d0b8b51a48b946
2017-06-28 11:42:23 -04:00
Matt Brubeck 8f14d009f9 Bug 1367312 - stylo: Implement :-moz-lwtheme* pseudo-classes. r=emilio
MozReview-Commit-ID: 4T6Tn1VEwXP

--HG--
extra : rebase_source : c2dd0b62757c3da5380414fa3214248b9328d38a
2017-06-28 09:04:49 -07:00
Bobby Holley 834849b377 Bug 1376655 - Move EnsureSameStructsCached to GeckoStyleContext. r=emilio 2017-06-28 10:08:37 -07:00
Bobby Holley 83be980ecc Bug 1376655 - Don't call EnsureSameStructsCached in ServoRestyleManager. r=emilio 2017-06-28 10:08:37 -07:00
Bobby Holley 5681b4713c Bug 1376655 - Use ServoStyleContext in more places. r=emilio 2017-06-28 10:08:36 -07:00
Nazım Can Altınova 90fd16c2e2 Bug 1355364 - Update test expectations for font-language-override descriptor in @font-face r=me
MozReview-Commit-ID: KMA2BkvzmW0

--HG--
extra : rebase_source : 8d1670577ecae4309211edc84f45525d11ed675b
2017-06-27 13:23:06 -07:00
Brad Werth 289d2a885e Bug 1367996 Part 1: Make ServoStyleSheet::ReparseSheet call nsDocument::StyleRuleAdded and StyleRuleRemoved methods. r=heycam
MozReview-Commit-ID: CnGqHEpkM45

--HG--
extra : rebase_source : 9e35223058b793fa5b8f423bafcebaac0fe2c5f6
2017-06-19 17:49:27 -07:00
Bobby Holley 7f8bab3fa9 Bug 1376245 - Hand the already-resolved style directly to servo when creating generated content. r=emilio,r=birtles
This avoids a lot of expensive machinery when we've already computed the style.
2017-06-27 11:39:53 -07:00
J. Ryan Stinnett 3fa0d59862 Bug 1357715 - Skip DevTools tests on Stylo that use shadow DOM. r=heycam
MozReview-Commit-ID: DXT7yDgPjCM

--HG--
extra : rebase_source : c44be4de23bf722fb9d43bddf0b69ea41ce11127
2017-06-21 12:59:06 -05:00
Brad Werth 24c2d55a31 Bug 1376295 Part 1: Allow null raw sheets in ServoStyleSheet memory calculations. r=xidorn
MozReview-Commit-ID: 2UmLRlUmOR8

--HG--
extra : rebase_source : c7a0b40c36de11b29c9912638925b780a8ce0415
2017-06-27 10:09:07 -07:00
Carsten "Tomcat" Book 9c5ccdbab2 Merge mozilla-central to autoland 2017-06-27 15:15:58 +02:00
Carsten "Tomcat" Book 4e00eff077 merge mozilla-inbound to mozilla-central a=merge 2017-06-27 10:56:41 +02:00
Boris Zbarsky c35d7eef58 Bug 1324618 part 10. Fix style resolution for pseudo-elements to actually pass through the right parent style. r=emilio
MozReview-Commit-ID: 1UVJj9l0tKi
2017-06-26 23:35:09 -07:00
Carsten "Tomcat" Book f68e06052b Backed out changeset a33ae6fa707d (bug 1324618) 2017-06-27 10:39:36 +02:00
Boris Zbarsky b02e1fa770 Bug 1324618 part 10. Fix style resolution for pseudo-elements to actually pass through the right parent style. r=emilio
MozReview-Commit-ID: 1UVJj9l0tKi

--HG--
extra : rebase_source : 9fa9d69b35f6aabd67d2e488ad6c10d6d5acd927
2017-06-26 23:35:09 -07:00
Emilio Cobos Álvarez eaa4d32db8 Bug 1373018: followup: Fix indentation in nsStyleContext::Destroy. r=whitespace-only
DONTBUILD

MozReview-Commit-ID: AHOAL9rutnu
2017-06-26 15:34:36 -07:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Masatoshi Kimura b515c9c804 Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
MozReview-Commit-ID: GF0YXDwfA14

--HG--
extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Carsten "Tomcat" Book 259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Sebastian Hengst dfc1ad2562 Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE 2017-06-25 18:30:13 +02:00
Masatoshi Kimura 2e04751921 Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
MozReview-Commit-ID: GF0YXDwfA14

--HG--
extra : rebase_source : a84ab644f52e68676b45f112ff69f868d89f6177
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Wes Kocher e02435a31e Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE
MozReview-Commit-ID: 6kBmU71j2To
2017-06-25 05:10:14 -07:00
Masatoshi Kimura 241039fd97 Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
MozReview-Commit-ID: GF0YXDwfA14

--HG--
extra : rebase_source : 09da1685795583513bf019d61c58230c2c4d298d
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Emilio Cobos Álvarez b7a3d1be4c Bug 1376077: Remove aPseudoElement argument from the StyleSet classes. r=heycam
MozReview-Commit-ID: InxDtd5Pmf3

--HG--
extra : rebase_source : 68bfc7fafb75b6b547f035e635300a202a60086d
2017-06-24 11:25:05 +02:00
Carsten "Tomcat" Book 5a772dedaa Merge mozilla-central to mozilla-inbound 2017-06-23 13:50:13 +02:00
Carsten "Tomcat" Book 03eeab2f7b Backed out changeset a7a5b2fc4f0a (bug 1357715) for causing perma failures after merged to m-c 2017-06-23 13:45:55 +02:00
Carsten "Tomcat" Book 7af37a52bd Merge mozilla-central to mozilla-inbound 2017-06-23 11:44:21 +02:00
Carsten "Tomcat" Book 5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Nicholas Nethercote 58786e1ea7 Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.

--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
Fernando Jimenez Moreno 7280a7bade Bug 1336891 - stylo: update test expectations. r=emilio
MozReview-Commit-ID: CVw9N6DgWcD

--HG--
extra : rebase_source : 28da00d54ba741407b5909a42aeedf4e37615308
2017-06-22 20:06:57 +02:00
Fernando Jimenez Moreno 8306874bfd Bug 1336891 - stylo: Implement custom property value getter. r=emilio
MozReview-Commit-ID: AfAJtNJyCSO

--HG--
extra : rebase_source : 04a5fa6f2fb7b86f67c225156d08b1bf56348ea3
2017-06-22 20:06:57 +02:00