Frédéric Wang
3feaa3f08b
Bug 838506 - Part 1: Add a -moz-math-display property. r=heycam
2014-01-14 09:39:50 -05:00
Ehsan Akhgari
1b83407ce9
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
81af48d662
Bug 773296 - Part 4: Add style struct to store CSS variables. r=dbaron
...
This adds an nsStyleVariables on which computed variable values
will be stored. We don't actually have any properties assigned to
nsStyleVariables; eCSSPropertyExtra_Variables which we added earlier
isn't a real property. To avoid compiler errors for gVariableFlags
being a zero length array, we stick a dummy entry in there.
nsRuleNode::ComputeVariablesData does nothing for the moment.
nsStyleVariable nsChangeHint calculations always return 0, as later
we will compare the actual properties that reference variables to
see what changes are required for them.
2013-12-12 13:09:40 +11:00
Jonathan Watt
2851981a72
Bug 947728 part 2 - Make |-moz-appearance:number-input| the UA style sheet default for <input type=number>, and make the value 'textfield' hide the spinner. r=roc
2013-12-08 23:26:07 +00:00
Daniel Holbert
f21dfba90a
Bug 702508 part 2: Support parsing/computing the CSS property "align-content". r=dbaron
2013-12-05 10:57:50 -08:00
Daniel Holbert
285989a33c
Bug 702508 part 1: Support parsing/computing the CSS property "flex-wrap". r=dbaron
2013-12-05 10:57:50 -08:00
James Kitchener
2c9d545d48
Bug 114365 - Add CSS properties for -moz-math-variant. r=heycam
2013-12-02 11:49:00 -05:00
Robert Longson
af8bb7fb29
Bug 939942 - Reflow when bounds changes due to stroke creation/removal. r=jwatt
2013-11-23 13:32:21 +00:00
Cameron McCormack
070ca41f8e
Bug 492239 - Reflow when -moz-stack-sizing is changed. r=dbaron
2013-11-18 15:15:38 +11:00
Robert O'Callahan
68cb18ba63
Bug 913444. Track restyling of margins and treat such nodes as active scrolled roots. r=mattwoodrow
...
Restyling margin-top and margin-bottom will typically require reflow and cause
sibling elements to be moved and invalidated, so it's not a big win to layerize
such nodes. However, layerizing them should be relatively harmless.
--HG--
extra : rebase_source : 659593b6b6990aa859144641eb23e7ccf384a82a
2013-09-09 17:08:42 -07:00
Horia Iosif Olaru
56504fb58d
Bug 841601 - Add background-blend-mode to the style parsing mechanism. r=heycam
2013-11-08 10:07:36 -05:00
Cameron McCormack
08b3ea106a
Bug 934867 - nsStyleFont::CalcDifference should return a hint when mFont.systemFont differs. r=dbaron
2013-11-06 12:23:38 +11:00
Robert O'Callahan
634c0d1e79
Backout changeset 47c7022e4e11 for bug 913444
...
--HG--
extra : rebase_source : 6d3b0bd5c4ea52561fba9b358dae8b7843f10205
2013-11-03 23:12:58 -08:00
Robert O'Callahan
8f81714137
Bug 913444. Track restyling of margins and treat such nodes as active scrolled roots. r=mattwoodrow
...
Restyling margin-top and margin-bottom will typically require reflow and cause
sibling elements to be moved and invalidated, so it's not a big win to layerize
such nodes. However, layerizing them should be relatively harmless.
--HG--
extra : rebase_source : b41764dd8ab3651afeec2756c436e059f25b7d46
2013-09-09 17:08:42 -07:00
Robert O'Callahan
9e62a53158
Bug 745485. Optimize positioning offset changes whenever the computed size does not change. r=dholbert
...
--HG--
extra : rebase_source : 16388d3cb0c6ee9acc1416ca0d27b2a53b0062ee
2013-09-09 17:08:41 -07:00
Mats Palmgren
241ee3a30d
Bug 929991 - Style system implementation of 'text-align: true X'. r=heycam
2013-10-27 20:56:32 +00:00
Ehsan Akhgari
bf34a5f2f0
Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
...
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Cameron McCormack
3cbfe1b398
No bug - Assertion text typo fix. (DONTBUILD)
2013-09-30 17:40:12 +10:00
Ehsan Akhgari
cfc4d18351
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Robert Longson
1f1c1170bd
Bug 911310 - Only raise an nsChangeHint_UpdateOverflow for filters. r=dholbert
2013-09-05 09:51:02 +01:00
Seth Fowler
9af1f57738
Bug 825771 (Part 1) - Add CSS support for the image-orientation property. r=dbaron
2013-08-28 15:39:06 -07:00
Ms2ger
47f9af7214
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Ms2ger
137da0f245
Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures.
2013-08-24 10:27:21 +02:00
Markus Stange
6afd565885
Bug 908880 - Update overflow rects when dynamically changing the filter property. r=jwatt
2013-08-24 08:20:01 +02:00
John Daggett
03504b2684
Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert
2013-08-19 19:26:44 +09:00
Masayuki Nakano
38ea6c4763
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
cf3acdc148
Backout changeset f2ac3d57b445 for insufficient review.
2013-08-08 19:37:47 +02:00
Masayuki Nakano
16dc1c6dc2
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
31e1c48b4f
Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam
2013-08-07 16:59:10 +09:00
Max Vujovic
bcb8fc561d
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
27731f2af6
Bug 898361 - Implement parsing for drop-shadow. r=heycam
2013-08-05 17:02:27 +10:00
Ms2ger
32cf0a6f16
Backout changeset a58abd7408bf for mochitest and crashtest crashes.
2013-08-04 12:21:17 +02:00
Dirk Schulze
ea188a5971
Bug 898361 - Implement drop-shadow parsing for the filter property. r=heycam
2013-08-04 18:58:28 +10:00
Ehsan Akhgari
2824b29025
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])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
John Daggett
8eb7f1edcc
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Dirk Schulze
569ef7a7ef
Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam
2013-07-26 16:02:33 +10:00
Max Vujovic
0bd2b965c3
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
Ed Morley
ef5715c092
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
0117d6e2f8
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-23 10:47:16 -04:00
Nicholas Cameron
cf168d842a
Bug 700926; reshuffle background image drawing. r=roc
...
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
L. David Baron
a65b6c2ed4
Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931.
2013-07-18 01:09:16 -07:00
Robert O'Callahan
8ef787944c
Bug 868498. Don't reframe for changes between position:static and position:relative. r=heycam
2013-07-16 08:58:52 -04:00
Cameron McCormack
07c9631694
Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron
2013-06-29 13:28:50 +10:00
Rick Eyre
1255871053
Bug 772321 - Implement CSS parsing of writing-mode r=dbaron
2013-05-28 12:00:49 -04:00
Scott Johnson
72fa85e0c2
Bug 730559: Limit the number of columns during layout of column sets to prevent hang. [r=mats]
...
In nsRuleNode, when we parse a number of columns from a CSS style sheet, we enforce
a rule that the number of columns cannot exceed 1000. This patch simply enforces
the same rule when we decide that the column count will be generated based on
the available width (e.g. the column-count property has a value of 'auto').
2013-05-31 10:51:43 -05:00
Jonathan Watt
e080509530
Bug 875037 - Fix lots of bugs in nsStyleSVG/nsSVGStyleReset::CalcDifference so that they return the correct hints. r=roc
2013-05-24 18:31:33 +01:00
Ehsan Akhgari
aa8d052ed3
Backed out changeset 831c1928fba9 (bug 875037) for mochitest-1 assertions on a CLOSED TREE
2013-05-24 16:03:03 -04:00
Jonathan Watt
7a225b3fd6
Bug 875037 - Fix lots of bugs in nsStyleSVG/nsSVGStyleReset::CalcDifference so that they return the correct hints. r=roc
2013-05-24 18:31:33 +01:00
Daniel Holbert
9ed3dd5f4a
Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron
2013-05-22 11:44:25 +08:00
John Daggett
0eae803e8f
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00