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

390 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan f9e0542b4d Bug 1465628 part 1 - Use a static table for property preferences. r=emilio
MozReview-Commit-ID: 7tCdZyAlZc0

--HG--
extra : rebase_source : 80ae9bb4199efa3c7948004d329e617b1f14f154
2018-05-31 13:49:25 +10:00
Dorel Luca 6780acc0ad Backed out 4 changesets (bug 1465628) for Eslint failure. CLOSED TREE
Backed out changeset 04f276eb2f0e (bug 1465628)
Backed out changeset e9cdff122793 (bug 1465628)
Backed out changeset 6832baa28e3f (bug 1465628)
Backed out changeset e5ac0c7a9fb4 (bug 1465628)
2018-06-05 04:00:30 +03:00
Xidorn Quan 75e55a5d66 Bug 1465628 part 1 - Use a static table for property preferences. r=emilio
MozReview-Commit-ID: 7tCdZyAlZc0

--HG--
extra : rebase_source : 826eb91e0abecd02e89860b5ca6533b8b1463260
2018-05-31 13:49:25 +10:00
Xidorn Quan 8de2cba5fc Bug 1457802 part 3 - Remove unused keyword tables. r=heycam
MozReview-Commit-ID: A94JflJh368

--HG--
extra : rebase_source : 8c090b26415462a3e55ad59b7aa4b011b99ad342
2018-04-30 09:56:26 +10:00
Xidorn Quan b81d5f0707 Bug 1457802 part 1 - Remove nsCSSProps::GetColorName which is unused. r=heycam
MozReview-Commit-ID: GybpTh6GYYx

--HG--
extra : rebase_source : 76c54179522d37ebfc42cbfbc7590605c0f5ae70
2018-04-30 09:20:53 +10:00
Xidorn Quan 8f6370d1d3 Bug 1448759 part 3 - Remove kKeywordTableTable and LookupPropertyValue. r=heycam
MozReview-Commit-ID: F2EbL0hSgPX

--HG--
extra : rebase_source : 8394244ec3cf903439972d325f6976e3a02d70e1
2018-04-29 21:41:29 +10:00
Xidorn Quan f2ba299166 Bug 1448759 part 1 - Make KTableEntry an independent type. r=heycam
MozReview-Commit-ID: oZfJAigThN

--HG--
extra : rebase_source : 6a0efbf40fed8c9eaba7bb3af74d281b536677c8
2018-04-29 21:17:26 +10:00
Xidorn Quan 5efc0123ab Bug 1434130 part 15 - Remove kCSSRawPredefinedCounterStyles. r=emilio
MozReview-Commit-ID: 5aiU0VChbpY

--HG--
extra : source : 3943b16b0d0b6ba4f2bb04423daf609fd204c10e
2018-04-29 09:03:31 +10:00
Xidorn Quan f7399c7c0f Bug 1434130 part 14 - Remove nsCSSProps::kParseVariantTable. r=emilio
The parsevariant field is not removed from nsCSSPropList.h since that
file is going away soon anyway.

MozReview-Commit-ID: 3nRBQtmZRKG

--HG--
extra : source : dcb6ff9ec9f61d2ea99253cd34a9d904f89cfe17
2018-04-29 09:03:31 +10:00
Xidorn Quan 43eb5c8140 Bug 1456364 part 4 - Convert CSS_PROPERTY_* flags to a typed enum flags. r=emilio
MozReview-Commit-ID: 4mLPe5cH80N
2018-04-26 16:24:33 +02:00
Xidorn Quan 9684819902 Bug 1456364 part 2 - Remove PropertyParseType. r=emilio
MozReview-Commit-ID: 3JDLVKJAlpv
2018-04-26 16:24:31 +02:00
Andreea Pavel 87bf18c74d Backed out 4 changesets (bug 1456364) for build bustages at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/AnimationEffectReadOnlyBinding.h:35 on a CLOSED TREE
Backed out changeset 020151240bb8 (bug 1456364)
Backed out changeset bc0aa5224d91 (bug 1456364)
Backed out changeset d919bbe7440c (bug 1456364)
Backed out changeset ab1472823e8a (bug 1456364)
2018-04-26 08:27:45 +03:00
Xidorn Quan 8af84311ff Bug 1456364 part 4 - Convert CSS_PROPERTY_* flags to a typed enum flags. r=emilio
MozReview-Commit-ID: 4mLPe5cH80N

--HG--
extra : rebase_source : 25f7c909b199c7a83d5809b56afad50ab4f5167e
extra : source : acd1c316929682c4c19beda22d6ce1f1146fce8b
2018-04-26 15:00:50 +10:00
Xidorn Quan cc5438b5f8 Bug 1456364 part 2 - Remove PropertyParseType. r=emilio
MozReview-Commit-ID: 3JDLVKJAlpv

--HG--
extra : source : 29534ace671e8722c5c37cee9dfe3a9f176d6f9a
2018-04-26 15:00:50 +10:00
Xidorn Quan 8171839f2c Bug 1455576 part 4 - Remove CSS_PROPERTY_PARSE_FUNCTION and CSS_PROPERTY_VALUE_PARSER_FUNCTION flags. r=emilio
These are the only remaining flags that we don't generate from Servo
side. We can now assert flags are equal and switch kFlagsTable to use
ServoCSSPropList.h instead.

MozReview-Commit-ID: 6RhXeCf6DgK

--HG--
extra : rebase_source : 604eb046b4cc56db2e6ee2d35441000a74575368
extra : source : cdd19a8641a86d2460107e6c0f50a9d27c7bdb6c
2018-04-26 09:01:02 +10:00
Xidorn Quan 348e4616cd Bug 1448757 part 3 - Remove nsDOMWindowUtils::GetAnimationTypeForLonghand and nsStyleAnimType. r=hiro
MozReview-Commit-ID: 8KsNSaDfsbN

--HG--
extra : rebase_source : 914d158d2ab227d725cd6c3d9a9b22cfe54690b6
2018-04-20 14:38:46 +10:00
Xidorn Quan 7d88e1a5e5 Bug 1454830 part 4 - Remove CSS_PROPERTY_VALUE_LIST_USES_COMMAS flag. r=emilio
MozReview-Commit-ID: 48CxJTdtku7

--HG--
extra : rebase_source : af74c965da82557c524b3b14c0a4130fd525605a
2018-04-20 20:38:12 +10:00
Jonathan Kew 8a892c7199 Bug 1358450 - Remove the layout.css.float-logical-values.enabled pref, now that we support the logical values everywhere. r=heycam 2017-04-21 11:58:17 +01:00
Xidorn Quan 6447b04ac3 Bug 1452534 part 2 - Remove nsCSSProps::kSIDTable. r=emilio
MozReview-Commit-ID: DD7sHVmIRIv

--HG--
extra : rebase_source : 9b8a35d2d4773f62a7bfa907fae4932c22f18f53
2018-04-09 14:34:15 +10:00
Daniel Holbert 81c1d19a77 Bug 1105111 part 2: Add support for 'flex-basis:content' in the style system (gecko / getComputedStyle side). r=mats
MozReview-Commit-ID: E0crFCy7Jfk
2018-04-02 04:30:37 +02:00
Xidorn Quan f863c52da4 Bug 1449039 part 13 - Remove stylestructoffset arg from CSS_PROPs. r=emilio
MozReview-Commit-ID: B3d8z25kyVk

--HG--
extra : rebase_source : 8b570cfccc208c72fc03bc0c022ffaf9b11e1035
2018-03-27 14:09:57 +11:00
Xidorn Quan ce76e72c34 Bug 1449039 part 11 - Remove some unused functions in nsCSSProps. r=emilio
MozReview-Commit-ID: 6ielCRb3p1U

--HG--
extra : rebase_source : 906a8122084b27f1dbd92690e8d171ad81c51221
2018-03-27 12:51:51 +11:00
Xidorn Quan db2509cfaf Bug 1449039 part 10 - Remove PredefinedCounterStyleTable. r=emilio
MozReview-Commit-ID: AeYqai3Nr72

--HG--
extra : rebase_source : d648c1334e6eb93e647c2da88b6c17100c1d48b1
2018-03-27 12:51:10 +11:00
Xidorn Quan 3575d0a179 Bug 1449039 part 9 - Remove ShorthandsContainingTable. r=emilio
MozReview-Commit-ID: 8seKJRCgxiS

--HG--
extra : rebase_source : 8c9fa9b87647efd9b5579a628145e86fc7146e22
2018-03-27 12:26:45 +11:00
Xidorn Quan bf6f55d401 Bug 1449039 part 8 - Remove bunch of unused CSS_PROPERTY_* flags. r=emilio
MozReview-Commit-ID: 4POeai2hmUp

--HG--
extra : rebase_source : 07bb087cb75c884e3f70c8d5a83a58f14b256837
2018-03-27 11:56:31 +11:00
Xidorn Quan 1ba575ac1e Bug 1449039 part 7 - Remove CSS_PROPERTY_LOGICAL* flags. r=emilio
MozReview-Commit-ID: E1Uk7VRux39

--HG--
extra : rebase_source : 574310efa9a2f90e532ebea0c64cb50b5ff60135
2018-03-27 11:14:29 +11:00
Xidorn Quan 7453417d6a Bug 1449039 part 6 - Remove CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED. r=emilio
MozReview-Commit-ID: IQI2CUUsfUd

--HG--
extra : rebase_source : f280c2c936e878f9deac22133b063a2514c6d538
2018-03-27 11:09:08 +11:00
Xidorn Quan 3c6f12cb3a Bug 1449039 part 5 - Remove CSS_PROPERTY_{ABS,FIX}POS_CB constants. r=emilio
MozReview-Commit-ID: 9QZyI1EsJ6l

--HG--
extra : rebase_source : 75aa10ede53d2dd4d6014dfdf6b56b9d13b6d2a5
2018-03-27 11:05:05 +11:00
Xidorn Quan 490b7ee4f6 Bug 1449039 part 4 - Remove ValueRestrictions and its related flags. r=emilio
MozReview-Commit-ID: 6ajTBhVm8Kt

--HG--
extra : rebase_source : 81a42936594ad0d96b5e7b7b0836bd1a0b95878e
2018-03-27 10:58:05 +11:00
Xidorn Quan d94d7dcc3a Bug 1449039 part 2 - Remove LogicalGroup. r=emilio
MozReview-Commit-ID: QMMVxURx8w

--HG--
extra : rebase_source : 6017c236d3d53a91d30952e908a8d44861a8cbd6
2018-03-27 10:34:44 +11:00
Xidorn Quan 920a144435 Bug 1449039 part 1 - Remove Property{Count,Index}InStruct. r=emilio
MozReview-Commit-ID: Dw1Tx7ZJQXV

--HG--
extra : rebase_source : 974cb01fccb7b37d7693638edbe91461fb76b26c
2018-03-27 09:51:05 +11:00
Emilio Cobos Álvarez 0bd82de3a9 Bug 1448661: Remove unused CSS_PROPERTY_IS_ALIAS flag. r=jwatt
MozReview-Commit-ID: 10B4pi2Zwsx
2018-03-25 18:24:01 +02:00
Nicholas Nethercote 6b81d0b99f Bug 1436911 - Avoid the early/late prefs split. r=glandium
All prefs that need to be sent to a new content process are now put into the
shared memory segment, and they are identified by the pref name instead of an
index into a list. The old IPC used at process startup (in XPCOMInitData) is
removed.

Benefits:

- It removes the need for the early prefs list
  (dom/ipc/ContentProcesses.{h,cpp}) and the associated checking, which is ugly
  and often trips people up (e.g. bug 1432979, bug 1439406).

- Using prefnames instead of indices fixes some fragility (fixing bug 1419432).

- It fixes the problem of early prefs being installed as unlocked default
  values even if they are locked and/or have user values.

MozReview-Commit-ID: FRIzHF8Tjd
2018-03-08 15:47:24 +11:00
Daniel Holbert 296a409c95 Bug 1444481 part 3: #include nsStringFwd.h rather than nsString.h in some layout/style headers. r=xidorn
These files only use references to string types, e.g. "nsAString&", so they
only need forward-declarations of these types -- not the full definition.

Note that the last file here (nsStyleUtil.h) already has an #include for
nsStringFwd.h, which is why that files change is just a pure removal (of the
unnecessary nsString.h #include).

MozReview-Commit-ID: 9sLSyeBS49M

--HG--
extra : rebase_source : 683a2c621f7b7cae754f129effabd9defe7ba665
2018-03-09 11:55:12 -08:00
Jonathan Kew e1e7553c5f Bug 1435692 - patch 2 - Implement the font-optical-sizing property in the Gecko style system, to control whether optical size is automatically applied. r=jwatt
MozReview-Commit-ID: ClcWeX6Hsvm
2018-03-03 22:12:11 +01:00
Brad Werth 2a3479abd5 Bug 1418930 Part 4: Define a CSS property flag to accompany the image preload flag -- to also use anonymous CORS. r=emilio
MozReview-Commit-ID: 9iQgT3g1m9J

--HG--
extra : rebase_source : 91ae18a5064c57a8e958fc1f9bbe85c7c62a37a0
2018-01-25 14:56:39 -08:00
Tom Tromey 3b8e63c66a Bug 1255369 - fix getCSSValuesForProperty for line-style-type; r=xidorn
This fixes InspectorUtils::getCSSValuesForProperty to return the
correct values for line-style-type.

MozReview-Commit-ID: 72Tes6y15j8

--HG--
extra : rebase_source : fa893f59cafc433f554353cf42d0f9495cdd5b23
2018-01-31 08:50:27 -07:00
Tom Tromey eb7d822b0c Bug 1430616 - correctly find end of keyword table in InspectorUtils; r=heycam
Currently, InspectorUtils::GetCSSValuesForProperty will not return
"match-parent" for "text-align".  The bug is that InspectorUtils uses
an out-of-date approach to finding the end of the keyword table; and
this approach conflicts with the special "unsafe" handling in
TextAlignUnsafeEnabledPrefChangeCallback:

https://dxr.mozilla.org/mozilla-central/rev/21ddfb9e6cc008e47da89db50e22697dc7b38635/layout/base/nsLayoutUtils.cpp#317-321

MozReview-Commit-ID: 58qfKQwIyMX

--HG--
extra : rebase_source : 022a8c970c121cbe76533a29d0439a64ead63085
2018-01-15 09:14:55 -07:00
Nicholas Nethercote 3da37cfebe Bug 1421541 - Overhaul the prefs phase code. r=glandium
This code is used to detect too-early accesses of prefs in content processes.

The patch makes the following changes.

- New terminology: "early" prefs are those sent via the command line; "late"
  prefs are those sent via IPC. Previously the former were "init" prefs and the
  latter didn't have a clear name.

- The phase tracking and checking is now almost completely encapsulated within
  Preferences.cpp. The only exposure to outside code is via the
  AreAllPrefsSetInContentProcess() method, which has a single use.

- The number of states tracked drops from 5 to 3. There's no need to track the
  beginning of the pref-setting operations, because we only need to know if
  they've finished. (This also avoids the weirdness where we could transition
  from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs,
  -boolPrefs and -stringPrefs were parsed separately.)

MozReview-Commit-ID: IVJWiDxdsDV

--HG--
extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1
2017-11-30 09:14:32 +11:00
Cameron McCormack 8839daefd6 Bug 1420383 - Move nsCSSProps::kParserVariantTable into its rightful home in nsCSSProps.cpp. r=xidorn
MozReview-Commit-ID: 7Rg3EYq5GPQ

--HG--
extra : rebase_source : a3bb2bc6fa9f04c72104dc942316f14fd83ed636
2017-11-24 18:17:36 +08:00
Botond Ballo 978ae3283a Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p
2017-11-25 01:28:58 +01:00
Sebastian Hengst 6d4637aebb Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo 3ff3395934 Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p

--HG--
extra : rebase_source : d70820f9612174ffc8f17f1a2646dc65f46667df
2017-11-22 19:01:11 -05:00
Daniel Holbert 680815cd6e Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: EuRsDue63tK

--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07: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
Sylvestre Ledru 4e9cf83ee8 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG

--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Nicholas Nethercote fe9268c4cd Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
All the instances are converted as follows.

- nsAFlatString  --> nsString
- nsAFlatCString --> nsCString

--HG--
extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
2017-06-20 19:19:05 +10:00
Mats Palmgren 297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book 00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Mats Palmgren e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00