Mats Palmgren
ee97987440
Bug 1322191 part 3 - [css-display] Tests for display:flow-root. r=dholbert
2016-12-23 19:11:04 +01:00
Xidorn Quan
47dc891b40
Bug 1311870 - Change property id of moz-prefixed properties to match their name. r=heycam
...
MozReview-Commit-ID: DkrMkzMq5qM
--HG--
extra : source : 8d502b58d6124335dcf54146306628644252dfb6
extra : amend_source : f40b0e1629e6c0fcb1c1c595d7787e18e0271924
2016-12-21 18:16:50 +11:00
Cameron McCormack
a3804057aa
Bug 1322661 - Expose (non-XBL) style sheets to devtools. r=xidorn
...
MozReview-Commit-ID: 72Lyf8Ak7Ib
2016-12-09 08:27:32 -10:00
Xidorn Quan
9be0143f3a
Bug 1307357 part 1 - Make css::Rule hold StyleSheet rather than CSSStyleSheet. r=heycam
...
MozReview-Commit-ID: JsJa4YqpCZy
--HG--
extra : source : b2ad813e35665e9bfede2753f19de3730869fc2f
2016-11-23 10:26:20 +11:00
Sebastian Hengst
b99436131d
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/inspector. r=RyanVM
...
MozReview-Commit-ID: 4eoTmdhBzjk
--HG--
extra : rebase_source : 202f3f0ee35f692c09e9b466b323ded65b1c5532
2016-11-05 11:29:20 +01:00
Cameron McCormack
6e3f0feaaa
Bug 1312331 - Build up list of applicable rules in reverse to avoid quadratic time array manipulations. r=erahm
...
MozReview-Commit-ID: HAjtxQVZo8X
2016-10-24 02:59:00 +02:00
Eric Rahm
fe17c07cae
Bug 1311191 - Part 2: Convert |inIDOMUtils.getCSSStyleRules| to |nsIArrayExtensions|. r=heycam
...
This converts |getCSSStyleRules| to return an |nsIArrayExtensions| instead of
an |nsISupportsArray|. |nIArrayExtensions| still provides the iteration
mechanisms -- |Count| and |GetElementAt| -- that add-ons expect so they should
not be affected.
MozReview-Commit-ID: ZdrFrbclX8
2016-10-24 13:24:28 -07:00
JerryShih
c6e555cb0b
Bug 1295456 - Update Gecko tests for css-color-4 color function changes. r=dholbert
...
--HG--
extra : rebase_source : 8040d61d2a7130e3014676a78f75199509abd236
extra : histedit_source : f017c1ba5e2adeb810d95aaa15fd92cf1a9ec016
2016-10-16 03:15:36 +08:00
Xidorn Quan
ea2d289c2c
Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
...
MozReview-Commit-ID: 5AXhsuvvrwe
--HG--
extra : source : 218d4c72938f74f16af22239a99fbdf0e4c621cf
2016-10-14 22:25:38 +11:00
Xidorn Quan
b3ca3d92a4
Bug 1306214 part 2 - Remove -moz-use-text-color from devtools. r=tromey
...
MozReview-Commit-ID: 9qEEvdQtHQc
--HG--
extra : rebase_source : 4ec0f6430ba522daf62fda33858c922ac6a66bd7
2016-09-29 17:45:02 +10:00
Xidorn Quan
1dc2955ab8
Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r=heycam
...
It is a preparation for later patch which moves functions from those
classes into StyleSheet. Some of the functions are better defined in
StyleSheetInlines.h.
This commit is generated by the following command:
find . \( -name '*.h' -or -name '*.cpp' \) -not -name '*StyleSheet*' -exec sed -i -b \
-e '/^#include/ s_/\(CSS\|Servo\)StyleSheet\.h_/StyleSheetInlines.h_' \
-e '1,\_^#include "mozilla/StyleSheetInlines.h"_ ! { \_^#include "mozilla/StyleSheetInlines.h"_d }' {} +
MozReview-Commit-ID: 54H5x27Pmso
--HG--
extra : source : e4fe253a8f82c3c58e5191d6af66fb0e85f2df19
2016-09-26 22:03:25 +10:00
Nicholas Nethercote
f4ec41d9b5
Bug 1297300 - Add missing checks to GetSpec() calls in layout/. r=dholbert,heycam.
...
--HG--
extra : rebase_source : b3a26866746cde4337f5ffeff94f370b2eb7da3e
2016-08-31 20:10:10 +10:00
Thomas Wisniewski
2b28c5e2a9
Bug 1069012 - Unprefix ::placeholder pseudo-element. r=bz
2016-09-07 19:38:38 -04:00
Bobby Holley
412f98cac5
Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug
...
We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
2016-08-19 14:43:53 -07:00
Jonathan Chan
9c62a2c11c
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-09 16:28:19 -07:00
Carsten "Tomcat" Book
d9e0b4c565
merge mozilla-inbound to mozilla-central a=merge
2016-08-09 15:44:51 +02:00
Yura Zenevich
7d6abb5975
Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
...
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Wes Kocher
d418284da4
Backed out 8 changesets (bug 1288626) for conflicting with bug 1291280, which merged to m-c first a=backout
...
Backed out changeset caee616ea09c (bug 1288626)
Backed out changeset eebda25d85cd (bug 1288626)
Backed out changeset 07e9cb8a46fd (bug 1288626)
Backed out changeset c5e4865819ff (bug 1288626)
Backed out changeset 74633b2735e0 (bug 1288626)
Backed out changeset 17f63bb7be11 (bug 1288626)
Backed out changeset 654556e45f5a (bug 1288626)
Backed out changeset be2c56decd65 (bug 1288626)
2016-08-08 16:19:30 -07:00
Ting-Yu Lin
3e0b364f59
Bug 1288626 Part 8 - Add shape-outside support to style system. r=heycam
...
I have to move the definition of StyleBasicShape and StyleShapeSource prior to
where nsStyleDisplay::mShapeOutside is defined since the template struct need to
be fully defined before using as a member variable.
Use SetIdent() in CreatePrimitiveValueForBasicShapeOrURL() in
nsComputedDOMStyle.cpp per bug 1288626 comment 6.
MozReview-Commit-ID: 1KZS299CFul
--HG--
extra : rebase_source : d96276a1d514e1e42e1daf6f23e6bbfcb92d3bec
2016-07-22 15:40:01 +08:00
Jeremy Chen
c9f52459aa
Bug 1289007 - part1: parse and compute initial-letter property. r=heycam
...
MozReview-Commit-ID: E0eXolZ93oJ
--HG--
extra : rebase_source : 3fc74b84a488bb495f926b420aa6c06a987e09b2
2016-07-28 15:23:36 +08:00
Ethan Lin
fb3edcd306
Bug 720531 - Part 4. Add space to border for shorthand property test. r=dbaron
2016-06-23 03:02:00 +02:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Thomas Wisniewski
051c21928e
Bug 843579 - Unprefix -moz-any-link. r=bz
...
--HG--
extra : rebase_source : d5ad8227cc118491f130e1fef01829c594cc9477
2016-07-19 23:13:13 -04:00
Nathan Froyd
150bcb573b
Bug 1278925 - micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm
...
In all of the places touched by this patch, the smart pointer we're
appending is about to become unused, so simply .forget()'ing its
reference into the appropriate nsCOMArray works just fine.
2016-06-20 18:38:10 -04:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
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
Ting-Yu Lin
82b2646797
Bug 1288626 Part 8 - Add shape-outside support to style system. r=heycam
...
I have to move the definition of FragmentOrURL, StyleBasicShape and
StyleShapeSource prior to where nsStyleDisplay::mShapeOutside is defined since
the template struct need to be fully defined before using as a member variable.
Use SetIdent() in CreatePrimitiveValueForBasicShapeOrURL() in
nsComputedDOMStyle.cpp per bug 1288626 comment 6.
MozReview-Commit-ID: 1KZS299CFul
2016-08-09 00:15:06 +08: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