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
John Daggett
25dc392786
Bug 904263 - check pref settings more efficiently. r=dbaron
2013-08-19 13:49:49 +09:00
John Daggett
912515edd4
Bug 904263 - don't set disabled subproperties within font shorthand parsing. r=dbaron
2013-08-15 09:37:57 +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
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
Max Vujovic
35d35b29f2
Bug 897094 - Mismatched parenthesis in some CSS functions do not prevent parsing of subsequent CSS properties. r=heycam
2013-07-30 15:38:01 -04: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
Dirk Schulze
6e6108190f
Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam
2013-07-26 16:02:33 +10:00
Simon Sapin
1197a9c788
Bug 887741 - Allow CSS at-rules in declaration lists. r=dbaron
2013-07-25 09:43:29 -04: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
Ed Morley
69c6c1cc68
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
977bf5fda4
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
Mina Almasry
d1e256d651
Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz
2013-07-15 17:28:49 -04:00
Ed Morley
9b0f7d4fa4
Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE
2013-07-15 16:36:17 +01:00
Mina Almasry
a4f196b35a
Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz
2013-07-15 09:59:57 -04:00
Birunthan Mohanathas
e2d97c612b
Bug 571635 - Make nsCSSStyleSheet::GetStyleRuleAt return a css::Rule*. r=dbaron
2013-07-07 16:23:13 -04:00
Corey Ford
5d5747376e
Bug 883987 - Don't allow BAD_STRING or BAD_URL tokens in @supports conditions. r=dbaron
2013-06-27 17:03:33 -07:00
David Zbarsky
60e461427f
Bug 881121: Remove the 3d-transforms-enabled pref because it is always enabled and has been for a while r=dbaron
2013-06-22 13:35:09 -07:00
L. David Baron
9045f2b3c6
Bug 807184 patch 2: Remove support for prefixed -moz-initial (in favor of unprefixed initial). r=dholbert
2013-06-20 18:31:27 -07:00
L. David Baron
1f202f7749
Bug 757554: Reject uses of reserved 'not', 'only', 'and', and 'or' as a media type. r=heycam
2013-06-17 14:26:08 -07:00
Simon Sapin
3ac704c186
Bug 875287 - font-family: Do not require whitespace between unquoted idents. r=dbaron
...
When 'font-family' is secified with unquoted identifiers rather than a quoted string, a single space should be inserted between identifier tokens, even if they are separated by a comment rather than a whitespace token.
2013-05-30 08:10:02 -04:00
L. David Baron
1803d0b975
Bug 876570: Add missing UngetToken() call in an+b microsyntax parsing. r=bzbarsky
2013-05-29 14:36:39 +08:00
Thomasy
710cfa5388
Bug 750388: In an+b microsyntax in :nth-child() etc., allow starting with +n and allow comments at all token boundaries rather than requiring the strange tokens that result from lack of comments or spaces. r=dbaron
2013-05-28 12:12:06 +08:00
Daniel Holbert
930e06565b
Bug 585185: Parse font-sizes as non-negative, in 'font' shorthand. r=dbaron
2013-05-24 09:39:03 +08:00
L. David Baron
a690f8de0a
Bug 511803 patch 2: Convert all eCSSUnit_Function storage to use nsCSSKeyword. This leads to one behavior change, which is case canonicalization for font-variant-alternates function values. r=bzbarsky
2013-05-23 09:08:29 +08:00
Daniel Holbert
a80d1a2bbd
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
0237527ef8
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
4582dd6af1
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
5a24d36a26
Bug 549861. Changes based on review comments for parsing of font-variant-alternates. r=dbaron
2013-05-13 18:45:38 +09:00
John Daggett
211ddaf3ab
Bug 549861. Implement support for @font-feature-values rule. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
61b05b94d1
Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
bc5affcad7
Bug 549861. Parse simple font-variant subproperties. r=dbaron
2013-05-13 18:45:36 +09:00
Masatoshi Kimura
7dced5c200
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
Joshua Cranmer
697498ab75
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
David Creswick
369ad387e1
Bug 856317 - Expose the column number of style rules via inIDOMUtils. r=dbaron
2013-04-06 12:38:56 -05:00
L. David Baron
962b9a9145
Bug 804944, patch 2: Also condition @-moz-keyframes parsing on the animations preference. r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
c121b02246
Backout changeset 6ff3de859ce3 (bug 804944), which depended on an unlanded patch that I currently have tagged for bug 784461.
2013-03-10 12:54:09 -07:00
L. David Baron
d3140fe06f
Bug 804944, patch 2: Also condition @-moz-keyframes parsing on the animations preference. r=bzbarsky
2013-03-10 12:44:13 -07:00
L. David Baron
4e5882f5e8
Bug 570896: Allow separate background-origin and background-clip to be set in the background shorthand. r=bzbarsky
2013-03-07 17:59:32 -08:00
David Zbarsky
1c27c4d045
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
L. David Baron
5c44c6db49
Bug 841983: Require whitespace around 'not', 'and', and 'or' keywords in @supports rules. r=heycam
...
Matches spec change in https://dvcs.w3.org/hg/csswg/rev/34b185ae3bac .
2013-02-16 21:29:38 -08:00
Zack Weinberg
cf1949601c
Bug 543151, part A2: Introduce the new peek/advance API and reimplement the old read/pushback API on top of it. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
c0a3db961e
Bug 543151, part A1: Preliminary cleanups to the scanner/parser interface and the organization of nsCSSScanner.cpp. r=heycam
2013-02-16 18:27:53 -05:00
L. David Baron
8824eb1056
Bug 765599: Make CSS insertRule methods throw SYNTAX_ERR when given an empty rule or more than one rule. r=bzbarsky
...
This implements the proposed spec clarification in
http://lists.w3.org/Archives/Public/www-style/2013Feb/0229.html which
makes us compatible with WebKit on the insertRule tests in this patch.
I confirmed that the test reports 7 failures without the patch, but
passes with the patch. (I'm a little disturbed by the way our
testharness.js integration elides runs of successive passes.)
2013-02-09 22:56:49 -08:00
L. David Baron
dd5ad59820
Bug 835007: Make 'transition-property: all' work as an item within a list. r=bzbarsky
...
No changes to the transition manager are needed since
nsTransitionManager::StyleContextChanged already makes the appropriate
calls to ConsiderStartingTransition for 'all', and that existing code
should work fine within a loop (just like the existing code to handle
shorthands or other property duplication works).
2013-02-09 22:56:49 -08:00
Mounir Lamouri
77fc93f431
Bug 819871 - Make ":-moz-placeholder" parsable but without any effect on styling. r=dbaron,bz
2013-01-24 09:30:28 +00:00