Cameron McCormack
7954f12743
Bug 1474513 - Simplify CSS::Supports. r=emilio
...
MozReview-Commit-ID: Lw9K7uRknfv
--HG--
extra : rebase_source : 78130aad34d76fdb37002db4a299db02c83aa10b
2018-07-10 15:51:38 +10:00
Emilio Cobos Álvarez
f8233b4454
Bug 1456471: Remove nsCSSParser.h. r=xidorn
...
MozReview-Commit-ID: 4qa7llzCXeR
2018-04-25 10:38:37 +02:00
Xidorn Quan
efc0cdde02
Bug 1447828 part 8 - Remove remaining uses of StyleBackendType as well as the type itself. r=emilio
...
MozReview-Commit-ID: 6sh4eKvDpRF
--HG--
extra : rebase_source : 7d83f2b2d4e2739333016ed82754bf3a4a700de4
extra : source : 147ca562a24652c3f30add793213db70aff65e9e
2018-03-29 02:34:34 +11:00
Emilio Cobos Álvarez
f7522ae728
Bug 1447358: Unifdef the old style system code. r=jwatt
...
Summary:
This has been automatically generated using:
http://dotat.at/prog/unifdef/
And:
find $OBJDIR -type f -name '*.h' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
MozReview-Commit-ID: I4NdKqbMXzJ
Reviewers: jwatt
Bug #: 1447358
Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Cameron McCormack
cc7db5c40c
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Daniel Holbert
680815cd6e
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07:00
Manish Goregaokar
7d791c9ebe
Bug 1338486: Support implied parentheses in CSS.supports; r=xidorn
...
MozReview-Commit-ID: CUo371Hvj4T
--HG--
extra : rebase_source : ee80540522e959bdf6d7ec5bd5a45081dbd9a384
2017-06-04 03:45:05 -07:00
Manish Goregaokar
cb2f1fea06
Bug 1331316 - stylo: support 1-arg CSS.supports(); r=heycam
...
MozReview-Commit-ID: 8di024Rxttn
--HG--
extra : rebase_source : 71b46d1f0950c96adb14c450e929d4b85b82e225
2017-01-15 23:09:42 -08:00
Xidorn Quan
a899c1a9ac
Bug 1312338 part 2 - Use nsACString to pass string parameters in binding functions. r=manishearth
...
MozReview-Commit-ID: BRKZBQJCrMQ
--HG--
extra : source : c0a7498ea402f1db4aca1c05508f577bacf21f0c
2016-10-25 10:19:45 +11:00
Cameron McCormack
c233ad3334
Bug 1287382 - Hook up the 1-arg version of CSS.supports() to the Servo backend. r=dholbert
...
MozReview-Commit-ID: EDQGXOVgWEC
--HG--
extra : rebase_source : 66583e4a5961404d9c6da9a21466041d710a87ed
2016-07-18 16:29:04 +08:00
Aryeh Gregor
f7bc47d59b
Bug 1193762 part 7 - Use .get() when assigning to variables; r=froydnj
...
Unlike when returning an nsCOMPtr in a ternary operator or passing to a
function, I used .get() here, since the operation is actually unsafe and
deserves to be marked explicitly.
2016-05-01 21:29:23 +03:00
Boris Zbarsky
f1705741f0
Bug 1230172. Update CSS.escape to never throw and instead replace U+0000 with U+FFFD, per recent spec change. r=dbaron
2016-01-05 15:05:23 -05:00
Wes Kocher
c708d0c57f
Backed out changeset b7cd1bc458a3 (bug 1230172) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
...
--HG--
extra : commitid : C1U7fyE3XPN
2016-01-05 15:14:44 -08:00
Boris Zbarsky
3e14025d0a
Bug 1230172. Update CSS.escape to never throw and instead replace U+0000 with U+FFFD, per recent spec change. r=dbaron
2016-01-05 15:05:23 -05:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Boris Zbarsky
9c1efc4f91
Bug 1087801. Don't assume the global is a Window in the DOM CSS object. r=bholley
2014-10-29 17:00:48 -04:00
Srirakshith Betageri
67824e20dd
Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky
2014-03-20 23:19:43 -04:00
Kyle Huey
d2e93ff015
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Peter Van der Beken
c553f8a73e
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
9474e07ea6
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
6b094e2955
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Cameron McCormack
353b341de4
Bug 779917 - Null check followup.
2012-12-26 20:00:19 +11:00
Cameron McCormack
df75460fb8
Bug 779917 - Implement CSS.supports(). r=dbaron f=bz
2012-11-25 11:26:07 +11:00