Benoit Girard
d4f516d8fd
Bug 940842 - 1/3 - Add will-change CSS property - r=dbaron
...
The current spec draft is at:
http://tabatkins.github.io/specs/css-will-change/
This CSS property is disabled by default and can be enabled by toggling:
layout.css.will-change.enabled
2013-11-22 11:48:27 -05:00
Nick Lebedev
2f872fc62f
Bug 795567 - Part 1: Add touch-action css property to the style system. r=dbaron
2014-01-15 10:03:15 -05:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cameron McCormack
f3062c8e72
Bug 731271 - Part 6: Add a chrome-only CSSDeclaration.getAuthoredPropertyValue() method to expose a property value in its original syntactic form. r=dbaron
2013-09-16 09:35:49 +10:00
Cameron McCormack
f3ddc94342
Bug 773296 - Part 22: Expose variables through the nsComputedDOMStyle indexed getter. r=dbaron
...
This exposes the names of the custom properties on a computed style
object through its indexed property getter, just after all of the
built-in properties.
2013-12-12 13:09:45 +11:00
Cameron McCormack
968ba7d675
Bug 773296 - Part 21: Factor out style context getting from nsComputedDOMStyle::GetCSSPropertyValue. r=dbaron
...
This just factors out some code from
nsComputedDOMStyle::GetCSSPropertyValue into a
UpdateCurrentStyleSources and ClearCurrentStyleSources function.
These will will be needed in nsComputedDOMStyle::IndexGetter so that it
can have up to date information on how many custom properties there are
on the node.
2013-12-12 13:09:45 +11:00
Cameron McCormack
ce5cb809d8
Bug 773296 - Part 20: Return variables from getComputedStyle().get{,CSS}Property(). r=dbaron
2013-12-12 13:09:45 +11:00
Cameron McCormack
2d29cdbe6b
Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
...
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList. We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value. When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Adam Casey
b843f2fd12
Bug 874919 - Added a check to DoGetWidth/Height so the width/height properties of getComputedStyle now return correct values on inline SVG elements. r=bz
2013-12-11 14:13:48 -05:00
Ehsan Akhgari
3e65edba24
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Birunthan Mohanathas
88a0348924
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
2013-12-08 21:52:54 -05:00
Daniel Holbert
6fbceece67
Bug 702508 part 2: Support parsing/computing the CSS property "align-content". r=dbaron
2013-12-05 10:57:50 -08:00
Daniel Holbert
a974ea93a6
Bug 702508 part 1: Support parsing/computing the CSS property "flex-wrap". r=dbaron
2013-12-05 10:57:50 -08:00
Cameron McCormack
f7f2c264fe
Bug 945517 - Make nsIFrame::GetPseudoElementContent return Element* instead of nsIContent*. r=bz
2013-12-03 15:49:03 +11:00
Cameron McCormack
7f26a46040
Bug 944246 - Make getComputedStyle pass in anonymous content when resolving pseudo-element style. r=bz
2013-12-03 10:57:50 +11:00
Cameron McCormack
608e0523a1
Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz
2013-11-28 17:46:38 +11:00
Jonathan Watt
efa97e6ac0
Bug 926546 - Modify assertion in nsComputedDOMStyle::GetPropertyCSSValue to mention the pseudo-element concerned to aid debugging. r=dbaron
2013-11-06 10:05:18 +00:00
John Daggett
47a07a73e1
Bug 913264 - add none value to font-variant-ligatures. r=dbaron
2013-11-19 13:30:25 +09:00
Arnaud Bienner
bbbb95894a
Bug 938334 - Use "Type" as parameter in nsCSSPseudoElements methods instead of "nsIAtom*" when it makes sense to do so. r=dbaron
2013-11-17 19:33:56 +01:00
Horia Iosif Olaru
891808d1fd
Bug 841601 - Add background-blend-mode to the style parsing mechanism. r=heycam
2013-11-08 10:07:36 -05:00
Ed Morley
587c760333
Backed out changeset 0f3b26ada540 (bug 926546) for build failures on Windows CLOSED TREE
2013-11-06 11:38:58 +00:00
Jonathan Watt
190e09c89c
Bug 926546 - Modify assertion in nsComputedDOMStyle::GetPropertyCSSValue to mention the pseudo-element concerned to aid debugging. r=dbaron
2013-11-06 10:05:18 +00:00
Mats Palmgren
a4f3b417e7
Bug 929991 - Style system implementation of 'text-align: true X'. r=heycam
2013-10-27 20:56:32 +00:00
Olli Pettay
0213aec16d
Bug 915210. r=bz
2013-10-14 15:11:47 -04:00
Birunthan Mohanathas
e30d39fc7a
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
2013-10-08 14:47:21 -04:00
Cameron McCormack
f60cff84ed
Bug 919594 - Part 2: Encapsulate the computed style map and make it take disabled properties into account. r=bzbarsky
2013-10-03 20:58:01 +10:00
Cameron McCormack
5c4c586143
Bug 919594 - Part 1: Move computed style map entries to a preprocessor included file. r=bzbarsky
2013-10-03 20:58:01 +10:00
Birunthan Mohanathas
b79cfc7aab
Bug 264517 - Move the _LAYOUT variant of COMPUTED_STYLE_MAP_ENTRY into a property bit. r=dbaron
2013-09-23 09:28:55 -04:00
Ehsan Akhgari
30faed685a
Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc
2013-09-23 07:55:35 -04:00
Ehsan Akhgari
1089e71462
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
Jonathan Kew
b5e7a836ba
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Ryan VanderMeulen
442d2f8435
Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures.
2013-09-13 11:15:54 -04:00
Jonathan Kew
8cc7cd2503
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Corey Ford
bf6744fcef
Bug 886646 - Part 3: Compute sticky positioning offsets for getComputedStyle(). r=heycam
2013-08-15 17:31:32 -07:00
Seth Fowler
2479b470ee
Bug 825771 (Part 1) - Add CSS support for the image-orientation property. r=dbaron
2013-08-28 15:39:06 -07:00
Ms2ger
1e4c7f3a26
Bug 905751 - Don't include binding headers in ns{I,DOM}CSSDeclaration.h; r=roc
2013-08-22 08:29:57 +02:00
John Daggett
5ec5a6102b
Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert
2013-08-19 19:26:44 +09:00
Masayuki Nakano
90fdab154e
Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron
2013-08-06 23:02:34 +09:00
Ms2ger
112d8c8556
Backout changeset f2ac3d57b445 for insufficient review.
2013-08-08 19:37:47 +02:00
Masayuki Nakano
c3e406d353
Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron
2013-08-06 23:02:34 +09:00
Rik Cabanier
7bc10fca33
Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam
2013-08-07 16:59:10 +09:00
Max Vujovic
1d2e259a7a
Bug 898175 - Refactor filter parsing to use a keyword lookup table for filter function names. r=dbaron
2013-08-06 17:53:30 +10:00
Dirk Schulze
bbc72d1bf8
Bug 898361 - Implement parsing for drop-shadow. r=heycam
2013-08-05 17:02:27 +10:00
Ms2ger
c00021fbd7
Backout changeset a58abd7408bf for mochitest and crashtest crashes.
2013-08-04 12:21:17 +02:00
Dirk Schulze
107bc8834d
Bug 898361 - Implement drop-shadow parsing for the filter property. r=heycam
2013-08-04 18:58:28 +10:00
Ehsan Akhgari
1ab9c7bcb4
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
2013-07-18 13:59:53 -04:00
John Daggett
f053dd9872
Bug 857142 - change name and switch to grayscale value. r=dbaron
2013-07-30 05:01:14 +09:00
John Daggett
b65b9b17a1
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Dirk Schulze
6e6108190f
Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam
2013-07-26 16:02:33 +10:00
Max Vujovic
5a2daf1e45
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00