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

613 Коммитов

Автор SHA1 Сообщение Дата
Ethan Lin 7aeecfdaf5 Bug 548372 - Part4. Add space/round for shorthand property test. r=heycam 2016-05-22 18:54:00 +02:00
Daniel Holbert 9a78c49077 Bug 1274096 part 2: Add support for "-webkit-flex" & "-webkit-inline-flex" as spellings of modern flexbox "display" keywords, if webkit prefix support is enabled. r=mats
MozReview-Commit-ID: 3UKsC1qTz1B
2016-05-23 21:42:36 -07:00
Nathan Froyd 21a2c67fd3 Bug 1272397 - use AppendElements in GetColorsForProperty; r=tromey
Creating an array of exactly the size that we need is faster than
possibly going through several rounds of reallocation and copying.
2016-05-19 21:48:59 -04:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Xidorn Quan f355ff0241 Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
MozReview-Commit-ID: K3uFwojy6FZ

--HG--
extra : rebase_source : b4a671f8d97b1d11696c375d9af790ea27ccf0ca
extra : source : d458585bd00bbe6a503bfb0f1072c632b8f0e26f
2016-05-10 18:44:05 +10:00
Xidorn Quan 6a72181520 Bug 1269975 part 4 - Make nsCSSPseudoClasses::GetPseudoType() take CSSEnabledState rather than two bool params. r=heycam
MozReview-Commit-ID: Xh50g9hsH9

--HG--
extra : rebase_source : 7d1a2b5259f8c041c08536293f49b73071b428d7
extra : source : 4d400db27c134019063306fe5b5ef7d02c275af0
2016-05-10 18:44:05 +10:00
Xidorn Quan fa7ba2cb82 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI

--HG--
extra : rebase_source : 3c8355f7807982152a16a913b31cbcdd6ef78030
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 18:44:05 +10:00
Ryan VanderMeulen f514ed495c Backed out 4 changesets (bug 1269975) for bustage.
Backed out changeset a55ecedea260 (bug 1269975)
Backed out changeset 5321545b938c (bug 1269975)
Backed out changeset 7e4a2ee61ef3 (bug 1269975)
Backed out changeset d181f8e7e4c3 (bug 1269975)
2016-05-10 00:08:54 -04:00
Ryan VanderMeulen 937594f842 Backed out changesets 4e949692600a and 6f7ecae8e663 (bug 1269976) for bustage. 2016-05-09 23:58:49 -04:00
Xidorn Quan 05db7e1bc8 Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
MozReview-Commit-ID: K3uFwojy6FZ

--HG--
extra : source : 9828f687af13af0d4e220ea440692b29cf14dcd0
2016-05-10 13:36:25 +10:00
Xidorn Quan 438b9dea89 Bug 1269975 part 4 - Make nsCSSPseudoClasses::GetPseudoType() take CSSEnabledState rather than two bool params. r=heycam
MozReview-Commit-ID: Xh50g9hsH9

--HG--
extra : source : 5455ce61582ef7c98a24f587a9212113487db984
2016-05-10 13:36:25 +10:00
Xidorn Quan 30a6d76b26 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI

--HG--
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 13:36:25 +10:00
Xidorn Quan 89008c7833 Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam
MozReview-Commit-ID: 6D3UPQGrS71

--HG--
extra : rebase_source : e059616e5ec853c17614d119d58d3aeb5cb6c7af
2016-05-04 15:09:36 +10:00
Nicholas Nethercote 2ae68d12e9 Bug 1268772 (part 4) - Use MOZ_MUST_USE with NS_NewISupportsArray(). r=erahm.
A few callers of NS_NewISupportsArray() didn't use the return value to detect
failure, but instead checked if the |array| argument was null after the call.
This is inconsistent with the majority of the calls to NS_NewISupportsArray().
This patch changes them to be checked in the normal way.

--HG--
extra : rebase_source : bf91836d7c3b159833c303a3716f4d9366f8b76a
2016-05-02 09:06:47 +10:00
Boris Chiou 41989567c2 Bug 1250820 - Part 4: Add MAX to CSSPseudoClassType. r=heycam
Just like CSSPseudoElementType, which uses a special type to represent the
maximum length. We can replace "CSSPseudoClassType::NotPseudo + 1" with
"CSSPseudoClassType::MAX", which means the maximum length.

MozReview-Commit-ID: 4xH0avpWPqX

--HG--
extra : rebase_source : bc8b6a5bb5a84782dea891054b8ea4c5d7ea3db8
2016-04-22 22:18:21 +08:00
Boris Chiou 66ed914313 Bug 1250820 - Part 2: Replace nsCSSPseudoClasses::Type with CSSPseudoClassType. r=heycam
MozReview-Commit-ID: 6w4SoaS7gRi

--HG--
extra : rebase_source : 6e3c05aedf910616def9f9f43fc0e135a2d84359
2016-04-22 21:38:46 +08:00
Boris Chiou 0fda46ccb4 Bug 1250820 - Part 1: Define scoped enum for CSSPseudoClass::Type. r=heycam
MozReview-Commit-ID: 6RHot1LaUOs

--HG--
extra : rebase_source : 8ad8ffa344091eb0bda6be7986de676be9f7f3ba
2016-04-22 20:40:45 +08:00
Markus Stange d2f8263023 Bug 550426 - In PropertySupportsVariant, add {background,mask}-position-{x,y} to the list of properties that are parsed by functions. r=dbaron
MozReview-Commit-ID: 8PFNIic38f5

--HG--
extra : rebase_source : 714de85d166e727a9f004c3321ae0c4352565d82
2016-04-21 20:22:46 -04:00
Wes Kocher 6521757101 Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)

MozReview-Commit-ID: AlUihrLtlhL

--HG--
rename : layout/reftests/backgrounds/background-position-6b.html => layout/reftests/backgrounds/background-position-6.html
2016-04-29 14:47:43 -07:00
Markus Stange 5f2e22aaf2 Bug 550426 - In PropertySupportsVariant, add {background,mask}-position-{x,y} to the list of properties that are parsed by functions. r=dbaron
MozReview-Commit-ID: 8PFNIic38f5
***

--HG--
extra : rebase_source : 916519d7d6f603bb10721e01c9cc061976bc033e
2016-04-21 20:22:46 -04:00
Mats Palmgren 784d6b392f Bug 1266250 part 1 - [css-grid] Resurrect the 'grid-template' shorthand (backs out bug 1253529). r=dholbert 2016-04-21 16:18:34 +02:00
Jonathan Kew 28a9e2cf14 Bug 1265452 - Remove use of nsAutoPtr from gfx/thebes. r=jrmuizel 2016-04-15 20:45:37 +01:00
CJKu 1cbaa6fc28 Bug 759568 - Part 4. mochitest for background-clip:text; r=heycom
MozReview-Commit-ID: 8DrBq8nNWfu
2016-04-14 16:28:07 +08:00
Carsten "Tomcat" Book fb0c59ae9f Backed out changeset 2d26ad2b9a09 (bug 759568) 2016-04-14 08:57:38 +02:00
CJKu 8866c08be5 Bug 759568 - Part 4. mochitest for background-clip:text; r=heycom
MozReview-Commit-ID: 8DrBq8nNWfu
2016-04-14 12:45:38 +08:00
Sebastian Hengst 23c878d44a Backed out changeset 82179839a88c (bug 759568) 2016-04-12 17:55:28 +02:00
CJKu 02dad989ae Bug 759568 - Part 4. mochitest for background-clip:text; r=heycom
MozReview-Commit-ID: 8DrBq8nNWfu
2016-04-12 21:58:23 +08:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Gabor Krizsanits 696b23001a Bug 1247420 - part1: removeContentState. r=smaug 2016-03-30 11:54:27 +02:00
Daniel Holbert 2b7c7ca3d2 Bug 1236400 part 3: If webkit prefix support is enabled, skip CSS Parser code that converts "display: -webkit-box" directly to "display: flex". r=mats
This makes "display: -webkit-box" & "display: -webkit-inline-box" into bona
fide "display" values (instead of just aliases), when webkit prefix support is
enabled, and allows us to actually exercise the code added in the earlier
patches on this bug. (Note that when webkit prefix support is *disabled*, our
CSS Unprefixing Service strategy will instead have an opportunity to take
effect, for whitelisted sites, and it'll continue to convert "-webkit-box" to
"flex".)

MozReview-Commit-ID: BV93xs4ddbK
2016-03-24 09:55:11 -07:00
Mats Palmgren 0524303c83 Bug 1253529 part 2 - [css-grid] Remove the 'grid-template' shorthand. r=dholbert 2016-03-08 23:03:26 +01:00
Xidorn Quan b3ea3fa801 Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Carsten "Tomcat" Book b9f86983b1 Backed out changeset bf004c055beb (bug 1251995) 2016-03-07 12:18:19 +01:00
Xidorn Quan 8e3206382b Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : rebase_source : 29961e56b5fe14b244046b3dc52b1f922c206218
2016-02-29 16:50:17 +08:00
CJKu 27044084c1 Bug 1243734 - Part 1. Use MOZ_ENABLE_MASK_AS_SHORTHAND to define the type of mask property; r=dbaron
MozReview-Commit-ID: FkPgdh8YHOC
2016-03-01 19:52:17 +08:00
Cameron McCormack 0ecd5593cc Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack 7c95c39734 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Boris Chiou 5c37ed6ba0 Bug 1244049 - Part 4: Define CSSPseudoElementTypeBase. r=dbaron
In order to convert CSSPseudoElementType into its underlying type easier,
we define CSSPseudoElementTypeBase. However, keep using uint8_t directly for
forward declarations.
2016-02-18 19:18:00 +01:00
Boris Chiou e436478f26 Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
Also, try to use forward declaraions for CSSPseudoElementType;

--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou 185a769719 Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Tom Schuster 56a861125f Bug 989426 - Use new Proxy instead of Proxy.create in SpecialPowers. r=bholley 2016-01-28 19:38:50 +01:00
CJKu 577578571f Bug 686281 - Implement CSS mask style; r=dbaron. 2016-01-28 06:28:00 +01:00
Xidorn Quan ee035ed239 Bug 1064843 part 7 - Add backdrop pseudo-element and add related UA stylesheet. r=heycam
--HG--
extra : source : 79eadc4133fe81da5e01d9abbd0c5b1f95ae8d19
2016-01-28 10:11:00 +11:00
Tom Tromey 98339c1437 Bug 1224121 - change getRelativeRuleLine to return 0 for line-less rules; r=heycam 2015-12-03 08:55:13 -07:00
Tom Tromey 718d4cfd73 Bug 1216234 - add inIDOMUtils.getCSSPseudoElementNames; r=heycam,pbrosset 2015-12-01 09:52:09 -07:00
L. David Baron 96383fc767 Bug 1224464 patch 3 - Rename KTableValue to KTableEntry now that it is a struct. r=heycam
--HG--
extra : commitid : B2iM8wFeMUs
2015-11-19 18:09:07 -08:00